[isabelle-dev] Redundant equations in function declarations

Tobias Nipkow nipkow at in.tum.de
Tue May 29 14:46:14 CEST 2012

Am 29/05/2012 14:20, schrieb Lawrence Paulson:
> I am marking some student work submitted for the Cambridge Isabelle course, and have seen some examples where students have gone terribly wrong because they overlooked the warning “Ignoring redundant equation" in a function definition. This sort of mistake could happen to anybody, and it means that proofs are being undertaken on the basis of a mistaken definition. Somebody reading the theory could also overlook this mistake, which goes against the idea that structured proofs should be readable without being executed.
> I propose that this particular warning should become a fatal error.

Sounds reasonable.


> Warnings are appropriate for situations that are difficult to avoid, such as overlapping patterns. They might be appropriate for situations that are common and generally harmless, such as missing patterns. But entirely superfluous equations should be seen as a fatal error. This should be a very easy change to implement.
> Larry
> _______________________________________________
> isabelle-dev mailing list
> isabelle-dev at in.tum.de
> https://mailmanbroy.informatik.tu-muenchen.de/mailman/listinfo/isabelle-dev

More information about the isabelle-dev mailing list