aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind/indfun_common.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-09-30 14:05:08 +0200
committerPierre-Marie Pédrot2020-09-30 14:05:08 +0200
commit1c919ed6fa476f0f7a16d69e58989f3d75104910 (patch)
tree3fd1b2452b9af72f0dc2cd1929683ec544372874 /plugins/funind/indfun_common.ml
parentc63f7c8407ae151e61e5490803bb19169ad37a5c (diff)
parentbe3a5ac947cb57499b668a3745439b15ff8c48a8 (diff)
Merge PR #13021: Almost fully moving funind to new proof engine
Reviewed-by: ppedrot
Diffstat (limited to 'plugins/funind/indfun_common.ml')
-rw-r--r--plugins/funind/indfun_common.ml10
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/funind/indfun_common.ml b/plugins/funind/indfun_common.ml
index af53f16e1f..0179215d6a 100644
--- a/plugins/funind/indfun_common.ml
+++ b/plugins/funind/indfun_common.ml
@@ -394,10 +394,7 @@ let jmeq_refl () =
@@ Coqlib.lib_ref "core.JMeq.refl"
with e when CErrors.noncritical e -> raise (ToShow e)
-let h_intros l =
- Proofview.V82.of_tactic
- (Tacticals.New.tclMAP (fun x -> Tactics.Simple.intro x) l)
-
+let h_intros l = Tacticals.New.tclMAP (fun x -> Tactics.Simple.intro x) l
let h_id = Id.of_string "h"
let hrec_id = Id.of_string "hrec"
@@ -428,13 +425,12 @@ let evaluable_of_global_reference r =
| _ -> assert false
let list_rewrite (rev : bool) (eqs : (EConstr.constr * bool) list) =
- let open Tacticals in
+ let open Tacticals.New in
(tclREPEAT
(List.fold_right
(fun (eq, b) i ->
tclORELSE
- (Proofview.V82.of_tactic
- ((if b then Equality.rewriteLR else Equality.rewriteRL) eq))
+ ((if b then Equality.rewriteLR else Equality.rewriteRL) eq)
i)
(if rev then List.rev eqs else eqs)
(tclFAIL 0 (mt ()))) [@ocaml.warning "-3"])