Papers for

formal methods engineers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Undecidability emerges from rewriting in semi-thue systems

Diagonalization and Undecidability in Semi-Thue Systems

Abstract: We revisit classical diagonalization argument in the setting of semi-Thue systems, viewing computation as nondeterministic rewriting rather than sequential machine execution. Semi-Thue systems naturally generate derivation trees, making existential acceptance, reachability, and infinite derivations fundamental computational notions. We formulate acceptance and decision directly in terms of derivation trees and study the associated assertion, word, and infiniteness problems. We prove that the complements of the assertion and word problems are not recursively enumerable by direct Post-style diagonal arguments. For the infiniteness problem, we give a constructive diagonalization based on a fixed universal semi-Thue system. Unlike the classical approach, the diagonal construction is carried out entirely within the rewriting formalism: the universal system remains an ordinary nondeterministic semi-Thue system while simulating encoded semi-Thue computations, including self-reference. These results show that undecidability in semi-Thue systems arises naturally from universality and self-reference in nondeterministic rewriting, rather than from machine states or control mechanisms. This perspective clarifies the relationship between rewriting systems, recursive enumerability, and classical diagonal arguments originating in the work of Post and Turing.

Thu 29 OctComputational Complexity
The gist
Deciding certain outcomes in systems that rewrite strings according to rules is surprisingly tricky. This paper shows that fundamental limits on decision-making—called undecidability—arise naturally when viewing computations as rewriting steps, instead of as traditional machine instructions. The authors prove that for some key questions in these rewriting systems, no algorithm can list all the negative cases, and they achieve this entirely within the rewriting framework itself. Their work clarifies old ideas about how self-reference and universality cause undecidability but in a new setting of rewriting rules.
Open → 2610.40105v1

Exact bounds found for avoid-or-compress lengths in synchronizing automata

Exact Avoid-or-Compress Extrema for Dense Reachable Images: Defects Four and Five

Abstract: Let $S$ be a reachable image of a strongly connected synchronizing automaton and $\varnothing\ne A\subsetneq S$. We determine the maximum shortest avoid-or-compress length over binary and arbitrary finite alphabets for $m=n-|S|=4$ and $m=5$. The exact values are $\min(n-|A|,11)$ and $\min(n-|A|,14)$, respectively. Uniform binary constructions attain both bounds. For the upper bounds, short-pair graphs and actual-image constraints reduce all parameters to finite necessary domains. Exhaustive checks exclude the domains, apart from a single relaxation eliminated by a multipartite overlap lemma. The largest calculation covers 3,206,988 domains.

Thu 29 OctFormal Languages and Automata Theory
The gist
This paper finds the exact maximum lengths needed to change images (states) in a specific kind of machine called a strongly connected synchronizing automaton, focusing on cases where the system's missing parts number four or five. The authors use mathematical constructions and computational checks to narrow down these lengths precisely, confirming the values with exhaustive analysis. They also developed new techniques to reduce the problem size, enabling them to run thorough verifications.
Open → 2610.39833v1

Step recursion reveals structure of complex number sequences

Step Recursion: Exact Membership Spectra, Mixed Strides, and Collapse

Abstract: For a strictly increasing $G:\mathbb{N}\to\mathbb{N}$ with $G(0)\geq 1$, we study minimal-basis function algebras generated by recursion along generalized inverses of its iterates. Bounded recursion requires an earlier pointwise majorant; unbounded recursion has no such requirement. If the orbit $G^{[t]}(0)$ has no polynomial upper bound, we obtain exact fixed-function membership spectra, reverse-divisibility inclusion, and indexed intersections that need not be single-stride algebras. Every finite divisibility-downset is realized in both regimes, and mixed strides admit fixed functions expressing any finite monotone Boolean condition on their additive stride monoid. For every generator, the realized bounded spectra form a bounded meet-semilattice: a construction sharing a bounding input coordinate realizes finite intersections without an unrestricted selector. Polynomial orbit growth is equivalent to definability of each of ordinary predecessor, unary doubling, and addition in any fixed unbounded stride algebra. In this case the algebra is ordinary primitive recursion relative to its inverse map, giving full collapse for primitive-recursive $G$. Ordinary predecessor belongs to a bounded stride algebra exactly when the orbit is polynomially bounded and $G$ has bounded successive differences; equivalently, ordinary bounded recursion embeds. A locality obstruction explains the additional bounded requirement, and two primitive-recursive generators with quadratic orbits have opposite bounded collapse behavior.

Thu 29 OctLogic in Computer Science
The gist
This paper studies how sequences of numbers generated by repeatedly applying a function behave under different kinds of recursion. The authors explore when and how these sequences fit into mathematical systems known as function algebras, distinguishing between bounded and unbounded recursion cases. They show precise ways to understand membership in these algebras and find conditions under which the recursion simplifies ('collapses') to well-known forms. Their work links properties like polynomial growth of sequences to the definability of common arithmetic operations within these algebras.
Open → 2610.39774v1

Undecidability of tree equivalence for some recursive program-generated trees

Tree Equivalence of Higher-Order Recursion Schemes Is Undecidable

Abstract: Higher-order recursion schemes (HORS) are finite, simply typed recursive programs that generate potentially infinite trees. Their monadic second-order model-checking problem is decidable. We prove that tree equivalence of deterministic HORS is undecidable and, more precisely, $Π^0_1$-complete under total computable many-one reductions. The lower bound holds for safe, productive schemes of order at most four over the fixed ranked alphabet $Σ_2=\{e:0,d:2\}$, consisting of one nullary and one binary symbol. Adapting the counter-guard witness of Boiret, Piorkowski, and Schmude, we generate all candidate executions of a two-counter machine by producing both continuations at every counter test. An integer weight is nonzero exactly on legal prefixes. Functions at fixed simple types represent the polynomial of growing degree. A shift recurrence updates them without storing a separate step counter, allowing the witness to be implemented by safe applicative HORS rules. At candidate halts, the intermediate schemes generate unary observation subtrees whose lengths encode the two natural-number components of the signed weight. Invalid candidates give matching observations; a legal halt produces a finite discrepancy. Fixed constructor contexts encode these intermediate trees over $Σ_2$. For the upper bound, a finite monotone semantics decides head convergence and supports an algorithm computing exact tree prefixes at any prescribed finite depth, including positions labelled $\bot$.

Thu 29 OctFormal Languages and Automata TheoryLogic in Computer Science
The gist
Some computer programs called higher-order recursion schemes (HORS) can produce infinitely large tree-shaped structures. The authors show that deciding whether two such deterministic HORS generate the exact same tree is impossible with any algorithm, a problem called undecidable. They prove this even for fairly simple HORS of order four using clever encodings of machines that count and compare numbers. This means some verification tasks comparing these program outputs cannot be fully automated.
Open → 2610.39678v1

Wreath products create new representable distributive quasi relation algebras

Wreath products of distributive quasi relation algebra frames and their application to representability

Abstract: We adapt a construction by Comer (1983) for polygroups to define the wreath product of the dual frames of two distributive quasi relation algebras satisfying certain conditions and show that it is itself a frame. Frames play a role analogous to that of atom structures for relation algebras. After introducing the notion of a frame network, we establish a correspondence between frame networks satisfying certain conditions and representability of finite distributive quasi relation algebras. Next we describe a frame network for the wreath product of two finite representable distributive quasi relation algebras that satisfies the aforementioned conditions, as well as additional conditions, and use this to conclude that the complex algebra of the wreath product is a representable distributive quasi relation algebra. Thus, our construction provides a method for obtaining representable DqRAs from certain finite DqRAs that are already known to be representable.

Wed 28 OctLogic in Computer Science
The gist
Distributive quasi relation algebras are mathematical structures used to study relations. The authors adapt an old construction to combine two such structures into a new one, called a wreath product, that also meets important mathematical conditions. They introduce a way to represent these structures called frame networks and show how these help prove the new combined algebra is representable. This means their method can build more complex objects from simpler, known ones while preserving key properties.
Open → 2610.38984v1

Quantifier shifts can shorten proofs but cause local unsoundness

Proof Theory of Quantifier Shifts - An Overview

Abstract: Quantifier shifts are one of the oldest proof methods, but they are orthogonal to the cut free format: They can shorten proofs non-elementarily. (The proof is based on the sequence of proofs exhibiting a non-elementary difference between proofs with cuts and cut-free proofs by Orevkov). The cost is, however, that those proofs are globally sound but locally unsound. (Their subderivations might be unsound in contrast to the Hilbert concept of proof). In non-classical logics these calculi are only sound when all quantifier shifts are added. This characterizes all intermediate logics where Skolemization and the epsilon calculus is conservative (in contrast to the epsilon theorem which holds only for finite-valued Goedel logics).

