]> matita.cs.unibo.it Git - helm.git/commit
This version of disambiguate.ml implements yet another (better?) criterio for
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)
commit23276845669b6d8191cb4bd24f15fd84c8d851b8
tree78c33ff697f72e14d931524474e2e37e0c056cf3
parent69d232a6857da33782b1610aadfee41b9f5f09ef
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.
helm/software/components/cic_disambiguation/disambiguate.crit4.ml [new file with mode: 0644]