aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/leminv.mli
blob: 36aa5e67f248844945125deedf08481987c07ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2012     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

open Loc
open Names
open Term
open Constrexpr
open Misctypes

val lemInv_gen : quantified_hypothesis -> constr -> unit Proofview.tactic
val lemInvIn_gen : quantified_hypothesis -> constr -> Id.t list -> unit Proofview.tactic

val lemInv_clause :
  quantified_hypothesis -> constr -> Id.t list -> unit Proofview.tactic

val inversion_lemma_from_goal :
  int -> Id.t -> Id.t located -> sorts -> bool ->
    (Id.t -> unit Proofview.tactic) -> unit
val add_inversion_lemma_exn :
  Id.t -> constr_expr -> glob_sort -> bool -> (Id.t -> unit Proofview.tactic) ->
    unit