aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/elim.mli
blob: d135997cd9821af304c79c631d010b8a1e0a2f39 (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
30
31
32
33
34
35
(************************************************************************)
(*  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 Names
open Term
open Proof_type
open Tacmach
open Genarg
open Tacticals
open Misctypes

(** Eliminations tactics. *)

val introElimAssumsThen :
  (branch_assumptions -> tactic) -> branch_args -> tactic

val introCaseAssumsThen :
  (intro_pattern_expr Loc.located list -> branch_assumptions -> tactic) ->
    branch_args -> tactic

val general_decompose : (Id.t * constr -> bool) -> constr -> tactic
val decompose_nonrec  : constr -> tactic
val decompose_and     : constr -> tactic
val decompose_or      : constr -> tactic
val h_decompose       : inductive list -> constr -> tactic
val h_decompose_or    : constr -> tactic
val h_decompose_and   : constr -> tactic

val double_ind : quantified_hypothesis -> quantified_hypothesis -> tactic
val h_double_induction : quantified_hypothesis -> quantified_hypothesis->tactic