aboutsummaryrefslogtreecommitdiff
path: root/theories
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-08-03 20:23:08 +0200
committerPierre-Marie Pédrot2017-08-04 12:34:24 +0200
commitb84b03bb6230fca69cd9191ba0424402a5cd2330 (patch)
tree50fde8ada604b972e000c4f0e88dcf8b5f46527c /theories
parent9db02b3bfe35c15c9df8615f0e47a2a6407e858b (diff)
Introducing notations for destruct and induction arguments.
Diffstat (limited to 'theories')
-rw-r--r--theories/Std.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/theories/Std.v b/theories/Std.v
index 3d1e8f462d..c2027e41c7 100644
--- a/theories/Std.v
+++ b/theories/Std.v
@@ -73,6 +73,19 @@ with or_and_intro_pattern := [
| IntroAndPattern (intro_pattern list)
].
+Ltac2 Type destruction_arg := [
+| ElimOnConstr (unit -> constr_with_bindings)
+| ElimOnIdent (ident)
+| ElimOnAnonHyp (int)
+].
+
+Ltac2 Type induction_clause := {
+ indcl_arg : destruction_arg;
+ indcl_eqn : intro_pattern_naming option;
+ indcl_as : or_and_intro_pattern option;
+ indcl_in : clause option;
+}.
+
Ltac2 Type evar_flag := bool.
Ltac2 Type advanced_flag := bool.