Learning to Prove Theorems via Interacting with Proof Assistants
Kaiyu Yang, Jia Deng
Learning to Prove Theorems via Interacting with Proof Assistants - - PowerPoint PPT Presentation
Learning to Prove Theorems via Interacting with Proof Assistants Kaiyu Yang, Jia Deng Automated Theorem Proving (ATP) 1 + 2 + + = + 1 2 Assumptions Conclusion Automated Theorem Proving (ATP) 1 + 2 +
Kaiyu Yang, Jia Deng
Assumptions Conclusion
๐ โ โ 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 โ
Automated theorem prover Assumptions Conclusion
๐ โ โ 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 โ
Automated theorem prover Proof Assumptions Conclusion
๐ โ โ 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 โ
Computer-aided proofs in math
Computer-aided proofs in math Software verification
Computer-aided proofs in math Hardware design Software verification
Computer-aided proofs in math Hardware design Software verification Cyber-physical systems
Conjunctive normal forms (CNFs)
1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ๐โยฌ๐โยฌ๐ โ๐ก ยฌ๐ฆโ๐งโ๐จโ๐
Theorem
Conjunctive normal forms (CNFs)
1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ๐โยฌ๐โยฌ๐ โ๐ก ยฌ๐ฆโ๐งโ๐จโ๐ ยฌ๐ฆโ๐งโ๐จโ๐โยฌ๐ โ๐ก
Theorem
Conjunctive normal forms (CNFs)
1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ๐โยฌ๐โยฌ๐ โ๐ก ยฌ๐ฆโ๐งโ๐จโ๐ ยฌ๐ฆโ๐งโ๐จโ๐โยฌ๐ โ๐ก โฆ
Theorem
Conjunctive normal forms (CNFs)
1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ๐โยฌ๐โยฌ๐ โ๐ก ยฌ๐ฆโ๐งโ๐จโ๐ ยฌ๐ฆโ๐งโ๐จโ๐โยฌ๐ โ๐ก โฆ
Theorem
Human Proof assistant
assumptions conclusion goal
Proof assistant Human
assumptions conclusion goal tactic
Proof assistant Human
Proof assistant Human
Proof assistant Human
Proof assistant Human
Proof assistant
Labor-intensive, requires extensive training
Human
Proof assistant Agent Human
[Barras et al. 1997]
Proof tree
[Barras et al. 1997]
Tactic
๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐ Proof goal
Proof goal Abstract syntax trees (ASTs) ๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐
Proof goal Abstract syntax trees (ASTs) ๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐
Feature vectors
TreeLSTM encoder [Tai et al. 2015]
decoder Tactic AST
ASTactic can augment state-of-the-art ATP systems [Czajka and Kaliszyk, 2018] to prove more theorems
Proof goal Abstract syntax trees (ASTs) ๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐ Feature vectors
TreeLSTM encoder [Tai et al. 2015]
Main differences:
Poster today @ Pacific Ballroom #247 Code: https://github.com/princeton-vl/CoqGym
Kaiyu Yang, Jia Deng