diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2016-03-23 18:26:00 +0100 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2016-03-23 18:26:00 +0100 |
commit | 31ffc14b4b8d531777042d3ff02f34985bcec084 (patch) | |
tree | e6d29f6f405764c933255feeb1d0e8add843efa7 /proofs | |
parent | a0e792236c9666df1069753f8f807c12f713dcfb (diff) |
Revert "refine: do check all unif problems are solved (Close: #4415, #4532)"
This fix is too restrictive. Still, opening a goal for an evar with a
pending conv_pb is unsafe since the user may prove (instantiate it) in
a way not compatible with the conv_pb.
Assigning an evar, in its lowest level API, should enforce that all
related conv_pbs are satisfied by the instance.
This also poses a UI problem, since there is not way to see these
conv_pbs. One could print a goal and say: look, the proof term you give
must validate this equation...
Given that the good fix is not obvious, we revert!
This reverts commit a0e792236c9666df1069753f8f807c12f713dcfb.
Diffstat (limited to 'proofs')
-rw-r--r-- | proofs/proofview.ml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/proofs/proofview.ml b/proofs/proofview.ml index 80569e234..6d7dcb925 100644 --- a/proofs/proofview.ml +++ b/proofs/proofview.ml @@ -1061,7 +1061,6 @@ struct let typecheck_proof c concl env sigma = let evdref = ref sigma in let () = Typing.check env evdref c concl in - Evarconv.check_problems_are_solved env !evdref; !evdref let (pr_constrv,pr_constr) = |