Tue 27 OctLogic in Computer Science
The gist
Proofs in logic often use rules called quantifier shifts. This paper explains that using these shifts can make proofs much shorter but can create parts of the proof that seem incorrect by traditional standards. The authors show this plays out differently depending on the type of logic involved. In some logical systems, adding all quantifier shifts ensures the proofs remain reliable overall, even if parts are locally questionable. This affects how certain logical methods like Skolemization work in intermediate logics.
Open → 2610.37887v1

Finite bm-algebras always contain special fixed-point elements

Finite $\mathbf{BM}$-algebras and fixed-point combinators

Abstract: We study algebras for the $\mathbf{BM}$-, $\mathbf{BI}$-, and $\mathbf{BMI}$-fragments of combinatory logic, where $\mathbf{B} xyz \to_{w} x\left(yz\right)$, $\mathbf{M} x \to_{w} xx$ and $\mathbf{I} x \to_{w} x$. We prove that every finite $\mathbf{BM}$-algebra $\mathcal{A}$ contains an element $Y$ satisfying $Yx = x\left(Yx\right)$ for all $x\in A$. Moreover, a single closed $\mathbf{BM}$-term represents such an element in every finite $\mathbf{BM}$-algebra. On the other hand, we show that there exists an infinite $\mathbf{BMI}$-algebra with no such element. Consequently, the variety of $\mathbf{BM}$-algebras is not generated by finite $\mathbf{BM}$-algebras. We also characterise finite $\mathbf{BI}$-algebras as finite semigroups with two distinguished left units $B$ and $I$, and finite $\mathbf{BMI}$-algebras as finite idempotent semigroups with three distinguished left units $B$, $M$ and $I$.

Tue 27 OctLogic in Computer Science
The gist
The paper explores mathematical structures called BM-algebras used in logic and computer science. It finds that every finite BM-algebra has a special element that acts like a fixed point, meaning it repeats its own behavior when combined with others. The authors also show that this property doesn’t hold for some infinite versions of these algebras. Additionally, they describe how these algebras relate to known algebraic structures called semigroups with special units.
Open → 2610.37108v1

Kant's logic rules revised to fix completeness flaw in reasoning system

A Counterexample to KL1 Completeness and a Complete Disjunctive Calculus

Abstract: The logic KL$_1$ of Evans, Sergot and Stephenson formalizes Kant's rules as conditional imperatives $B \square\to C$ and permissives $B \diamond\to C$ over acts. Its consequence relation is operational: a rule follows from a set of rules when adjoining it leaves the set of outcomes unchanged for every input. The authors proved their calculus sound and conjectured that it is complete. We show that the conjecture fails: for distinct atoms $b,c,d$ the rules $\top \diamond\to b \lor d$, $b \diamond\to c$, $d \diamond\to c$ and $c \square\to b \lor d$ entail $\top \diamond\to c$, which is not derivable. Non-derivability is proved by an invariant that holds at every derivation depth and for arbitrary intermediate atoms. The obstruction is the side condition of may-trans, which requires each new act to bring with it a single intermediary act. Replacing it by a disjunctive side condition yields may-trans-disj, a strict generalization from which the original rule is derivable. Using a local characterization of entailment, we prove the repaired calculus sound for arbitrary sets of rules and complete for finite ones, and we show that, with finite inputs, completeness cannot be extended to infinite sets. The main results on KL$_1$ are formalized in Agda. For KL$_2$ we observe that the published reduction to KL$_1$ passes through infinite rule sets; re-establishing the decomposition for finite rule sets, we prove that KL$_2$ with the disjunctive rule is sound and complete for finite sets of rules. We close with remarks on KL$_3$ and on the significance of completeness for the relation between the operational and the inferential questions of Kant's logic.

Tue 27 OctLogic in Computer Science
The gist
The paper investigates a formal system that turns Kant's philosophical rules into logic about actions. The original system was thought to be complete, meaning it could derive all truths about these rules, but the authors found a specific example where it fails. They fixed the problem by adjusting a key inference rule to allow for more flexible reasoning. This fix makes the system work properly for all finite cases and also applies to an extended version of the logic. The results are formally checked with a proof assistant to ensure correctness.
Open → 2610.37107v1

Tool generates formal theorems from exact model counts in lean

count-catcher: Lean Theorems from Model Counting Certificates

Abstract: We present count-catcher, a tool that turns a CPOG certificate of a count by the exact model counter d4 into a Lean theorem that a CNF formula defined in Lean has exactly N models over V variables. With an encoding lemma, this theorem becomes a theorem about the number of combinatorial objects. A CPOG certificate consists of a Boolean circuit equivalent to the formula and a proof of equivalence. count-catcher checks in Lean that the formula implies the circuit (forward check) and the circuit implies the formula (reverse check). For the forward check, lrat-catcher streams a refutation through the LRAT checker of Lean's standard library. The reverse check and the validity check of the circuit are computations proved correct in Lean. Lean runs all three checks as compiled code, so the theorem depends on Lean's kernel, compiler and runtime, as does CPOG's verified checker. We combine the theorem with results from Mathlib, for instance with Burnside's lemma to count graphs up to isomorphism. We prove the number of Latin squares of order 8 as a weighted sum of hundreds of certified counts from about eight terabytes of certificates. We turn about half of the 2022 Model Counting Competition formulas into theorems, with the three checks taking about a quarter of the time of CPOG's verified checker. We found that CPOG's unverified checker reported wrong counts, and removed its verified checker's dependence on two unproved lemmas. End to end, a theorem costs about the same as a checked count.

Mon 26 OctLogic in Computer ScienceArtificial Intelligence
The gist
Counting how many solutions a complex logical formula has is hard, but important for math and computer science. The authors created a tool called count-catcher that takes trusted counting results from another program and turns them into formal proofs inside the Lean theorem prover. This means that exact counts become mathematically guaranteed and can be combined with other math results, like counting distinct graphs or Latin squares. The tool checks every step in Lean, making the counts very reliable and enabling new verified math theorems.
Open → 2610.36196v1

Inductive grounded arithmetic proves complex mathematical theorems directly

Inductive Grounded Arithmetic: Goodstein, the Hydra, and $Γ_0$

Abstract: What does a recursive definition mean when the logic is grounded, so a sentence is true only if a terminating process makes it so? Kripke's answer for the special case of truth was the least fixed point. This paper takes that answer as a rule. Reflective Grounded Arithmetic (RGA) already writes any recursive definition as one self-referential term, paradoxes included. Inductive Grounded Arithmetic (IGA) adds the elimination rule for every positive one, so that accessibility, the winning positions of a game, and grounded truth itself each come with their own induction principle. The rule is sound for the omega model and the system is consistent, both machine-checked in Isabelle/HOL. With the rule, IGA proves Goodstein's theorem outright, in a logic without implication at an undecided hypothesis, and the Kirby-Paris hydra game for primitive recursive strategies, both with every step of the arithmetic a grounded derivation. It proves the Cantor normal forms well-founded, from which the well-foundedness of the standard $\varepsilon_0$ notation system in HOL follows, and it certifies the Veblen notation as an ordinal below every $\varphi(n,0)$. It defines Kripke truth for RGA's own language as one fixed point that agrees with the omega model exactly. Two equivalences locate what the classical world has and the grounded one does not. IGA proves the whole Veblen notation well-founded exactly when it admits bivalence of accessibility for that order, and bivalence of accessibility for an order is sound exactly when the order is well-founded; so $Γ_0$ lies at most one instance of excluded middle away, at the accessibility predicate of the notation, and that instance, the well-foundedness sentence and one membership claim in a primitive-recursive form of Kleene's $\mathcal O$ are interderivable over IGA.

Sun 25 OctLogic in Computer ScienceProgramming Languages
The gist
This paper studies a form of arithmetic where statements are true only if there is a terminating, step-by-step process proving them. The authors build a system called Inductive Grounded Arithmetic (IGA) that can handle complex infinite structures and famous mathematical results, like Goodstein's theorem and the hydra game, by grounding every part of the proof in explicit finite steps. Their system is checked by a computer for consistency and aligns perfectly with classical understandings while revealing the exact logical differences from classical truth. Essentially, they show how certain advanced mathematical truths arise within this grounded and inductive framework, pinpointing where classical logic and this approach diverge.
Open → 2610.34548v1

