A Model for Capturing and Replaying Proof Strategies

  • Leo Freitas
  • Cliff B. Jones
  • Andrius Velykis
  • Iain Whiteside
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8471)

Abstract

Modern theorem provers can discharge a significant proportion of Proof Obligation (POs) that arise in the use of Formal Method (FMs). Unfortunately, the residual POs require tedious manual guidance. On the positive side, these “difficult” POs tend to fall into families each of which requires only a few key ideas to unlock. This paper outlines a system that can lessen the burden of FM proofs by identifying and characterising ways of discharging POs of a family by tracking an interactive proof of one member of the family. This opens the possibility of capturing ideas — represented as proof strategies — from an expert and/or maximising reuse of ideas after changes to definitions. The proposed system has to store a wealth of meta-information about conjectures, which can be matched against previously learned strategies, or can be used to construct new strategies based on expert guidance.

References

  1. [BFW09]
    Butterfield, A., Freitas, L., Woodcock, J.: Mechanising a formal model of flash memory. Sci. Comp. Prog. 74(4), 219–237 (2009)MathSciNetCrossRefMATHGoogle Scholar
  2. [FJV14]
    Freitas, L., Jones, C.B., Velykis, A.: Can a system learn from interactive proofs?. In: Voronkov, A., Korovina, M. (eds.) HOWARD-60. A Festschrift on the Occasion of Howard Barringer’s 60th Birthday, pp. 124–139. EasyChair (2014)Google Scholar
  3. [FJVW13]
    Freitas, L., Jones, C.B., Velykis, A., Whiteside, I.: How to say why. Technical report CS-TR-1398, Newcastle University, November 2013. www.ai4fm.org/tr
  4. [FW08]
    Freitas, L., Woodcock, J.: Mechanising mondex with Z/Eves. Formal Aspects Comput. 20(1), 117–139 (2008)CrossRefGoogle Scholar
  5. [FW09]
    Freitas, L., Woodcock, J.: A chain datatype in Z. Int. J. Softw. Inform. 3(2–3), 357–374 (2009)Google Scholar
  6. [FW14]
    Freitas, L., Whiteside, I.: Proof Patterns for Formal Methods. In: Jones, C., Pihlajasaari, P., Sun, J. (eds.) FM 2014. LNCS, vol. 8442, pp. 279–295. Springer, Heidelberg (2014)CrossRefGoogle Scholar
  7. [GKL13]
    Grov, G., Kissinger, A., Lin, Y.: A graphical language for proof strategies. In: McMillan et al. [MMV13], pp. 324–339Google Scholar
  8. [HK13]
    Heras, J., Komendantskaya, E.: ML4PG in computer algebra verification. In: Carette, J., Aspinall, D., Lange, C., Sojka, P., Windsteiger, W. (eds.) CICM 2013. LNCS, vol. 7961, pp. 354–358. Springer, Heidelberg (2013)CrossRefGoogle Scholar
  9. [HKJM13]
    Heras, J., Komendantskaya, E., Johansson, M., Maclean, E.: Proof-pattern recognition and lemma discovery in acl2. In: McMillan et al. [MMV13], pp. 389–406Google Scholar
  10. [JDB11]
    Johansson, M., Dixon, L., Bundy, A.: Conjecture synthesis for inductive theories. J. Autom. Reason. 47(3), 251–289 (2011)MathSciNetCrossRefMATHGoogle Scholar
  11. [JFV13]
    Jones, C.B., Freitas, L., Velykis, A.: Ours Is to reason why. In: Liu, Z., Woodcock, J., Zhu, H. (eds.) Theories of Programming and Formal Methods. LNCS, vol. 8051, pp. 227–243. Springer, Heidelberg (2013)CrossRefGoogle Scholar
  12. [JJLM91]
    Jones, C.B., Jones, K.D., Lindsay, P.A., Moore, R.: mural: A Formal Development Support System. Springer, London (1991)MATHGoogle Scholar
  13. [JS90]
    Jones, C.B., Shaw, R.C.F. (eds.): Case Studies in Systematic Software Development. Prentice Hall International, Englewood (1990)MATHGoogle Scholar
  14. [KU14]
    Kaliszyk, C., Urban, J.: Learning-assisted theorem proving with millions of lemmas. CoRR, abs/1402.3578 (2014)Google Scholar
  15. [MMV13]
    McMillan, K., Middeldorp, A., Voronkov, A. (eds.): LPAR-19 2013. LNCS, vol. 8312. Springer, Heidelberg (2013)MATHGoogle Scholar
  16. [Pau94]
    Paulson, L.C. (ed.): Isabelle: A Generic Theorem Prover. LNCS, vol. 828. Springer, Heidelberg (1994)MATHGoogle Scholar
  17. [Saa97]
    Saaltink, M.: The Z/EVES system. In: Till, D., Bowen, J.P., Hinchey, M.G. (eds.) ZUM 1997. LNCS, vol. 1212, pp. 72–85. Springer, Heidelberg (1997)Google Scholar
  18. [Vel12]
    Velykis, A.: Inferring the proof process. In: Choppy, C., et al. (eds.) FM2012 Doctoral Symposium, Paris, France, August 2012Google Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Leo Freitas
    • 1
  • Cliff B. Jones
    • 1
  • Andrius Velykis
    • 1
  • Iain Whiteside
    • 1
  1. 1.School of Computing ScienceNewcastle UniversityNewcastle upon TyneUK

Personalised recommendations