From 8a1ddc270137f40cd8bbff20de4f41e284055891 Mon Sep 17 00:00:00 2001 From: herbelin Date: Tue, 2 Mar 2004 07:04:56 +0000 Subject: Generalisation de la syntaxe de 'with_names' pour accepter 'as id' avec id variable de ltac substituable dans la pratique par un intro_case_pattern dans induction, destruct et inversion git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5415 85f007b7-540e-0410-9357-904b9bb8a0f7 --- proofs/tacexpr.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proofs') diff --git a/proofs/tacexpr.ml b/proofs/tacexpr.ml index 062d415c3..1be84372c 100644 --- a/proofs/tacexpr.ml +++ b/proofs/tacexpr.ml @@ -69,8 +69,8 @@ type inversion_kind = | FullInversionClear type ('c,'id) inversion_strength = - | NonDepInversion of inversion_kind * 'id list * case_intro_pattern_expr - | DepInversion of inversion_kind * 'c option * case_intro_pattern_expr + | NonDepInversion of inversion_kind * 'id list * intro_pattern_expr option + | DepInversion of inversion_kind * 'c option * intro_pattern_expr option | InversionUsing of 'c * 'id list type ('a,'b) location = HypLocation of 'a | ConclLocation of 'b @@ -132,10 +132,10 @@ type ('constr,'pat,'cst,'ind,'ref,'id,'tac) gen_atomic_tactic_expr = (* Derived basic tactics *) | TacSimpleInduction of (quantified_hypothesis * (bool ref * intro_pattern_expr list ref list) list ref) | TacNewInduction of 'constr induction_arg * 'constr with_bindings option - * (case_intro_pattern_expr * (bool ref * intro_pattern_expr list ref list) list ref) + * (intro_pattern_expr option * (bool ref * intro_pattern_expr list ref list) list ref) | TacSimpleDestruct of quantified_hypothesis | TacNewDestruct of 'constr induction_arg * 'constr with_bindings option - * (case_intro_pattern_expr * (bool ref * intro_pattern_expr list ref list) list ref) + * (intro_pattern_expr option * (bool ref * intro_pattern_expr list ref list) list ref) | TacDoubleInduction of quantified_hypothesis * quantified_hypothesis | TacDecomposeAnd of 'constr -- cgit v1.2.3