Integrating Testing and Interactive Theorem Proving

Computer Science – Software Engineering

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

In Proceedings ACL2 2011, arXiv:1110.4473

Scientific paper

10.4204/EPTCS.70.1

Using an interactive theorem prover to reason about programs involves a sequence of interactions where the user challenges the theorem prover with conjectures. Invariably, many of the conjectures posed are in fact false, and users often spend considerable effort examining the theorem prover's output before realizing this. We present a synergistic integration of testing with theorem proving, implemented in the ACL2 Sedan (ACL2s), for automatically generating concrete counterexamples. Our method uses the full power of the theorem prover and associated libraries to simplify conjectures; this simplification can transform conjectures for which finding counterexamples is hard into conjectures where finding counterexamples is trivial. In fact, our approach even leads to better theorem proving, e.g. if testing shows that a generalization step leads to a false conjecture, we force the theorem prover to backtrack, allowing it to pursue more fruitful options that may yield a proof. The focus of the paper is on the engineering of a synergistic integration of testing with interactive theorem proving; this includes extending ACL2 with new functionality that we expect to be of general interest. We also discuss our experience in using ACL2s to teach freshman students how to reason about their programs.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Integrating Testing and Interactive Theorem Proving does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Integrating Testing and Interactive Theorem Proving, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Integrating Testing and Interactive Theorem Proving will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-21957

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.