]> 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)
commit168875f6a0d701d2cfe420c5d514573209837249
tree54634f7af4d83b05ed6ae324505c16425238b101
parent73044fcac2ab47e6c9819c572f6bbd2b1e0f2a40
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.
helm/software/components/cic_disambiguation/disambiguate.crit2.ml [new file with mode: 0644]