]> matita.cs.unibo.it Git - helm.git/commit
This alternative version of disambiguate.crit2 implements the following
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 23 Nov 2007 15:59:43 +0000 (15:59 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 23 Nov 2007 15:59:43 +0000 (15:59 +0000)
commit0cc3c93f4253c80f993adf8b8d5b476545043796
treec37208eb598f4f02af2960ac91c1db132771d716
parentc02c88bdbeb81b379cc7d3e9c875a106a745f5ef
This alternative version of disambiguate.crit2 implements the following
criterion for spurious error detection:

an error is spurious iff:
  a) it is obtained interpreting the symbol s with the interpretation \phi
  b) there exists another interpretation \phi' such that
     1) dom(\phi) = dom(\phi')
     2) \phi' is valid
     3) \phi(x)=\phi'(x) for each x != s

More (but not too many) errors are spurious according to this criterion.
components/cic_disambiguation/disambiguate.crit2.ml [new file with mode: 0644]