aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/ssr/ssrelim.mli
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-05-21 14:50:25 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-06-06 17:41:37 +0200
commit014749917e5de9fe1885a1b1edc52b01cefa6f3f (patch)
tree5b6952c2d67b1c18ce5f6e22cc75cefc005ad460 /plugins/ssr/ssrelim.mli
parent0a577d3c979af094ca00be3e7e323109c7e1f6ab (diff)
Merge the ssr plugin.
Diffstat (limited to 'plugins/ssr/ssrelim.mli')
-rw-r--r--plugins/ssr/ssrelim.mli53
1 files changed, 53 insertions, 0 deletions
diff --git a/plugins/ssr/ssrelim.mli b/plugins/ssr/ssrelim.mli
new file mode 100644
index 000000000..fb1b58ac3
--- /dev/null
+++ b/plugins/ssr/ssrelim.mli
@@ -0,0 +1,53 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2017 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+(* This file is (C) Copyright 2006-2015 Microsoft Corporation and Inria. *)
+
+open Ssrmatching_plugin
+
+val ssrelim :
+ ?ind:(int * EConstr.types array) option ref ->
+ ?is_case:bool ->
+ ?ist:Ltac_plugin.Tacinterp.interp_sign ->
+ ((Ssrast.ssrhyps option * Ssrast.ssrocc) *
+ Ssrmatching.cpattern)
+ list ->
+ ([< `EConstr of
+ Ssrast.ssrhyp list * Ssrmatching.occ *
+ EConstr.constr &
+ 'b
+ | `EGen of
+ (Ssrast.ssrhyp list option *
+ Ssrmatching.occ) *
+ Ssrmatching.cpattern ]
+ as 'a) ->
+ ?elim:EConstr.constr ->
+ Ssrast.ssripat option ->
+ (?ist:Ltac_plugin.Tacinterp.interp_sign ->
+ 'a ->
+ Ssrast.ssripat option ->
+ (Proof_type.goal Evd.sigma -> Proof_type.goal list Evd.sigma) ->
+ bool -> Ssrast.ssrhyp list -> Proof_type.tactic) ->
+ Proof_type.goal Evd.sigma -> Proof_type.goal list Evd.sigma
+
+val elimtac :
+ EConstr.constr ->
+ Proof_type.goal Evd.sigma -> Proof_type.goal list Evd.sigma
+val casetac :
+ EConstr.constr ->
+ Proof_type.goal Evd.sigma -> Proof_type.goal list Evd.sigma
+
+val is_injection_case : EConstr.t -> Proof_type.goal Evd.sigma -> bool
+val perform_injection :
+ EConstr.constr ->
+ Proof_type.goal Evd.sigma -> Proof_type.goal list Evd.sigma
+
+val ssrscasetac :
+ bool ->
+ EConstr.constr ->
+ Proof_type.goal Evd.sigma -> Proof_type.goal list Evd.sigma