aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorHugo Herbelin2015-01-19 17:39:05 +0100
committerHugo Herbelin2015-01-19 17:39:05 +0100
commitbef0d3bc629e25a281b4ed2424dc3b8405349acf (patch)
treef9253b67c072c617cc1d8ccf73c76715e7ef302b /kernel
parent498d22e9575ecf2515ae592a07b3f50e7648882f (diff)
Making unification of LetIn's expressions more consistent (see #3920).
Unifying two let-in's expresions syntactically is a heuristic (compared to performing the zeta-reduction). This heuristic was requiring unification of types which is too strong for the heuristic to work uniformly since the types might only be related modulo subtyping. The patch is to remove the unification of types, which allows then to have the heuristic work uniformly on the bodies. On the other side, I hope it does not loose (still heuristical) unifications compared to before (presumably, since instantiating the evars in the body will induce constraints for solving potential evars in the types of the let-in bodies, but this would need a proof). Anyway, it is not about correction, it is about a heuristic, which maybe done too early actually.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions