Towards Autoformalization of Mathematics and Code Correctness: Experiments with Elementary Proofs
원문 초록
The ever-growing complexity of mathematical proofs makes their manual verification by mathematicians very cognitively demanding. Autoformalization seeks to address this by translating proofs written in natural language into a formal representation that is computer-verifiable via interactive theorem provers. In this paper, we introduce a semantic parsing approach, based on the Universal Transformer architecture, that translates elementary mathematical proofs into an equivalent formalization in the language of the Coq interactive theorem prover. The same architecture is also trained to translate simple imperative code decorated with Hoare triples into formally verifiable proofs of correctness in Coq. Experiments on a limited domain of artificial and human-written proofs show that the models generalize well to intermediate lengths not seen during training and variations in natural language.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Where, What, Why: Towards Explainable Driver Attention Prediction
StepProof: Step-by-step verification of natural language mathematical proofs
A Theoretical Analysis of Compositional Generalization in Neural Networks: A Necessary and Sufficient Condition
Hierarchical Attention Generates Better Proofs
Sigma: A dataset for text-to-code semantic parsing with statistical analysis
Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing
토론
이 논문과 연결된 포럼 글이 아직 없습니다.