Efficient proof generation method finds multiple answers simultaneously

Efficient Proof Generation for Lean Statements with Multiple Candidate Answers

Abstract: In formal systems such as Lean 4, efficiently finding answers to mathematical problems and generating verifiable proofs is an important task in automated mathematical reasoning. In the traditional way where an upstream solver provides multiple candidate answers, the common workflow requires searching for proofs for each candidate separately, incurring redundant computational cost. To this end, we propose a joint proof framework that integrates candidate answer selection, answer supplementation, and formal proof generation into a unified reasoning process. At its core is a trained prover that selects given or proposes new answers and generates a proof for at least one answer in a single call. Joint proof can also reuse generated proofs to check for faithfulness errors. For problems with a unique answer, if two distinct answers both obtain verifiable proofs under the same formal statement, this confirms the statement does not faithfully preserve the original problem semantics. On MATH-500, AMC 2023, and AIME 2024/2025/2026, our framework achieves the same formal proof success rate as per-candidate proof generation with about one sixth of the token cost, and identifies at least 6.1% of the formalized statements as unfaithful without requiring additional judges. Our model and code are available at https://github.com/Linppz/Gobble-Prover.

Sun 25 OctComputation and LanguageArtificial IntelligenceMachine Learning
The gist
Sometimes when people use math software like Lean 4 to solve math problems, the software tries many answers one at a time and checks proofs for each, which can waste time. The authors created a smarter method that looks at many possible answers together and tries to prove at least one in a single step. This saves a lot of computing work and can also spot when the math problem isn’t clearly defined because it finds multiple conflicting proofs. Their approach works well on several math problem sets and is available online.
Open → 2610.34490v1

Unit type checker simplifies verifying complex mathematical proofs

Unit: a type checker for dependent type theory

Abstract: We present Unit, a type checker for dependent type theory with a module system in the tradition of Automath and a uniform treatment of definitions: two uses of a definition are compared by name and arguments before anything is unfolded, and otherwise the definition declared last is opened. There is no unification, no instance search, no tactics and no unfolding heuristic, so the work of checking can be observed and compared with the informal proof. With Unit we have checked a model of univalent type theory, synthetic algebraic geometry up to Châtelet's theorem, and synthetic Stone duality with its cohomology. These developments show that a small, uniform system supports substantial mathematics, and give concrete reasons to reconsider the complexity routinely accepted in proof assistants.

Sun 25 OctLogic in Computer Science
The gist
Checking complicated mathematical proofs by computer often requires complex tools that do many automatic steps behind the scenes. The authors introduce Unit, a new type checker that keeps verification simple and transparent by avoiding automatic guesswork or hidden steps. This allows users to closely follow and understand each step of the proof check. Unit has successfully verified advanced theories in modern mathematics, showing that simpler systems can still handle deep mathematical ideas.
Open → 2610.34264v1

Medvedev reducibility decision complexity varies by degree type

On the complexity of Medvedev reducibility

Abstract: The Medvedev lattice is a tool used to classify the complexity of effective closed sets. In this article, we are interested in the complexity of using this tool. In particular, we study the complexity of deciding whether two effective closed sets have the same degree, when one is fixed and the other is given as input. This problem is naturally~$Σ^0_3$, and among other results, we show that for all degrees except the maximal one, the problem reaches its maximal complexity. It turns out that the argument is not uniform and depends on the self-similarity of the fixed degree, a notion that we introduce in this article. The complexity of having maximal degree is particularly difficult to establish, but we obtain a lower bound that almost matches the upper bound. We also show that deciding whether an effective closed set has a degree incomparable with a fixed degree $d$ is $Π^0_3$-complete whenever $\mathbf{0}_s <_s d <_s \mathbf{1}_s$.

Fri 23 OctComputational Complexity
The gist
This paper looks at how hard it is to compare certain mathematical objects called effective closed sets using a tool called the Medvedev lattice. The authors study when it’s difficult to decide if two such sets have the same classification, or degree, focusing on cases where one set is fixed and the other is given as input. They find that, except for the most complex case, deciding equivalence is as hard as expected from known complexity levels. They also introduce a new idea called self-similarity to explain this, and provide precise results for degrees that are neither minimal nor maximal.
Open → 2610.32522v1

Categorical logic reveals symmetry between logic and geometry

Logic vs doctrines, a mirror symmetry

Abstract: This paper studies doctrines in categorical logic and their relations to fragments of geometric logic. After a brief account of the historical context for the notion of doctrine in categorical logic, we propose our working definition. We then show that there is a Galois connection between the poset of doctrines and the poset of fragments of geometric logic as defined in the framework of Kan injectivity in the 2-category of topoi, recently developed by the first and third authors. Concretely, the connection is realised by a general construction of syntactic categories and classifying topoi which encompasses all well-known examples in categorical logic. This yields a mirror symmetry, between the algebraic world of doctrines and the geometric world of topoi: to provide evidence of this phenomenon, we prove a few symmetric results relating doctrines and logics by means of syntactic categories and classifying topoi. We conclude with a discussion on the theme of conceptual completeness.

Wed 21 OctLogic in Computer Science
The gist
This paper explores a deep connection between two ways of thinking in mathematics: logical rules and geometric structures. The authors study a concept called doctrines, which organize logical systems, and show how these doctrines mirror fragments of geometric logic. They find a precise mathematical relationship, called a Galois connection, linking these logical and geometric worlds. This symmetry helps unify understanding of logic and geometry, and the authors provide examples to illustrate their findings.
Open → 2610.29771v1

Two-variable logic over two orders has settled finite satisfiability complexity

Two Variables and Two-Dimensional Structures

Abstract: We study the two-variable fragment FO^2 of first-order logic over two-dimensional structures. Formulae may employ two linear orders <=_1, <=_2, their successor relations S_1, S_2, and auxiliary predicates of any arity. Despite two decades of work, three cases of finite satisfiability in this setting were still open; we settle all three. First, finite satisfiability of FO^2 with one linear order and one successor relation, of the same or of a different order, is NExpTime-complete, even with arbitrary auxiliary predicates and constant symbols. This closes a gap left open by Manuel and Zeume (CSL 2013). As an application, a reduction based on swaps of adjacent elements shows that order-invariance and order-successor-invariance of FO^2 are coNExpTime-complete. This reproves the main result of Zeume and Harwath (LICS 2016) and settles their question on order-successor-invariance. Second, finite satisfiability of FO^2 with two linear orders is ExpSpace-hard, already without auxiliary non-unary predicates, matching the upper bound known since 2010. Our reduction combines Kieronski's encoding of alternating Turing machines with the classical fact that the pre-order and post-order traversals of a tree define its descendant relation. Third, with two linear orders and the successor of one of them, finite satisfiability is in ExpSpace even with arbitrary auxiliary predicates, improving the previous 2NExpTime bound and confirming a conjecture of Zeume and Harwath. Together with known results, our theorems show that in two dimensions, auxiliary (non-unary) predicates and constants come for free: with or without them, the complexities coincide. All our proofs are simple.

Wed 14 OctLogic in Computer Science
The gist
Figuring out if certain logical statements are true when you have two ways to order things was a puzzle for many years. The authors solved three tricky cases about deciding if these statements can be true in finite setups. They found how complex it is to check these statements with two orders and their next-step relations, even with additional helpers. Their findings clarify previous open questions and improve known results, showing that adding extra helpers doesn’t make these problems harder.
Open → 2610.20937v1

Formalised key theorems from Annals of Mathematics published dataset

A dataset of formalised theorem statements from the Annals of Mathematics

Abstract: Recent progress in autoformalisation of mathematics using AI has been impressive. Measuring this progress requires datasets of formal statements that are both hard and trustworthy. We present AnnalsChallenge: 50 formalised theorem statements written by hand in Lean 4 using Mathlib. Each is the main result of a paper published in the Annals of Mathematics since 2020. Every formalisation was manually reviewed and then audited by AI. We release them without formalised proofs.

Tue 13 OctArtificial Intelligence
The gist
Formalising mathematical statements precisely is important for using AI to check and understand complex math. The authors created a set of 50 main theorems from recent top math papers, written carefully in a formal language called Lean 4. These theorems were reviewed by both humans and AI to ensure accuracy. The dataset includes statements but not the full proofs, providing a challenging resource to test AI tools that work on complex math.
Open → 2610.18301v1

OpenAI release mines new math tools from AI generated papers

What the Machine Invented: Mining New Mathematical Instruments from OpenAI's October 2026 Release of AI-Generated Mathematics

Abstract: On 6 October 2026 OpenAI published an initial 722 AI-written mathematical manuscripts, organized into 372 problem families, in the public repository github.com/openai/math. The release includes claimed solutions to many prominent open problems. We approach this collection as a treasure mine of mathematical ideas. Our aim is to extract new lemmas, constructions, inequalities and proof mechanisms introduced in the source arguments, and to distinguish them from established tools and new combinations of those tools. We call these mathematical instruments. Extraction comes first; their validity, novelty and possible reuse then become subjects for further study. The resulting descriptions also help readers understand the selected papers without having to reconstruct every argument at the outset. We examine 38 families in two groups of 17 and 21, spanning number theory, geometry, analysis, combinatorics, complexity, algebra, operator algebras, topology and mathematical physics. Each entry records the claim, extracted instruments, antecedents and caveats. Eleven cross-cutting patterns connect the entries, and a scoreboard records formalization status and dependencies. Novelty assessments are provisional and sometimes mixed. Selected source comparisons correct mathematical statements, hypotheses and counts; they do not independently establish priority or certify the underlying proofs. No Lean development was compiled or kernel-checked for this survey. We also briefly describe a subsequent application of the signed restriction lemma from family 112 to circuit lower bounds at every fixed depth.

Mon 12 OctArtificial Intelligence
The gist
OpenAI shared over 700 math papers written by AI, claiming to solve many famous problems. The authors treat this as a source of new math ideas and carefully pick out novel methods and tools called "mathematical instruments." They separate brand new tools from known techniques and new mixes of old ideas. They also note which methods need more proof and which have potential uses, like one helping understand computing limits. This work helps people understand complex AI-generated math without reading every detail.
Open → 2610.17090v1

Lean proof system verifies complex math conjecture disproof

A Lean formalisation of the disproof of Ramaekers's conjecture

Abstract: We describe Redhill, a Lean formalisation of the major results in Hölzl, Kleine and Stephan's "Improved Lower Bounds for Strong $n$-Conjectures" (arXiv:2409.13439). Design decisions regarding types and data structures are justified as enabling canonical versions of the paper's claims, and from there the most direct proofs of said claims. The formalisation process also uncovered many errors, omissions and optimisation opportunities in the informal proof, all of which are addressed in the final library. Although Redhill is meant to stand alone, a few lemmas were upstreamed to the primary Lean mathematics library mathlib. We discuss the tension between upstreaming and leaving lemmas in separate libraries. Unlike many other contemporary formalisation projects, Redhill was completed without any assistance from large language models (LLMs). We compare our work with LLM-assisted projects, in particular an extension of arXiv:2409.13439 to $n=4$, aiming to establish design and style guidelines that define good Lean formalisations.

Mon 12 OctLogic in Computer Science
The gist
The paper presents Redhill, a computer-checked formal proof that confirms and corrects a complex mathematical disproof from a previous paper. The authors carefully translated the original arguments into a precise computer language called Lean, which helped find and fix errors and missing parts. This makes the claims in the original math paper more reliable and easier to verify automatically. The authors also discuss differences between their manual approach and projects assisted by AI tools.
Open → 2610.16323v1

NanoProof improves theorem proving efficiently in open source

NanoProof: Open and Efficient Automated Theorem Proving in Lean 4

Abstract: We introduce NanoProof, to our knowledge the first factorized execution-guided theorem prover in Lean 4 whose training data, extraction tooling, training pipeline, and weights are all released, making it end-to-end reproducible using open-source resources. To this end, we build and release a dataset of structured proof trees, as well as a tool for programmatic interaction and data extraction within the Lean 4 formal verifier. To support sustainable research, we focus on compute efficiency to facilitate accessible training and evaluation. NanoProof achieves 50.8% pass@16 on MiniF2F-Test, exceeding the two closest systems of its class, HyperTree Proof Search and ABEL, at roughly 90x and 7x less compute, and using more than four orders of magnitude less compute than AlphaProof. Stronger open-weight provers exist, but they are fine-tuned from large pretrained language models and release neither training data nor pipeline; NanoProof shows that the factorized execution-guided class of provers can be rebuilt from scratch with modest resources.

Thu 8 OctMachine LearningArtificial Intelligence
The gist
Automated theorem proving involves using computers to check or find mathematical proofs, which can be very complex and computationally expensive. The authors introduce NanoProof, a new tool built in the Lean 4 system that can automatically prove theorems using much less computing power than similar tools. They also provide all the data and methods needed to replicate their work openly. This makes it easier for others to train and improve theorem proving systems using practical resources.
Open → 2610.11605v1

Method self-descriptions improve theorem proving accuracy with large language models

Let the Library Speak: Self-Advertised Method Selection for Formal Proving

Abstract: LLM-based formal provers can retrieve relevant lemmas and prior proofs, but relevance alone does not say whether a mathematical method can be used on the current theorem. A method has prerequisites, a target, an intended action, and obligations that its use leaves to prove. Methods that look equally related to a theorem may therefore differ substantially in whether they offer a plausible next step. We formulate this as an applicability-aware method-selection problem and introduce self-advertisement: before candidates are ranked, a model generates a problem-specific proposal for each one, stating what part of the goal it targets, what action it would take, and what conditions that action requires. We organize 82 reusable methods from Putnam 2000-2014 as Method Contracts, which pair applicability descriptions with Mathlib anchors, a checked example or scaffold, and expected proof obligations. A single batched call elicits proposals across the library; vague or unsupported proposals are demoted, yielding a ranked shortlist accompanied by inspectable claims about each candidate's use. We analyze when similarity-based representations cannot distinguish methods with different applicability, how errors in applicability estimates affect shortlist quality, and what a checked scaffold guarantees under its stated assumptions. Against lexical, embedding, and embedding-plus-LLM reranking baselines, self-advertisement achieves 95.0% hit@5 on Putnam 2015-2025, compared with 84.2% for the strongest reranker. On IMO ProofBench, it achieves 91.7% compared with 88.3%. These results indicate improved coverage of annotated methods in the retrieved shortlists, particularly on Putnam.

Wed 7 OctArtificial Intelligence
The gist
Picking the right math method to prove a theorem is tricky because not all methods fit every problem. The authors propose that each method should explain what part of the problem it solves, what it does, and what it needs to work. This lets a computer better choose useful methods instead of just picking ones that look similar. Their approach significantly improves finding the right methods for math problems in tests like the Putnam competition and the International Math Olympiad.
Open → 2610.09401v1

Isabelle ML metaprogramming teaches automatic polynomial degree estimation

A First Introduction to Isabelle/ML Metaprogramming: Automatic Estimation of Polynomial Degrees

Abstract: This article offers an introduction to metaprogramming in Isabelle/HOL for beginners, based on a running example for working with multivariate polynomials. The example is motivated by our formalisation of universal Diophantine pairs. We describe the implementation of the poly_degree command, which computes upper bounds on the total degrees of multivariate polynomials and automatically proves their correctness. The complete metaprogram handles a variety of special cases but herein we present a simplified version for the sake of exposition. We describe our development process and design decisions; our goal is to offer a small and self-contained tutorial on Isabelle/ML, for mathematicians who want to get started with metaprogramming.

Tue 6 OctLogic in Computer Science
The gist
Figuring out how complicated a polynomial is by measuring its degree can be tricky, especially with many variables. The authors show how to use Isabelle/HOL, a tool for checking math proofs, to write a program that automatically finds an upper limit on these degrees and proves the result is correct. They focus on making a clear introduction for mathematicians new to programming in Isabelle’s ML language. Their example involves multivariate polynomials linked to specific number theory problems known as Diophantine pairs.
Open → 2610.08359v1

Many valued essence and accident logic extended with Belnapian truth

Essence and accident modalities meet Belnapian truth values

Abstract: This paper investigates many-valued generalisations of the classical essence and accident modalities. In two-valued logic, a proposition is essentially true (resp. false) if, whenever it is true (resp. false), it is necessarily true (resp. false); it is accidentally true (resp. false) if it is true (resp. false) but not necessarily so. Many-valued logics provide a natural setting for introducing further modalities of this kind. We focus on Belnap-Dunn's First-Degree Entailment (FDE), a four-valued system that generalises the classical truth values. More precisely, we consider an extension of FDE with Boolean negation and implication. In addition to modalities of essential and accidental truth and falsity, we define modalities of essential and accidental inconsistency and indeterminacy. We present a four-valued S5-based Kripke semantics and cut-free hypersequent calculi for the resulting logics. We then prove semantic and syntactic embedding theorems for these logics into a four-valued version of S5 with necessity and possibility modalities. These embeddings clarify the intended interpretation of the Belnapian essence and accident modalities and yield soundness, completeness, and cut-admissibility results.

Tue 6 OctLogic in Computer Science
The gist
Classical logic usually treats statements as simply true or false. This paper studies a richer logical system that allows for four truth values, including cases where information is inconsistent or incomplete. The authors develop new ways to understand when statements are essentially or accidentally true, false, inconsistent, or indeterminate within this four-valued logic framework. They also provide a formal way to interpret these ideas and prove that their system behaves well mathematically.
Open → 2610.08323v1

Logic teaching method unifies multiple logics in one tool

Mathematical Proof Assistants for Teaching Logic: The LogiKEy Methodology

Abstract: We report on an approach to teaching logic to mixed groups of computer science, mathematics, and philosophy students, based on the logico-pluralistic LogiKEy methodology, used for more than a decade in courses, summer schools, and tutorials. LogiKEy uses classical higher-order logic (HOL) as a universal metalogic in which object logics, classical and non-classical alike, are encoded by defining their semantics; through these semantical embeddings a single proof assistant (e.g. Isabelle/HOL), with its automated theorem provers and (counter-)model finders, becomes one environment in which students learn, experiment with, and compare logics. After making the pedagogical case for proof assistants in the logic classroom, we present a graded sequence of classroom examples, each transition motivated by a limitation of the preceding representation, by a need for more explicit modelling resources, or by a new application. A liars-and-truth-tellers puzzle leads from propositional to modal logic; the Wise Men puzzle leads on to dynamic epistemic logic; Boolos's curious inference illustrates what a higher-order meta-logic buys, even for automated proof search; Chisholm's paradox takes the sequence into deontic logic, and from standard to dyadic deontic logic; and Gödel's ontological argument brings it to a research-level metaphysical argument. We then rebut the objection that embedding everything in classical HOL is monism rather than pluralism, reflect on three years of teaching such a course, and sketch the portability of the approach beyond Isabelle.

Tue 6 OctArtificial IntelligenceLogic in Computer Science
The gist
Teaching logic can be complicated because there are many different types of logic, like classical, modal, and deontic. The authors present a way to teach these diverse logics using one proof assistant tool by encoding them all in a universal logical framework called higher-order logic. This lets students explore and compare different logics interactively, using puzzles and examples that increase in complexity. Their decade-long experience shows this method supports learning a wide range of logical reasoning styles in one environment.
Open → 2610.08214v1

Maslov's class K logic extended with equivalence has higher complexity

Maslov's class K with Equivalence

Abstract: Maslov's class K is a decidable fragment of equality-free first-order logic. It subsumes numerous classical decidable fragments, including the equality-free monadic fragment, the equality-free two-variable fragment, and the Gödel class. Introduced over 50 years ago, the class K has been studied in automated deduction, primarily through resolution-based methods. Despite this long history, the precise complexity of the satisfiability problem for K remained open until recently, when NExpTime-completeness was finally established. The two main contributions of this work are as follows. 1. The recent proofs of NExpTime-completeness and the finite model property for K are highly non-trivial and technically sophisticated. We present considerably simpler proofs of both results. Our approach combines a novel reduction from K to the class of solvable Skolem sentences with a randomised construction of finite models. 2. We introduce the class K+E by allowing sentences in K to contain one distinguished binary predicate E whose interpretation is constrained to be an equivalence relation. By leveraging our approach to this extended class, we prove that K+E has the finite model property and that its satisfiability problem is 2-NExpTime-complete.

Mon 5 OctLogic in Computer Science
The gist
Maslov's class K is a special area of logic with rules but no equals signs, which scientists have studied for decades. The authors made it easier to understand how complex it is to check if problems in this area can be solved, proving it takes a lot of time but can be done. They also extended this area to include one special kind of relation called equivalence and showed this new area is even more complex to decide. This helps computer scientists know what kinds of logical questions can be solved efficiently and which are harder.
Open → 2610.06493v1

Formal verification of identity bases for small semigroups at scale

Proving at Scale for Universal Algebra

Abstract: We introduce SemiBase, a project that computes and formally certifies finite identity bases for small semigroups. Deciding finite basability is undecidable for finite algebras and remains open for finite semigroups. The task requires a proof that a candidate basis is complete, or a proof that none exists, rather than a single first-order validity query. LLM-guided agents search for these proofs; a referee agent rebuilds them from source, and the Lean kernel checks the resulting corpus in a final audit. Humans choose targets and approve final outcomes. We certify every semigroup of order at most 6: all 1309 semigroups of order at most 5 and all 15973 of order 6, including proofs that the four known nonfinitely based semigroups have no finite basis. The bases for order 6 define 505 distinct varieties, whose inclusion order Vampire determines except for four pairs. The resulting catalogue is a machine-checked account of results scattered across the literature and a tested foundation for order 7.

Thu 1 OctLogic in Computer Science
The gist
Figuring out the complete rules that describe small math structures called semigroups is a hard puzzle. The authors created a system named SemiBase that uses AI-assisted tools and a proof-checker to find and verify these rule sets for all semigroups with up to six elements. This work confirms known tough cases and organizes hundreds of variations systematically. It builds a trustworthy collection of results that were previously scattered and prepares the way for studying bigger semigroups.
Open → 2610.02500v1

New logic semantics improve reasoning with constructive proofs

Complete Heyting Algebra Semantics for an Intuitionistic Version of Matching Logic (Extended Abstract)

Abstract: We present work in progress towards an intuitionistic version of Applicative Matching Logic. We introduce a semantics based on complete Heyting algebras, and propose a proof system which we prove to be sound relative to this semantics.

Mon 28 SeptLogic in Computer Science
The gist
Sometimes, computers need to reason using logic that avoids assuming things without proof, called intuitionistic logic. The authors work on a version of matching logic that fits this constructive style. They created a way to interpret this logic using mathematical structures called complete Heyting algebras. They also designed a system to prove statements in this logic and showed it works correctly according to their interpretation.
Open → 2609.34894v1

Model composition methods that preserve logic proofs in software design

Dependently Typed Model Composition for Matching Logic

Abstract: This paper investigates model composition—often referred to as "gluing"—within the framework of matching logic. Specifically, we examine the systematic combination of existing signatures, variable valuations, theories, and their corresponding models. Our primary objective is to ensure that this composition preserves satisfaction proofs; that is, any theory validated by the individual constituent models is also validated by the resulting composite model. Our definitions are based on a polyadic, sorted variant of matching logic, which has also been expressed in the Rocq proof assistant. Therefore, we outline our definitions with dependent types for this work to serve as a direct blueprint for the mechanization in the short-term future.

Mon 28 SeptLogic in Computer Science
The gist
Sometimes when combining parts of a software system, it is tricky to ensure that the combined system still follows all the rules each part followed separately. The authors look at a way to combine these parts—called models—using a logical framework called matching logic. They make sure that if each part satisfies certain rules, then the combined model does too. Their work uses detailed type systems to make it easier to check these combinations automatically in computer proof tools.
Open → 2609.34892v1

Formalizing parts of hereditarily finite set theory in Isabelle proof system

Formalization of Fragments of the Theory of Hereditarily Finite Sets

Abstract: The axiomatization of the theory of hereditarily finite sets in first-order classical logic is systematically explored and formalized in Isabelle/HOL. The formalization uses a hierarchy of locales, each corresponding to a fragment of the theory given by a particular collection of axioms. An inductive definition of first-order definable predicates is introduced and used to formalize axiom schemata. Special attention is paid to several equivalent axioms of finiteness, as well as to several equivalent ways of expressing regularity. The work also formalizes several facts about the independence of an axiom from a system of axioms by defining appropriate models.

Mon 28 SeptLogic in Computer Science
The gist
Hereditarily finite sets involve collections that are finite and have finite members all the way down. The paper explores how to write down the rules of these finite sets carefully using a formal logic system, then programs this in Isabelle/HOL, a tool that checks logical proofs. It breaks down the theory into smaller parts connected to different sets of rules or axioms, paying special attention to defining what 'finite' means in multiple equivalent ways. This work also shows how some rules cannot be derived from others by building example models that prove independence. This helps ensure the logical system is well understood and rigorously checked.
Open → 2609.34877v1

JEPA representations improve one-step tactic ranking in theorem proving

Predicting the Next State Is Not Enough: JEPA Representations for Lean Theorem Proving

