aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/leminv.mli
blob: 5019ceda560c1a779492ad825fbbac7e1fd4d2cf (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
27
28
29
(************************************************************************)
(*  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 Pp
open Names
open Term
open Glob_term
open Proof_type
open Constrexpr
open Misctypes

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

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

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