diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2004-03-02 07:04:56 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2004-03-02 07:04:56 +0000 |
commit | 8a1ddc270137f40cd8bbff20de4f41e284055891 (patch) | |
tree | d3d41549bcd3cff2bbd0db1fb7824e05851941dd /proofs | |
parent | 1a29faa00f1e2a6f2d71088a769fe2fbc823244a (diff) |
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
Diffstat (limited to 'proofs')
-rw-r--r-- | proofs/tacexpr.ml | 8 |
1 files changed, 4 insertions, 4 deletions
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 |