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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Owre, S., et al.: PVS system guide, PVS prover guide. PVS language reference. Technical report, SRI International, USA (2001)
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
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
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
Nawaz, M.S., et al.: Proof learning in PVS with utility pattern mining. IEEE Access 8, 119806–119818 (2020)
Nawaz, M.Z., et al.: Proof searching in HOL4 with genetic algorithm. In: Proceedings of SAC, pp. 513–520. ACM (2020)
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
Huang, S.I., Chen, Y.P.: Proving theorems by using evolutionary search with human involvement. In: Proceedings of CEC, pp. 1495–1502. IEEE (2017)
Yang, L.A., et al.: Automatically proving mathematical theorems with evolutionary algorithms and proof assistants. In: Proceedings of CEC, pp. 4421–4428. IEEE (2016)
Duncan, H.: The use of data-mining for the automatic formation of tactics. PhD thesis, University of Edinburgh, UK (2007)
Nagashima, Y.: Towards evolutionary theorem proving for Isabelle/HOL. In: Proceedings of GECCO (Poster), pp. 419–420. ACM (2019)
Schafer, S., Schulz, S.: Breeding theorem proving heuristics with genetic algorithms. In: Proceedings of GCAI, pp. 263–274. EasyChair (2015)
Nawaz, M.S., et al.: A survey on theorem provers in formal methods. arXiv:cs.SE/1912.03028 (2019)
Fournier-Viger, P., et al.: A survey of sequential pattern mining. Data Sci. Patt. Recogn. 1(1), 54–77 (2017)
Nawaz, M.S., Sun, M.: Reo2PVS: formal specification and verification of component connectors. In: Proceedings of SEKE, pp. 391–396 (2018)
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
Friedman, M.: A comparison of alternative tests of significance for the problem of m rankings. Ann. Math. Stat. 11(1), 86–92 (1940)
Wilcoxon, F.: Individual comparisons by ranking methods. Biometrics Bull. 1(6), 80–83 (1945)
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)
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
Huang, D., et al.: GamePad: a learning environment for theorem proving. In: Proceedings of ICLR (Poster) (2019)
Yang, K., Deng, J.: Learning to prove theorems via interacting with proof assistants. In: Proceedings of ICML, pp. 6984–6994. PMLR (2019)
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)
Sanchez-Stern, A., et al.: Generating correctness proofs with neural networks. In: Proceedings of MAPL@PLDI, pp. 1–10. ACM (2020)
Santo, J.E.: Curry-howard for sequent calculus at last! In: Proceedings of TLCA, pp. 165–179 (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
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)