Title :
Random testing in Isabelle/HOL
Author :
Berghofer, Stefan ; Nipkow, Tobias
Author_Institution :
Inst. fur Informatik, Tech. Univ. Munchen, Garching, Germany
Abstract :
When developing non-trivial formalizations in a theorem prover, a considerable amount of time is devoted to "debugging" specifications and conjectures by failed proof attempts. To detect such problems early in the proof and save development time, we have extended the Isabelle theorem prover with a tool for testing specifications by evaluating propositions under an assignment of random values to free variables. Distribution of the test data is optimized via mutation testing. The technical contributions are an extension of earlier work with inductive definitions and a generic method for randomly generating elements of recursive datatypes.
Keywords :
formal specification; optimisation; program testing; recursive functions; theorem proving; Isabelle theorem prover; Isabelle/HOL; debugging specifications; free variables; inductive definitions; mutation testing; nontrivial formalizations; random testing; random values; recursive datatypes; specification testing; Software engineering; Software testing;
Conference_Titel :
Software Engineering and Formal Methods, 2004. SEFM 2004. Proceedings of the Second International Conference on
Print_ISBN :
0-7695-2222-X
DOI :
10.1109/SEFM.2004.1347524