paper-with-me

Papers

FormalScience: Scalable Human-in-the-Loop Autoformalisation of Science with Agentic Code Generation in Lean

2026-04-24 · Jordan Meadows, Lan Zhang, Andre Freitas arxiv

Formalising informal mathematical reasoning into formally verifiable code is a significant challenge for large language models. In scientific fields such as physics, domain-specific machinery (\textit{e.g.} Dirac notation, vector calculus) imposes additional formalisation challenges that modern LLMs and agentic approaches have yet to tackle. To aid autoformalisation in scientific domains, we present FormalScience; a domain-agnostic human-in-the-loop agentic pipeline that enables a single domain expert (without deep formal language experience) to produce \textit{syntactically correct} and \textit{semantically aligned} formal proofs of informal reasoning for low economic cost. Applying FormalScience to physics, we construct FormalPhysics, a dataset of 200 university-level (LaTeX) physics problems and solutions (primarily quantum mechanics and electromagnetism), along with their Lean4 formal representations. Compared to existing formal math benchmarks, FormalPhysics achieves perfect formal validity and exhibits greater statement complexity. We evaluate open-source models and proprietary systems on a statement autoformalisation task on our dataset via zero-shot prompting, self-refinement with error feedback, and a novel multi-stage agentic approach, and explore autoformalisation limitations in modern LLM-based approaches. We provide the first systematic characterisation of semantic drift in physics autoformalisation in terms of concepts such as notational collapse and abstraction elevation which reveals what formal language verifies when full semantic preservation is unattainable. We release the codebase together with an interactive UI-based FormalScience system which facilitates autoformalisation and theorem proving in scientific domains beyond physics.https://github.com/jmeadows17/formal-science

📄 PDF Abstract BibTeX arXiv:2604.23002

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical ReasoningCode Generation

Similar Papers 제목 키워드 기반

Conjecturing: An Overlooked Step in Formal Mathematical Reasoning

2025-10-13 · Jasivan Alex Sivakumar, Philipp Borchert, Ronald Cardenas, Gerasimos Lampouras arxiv

Autoformalisation, the task of expressing informal mathematical statements in formal language, is often viewed as a direct translation process. This, however, disregards a critical preceding step: conjecturing. Many math…

Mathematical Reasoning

GFLean: An Autoformalisation Framework for Lean via GF

2024-04-01 · Shashank Pathak

We present an autoformalisation framework for the Lean theorem prover, called GFLean. GFLean uses a high-level grammar writing tool called Grammatical Framework (GF) for parsing and linearisation. GFLean is implemented i…

Translation

Theorem Prover as a Judge for Synthetic Data Generation

2025-02-18 · Joshua Ong Jun Leang, Giwon Hong, Wenda Li, Shay B. Cohen

The demand for synthetic data in mathematical reasoning has increased due to its potential to enhance the mathematical capabilities of large language models (LLMs). However, ensuring the validity of intermediate reasonin…

Mathematical ProofsMathematical Reasoningreinforcement-learningReinforcement Learning+1

Can we automatize scientific discovery in the cognitive sciences?

2026-03-22 · Akshay K. Jagadish, Milena Rmus, Kristin Witte, Marvin Mathony 외 arxiv

The cognitive sciences aim to understand intelligence by formalizing underlying operations as computational models. Traditionally, this follows a cycle of discovery where researchers develop paradigms, collect data, and …

Program Synthesis

CIPHER: Scalable Time Series Analysis for Physical Sciences with Application to Solar Wind Phenomena

2025-10-23 · Jasmine R. Kobayashi, Daniela Martin, Valmir P Moraes Filho, Connor O'Brien 외 arxiv

Labeling or classifying time series is a persistent challenge in the physical sciences, where expert annotations are scarce, costly, and often inconsistent. Yet robust labeling is essential to enable machine learning mod…

Time Series Analysis