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 + โฏ + ๐ = ๐ + 1 ๐ โ ๐ โ โ 2 Assumptions Conclusion Automated theorem prover
Automated Theorem Proving (ATP) 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ โ ๐ โ โ 2 Assumptions Conclusion Automated theorem prover Proof
Automated Theorem Proving (ATP) is Useful for Computer-aided proofs in math
Automated Theorem Proving (ATP) is Useful for Computer-aided proofs in math Software verification
Automated Theorem Proving (ATP) is Useful for Computer-aided proofs in math Software verification Hardware design
Automated Theorem Proving (ATP) is Useful for Computer-aided proofs in math Software verification Cyber-physical systems Hardware design
Drawbacks of State-of-the-art ATP โข Prove by resolution ๐โยฌ๐โยฌ๐ โ๐ก 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ยฌ๐ฆโ๐งโ๐จโ๐ Theorem Conjunctive normal forms (CNFs)
Drawbacks of State-of-the-art ATP โข Prove by resolution ๐โยฌ๐โยฌ๐ โ๐ก 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ยฌ๐ฆโ๐งโ๐จโ๐ ยฌ๐ฆโ๐งโ๐จโ๐โยฌ๐ โ๐ก Theorem Conjunctive normal forms (CNFs)
Drawbacks of State-of-the-art ATP โข Prove by resolution ๐โยฌ๐โยฌ๐ โ๐ก 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ยฌ๐ฆโ๐งโ๐จโ๐ ยฌ๐ฆโ๐งโ๐จโ๐โยฌ๐ โ๐ก โฆ Theorem Conjunctive normal forms (CNFs)
Drawbacks of State-of-the-art ATP โข The CNF representation โข Long and incomprehensible even for simple math equations โข Unsuitable for human-like high-level reasoning ๐โยฌ๐โยฌ๐ โ๐ก 1 + 2 + โฏ + ๐ = ๐ + 1 ๐ 2 ยฌ๐ฆโ๐งโ๐จโ๐ ยฌ๐ฆโ๐งโ๐จโ๐โยฌ๐ โ๐ก โฆ Theorem Conjunctive normal forms (CNFs)
Interactive Theorem Proving Human Proof assistant
Interactive Theorem Proving assumptions goal conclusion Human Proof assistant
Interactive Theorem Proving assumptions goal conclusion tactic Human Proof assistant
Interactive Theorem Proving Human Proof assistant
Interactive Theorem Proving Human Proof assistant
Interactive Theorem Proving Human Proof assistant
Interactive Theorem Proving Human Proof assistant Labor-intensive, requires extensive training
Interactive Theorem Proving Human Proof assistant Agent
CoqGym: Dataset and Learning Environment โข Tool for interacting with the Coq proof assistant [Barras et al. 1997] โข 71K human-written proofs, 123 Coq projects โข Diverse domains โข math, software, hardware, etc.
CoqGym: Dataset and Learning Environment โข Tool for interacting with the Coq proof assistant [Barras et al. 1997] โข 71K human-written proofs, 123 Coq projects โข Diverse domains โข math, software, hardware, etc. โข Structured data โข Proof trees โข Abstract syntax trees Proof tree
ASTactic: Tactic Generation with Deep Learning ๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐ Proof goal Tactic
ASTactic: Tactic Generation with Deep Learning ๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐ Proof goal Abstract syntax trees (ASTs)
ASTactic: Tactic Generation with Deep Learning TreeLSTM encoder [Tai et al. 2015] ๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐ Proof goal Feature vectors Abstract syntax trees (ASTs)
ASTactic: Tactic Generation with Deep Learning TreeLSTM encoder [Tai et al. 2015] decoder ๐, ๐ โ โ ๐ = 2๐ ๐ โฅ ๐ Proof goal Feature vectors Tactic AST Abstract syntax trees (ASTs) ASTactic can augment state-of-the-art ATP systems [Czajka and Kaliszyk, 2018] to prove more theorems
Related Work โข CoqHammer [Czajka and Kaliszyk, 2018] โข SEPIA [Gransden et al. 2015] โข TacticToe [Gauthier et al. 2018] โข FastSMT [Balunovic et al. 2018] โข GamePad [Huang et al. 2019] โข HOList [Bansal et al. 2019] (concurrent work at ICML19) Main differences: โข Our dataset is larger covers more diverse domains. โข Our model is more flexible, generating tactics in the form of ASTs.
Learning to Prove Theorems via Interacting with Proof Assistants Kaiyu Yang, Jia Deng Poster today @ Pacific Ballroom #247 Code: https://github.com/princeton-vl/CoqGym
Recommend
More recommend