Skip to main content

Proof Searching in PVS Theorem Prover Using Simulated Annealing

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12690))

Abstract

The proof development process in PVS theorem prover is interactive in nature, that is not only laborious but consumes lots of time. For proof searching and optimization in PVS, a heuristic proof searching approach is provided where simulated annealing (SA) is used to search and optimize the proofs for formalized theorems/lemmas in PVS theories. In the proposed approach, random proof sequence is first generated from a population of frequently occurring PVS proof steps that are discovered with sequential pattern mining. Generated proof sequence then goes through the annealing process till its fitness matches with the fitness of the target proof sequence. Moreover, the performance of SA with a genetic algorithm (GA) is compared. Obtained results suggest that evolutionary/heuristic techniques can be combined with proof assistants to efficiently support proofs finding and optimization.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Owre, S., et al.: PVS system guide, PVS prover guide. PVS language reference. Technical report, SRI International, USA (2001)

    Google Scholar 

  2. Bertot, Y., Casteran, P.: Interactive Theorem Proving and Program Development Coq’Art: The Calculus of Inductive Construction. Springer (2003). https://doi.org/10.1007/978-3-662-07964-5

  3. Slind, K., Norrish, M.: A brief overview of HOL4. In: Mohamed, O.A., Muñoz, C., Tahar, S. (eds.) TPHOLs 2008. LNCS, vol. 5170, pp. 28–32. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-71067-7_6

    Chapter  Google Scholar 

  4. Nawaz, M.S., Sun, M., Fournier-Viger, P.: Proof guidance in PVS with sequential pattern mining. In: Hojjat, H., Massink, M. (eds.) FSEN 2019. LNCS, vol. 11761, pp. 45–60. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-31517-7_4

    Chapter  Google Scholar 

  5. Nawaz, M.S., et al.: Proof learning in PVS with utility pattern mining. IEEE Access 8, 119806–119818 (2020)

    Article  Google Scholar 

  6. Nawaz, M.Z., et al.: Proof searching in HOL4 with genetic algorithm. In: Proceedings of SAC, pp. 513–520. ACM (2020)

    Google Scholar 

  7. Delahaye, D., Chaimatanan, S., Mongeau, M.: Simulated annealing: from basics to applications. In: Gendreau, M., Potvin, J.-Y. (eds.) Handbook of Metaheuristics. ISORMS, vol. 272, pp. 1–35. Springer, Cham (2019). https://doi.org/10.1007/978-3-319-91086-4_1

    Chapter  Google Scholar 

  8. Huang, S.I., Chen, Y.P.: Proving theorems by using evolutionary search with human involvement. In: Proceedings of CEC, pp. 1495–1502. IEEE (2017)

    Google Scholar 

  9. Yang, L.A., et al.: Automatically proving mathematical theorems with evolutionary algorithms and proof assistants. In: Proceedings of CEC, pp. 4421–4428. IEEE (2016)

    Google Scholar 

  10. Duncan, H.: The use of data-mining for the automatic formation of tactics. PhD thesis, University of Edinburgh, UK (2007)

    Google Scholar 

  11. Nagashima, Y.: Towards evolutionary theorem proving for Isabelle/HOL. In: Proceedings of GECCO (Poster), pp. 419–420. ACM (2019)

    Google Scholar 

  12. Schafer, S., Schulz, S.: Breeding theorem proving heuristics with genetic algorithms. In: Proceedings of GCAI, pp. 263–274. EasyChair (2015)

    Google Scholar 

  13. Nawaz, M.S., et al.: A survey on theorem provers in formal methods. arXiv:cs.SE/1912.03028 (2019)

  14. Fournier-Viger, P., et al.: A survey of sequential pattern mining. Data Sci. Patt. Recogn. 1(1), 54–77 (2017)

    Google Scholar 

  15. Nawaz, M.S., Sun, M.: Reo2PVS: formal specification and verification of component connectors. In: Proceedings of SEKE, pp. 391–396 (2018)

    Google Scholar 

  16. Nawaz, M.S., Sun, M.: Using PVS for modeling and verification of probabilistic connectors. In: Hojjat, H., Massink, M. (eds.) FSEN 2019. LNCS, vol. 11761, pp. 61–76. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-31517-7_5

    Chapter  Google Scholar 

  17. Friedman, M.: A comparison of alternative tests of significance for the problem of m rankings. Ann. Math. Stat. 11(1), 86–92 (1940)

    Article  MathSciNet  Google Scholar 

  18. Wilcoxon, F.: Individual comparisons by ranking methods. Biometrics Bull. 1(6), 80–83 (1945)

    Article  Google Scholar 

  19. Nawaz, M.S., et al.: Proof searching and prediction in HOL4 with evolutionary/heuristic and deep learning techniques. Appl. Intell. 51(3), 1580–1601 (2021)

    Article  Google Scholar 

  20. Nawaz, M.S., et al.: An evolutionary/heuristic-based proof searching framework for interactive theorem prover. Appl. Soft Comput. (2021). https://doi.org/10.1016/j.asoc.2021.107200

  21. Huang, D., et al.: GamePad: a learning environment for theorem proving. In: Proceedings of ICLR (Poster) (2019)

    Google Scholar 

  22. Yang, K., Deng, J.: Learning to prove theorems via interacting with proof assistants. In: Proceedings of ICML, pp. 6984–6994. PMLR (2019)

    Google Scholar 

  23. Bansal, K., et al.: HOList: an environment for machine learning of higher order logic theorem proving. In: Proceedings of ICML, pp. 454–463, PMLR (2019)

    Google Scholar 

  24. Sanchez-Stern, A., et al.: Generating correctness proofs with neural networks. In: Proceedings of MAPL@PLDI, pp. 1–10. ACM (2020)

    Google Scholar 

  25. Santo, J.E.: Curry-howard for sequent calculus at last! In: Proceedings of TLCA, pp. 165–179 (2015)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Philippe Fournier-Viger .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nawaz, M.S., Sun, M., Fournier-Viger, P. (2021). Proof Searching in PVS Theorem Prover Using Simulated Annealing. In: Tan, Y., Shi, Y. (eds) Advances in Swarm Intelligence. ICSI 2021. Lecture Notes in Computer Science(), vol 12690. Springer, Cham. https://doi.org/10.1007/978-3-030-78811-7_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-78811-7_24

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-78810-0

  • Online ISBN: 978-3-030-78811-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics