[isabelle-dev] quickcheck on type real

2007-09-06 Thread Stefan Berghofer
Amine Chaieb wrote: This is perhaps an occasion to advertise Library/Executable_real.thy, which contains a verified implementation of rational numbers to be have like HOL --- So here you would no get an exception when dividing by zero, but just zero as you expect. [...] Brian Huffman

[isabelle-dev] quickcheck on type real

2007-09-02 Thread Tobias Nipkow
*** DIVZERO *** At command quickcheck. I also ran into this one (and notified Stefan). lemma inverse (a::real) = (1 / a) Counterexample found: a = -1 I love it, a false counterexample to a false thm ;-) Thanks! Tobias

[isabelle-dev] quickcheck on type real

2007-09-02 Thread Amine Chaieb
This is perhaps an occasion to advertise Library/Executable_real.thy, which contains a verified implementation of rational numbers to be have like HOL --- So here you would no get an exception when dividing by zero, but just zero as you expect. Florian integrated this into the CVS to work with