<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2026-09-23T05:39:06Z</responseDate><request verb="GetRecord" identifier="oai:www.repository.cam.ac.uk:1810/379281" metadataPrefix="uketd_dc">https://api.repository.cam.ac.uk/server/oai/request</request><GetRecord><record><header><identifier>oai:www.repository.cam.ac.uk:1810/379281</identifier><datestamp>2025-02-12T01:41:08Z</datestamp><setSpec>com_1810_219481</setSpec><setSpec>com_1810_256065</setSpec><setSpec>col_1810_219482</setSpec></header><metadata><uketd_dc:uketddc xmlns:uketd_dc="http://naca.central.cranfield.ac.uk/ethos-oai/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:uketdterms="http://naca.central.cranfield.ac.uk/ethos-oai/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:doc="http://www.lyncode.com/xoai" xsi:schemaLocation="http://naca.central.cranfield.ac.uk/ethos-oai/2.0/ http://naca.central.cranfield.ac.uk/ethos-oai/2.0/uketd_dc.xsd">
   <dc:title>Language models for verifiable mathematical automation: Interaction, integration, and autoformalization</dc:title>
   <dc:identifier xsi:type="dcterms:DOI">https://doi.org/10.17863/CAM.115428</dc:identifier>
   <dc:creator>Jiang, Qiaochu</dc:creator>
   <uketdterms:advisor>Jamnik, Mateja</uketdterms:advisor>
   <uketdterms:advisor>Li, Wenda</uketdterms:advisor>
   <dcterms:abstract>Stronger automation in formal mathematical reasoning provides scalability, trust-worthiness, and accessibility: it enables efficient verification of complex proofs, reduces the likelihood of errors in intricate
calculations, allows non-experts to engage with mathematical concepts, and potentially facilitates the
discovery of novel mathematical insights through machine-driven exploration. Traditionally, automated
reasoners only have formal-language repositories at their disposal and cannot use the much larger
natural-language corpora, since natural language comprehension is difficult. While controlled natural
language interfaces with formal syntax have been designed (e.g., Naproche), they are ultimately too
rigid to be widely useful. Large language models, on the other hand, excel at language comprehension
and have exposure to innumerable mathematical documents humans accumulated throughout the ages,
rendering them an ideal candidate for an automation tool. Modern language models have been trained on
a vast amount of data, and can be instructed to carry out an impressive number of tasks. The versatility
of language models makes them complementary to traditional reasoners, whose rigidity severely limits
wider adoption and easier use.
The goal of this thesis is to answer how we can achieve trustworthy automation in mathematical reasoning
with language models. To this end, we introduce a novel evaluation of language models to determine
their suitable scenarios in mathematical reasoning. With the insights obtained, we then train them to
write formal proofs in those scenarios with assistance from automated theorem provers, and use them to
translate mathematical theorems and proofs from LATEX to formal languages.
Concretely, (1) We conduct the first interactive evaluation of language models on informal mathematical
reasoning. The evaluation reveals language models’ inherent strength in memorisation and having
flexible inputs/outputs, and weaknesses in complex reasoning and algebraic manipulations. (2) With
LLMs’ strengths and weaknesses in mind, we develop the first approach combining automated theorem
provers and language models for proof search: Thor. Thor uses language models for creative proof
steps, and calls Sledgehammer (Isabelle’s tool with access to many automated theorem provers) to fill
in premise selection details. We also develop Magnushammer, a hammer-like system with a transformer-
based relevance filter, and show that Magnushammer outperforms Sledgehammer both individually and
as a plugin for Thor. (3) All existing approaches for proof search operate either over natural or formal
language, without bringing together their respective expressiveness and rigour. To remedy this dichotomy,
we use language models to perform autoformalization, the process of turning informal mathematical
theorems and proofs into formal ones. We validate the usefulness of autoformalization by showing
autoformalized theorems can serve as training data to improve proof search systems. We also take
repositories of formal theorems in multiple languages and informalise them into natural language. This
results in a large parallel dataset of informal and formal mathematical theorems, MMA, which induces
significant autoformalization capability boost when language models are fine-tuned on it. (4) Finally,
we construct Draft, Sketch, and Prove, a methodology that uses language models to translate informal
proofs into formal proof sketches, and then calls automated theorem provers to fill in the gaps. This
neuro-symbolic method can empower the informal proofs with rigour by effectively translating them
into formal ones and verifying them.
The research in this thesis presents a new paradigm of theorem proving research in which language
models constitute both a scalable power engine for automating numerous tasks and an accessible bridge
between human users and machines for reasoning.</dcterms:abstract>
   <uketdterms:institution>University of Cambridge</uketdterms:institution>
   <dcterms:issued>2024-08-25</dcterms:issued>
   <dc:type>Thesis</dc:type>
   <uketdterms:qualificationlevel>Doctoral</uketdterms:qualificationlevel>
   <uketdterms:qualificationname>Doctor of Philosophy (PhD)</uketdterms:qualificationname>
   <dc:language>eng</dc:language>
   <uketdterms:sponsor>Peterhouse Graduate Studentship</uketdterms:sponsor>
   <dcterms:isReferencedBy xsi:type="dcterms:URI">https://www.repository.cam.ac.uk/handle/1810/379281</dcterms:isReferencedBy>
   <dc:identifier xsi:type="dcterms:URI">https://apollo8-f-pro.lib.cam.ac.uk/bitstreams/d77962bf-e37e-4cef-bbfd-204c3037fe02/download</dc:identifier>
   <uketdterms:checksum xsi:type="uketdterms:MD5">687ff790558b5ed2d0db251942216a65</uketdterms:checksum>
   <dcterms:license>https://apollo8-f-pro.lib.cam.ac.uk/bitstreams/b6f80340-b9dc-49d5-b5a5-98f7caacc9fe/download</dcterms:license>
   <uketdterms:checksum xsi:type="uketdterms:MD5">87eda9de84448d1f82354d60eee3eb5f</uketdterms:checksum>
   <dc:rights>https://creativecommons.org/licenses/by/4.0/</dc:rights>
   <dc:subject>artificial intelligence</dc:subject>
   <dc:subject>formal mathematics</dc:subject>
   <dc:subject>large language models</dc:subject>
   <dc:subject>mathematics</dc:subject>
</uketd_dc:uketddc>
</metadata></record></GetRecord></OAI-PMH>