diff options
author | 2016-11-22 17:08:14 +0100 | |
---|---|---|
committer | 2017-06-14 07:19:50 +0200 | |
commit | 571c319ed536cb2757176d3ae4007a75f5d3b04d (patch) | |
tree | 24e1f0bbc1ee22c9430c62a0b3d66f0c27ebcf17 /tactics | |
parent | 80dfe0cb64285f58dfe2eebd7319c747c70d3d6b (diff) |
Remove support for Coq 8.2.
Diffstat (limited to 'tactics')
-rw-r--r-- | tactics/equality.ml | 13 | ||||
-rw-r--r-- | tactics/tactics.ml | 1 |
2 files changed, 4 insertions, 10 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml index 05c5cd5ec..46c042b8b 100644 --- a/tactics/equality.ml +++ b/tactics/equality.ml @@ -50,8 +50,7 @@ module NamedDecl = Context.Named.Declaration let discriminate_introduction = ref true -let discr_do_intro () = - !discriminate_introduction && Flags.version_strictly_greater Flags.V8_2 +let discr_do_intro () = !discriminate_introduction open Goptions let _ = @@ -356,7 +355,6 @@ let find_elim hdcncl lft2rgt dep cls ot gl = if (is_global Coqlib.glob_eq hdcncl || (is_global Coqlib.glob_jmeq hdcncl && jmeq_same_dom gl ot)) && not dep - || Flags.version_less_or_equal Flags.V8_2 then let c = match EConstr.kind sigma hdcncl with @@ -1769,13 +1767,10 @@ type subst_tactic_flags = { rewrite_dependent_proof : bool } -let default_subst_tactic_flags () = - if Flags.version_strictly_greater Flags.V8_2 then - { only_leibniz = false; rewrite_dependent_proof = true } - else - { only_leibniz = true; rewrite_dependent_proof = false } +let default_subst_tactic_flags = + { only_leibniz = false; rewrite_dependent_proof = true } -let subst_all ?(flags=default_subst_tactic_flags ()) () = +let subst_all ?(flags=default_subst_tactic_flags) () = if !regular_subst_tactic then diff --git a/tactics/tactics.ml b/tactics/tactics.ml index b553f316c..ebfaab5bf 100644 --- a/tactics/tactics.ml +++ b/tactics/tactics.ml @@ -64,7 +64,6 @@ let dependent_propositions_elimination = ref true let use_dependent_propositions_elimination () = !dependent_propositions_elimination - && Flags.version_strictly_greater Flags.V8_2 let _ = declare_bool_option |