How did humanity coax mathematics from the aether? We explore the Platonic view that mathematics can be discovered from its axioms - a game of conjecture and proof. We describe Minimo (Mathematics from Intrinsic Motivation): an agent that jointly learns to pose challenging problems for itself (conjecturing) and solve them (theorem proving). Given a mathematical domain axiomatized in dependent type theory, we first combine methods for constrained decoding and type-directed synthesis to sample valid conjectures from a language model. Our method guarantees well-formed conjectures by construction, even as we start with a randomly initialized model. We use the same model to represent a policy and value function for guiding proof search. Our agent targets generating hard but provable conjectures - a moving target, since its own theorem proving ability also improves as it trains. We propose novel methods for hindsight relabeling on proof search trees to significantly improve the agent's sample efficiency in both tasks. Experiments on 3 axiomatic domains (propositional logic, arithmetic and group theory) demonstrate that our agent can bootstrap from only the axioms, self-improving in generating true and challenging conjectures and in finding proofs.
Correctness, Artificial Intelligence, and the Epistemic Value of Mathematical Proof
Department of Logic and Philosophy of Science University of California, Irvine(逻辑与科学哲学系加州大学伊维奇分校);Department of Mathematics University of California, Irvine(数学系加州大学伊维奇分校)
MathlibLemma: Folklore Lemma Generation and Benchmark for Formal Mathematics
Department of Computer Science, University of Virginia(弗吉尼亚大学计算机科学系);Astronomy , California Institute of Technology(加州理工学院天文学系);Purdue University(普渡大学);Massachusetts Institute of Technology(麻省理工学院)
First Experiments with Neural Translation of Informal to Formal Mathematics
University of Innsbruck(因斯布鲁克大学);Czech Technical University in Prague(布拉格捷克理工大学)
我们报告了我们的实验,训练深度神经网络,自动翻译非正式的LaTeX写的Mizar文本到正式的Mizar语言。据我们所知,这是第一次当神经网络已被采用在数学的形式化。Using Luong et al.的神经机器翻译模型(NMT),我们测试了我们对齐的非正式正式语料库对各种超参数和评估他们的结果。实验结果表明,我们的最佳模型配置能够在65.73%的推理数据上生成正确的Mizar语句,所有模型的联合覆盖率为79.17%。这些结果表明,通过人工神经网络的形式化是一种很有前途的方法自动形式化的数学。我们提出了几个案例研究来说明我们的结果。
Towards a Mathematics Formalisation Assistant using Large Language Models
Microsoft Research(微软研究院);Indian Institute of Science(印度科学学院);London School of Geometry and Number Theory(伦敦几何与数论学院);Indian Institute of Science Education and Research(印度科学教育与研究院)
Safe: Enhancing Mathematical Reasoning in Large Language Models via Retrospective Step-aware Formal Verification
School of Computer Science, National Key Laboratory for Multimedia Information Processing, PKU-Anker LLM Lab, Peking University(计算机学院、多媒体信息处理国家重点实验室、PKU-Anker LLM实验室、北京大学);Huawei Noah’s Ark Lab(华为诺亚实验室);The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong Polytechnic University(香港理工大学)