Learning Proof Transformations and Its Applications in Interactive Theorem Proving

被引:0
|
作者
Zhang, Liao [1 ,2 ]
Blaauwbroek, Lasse [3 ]
Kaliszyk, Cezary [1 ,4 ]
Urban, Josef [2 ]
机构
[1] Univ Innsbruck, Innsbruck, Austria
[2] Czech Tech Univ, Prague, Czech Republic
[3] Inst Hautes Etud Sci Paris, Paris, France
[4] Int Neurodegenerat Disorders Res Ctr, Prague, Czech Republic
来源
基金
欧洲研究理事会;
关键词
Interactive theorem proving; Machine learning; Neural networks;
D O I
10.1007/978-3-031-43369-6_13
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Interactive theorem provers are today increasingly used to certify mathematical theories. To formally prove a theorem, reasoning procedures called tactics are invoked successively on the proof states starting with the initial theorem statement, transforming them into subsequent intermediate goals, and ultimately discharging all proof obligations. In this work, we develop and experimentally evaluate approaches that predict the most likely tactics that will achieve particular desired transformations of proof states. First, we design several characterizations to efficiently capture the semantics of the proof transformations. Then we use them to create large datasets on which we train state-of-the-art random forests and language models. The trained models are evaluated experimentally, and we show that our best model is able to guess the right tactic for a given proof transformation in 74% of the cases. Finally, we use the trained methods in two applications: proof shortening and tactic suggesting. To the best of our knowledge, this is the first time that tactic synthesis is trained on proof transformations and assists interactive theorem proving in these ways.
引用
收藏
页码:236 / 254
页数:19
相关论文
共 50 条
  • [1] Source-level proof reconstruction for interactive theorem proving
    Paulson, Lawrence C.
    Susanto, Kong Woei
    THEOREM PROVING IN HIGHER ORDER LOGICS, PROCEEDINGS, 2007, 4732 : 232 - +
  • [2] Learning Proof Path Selection Policies in Neural Theorem Proving
    Morris, Matthew
    Minervini, Pasquale
    Blunsom, Phil
    NEURAL-SYMBOLIC LEARNING AND REASONING, NESY 2022, 2022, : 64 - 87
  • [3] UNIT PROOF AND INPUT PROOF IN THEOREM PROVING
    CHANG, CL
    JOURNAL OF THE ACM, 1970, 17 (04) : 698 - &
  • [4] Proof simplification and automated theorem proving
    Kinyon, Michael
    PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2019, 377 (2140):
  • [5] Higher-order theorem proving and its applications
    Steen, Alexander
    IT-INFORMATION TECHNOLOGY, 2019, 61 (04): : 187 - 191
  • [7] Performing Calculation in Interactive Theorem Proving
    Li, Bing
    Zhao, Chenyang
    Li, Lian
    MECHANICAL AND ELECTRONICS ENGINEERING III, PTS 1-5, 2012, 130-134 : 2924 - 2927
  • [8] Interactive Theorem Proving and Verification FOREWORD
    Natarajan, Raja
    SADHANA-ACADEMY PROCEEDINGS IN ENGINEERING SCIENCES, 2009, 34 (01): : 1 - 2
  • [9] Integrating Testing and Interactive Theorem Proving
    Chamarthi, Harsh Raju
    Dillinger, Peter C.
    Kaufmann, Matt
    Manolios, Panagiotis
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2011, (70): : 4 - 19
  • [10] Interactive Theorem Proving with Temporal Logic
    Felty, A.
    Thery, L.
    Journal of Symbolic Computation, 23 (04):