aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2014-05-18 13:03:54 -0400
committerMaxime Dénès2014-05-18 13:03:54 -0400
commite1cf5ccd8df7080d7dd2aadf0305a9d3ba9c5d9d (patch)
treea110112b38c0761030a2395463ddc93e9c0a61a2
parent1cfec06ce06ae6c783b840a8d59bb89ee34a87ee (diff)
Restored old behavior of injection on proofs by default.
Use Set Injection On Proof to enable the new behavior.
-rw-r--r--CHANGES6
-rw-r--r--tactics/equality.ml2
2 files changed, 4 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index 2dd953bf33..66d5a0e0f7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -104,9 +104,9 @@ Tactics
former behavior obtainable by "Unset Injection L2R Pattern Order").
- New tactic "rewrite_strat" for generalized rewriting with user-defined
strategies, subsumming autorewrite.
-- Injection now also deduces equality of arguments of sort Prop. Old behavior
- can be restored by "Unset Injection On Proofs". Also improved the error
- messages.
+- Injection can now also deduce equality of arguments of sort Prop, by using
+ the option "Set Injection On Proofs" (disabled by default). Also improved the
+ error messages.
- Tactic "subst id" now supports id occurring in dependent local definitions.
Program
diff --git a/tactics/equality.ml b/tactics/equality.ml
index 6e50b923b0..15a7746136 100644
--- a/tactics/equality.ml
+++ b/tactics/equality.ml
@@ -611,7 +611,7 @@ let replace_in_clause_maybe_by c2 c1 cl tac_opt =
exception DiscrFound of
(constructor * int) list * constructor * constructor
-let injection_on_proofs = ref true
+let injection_on_proofs = ref false
let _ =
declare_bool_option