aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/tacmach.ml
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-26 10:26:46 +0100
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-26 15:53:21 +0100
commitb46944e7bfedb21734f8dd4c187fae17b606b568 (patch)
tree8ff3e8baa925aa128a5c56f2ce3b58160726e680 /proofs/tacmach.ml
parent3ff9f9b0b8fee711d408f820c7cdabc465b181ee (diff)
Call Evd.nf_constraints only on Univ Poly constants
When one generates a .vi file only the type is stocked. When one completes a .vi the proof term is stocked but the corresponding type is not changed: - if one minimizes the constraints of the body, the minimization could find that 2 univs are equal and substitute one for the other in the body, but it should also apply the subst to the type orelse coqchk could fail - also, a "retroactive" change of a type (making it stricter) invalidates what was type checked afterwards, so this operation clashes with the vi2vo compilation chain Hence we enable this optimization only for universe polymorphic constants that: - are the ones that truly requires such optimization - are never processed asynchronously, so the scenario above does not apply
Diffstat (limited to 'proofs/tacmach.ml')
0 files changed, 0 insertions, 0 deletions