diff options
| author | Maxime Dénès | 2014-05-18 13:03:54 -0400 |
|---|---|---|
| committer | Maxime Dénès | 2014-05-18 13:03:54 -0400 |
| commit | e1cf5ccd8df7080d7dd2aadf0305a9d3ba9c5d9d (patch) | |
| tree | a110112b38c0761030a2395463ddc93e9c0a61a2 | |
| parent | 1cfec06ce06ae6c783b840a8d59bb89ee34a87ee (diff) | |
Restored old behavior of injection on proofs by default.
Use Set Injection On Proof to enable the new behavior.
| -rw-r--r-- | CHANGES | 6 | ||||
| -rw-r--r-- | tactics/equality.ml | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |
