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.

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

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