Abstract: Neural theorem provers must both propose tactics and decide which valid successor states to explore. We study whether one-step Lean transitions provide a self-supervised signal for branch ordering. A JEPA-style model predicts latent successor representations and scores only kernel-validated, nonterminal successors generated by a fixed pretrained ByT5 proposer. JEPA achieves higher Top-1 than matched InfoNCE on a same-theorem ranking diagnostic(50.18% versus 31.55%), but averages 282.3 of 987 solved theorems across three seeds versus 308 for proposer ordering, while requiring more tactic checks. In this setting, accurate one-step transition ranking is therefore insufficient as a long-horizon search value. The controlled evaluation separates representation from proposal quality and treats kernel-checked proof completion as the primary endpoint.

Sat 26 SeptMachine Learning
The gist
When computers try to prove math statements, they need to pick the right next move from many possibilities. The authors tested a new method called JEPA that predicts how promising the next steps might be, aiming to pick better moves. JEPA was better at ranking these moves correctly right after one step than a common method, but this didn’t always lead to solving more problems overall. This shows that simply picking the best next step isn’t enough to finish longer proofs in complex math tasks.
Open → 2609.32908v1

Formal verification of solving classical linear elliptic PDEs in Lean

Formalising Linear Elliptic PDE Theory in Lean 4

Abstract: We formalise in Lean 4, on top of Mathlib, the solvability of the Dirichlet problem for second-order linear elliptic operators in divergence form. The machine-verified results, with no sorry in the development, include the Poincaré inequality, the existence of weak solutions by the Lax-Milgram theorem, Rellich-Kondrachov compactness, the Fredholm alternative, the spectral theorem, interior regularity estimates, and the Sobolev embedding theorem. From these results we obtain a formalisation of classical solvability for sufficiently regular coefficients and data. Our Lean library includes a self-contained theory of Sobolev spaces developed independently of existing formalisations. Throughout the paper we associate each prose statement with the named machine-checked Lean declaration that discharges it.

Sat 26 SeptLogic in Computer Science
The gist
Solving certain types of differential equations, called linear elliptic partial differential equations (PDEs), is important in physics and engineering. The paper describes how the authors used a computer proof assistant called Lean 4 to rigorously build and check a complete mathematical theory behind solving these equations. Their formalized math ensures no steps are missing or incorrect and includes key results like existence and uniqueness of solutions. This work helps people trust and build on complex math foundations using computers.
Open → 2609.32561v1

Lean tactic enables flexible proof rewriting across related types

A Transfer Tactic for Lean

Abstract: Rewriting in proof assistants spans a strict hierarchy. Equational rewriting substitutes based on extensional equality; subequational rewriting substitutes based on homogeneous relations such as $\leq$ or $\subseteq$, justified by monotonicity lemmas; and generalized rewriting relates different operations across different types, justified by transfer rules. All three are specializations of one schema, the function relator $(R \Rightarrow S)\,f\,g$. Lean 4's rw and Mathlib's grw/gcongr implement the first two levels, but the third has had no Lean implementation. We present one: a transfer tactic family over a tagged rule database, benchmarked using Mathlib's own test suites, of which 112 of 178 ported tests close through the transfer engine. An evaluation of the design's three motivating hypotheses returns a mixed result: generality holds, authoring effort wins in its amortized form (averaged per use), but on dependency footprint, transfer only ties a mature library and loses on coercions. This shows that transfer's value is concentrated on transferring into domains where few theorems exist.

Sat 26 SeptLogic in Computer Science
The gist
In computer-assisted math proofs, rewriting helps replace parts of proofs with equivalent or related expressions. There are different levels of rewriting, each allowing more flexibility but needing more complex justifications. The authors created a new tactic for the Lean 4 system that supports the most flexible kind, which works across different types and operations. This tactic uses a database of tagged rules to automate these transfers and was tested on many existing proofs, successfully closing many cases. The evaluation showed the tactic is broadly useful and saves effort over time, especially where few existing theorems are available.
Open → 2609.32115v1

Formalizing Carlesons theorem using the Lean proof assistant

Formalizing Carleson's Theorem in Lean

Abstract: We present the formalization of Carleson's theorem in the proof assistant Lean. This paper describes the mathematical content, organization of the project, the blueprint, and the main design decisions behind the formalization. It is the result of a large collaborative effort, written and developed in public.

Fri 25 SeptLogic in Computer Science
The gist
Carleson's theorem is a complex mathematical statement that can be challenging to verify by hand. The authors used a tool called Lean, which helps check proofs with computer assistance, to fully formalize this theorem. This means they converted the entire proof into a precise language that a computer can verify without mistakes. Their work involved an extensive collaborative effort and thoughtful planning to organize the project effectively.
Open → 2609.31334v1

Formalizing infinite descent for complex inductive definitions in logic

An Infinitary and a Cyclic Sequent Calculus for Non-Monotone Inductive Definitions

Abstract: Inductive definitions are an important form of knowledge in mathematics and computer science. Two common techniques to prove theorems about inductive definitions are the principle of mathematical induction and the principle of infinite descent. To formalize these principles, Brotherston and Simpson introduced the sequent calculus proof systems LKID, for mathematical induction, and LKIDω and CLKIDω , for infinite descent. LKIDω is an infinitary system, in which proofs are infinite trees, and CLKIDω a cyclic system, in which proofs are finite graphs. However, these calculi restrict to monotone definitions, while inductive definitions are generally non-monotone. The logic FO(ID) extends classical first-order logic with non-monotone inductive definitions. In earlier work, we provided a formalization of the principle of mathematical induction for non-monotone definitions by extending LKID to a sequent calculus SCFO(ID) for FO(ID). In this paper, we provide a formalization of the principle of infinite descent for non-monotone definitions by extending LKIDω and CLKIDω to sequent calculi SCFO(ID)-inf resp. SCFO(ID)-cyc for FO(ID). Furthermore, we extend several proof-theoretic results for LKIDω and CLKIDω to SCFO(ID)-inf and SCFO(ID)-cyc regarding soundness, completeness, cut-elimination and the relation with SCFO(ID).

Tue 22 SeptLogic in Computer Science
The gist
Inductive definitions help computers and mathematicians define concepts step by step, like building blocks. However, many real-world ideas don’t always build up nicely in one direction—they are non-monotone. The authors extended existing math tools that prove things about these definitions, making them work even when the steps can go backward or be more complicated. Their work captures how to handle infinite reasoning and looping proof structures for these tricky cases, ensuring the logic is sound and complete. This helps develop better ways to formally prove properties about complex systems.
Open → 2609.26337v1

Pointwise provable equality fails to ensure compositional consistency in arithmetic-based programs

Pointwise provable equality and the failure of composition

Abstract: Montagna (1989) and Di Paola--Montagna (1991) claim that the algebraic systems $S'$ and $S'_T$, respectively, are categories. We show that the proposed composition is not independent of the choice of representatives. For every consistent recursively enumerable extension $T$ of Peano arithmetic ($\mathrm{PA}$), we exhibit two program indices that are pointwise provably equal in $T$ but yield inequivalent composites when each is run after the same program. Montagna's $S'$ is the case $T=\mathrm{PA}$. The failure already occurs for partial maps from $ω$ to itself. Weak totality and the proposed range assignment also depend on the choice of representatives. More generally, for consistent $T\supseteq\mathrm{PA}$, pointwise provable equality is a composition congruence exactly when $T$ proves every true $Π^0_1$ sentence, in which case it is extensional equality. This completeness condition fails for every consistent recursively enumerable $T\supseteq\mathrm{PA}$ by Gödel's second incompleteness theorem. For every extension $T\supseteq\mathrm{PA}$, the least composition congruence containing pointwise provable equality is extensional equality if $T$ is $Σ^0_1$-sound and the universal relation otherwise.

Tue 22 SeptLogic in Computer Science
The gist
The paper finds that when comparing computer programs based on a certain notion of equality proven inside arithmetic, two programs can seem equal piece by piece but behave differently when combined with others. This contradicts earlier claims that these programs form a mathematical structure called a category, which requires composition to be consistent. The authors show this inconsistency occurs even with basic types of partial functions and ties the problem to foundational limits in arithmetic. They also characterize exactly when this type of equality behaves well under composition, linking it to strong forms of truth provability in arithmetic.
Open → 2609.25556v1

Maehara’s proof links intuitionistic logic to modal logic s4 faithfully

A translation of Maehara's "Eine Darstellung der Intuitionistischen Logik in der Klassischen"

