aboutsummaryrefslogtreecommitdiff
path: root/plugins/omega
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-14 15:08:43 +0200
committerMaxime Dénès2017-06-14 15:08:43 +0200
commitdcc5064bbc6f01b498abfdf80f0ea13a26381926 (patch)
treec2855cff0206cf55b8a09ad91e087d6ee5a9d845 /plugins/omega
parentaed7a86b2147e70bebd50a4d19bac33908da334b (diff)
parent0fad09306982a88ff8d633d36abdc440dd542ab3 (diff)
Merge PR#622: Change the default flag value for Refine.refine
Diffstat (limited to 'plugins/omega')
-rw-r--r--plugins/omega/coq_omega.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omega/coq_omega.ml b/plugins/omega/coq_omega.ml
index 9cb94b68df..440a10bfb9 100644
--- a/plugins/omega/coq_omega.ml
+++ b/plugins/omega/coq_omega.ml
@@ -652,7 +652,7 @@ let clever_rewrite_base_poly typ p result theorem =
let full = pf_concl gl in
let env = pf_env gl in
let (abstracted,occ) = abstract_path (project gl) typ (List.rev p) full in
- Refine.refine begin fun sigma ->
+ Refine.refine ~typecheck:false begin fun sigma ->
let t =
applist
(mkLambda
@@ -688,7 +688,7 @@ let clever_rewrite_gen_nat p result (t,args) =
(** Solve using the term the term [t _] *)
let refine_app gl t =
let open Tacmach.New in
- Refine.refine begin fun sigma ->
+ Refine.refine ~typecheck:false begin fun sigma ->
let env = pf_env gl in
let ht = match EConstr.kind sigma (pf_get_type_of gl t) with
| Prod (_, t, _) -> t