]> matita.cs.unibo.it Git - helm.git/commit
Very serious bug fixed in unification, but the fix is very ugly.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 20 Jul 2009 16:30:26 +0000 (16:30 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 20 Jul 2009 16:30:26 +0000 (16:30 +0000)
commitfed8f1a2c4d10e8b6411ae471d0f85636d2f13a9
treefbdc2f5144c3843f82c628dd0f326673b7322a03
parent2ee517d852ad53540881221ecb01b9ec1881cc6a
Very serious bug fixed in unification, but the fix is very ugly.

Explanation: we have reduced the case ? x1 .. xn to the case
?[x1,...,xn] by mean of lambda-abstractions. However, these need to be
typed. The way we used to type them was with non-dependent types. Thus they
failed in almost all dependent cases (like rewrite).

This fix seems to work and uses a few lines of code, but it requires a call
to the unifier which is VEEERY bad.

Debugging prints still to be removed.
helm/software/components/ng_refiner/nCicRefiner.ml
helm/software/components/ng_refiner/nCicUnification.ml
helm/software/components/ng_refiner/nCicUnification.mli