aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorherbelin2011-10-22 12:34:08 +0000
committerherbelin2011-10-22 12:34:08 +0000
commit56d4015ec3e49d2cfba90d6617e041a365bdeec9 (patch)
treeca2914c811ca38b4f1f02395e0fc21e416d359e0 /plugins
parent1ffb37b4651dcc7a2b1d59285e07ea9e2a3febe5 (diff)
Fixing Equality.injectable which did not detect an equality without
constructors as non relevant for injection. Also made injection failing in such situation. Incidentally, this fixes a loop in Invfun.reflexivity_with_destruct_cases (observed in the compilation of CoinductiveReals.LNP_Digit). The most probable explanation is that this loop was formerly protected by a failing rewrite which stopped failing after revision 14549 made second-order pattern-matching more powerful. Also suppressed dead code in Invfun.intros_with_rewrite. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14577 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins')
-rw-r--r--plugins/funind/invfun.ml9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/funind/invfun.ml b/plugins/funind/invfun.ml
index 4917c64f41..0b04a572fe 100644
--- a/plugins/funind/invfun.ml
+++ b/plugins/funind/invfun.ml
@@ -513,15 +513,6 @@ and intros_with_rewrite_aux : tactic =
intros_with_rewrite
]
g
- else if isVar args.(2)
- then
- let id = pf_get_new_id (id_of_string "y") g in
- tclTHENSEQ [ h_intro id;
- generalize_dependent_of (destVar args.(2)) id;
- tclTRY (Equality.rewriteRL (mkVar id));
- intros_with_rewrite
- ]
- g
else
begin
let id = pf_get_new_id (id_of_string "y") g in