]> matita.cs.unibo.it Git - helm.git/commit
This version of disambiguate.ml implements yet another (better?) criterio for 0.4.98@7921
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 25 Nov 2007 11:13:48 +0000 (11:13 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 25 Nov 2007 11:13:48 +0000 (11:13 +0000)
commit2dc2c36139df472d2e3fcefc7b28d7f4e34d0c0c
tree561ba571336435956e1996579aaf1b1ef57a00a6
parent1eec8e5dc4b27e1ddf5cc5748fa0f310304c03be
This version of disambiguate.ml implements yet another (better?) criterio for
spurious error detection. An error is spurious iff:

a) it is obtained interpreting a symbol s using an interpretation \phi
b) there exists another interpretation \phi' such that
   1) dom(\phi') = dom(\phi)
   2) \phi' is valid

It should be true that no nested error locations should occur.
In principle this also suggests the possibility of changing the user interface
to show all alternative errors at the same time.
components/cic_disambiguation/disambiguate.crit4.ml [new file with mode: 0644]