aboutsummaryrefslogtreecommitdiff
path: root/contrib/ring
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ring')
-rw-r--r--contrib/ring/ring.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/ring/ring.ml b/contrib/ring/ring.ml
index a326a7a18c..0a70426ea5 100644
--- a/contrib/ring/ring.ml
+++ b/contrib/ring/ring.ml
@@ -548,13 +548,15 @@ let constants_to_unfold =
(* SectionPathSet.empty *)
(* Unfolds the functions interp and find_btree in the term c of goal gl *)
+open RedFlags
let polynom_unfold_tac =
- let flags = (UNIFORM, red_add betaiota_red (CONST constants_to_unfold)) in
+ let flags =
+ (UNIFORM, mkflags(fBETA::fIOTA::fEVAR::(List.map fCONST constants_to_unfold))) in
reduct_in_concl (cbv_norm_flags flags)
let polynom_unfold_tac_in_term gl =
let flags =
- (UNIFORM, red_add betaiotazeta_red (CONST constants_to_unfold))
+ (UNIFORM,mkflags(fBETA::fIOTA::fEVAR::fZETA::(List.map fCONST constants_to_unfold)))
in
cbv_norm_flags flags (pf_env gl) (project gl)