Abstract: A key motivation for Heyting's intuitionistic logic was to gain a formal notion of Brouwer's idea of mathematics as a "construction of the mind". One might thus argue that Heyting's Calculus should also correspond to a notion of provability. Inspired by this idea, Gödel formalised this connection via an embedding into a modal calculus, which is now known as the modal logic S4. While in his original publication, he only proved soundness for the embedding from intuitionistic propositional logic into S4, the converse was proved fifteen years later by McKinsey and Tarski. Although, it was later discovered that Gödel also had obtained a proof of the faithfulness of his embedding in unpublished notes in 1941. Rasioa and Sikorski later extended Gödel's embedding to first-order intuitionistic logic. In 1954, Maehara independently obtained the same results using proof-theoretic methods, even extending the embedding to one from intuitionistic first-order logic into intuitionistic first-order modal logic. This document presents a faithful English translation of Maehara's 1954 paper.

Mon 21 SeptLogic in Computer Science
The gist
Intuitionistic logic is a way to think about math that focuses on building proofs step-by-step. Maehara showed a careful translation from intuitionistic logic into a related system called modal logic S4. This translation lets mathematicians understand and check intuitionistic proofs using classical logic techniques. The paper translated here presents Maehara’s original detailed proof from 1954, helping readers see how these two logical systems connect.
Open → 2609.24673v1

Automating formal translation between hol-light and rocq mathematical libraries

Aligning HOL-Light and Rocq libraries formally

Abstract: We report on our efforts to translate HOL-Light theorems on HOL-Light types/functions into Rocq theorems on Rocq types/functions. To this end, we developed in Rocq tactics to automate the proofs required for replacing a HOL-Light inductive type or recursive function definition by an equivalent but more idiomatic one in Rocq. We also explain how we replaced the definition of real numbers, as well as a number of mathematical notions like Rn spaces and the definition of limit, hence providing to Rocq users many definitions and theorems in logic and analysis that had not been formalized in Rocq before.

Mon 21 SeptLogic in Computer Science
The gist
Mathematicians use computer systems to check if complicated mathematical ideas are true, but different systems use different ways to write these ideas. The authors worked on moving math from one system called HOL-Light to another called Rocq by creating tools that rewrite definitions automatically. They managed to transfer important math ideas like real numbers and limits so Rocq can understand things that were only in HOL-Light before. This helps expand Rocq’s math knowledge without starting from scratch.
Open → 2609.24598v1

Certifying short extending words improves analysis of finite automata subsets

Certificates for short extending words in a finite automaton

Abstract: Let $\mathcal A$ be a complete deterministic finite automaton on a state set $Q$ of size $n$ with $k$ letters, and for a proper nonempty subset $S$ of $Q$ let $\mathrm{minext}(S)$ be the length of a shortest word $u$ with $|Su^{-1}|>|S|$, where $Su^{-1}=\{q: q\cdot u\in S\}$. To each state $q$ attach the integer $β^{\ast}_q=\sum_{t=1}^{n-1}k^{\,n-1-t}(\mathrm{indeg}_t(q)-k^{t})$, where $\mathrm{indeg}_t(q)$ counts the pairs $(p,u)$ with $|u|=t$ and $p\cdot u=q$, and let $B(S)=\sum_{q\in S}β^{\ast}_q$. On every synchronizing automaton, $B(S)\ge0$ implies $\mathrm{minext}(S)\le n-1$, so, as $B(Q)=0$, one of $S$ and $Q\setminus S$ extends within $n-1$; when $B(S)>0$ no hypothesis is needed. Kari's Eulerian extension lemma is the case $β^{\ast}=0$, and $β^{\ast}$, like every member of the family $\sum_{t=1}^{n-1}c_tσ_t$, $c_t>0$, vanishes identically if and only if the automaton is Eulerian, where $σ_t(S)=\sum_{q\in S}(\mathrm{indeg}_t(q)-k^{t})$. On strongly connected automata $σ_t(S)/k^{t}$ has Cesàro limit $n\,e(S)/e(Q)-|S|$ for Friedman's weight $e$; that limit certifies singletons but no larger subset in general. The hypothesis $B(S)\ge0$ cannot be relaxed by one integer unit, nor can the constant $n-1$ be improved. A second-moment test on the sizes $|Su^{-1}|$ certifies 60 to 95 percent of the subsets with $B(S)<0$ at $n\le7$. Along non-Eulerian automata whose words of length $n-1$ merge a fraction of the state pairs bounded below, with $\max_q\mathrm{indeg}_{n-1}(q)=o(nk^{n-1})$, it certifies all but a vanishing share of them. The functional $B$ certifies half of the subsets outside $\{B=0\}$. At each subset size coprime to $n$ ($n\ge4$) some synchronizing Eulerian binary automaton attains the constant $n-1$; whether only there is open. No reset bound follows: Černý's automata have subsets not extending within $n-1$.

Fri 18 SeptFormal Languages and Automata TheoryDiscrete Mathematics
The gist
This paper studies how to recognize certain short words in finite automata that 'extend' subsets of states, making these subsets larger when traced backward. The authors introduce a mathematical tool called the functional B to certify when short extending words exist, and they prove limits on how this certificate behaves. They also explore statistical tests to cover more cases, providing ways to better understand the structure and synchronization properties of automata.
Open → 2609.21603v1

Undecidability results for arithmetic with special integer sequences

Rich Sequences and Decidability of Arithmetic Theories

Abstract: We develop a new framework for proving the undecidability of first-order theories of structures of the form $\langle \mathbb{N}; +, P \rangle$, $\langle \mathbb{N}; <, f \rangle$, and $\langle \mathbb{N}; +, f\rangle$, where $P \subseteq \mathbb{N}$ and $f \colon \mathbb{N} \to \mathbb{N}$. It is based on the recent proof of Hieronymi and Schulz that the first-order theory of $\langle \mathbb{N}; +, \{2^n \colon n \in \mathbb{N}\}, \{3^n \colon n \in \mathbb{N}\}\rangle$ is undecidable, and capable of transforming various randomness results about integer sequences into undecidability proofs. We apply our method to a large class of integer linear recurrence sequences, as well as various special functions, in particular showing that the first-order theories of $\langle \mathbb{N}; +, \{u_n \colon n \in \mathbb{N}\} \cap \mathbb{N}\rangle$, $\langle\mathbb{N}; <, n \mapsto \max\{0,u_n\}\rangle$, and $\langle \mathbb{N}; <, φ\rangle$ are undecidable, where $(u_n)_{n\in\mathbb{N}}$ is any integer LRS with exactly two non-repeated dominant roots satisfying a non-degeneracy assumption, and $φ$ is Euler's totient function.

Thu 17 SeptLogic in Computer ScienceFormal Languages and Automata Theory
The gist
Some questions about numbers and formulas can never be completely solved by any computer or algorithm. This paper develops a new way to show that certain logical questions about numbers added to special sequences or functions are impossible to decide perfectly. The authors build on earlier work to apply this method to many integer sequences and important functions like Euler’s totient. Their work reveals limits on what can be computed or reasoned about in arithmetic systems that include these sequences and functions.
Open → 2609.20415v1

Metamorphic testing reveals floating-point slowdowns in SMT solvers

Metamorphic Testing for Floating-Point Performance Issues in SMT Solvers

Abstract: SMT solvers are essential in various domains, including program verification and synthesis. Although their correctness and performance have been extensively studied, performance testing for the floating-point theory remains limited, particularly for real-world queries. We propose a metamorphic testing approach that uses semantics-preserving rewrite rules, focusing on floating-point special values and peep-hole optimizations, to uncover meaningful performance issues in SMT solvers' handling of floating-point formulas. Using real-world test inputs, our approach is able to identify for every solver tested SMT queries for which solving time increases when the queries are simplified; we see slowdowns of up to 33.4x for Z3, 5.6x for MathSAT, 4.5x for cvc5, and 1.8x for Bitwuzla. We further observe that the approach is less successful when using input files that were randomly generated from a grammar.

Thu 17 SeptProgramming Languages
The gist
SMT solvers are programs used to solve complex math problems that arise in software verification and creation. This work shows that simplifying certain floating-point math problems can surprisingly make these solvers run much slower. The researchers used a testing method that modifies problems without changing their meaning to find these slowdowns in popular solvers. They also found that random test problems are less effective at revealing these performance issues than real-world examples.
Open → 2609.19735v1

Formalized complexity classes and completeness in lean proof assistant

Descriptive Complexity in Lean: Completeness by First-Order Reductions

