aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/elim.mli
blob: b83a97bccbf508343d5f1a826bf251d458d48dd4 (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
(************************************************************************)
(*  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 Tacticals
open Misctypes

(** Eliminations tactics. *)

val introElimAssumsThen :
  (branch_assumptions -> unit Proofview.tactic) -> branch_args -> unit Proofview.tactic

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

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

val double_ind : quantified_hypothesis -> quantified_hypothesis -> unit Proofview.tactic
val h_double_induction : quantified_hypothesis -> quantified_hypothesis-> unit Proofview.tactic