diff options
Diffstat (limited to 'tactics/tauto.ml4')
-rw-r--r-- | tactics/tauto.ml4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tactics/tauto.ml4 b/tactics/tauto.ml4 index 6fea98377..60baa017c 100644 --- a/tactics/tauto.ml4 +++ b/tactics/tauto.ml4 @@ -49,6 +49,8 @@ let strict_unit = false (* Whether inner iff are unfolded *) let iff_unfolding = ref false +let unfold_iff () = !iff_unfolding || Flags.version_less_or_equal Flags.V8_2 + open Goptions let _ = declare_bool_option @@ -256,7 +258,7 @@ let rec tauto_intuit t_reduce solver ist = ) >> let reduction_not _ist = - if !iff_unfolding then + if unfold_iff () then <:tactic< unfold Coq.Init.Logic.not, Coq.Init.Logic.iff in * >> else <:tactic< unfold Coq.Init.Logic.not in * >> |