Abstract: We show that descriptive complexity can serve as a foundation for formalizing computational complexity results in a proof assistant, by constructing a Lean library centered around the following concepts: decision problems are isomorphism-invariant predicates on finite structures; complexity classes are defined by their logical characterization; membership is shown by definability witnesses; hardness is shown by first-order reductions from a known hard problem. We also establish bridges to traditional machine models such as (non)deterministic Turing machines. The library proves 73 completeness results, on 68 problems or problem families, over 14 different classes; relations between the classes established inside the logic and not by machine simulation, among them NL = coNL and the Abiteboul-Vianu theorem; and unconditional lower bounds, among them $\mathrm{FO}(\leq) \subsetneq \mathrm{FO}(\leq, \mathrm{TC})$ and the failure of order-free FO(IFP) to capture PTIME.

Wed 16 SeptLogic in Computer ScienceComputational Complexity
The gist
Understanding how difficult computer problems are and how they relate is important but often tricky to prove. The authors created a library in Lean, a tool for checking math proofs, to express these complexity results using logic rather than machines. They proved many classic results about problem difficulty, showing how problems relate using logical descriptions and simple reductions. This helps make sure that complexity results are correct and understandable inside a formal system.
Open → 2609.18261v1

Reachability sets of branching VASS are close to plain VASS sets

Bridging the Gap Between Plain VASS and Branching VASS

Abstract: Vectors addition systems with states (VASS), a model equivalent to Petri nets, are finite-state machines with finitely many counters ranging over the natural numbers. The decidable reachability problem for VASS has many applications in logic, automata, and verification. In this paper we study the reachability problem for BVASS, a branching generalization of VASS. We show that BVASS reachability sets are very similar to VASS reachability sets, namely that they are sections of VASS. Our proof relies on a new well-quasi-order (wqo) on BVASS runs that generalizes the well-known wqo on VASS runs. By leveraging an amalgamation property, we prove that every BVASS run can be transformed into an equivalent one of bounded branching complexity. This allows us to derive several results on the geometry of BVASS reachability sets. As an application we obtain that reachability sets of 5-dimensional BVAS are effectively semilinear, as is the case for 5-dimensional VAS.

Mon 14 SeptLogic in Computer ScienceFormal Languages and Automata Theory
The gist
Vectors addition systems with states (VASS) are mathematical models used to study processes with counters that only increase. Branching VASS (BVASS) generalize this by allowing branching or splitting of processes. The authors show that the sets describing where these processes can reach in BVASS are very similar to those in VASS, with a precise relationship between them. They also find a way to simplify BVASS behaviors into ones with limited branching, helping better understand their structure. This leads to new results about the shape of BVASS reachability sets, including that in five dimensions, they can be described by simple mathematical patterns.
Open → 2609.15869v1

Mechanized proofs verify Gödel incompleteness theorems and logic in Lean

Mechanizing Gödel's incompleteness Theorems and Provability Logic

Abstract: We mechanized proof of Gödel's first and second incompleteness theorems, Solovay's arithmetical completeness theorem of \mathbf{GL}, and related results in the Lean 4 theorem prover.

Sat 12 SeptLogic in Computer Science
The gist
Gödel's incompleteness theorems show fundamental limits in mathematical systems, but checking these proofs by hand is complex. The authors used a computer tool called Lean 4 to create fully verified digital versions of these theorems and related results in provability logic. This mechanization ensures the proofs are free of errors and can be reused in future formal reasoning. Their work also covers Solovay's theorem which links logic and arithmetic in a precise way.
Open → 2609.13780v1

Generative reward models improve verification of formal reasoning translations

Beyond Solver Verdicts: Generative Reward Models for Autoformalization

Abstract: Neurosymbolic systems rely on mathematical solvers to guarantee reasoning correctness, yet solvers are fundamentally blind to whether a formal translation maintains strict reference-equivalence to a designated formalization. We formalize this vulnerability as Verdict-Preserving-Unfaithfulness (VPU): a failure mode where an incorrect encoding executes successfully and matches the expected verdict. We theoretically prove that structural, verdict-only verification heuristics are mathematically bounded to chance-level detection on these deceptively valid traces. To resolve this, we introduce Generative Verification (GenV), which distills an offline Z3-equivalence oracle into a reference-free, continuous reference-equivalence score by repurposing the language model's native vocabulary space. Mechanistic analysis via decision-projected logit lenses and sparse autoencoders shows this generative readout natively extracts precise spatial error coordinates without explicit localization training. Empirically, our oracle-mined verifier (GenV+HN) achieves 0.961 AUROC in reference-equivalence verification, generalizes zero-shot across unseen translators and divergent formal styles, and yields an 11.3-point downstream accuracy gain in agentic test-time compute allocation.

Thu 10 SeptMachine LearningComputation and Language
The gist
Sometimes computer programs translate math problems into precise language, but those translations can be wrong even if the computer solver says the answer is correct. The authors studied this hidden problem and showed that usual checks only spot errors by guessing. To fix this, they created a new method that uses language models to score how faithful translations are, without needing references. Their method can also find exactly where errors happen and works well even on new kinds of translations.
Open → 2609.11085v1

Infinite data types can be fully searched using topology ideas

Compact totally separated types

Abstract: Perhaps surprisingly, there are infinite types that can be exhaustively searched mechanically in finite time. We use ideas from topology to build plenty of them, referring to searchable types as compact types, and we use ordinals to measure their logical complexity. We consider two systems of ordinal notations under which a single notation denotes both a discrete ordinal and a compact one, with an embedding of the former into the latter whose image has empty complement. A boolean valued function decides which points in the image of the embedding are isolated and which are topological limit points. The first system consists of the traditional Brouwer codes and the second is an inductive-recursive universe generalizing them. The discrete ordinals so obtained are trichotomous, and the compact ones have the least element property for complemented subsets, but these two desirable properties cannot be fulfilled simultaneously in a constructive setting. The ordinals obtained from Brouwer codes further enjoy a boolean Leibniz principle, which has the notion of total separatedness as its topological counterpart. This extends previous work from Gödel's system T to intensional Martin-Löf type theory with univalent universes, and is formalized in Agda in the TypeTopology repository.

Wed 9 SeptLogic in Computer Science
The gist
The paper shows that some infinite types, or collections of data, can be completely searched in a finite amount of time using a concept called compactness from topology. The authors connect these compact types with ordinal numbers to describe their complexity. They also explore how different systems of ordinals relate to these types and their properties, including limitations in constructively combining certain desirable features. This work extends earlier research into more advanced type theories and is implemented in a programming language called Agda.
Open → 2609.10447v1

Faithful embeddings model monadic second order logic in hol

Monadic Second-Order Logic in HOL: Deep and Shallow with Automated Faithfulness (Extended Preprint)

Abstract: In Isabelle/HOL, we apply the deep-and-shallow embedding methodology of our prior work to monadic second-order logic (MSO). Three embeddings are developed side by side: a deep embedding (an inductive datatype with an explicit satisfaction relation); a maximal-shallow embedding that translates the connectives and quantifiers directly into HOL, carrying the interpretation and both assignments as explicit arguments; and a minimal-shallow embedding -- a locale that fixes those parameters, collapsing the formula type to bool. The enabling new ingredient is a two-sorted substitution apparatus -- capture-avoiding substitution, renaming, and a substitution lemma per namespace -- in which each binder is transparent for the other; faithfulness of all three embeddings is mechanised and automated. Our central contribution is a fully mechanised two-sorted downward Loewenheim-Skolem theorem: the minimal embedding recovers deep validity relative to the (countable) assignment ranges, and this range-relative reading is shown to coincide with the general (Henkin-style) reading of MSO, whereas the standard reading is provably stronger, witnessed by comprehension. Both readings are nonetheless recovered from the minimal embedding, differing only in the admitted interpretations: all of them for the general reading, only the elementary substructures of the full model for the standard. We further exercise the embeddings on classical MSO landmarks: the Boolean-closure and graph schemata hold under the full second-order domain yet fail in the minimal embedding, making the dichotomy concrete, while reachability and 2-colorability are refuted throughout.

Mon 7 SeptLogic in Computer ScienceArtificial Intelligence
The gist
Monadic second-order logic (MSO) is a complex system for expressing mathematical statements about objects and sets. The authors show how to represent MSO inside a proof assistant called Isabelle/HOL using three different but connected methods. They prove that these methods faithfully capture the logic's meaning, clarifying how different interpretations of MSO relate to each other. This work also establishes a key theorem within this setting and tests the methods on known logical properties, highlighting subtle differences between interpretations.
Open → 2609.07345v1