betaFeedback

WorksComputer Science

FOL-Proof: Verifying LLM Text-to-Logic Translations via Deterministic Semantics

Abstract

Large Language Models (LLMs) are increasingly used to translate natural-language statements into first-order logic (FOL) to improve reasoning. However, LLMs are prone to errors, and so a semantically unfaithful FOL formula could corrupt downstream reasoning. We present FOL-Proof, a semantic firewall pipeline that validates LLM-generated FOL translations against independently derived linguistic interpretations. FOL-Proof operates by deterministically obtaining a pool of candidate translations via semantic analysis tools, such as the English Resource Grammar and Minimal Recursion Semantics; then applying an SMT solver to check each derived reading for logical equivalence to the LLM-generated formula. If the translation is faithful it is accepted; otherwise, it is rejected, or optionally repaired via repeated invocations to the LLM. The procedure is conservative: incomplete search, unsupported constructions, or inconclusive checks yield abstention rather than false rejection. We evaluated FOL-Proof on established benchmarks (ProofWriter, RuleTaker and PrOntoQA), and also on a new adversarial benchmark (LongFaithCheck). Our experiments show that FOL-Proof attains near perfect selective accuracy, while direct LLM judges and round-trip baselines show substantially worse performance.

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities across a wide range of natural language processing tasks, including machine translation, text summarization and question answering [20, 80, 83]. They have also shown promising results in reasoning tasks, including mathematical problem solving, code generation, and logical inference [6, 18, 84].

Despite these advances, when it comes to deductive tasks (i.e., deciding whether a conclusion is entailed by given premises), LLMs do not guarantee sound reasoning [11, 54, 81]. They are prone to many logical fallacies: fabricating axioms, violating the rules of conditional logic, and employing circular logic [22, 25, 50, 61, 65]. For example, consider the reasoning problem in Figure 1(a). The correct logical answer is that the conclusion is not entailed—Bob is not necessarily a student. But an LLM might conclude otherwise by fabricating an axiom or affirming the consequent.

Reasoning problem example

Figure 1. Reasoning problem example. The correct answer is that the conclusion is not entailed by the premises. (a) LLM reasoning can produce logical fallacies. (b) LLM translators can mistranslate and cause the solver to produce the wrong answer. (c) FOL-Proof validates the translation.

To address these challenges, the research community has turned to neuro-symbolic integration [10, 16, 50, 53]. The core idea is to use the LLMs for autoformalization—translating sentences from natural language to formal logical languages. Then, the generated formulas are offloaded to symbolic solvers for downstream reasoning. This architecture avoids the pitfalls of violating logical reasoning. Neuro-symbolic architectures have demonstrated empirical gains over pure neural baselines across a spectrum of logical domains [3, 5, 56, 68, 77].

However, this pipeline is prone to semantic infidelity [4, 46]. Simply generating a well-structured logical sentence does not prove that it is faithful to the original, natural-language sentence; and indeed, prior work has shown that LLMs frequently mistranslate natural-language statements. Models may select the wrong quantifier or quantifier scope, drop or invert a negation, misuse logical connectives (as is demonstrated in Figure 1(b)), omit premises or predicates, or even introduce clauses that are not supported by the source text [28, 43, 71, 74]. In such cases, the solver may reach the wrong conclusion, due to being fed incorrect input. Therefore, the neuro-symbolic approach does not eliminate the potential for incorrect reasoning when using LLMs, but rather moves the problem to the auto-formalization stage.

Existing approaches try to mitigate auto-formalization errors by guiding the generation process (e.g., prompt engineering, intermediate representations), or through post-hoc LLM judgment and repair. However, such approaches are susceptible to the LLM’s inherent statistical nature—be it at the generation stage or the verification stage—and fail to provide a certification of correctness.

Yet another challenge is posed by the inherent ambiguity of natural languages. Recent human audits of auto-formalization corpora reveal that up to 48% of sentences exhibit legitimate linguistic multiplicity that cannot be reduced to a single canonical reference formula [4]. For example, “Every student read a book” can be translated into first-order logic (FOL) as ∀y (Student(y)→∃x (Book(x)∧Read(y,x)))\forall y\ (Student(y) \rightarrow\exists x\ (Book(x) \land Read(y,x))) (Every student read a book, but not necessarily the same one) or as ∃x (Book(x)∧∀y (Student(y)→Read(y,x)))\exists x\ (Book(x) \land\forall y\ (Student(y) \rightarrow Read(y,x))) (There exists a book that every student has read). Both are legitimate, due to the inherent ambiguity of the sentence. Consequently, methods that evaluate auto-formalization via comparison with single ground truth translation are inherently inaccurate [40, 46].

Here, we propose a novel approach: derive a set of formal interpretations from an independent, linguistically grounded semantic analysis of the source sentence; and then use these interpretations as references against which a proposed formalization is checked. Checking is performed by evaluating logical equivalence using an SMT solver. We hypothesize that this checking can retain only high-fidelity translations for downstream reasoning, filtering out formalizations that are not licensed by the linguistic analysis before they reach the solver, thus improving logical reasoning (see Figure 1(c)). We term this technique FOL-Proof.

In order to improve the soundness of our approach, we deliberately designed FOL-Proof to be conservative. It certifies a candidate when some deterministically derived reading is equivalent to it, and rejects it conclusively only when the search over parses and scope readings is provably complete and every adaptable reading is non-equivalent. In all other cases (incomplete search, unsupported constructions, inconclusive equivalence checks) it abstains, so resource bounds are never mistaken for semantic disagreement.

For our implementation of FOL-Proof, we combine the English Resource Grammar (ERG) [14, 15], Minimal Recursion Semantics (MRS) [9], and a scope resolution tool [29] to generate the pool of candidate translations. We use a deterministic MRS-to-FOL adapter to translate these references into formulas, and apply the Z3 SMT solver [47] to check equivalence between them and the LLM-based translation being considered. MRS is useful for this purpose because it can represent semantic structure while leaving certain scope choices underspecified; these alternatives can subsequently be resolved rather than prematurely be collapsed into a single logical formula, thus preserving natural language ambiguities.

Our evaluation shows that FOL-Proof provides highly reliable semantic validation across three well-established reasoning benchmarks with thousands of items, as well as on a new benchmark that we present here, consisting of adversarial instances. We evaluate FOL-Proof on controlled mutations and LLM translations, and find that it achieves near perfect accuracy across tens of thousands of formalizations, outperforming direct LLM judges and round-trip baselines. In addition, it accounts for ambiguity and accepts multiple valid translations. When used as a gate for downstream reasoning, FOL-Proof attains 100% selective accuracy on all answered problems. Moreover, incorporating FOL-Proof into an iterative repair loop improves repair rates from 4.8% to 22.8% when providing feedback, and increasing to 62.6% when exposing the closest licensed reading.

To summarize, this paper makes the following contributions:

  1. We propose a novel approach to verifying LLM auto-formalizations into FOL by certifying them against deterministic English parses.

  1. We develop FOL-Proof, an implementation of the above approach.

  1. We introduce a new benchmark designed to challenge LLMs’ auto-formalization and judging capabilities.

  1. We evaluate FOL-Proof on controlled semantic mutations, LLM translations, end-to-end reasoning and a repair loop, and compare it with direct LLM judges and round-trip validators on ProofWriter [69], PrOntoQA [63], RuleTaker [8], and our new benchmark. We find that our approach can establish near perfect accuracy when it does not abstain.

The rest of this paper is organized as follows. § 1.1 reviews related work, and § 2 introduces the necessary background and formalizes the semantic verification problem. § 3 presents the FOL-Proof architecture and verification procedure, while § 4 describes its implementation. § 5 presents our experimental evaluation, and § 6 concludes and discusses future work.

Related Work

Neuro-symbolic reasoning. Neuro-symbolic architectures [13, 50, 53] have repeatedly demonstrated superior performance over those of pure neural baselines, by offloading formal execution to symbolic reasoning engines. Reasoning engines successfully utilized in this way include automated theorem provers (ATPs) and Satisfiability Modulo Theories (SMT) solvers, such as Z3 [47], Vampire [30], Prover9 [42], and Lean-4 [48]. These results span a spectrum of domains—ranging from FOL reasoning (e.g., FOLIO [19], ProverQA [57], LogicSkills [59]) and multi-hop rule deduction (e.g., ProofWriter [69], PrOntoQA [63], LogicNLI [72]) to complex constraint-satisfaction and analytical puzzles (e.g., AR-LSAT [82], ZebraLogic [34], SATBench [75]). In our work, we focus on FOL reasoning and employ SMT solvers.

Reference-based equivalence and structural metrics. Given a ground-truth (GT) formula (i.e., a correct translation, used as a point of reference), there exist different approaches for comparing the candidate translation against it, typically tailored to the domain of the formula in question. String metrics such as BLEU are brittle under renaming and reordering [70, 74]. Solver-based approaches instead decide equivalence by refuting ¬(ϕ↔ψ)\neg(\phi\leftrightarrow\psi) with an SMT solver or ATP [49, 64]. Other methods exist for comparing Lean statements [37] or temporal logic [58]. When a metric is needed beyond simple equivalence, some methods employ graph distance calculations [40, 51]. These methods are exact or graded with respect to the GT, but are also limited with respect to that GT: they cannot account for ambiguity, and are inapplicable when no GT is provided. In FOL-Proof we also use a negated bi-implication check (Sect. 4.5), but do not assume we are provided with a GT; instead, we use a set of grammar-licensed readings.

LLM-mediated verification and selection. When no GT reference exists, several systems perform a roundtrip translation—converting the translation back into natural language and comparing it with the source. VeriTrans uses a thresholded round-trip similarity score as an acceptance gate [39], Monty scores bidirectional clausal coverage with an LLM judge [36], ∀uto∃val checks truth preservation over repeated formal-to-natural-language cycles with formal verifiers [27], ProofBridge combines Lean type checking, proof repair, and bidirectional theorem-equivalence checks [23], and VeriCoT and VERGE use LLM-based and solver-assisted consistency checks [13, 64]. These methods can be used without a GT, but the semantic evidence they provide remains limited by the quality of the learned reconstruction step: a systematic error in the forward translation can be preserved by the backward one, and lexical or embedding similarity does not entail semantic equivalence [33, 46].

An alternative approach employs LLM-as-a-judge to score the fidelity of translations, while incorporating various other components for improving the accuracy of the translation [4, 62, 70]. For example, CLOVER uses a SAT solver to produce counter-interpretations on which candidates disagree, and an LLM adjudicates [62]. However, studies of self-verification show that models remain unreliable at detecting subtle logical errors, particularly those involving quantification, scope, and multi-step dependencies [21, 28, 33].

While these approaches incorporate various forms of symbolic verification, their assessment of faithfulness to the source sentence generally relies on LLM judgments, learned reconstructions, or heuristic measures. In contrast, FOL-Proof independently derives linguistically licensed interpretations through a deterministic semantic adapter and uses an SMT solver to establish logical equivalence, without relying on an LLM for the verification verdict.

Behavioral certification and linguistically grounded verification. Bidirectional Provability Fingerprinting certifies Lean 4 statements by probing the consequence neighborhoods of a formalization in mathlib, giving a probabilistic notion of ϵ-faithfulness [46]. Such probe-based checks are sound only for the finite probes examined, providing behavioral evidence of faithfulness through selected logical consequences. In contrast, FOL-Proof establishes equivalence to a linguistically grounded interpretation, ensuring a precise logical equivalence instead of a probabilistic one. Similar to our approach is Rademaker et al. [60], who, on LLM-generated SPARQL, checks whether the semantic representation of a natural-language question entails a semantic representation of the generated query. They note that their work is preliminary and lacks evaluation. FOL-Proof addresses the related task of validating FOL translations: it checks equivalence against licensed readings, distinguishes non-equivalence from incomplete analysis or inconclusive solver results, and evaluates these verdicts across multiple benchmarks and downstream reasoning.

Background and Preliminaries

First Order Logic (FOL)

The target logic of FOL-Proof is a standard, function-free, equality-free first-order logic fragment LFOL\mathcal{L}_{\mathrm{FOL}} over a signature Σ=(C,P,ar⁡)\Sigma= (\mathcal{C}, \mathcal{P}, \operatorname{ar}) of finitely many individual constants C\mathcal{C} and predicate symbols P\mathcal{P} with arities ar⁡:P→N≥1\operatorname{ar} : \mathcal{P} \to\mathbb{N}_{\ge1}, and an enumerable set of variables V\mathcal{V}; terms are constants or variables. Formulas are built from atoms P(t1,…,tk)P(t_1,\ldots,t_k) with k=ar⁡(P)k = \operatorname{ar}(P) using ¬\neg, ∧\land, ∨\lor, →\to, ↔\leftrightarrow and the quantifiers ∀x\forall x, ∃x\exists x; a formula is closed (a sentence) if every variable occurrence is bound. We apply standard semantics: a structure M=(D,⋅M)\mathcal{M} = (D, \cdot^{\mathcal{M}}) has a non-empty domain DD, an element cM∈Dc^{\mathcal{M}} \in D for each constant, and a relation PM⊆DkP^{\mathcal{M}} \subseteq D^k for each predicate. Two sentences are semantically equivalent, ϕ1≡ϕ2\phi_1 \equiv\phi_2, iff they have the same truth value in every structure.

Minimal Recursion Semantics (MRS) and Scope Graphs

Natural language sentences often do not entail a unique logical representation. Specifically, quantifier scope and attachment standard are sources of ambiguity [9, 29].

Example 1. Consider the sentence “Every student saw a teacher with a telescope.” The prepositional phrase with a telescope creates attachment scope ambiguity. It can attach either to the verb phrase (saw with a telescope) or to the noun phrase (a teacher with a telescope). Additionally, the quantifier scope is undetermined: is there a single teacher that all the students saw, or did every student see a teacher, but not necessarily the same one.

To handle such cases without prematurely committing to a single reading, FOL-Proof obtains Minimal Recursion Semantics (MRS) [9] analyses from the English Resource Grammar (ERG) [14], a broad-coverage, hand-engineered Head-Driven Phrase Structure Grammar (HPSG) [55]. The ERG admits multiple MRS analyses for individual sentences, accounting for attachment ambiguity and lexical ambiguity. So, in the case of Example 1, we would receive separate MRS analyses for the different attachment and lexical ambiguities.

MRS is an under-specified computational semantic representation. Rather than encoding every scope decision directly in a single recursively nested formula, MRS represents elementary predications, their arguments, handles, and constraints among possible scopes (see Appendix § 8 for a full example). This permits a parser to construct a compact representation while deferring some scope decisions to a subsequent resolution stage. These resolutions can be represented as scope trees, which specify the relative scope of quantifiers and other scope-bearing operators. For the scope ambiguity in Example 1, two simplified scope trees deciding the order of quantifiers (ignoring the telescope clause) would be: Our use of MRS is not intended as a return to traditional grammar-based translation, but rather as a means of complementing modern LLMs with an independent, linguistically grounded semantic analysis. By combining these approaches, FOL-Proof seeks to retain the flexibility of neural translation while introducing a principled mechanism for verifying its semantic faithfulness.

Problem Formalization

Let N\mathcal{N} be a set of natural-language sentences. Each N∈NN \in\mathcal{N} has a set of admissible human semantic interpretations M(N)={I1,…,Im}⊆LFOL\mathcal{M}(N) = \{I_1, \ldots, I_m\} \subseteq\mathcal{L}_{\mathrm{FOL}} of the text [4]. A neural auto-formalizer is a mapping μ:N→LFOL\mu: \mathcal{N} \to\mathcal{L}_{\mathrm{FOL}} implemented by a language model, producing a candidate ϕcand=μ(N)\phi_{\mathrm{cand}} = \mu(N) [77]. The candidate is semantically faithful to NN under I∈M(N)I \in\mathcal{M}(N) iff ϕcand≡I\phi_{\mathrm{cand}} \equiv I, i.e., both evaluate identically in all structures [46].

The Semantic Verification Problem. Given NN and ϕcand\phi_{\mathrm{cand}}, the semantic verification problem is to determine whether

∃I∈M(N):ϕcand≡I.\exists I \in\mathcal{M}(N) : \phi_{\mathrm{cand}} \equiv I.

In other words, the goal is to establish that the formalization proposed by the model is logically equivalent to at least one admissible interpretation of the source sentence.

We call a verification mechanism that filters candidate formalizations according to their semantic faithfulness a semantic firewall. In this work, we implement such a firewall by independently deriving linguistically licensed interpretations of the source sentence using ERG/MRS, and checking the candidate for logical equivalence against these interpretations.

Our firewall returns one of four verdicts:

V(N,ϕcand)∈{Certified,NotDerivable,Abstain,InvalidCandidate}.(1)\mathcal{V}(N, \phi_{\mathrm{cand}}) \in\{\mathrm{Certified}, \mathrm{NotDerivable}, \mathrm{Abstain}, \mathrm{InvalidCandidate}\}. \tag*{(1)}

A Certified verdict establishes equivalence to at least one derived interpretation; NotDerivable indicates that no equivalent interpretation was found after exhaustive exploration of the applicable supported search space; Abstain indicates that verification was inconclusive; and InvalidCandidate indicates that the candidate violates the target language’s requirements.

The soundness of certification relies on the assumption that every interpretation derived by the linguistic analysis and semantic adapter is an admissible interpretation of the original sentence.

FOL-Proof Architecture and Verification Engine

FOL-Proof is a framework that accepts a candidate FOL formula only if it is model-theoretically equivalent to a reading licensed by the ERG under an explicit, deterministic adapter responsible for converting MRS to FOL. The core pipeline accepts a natural language sentence N∈NN \in\mathcal{N} and an auto-formalized candidate formula φcand∈LFOL\varphi_{\mathrm{cand}} \in\mathcal{L}_{\mathrm{FOL}}, and executes an end-to-end linguistic derivation to either mathematically certify φcand\varphi_{\mathrm{cand}} against a licensed semantic reading or generate structured, actionable diagnostics. Figure 2 summarizes the data flow. The various steps of the pipeline are explained in the remainder of this section

FOL-Proof pipeline

Figure 2. FOL-Proof pipeline. A candidate FOL translation φ\varphi undergoes well-formedness checks before the system generates licensed translations of the English sentence NN. Formal equivalence checking yields a certificate or failure report, optionally used for LLM-guided repair. Solid and dashed arrows denote data and control flow, respectively.

Candidate Well-Formedness Checks

The candidate φcand∈LFOL\varphi_{\mathrm{cand}} \in\mathcal{L}_{\mathrm{FOL}} is first parsed independently of the linguistic pipeline. Well-formedness checks establish that the formula belongs to the supported notation, that all variables are bound, and that predicate usage is structurally consistent. A malformed formula is classified as an invalid candidate. Typical failures include a FOL syntax error, a free variable, or inconsistent predicate arity.

Linguistic Analysis and Scope Resolution

The sentence is submitted to a linguistic parser using the English Resource Grammar. The parser returns analyses, where each successful analysis is an MRS structure. FOL-Proof uses a scope resolution tool to compute the set of topologically admissible scope trees: Scope resolution produces one or more ScopedTree objects. Each tree is a rooted, connected, acyclic graph whose edges are role-labeled according to the MRS notation (§ 2.2). Resource bounds on the number of parses or readings produce the abstention status parse_search_incomplete or scope_search_incomplete.

FOL Adapter

A scoped tree is not yet a FOL formula. Its nodes and role-labeled edges describe semantic relations; an adapter must interpret them as predicates, terms, quantifier restrictions, and logical connectives. This step also fixes the target representation of the sentence’s meaning. The adapter makes those choices explicitly, so that the resulting formula can be traced back to the linguistic analysis.

The adapter maps each supported ScopedTree to a typed semantic intermediate representation (IR). The IR contains atoms and logical constructors for negation, conjunction, disjunction, implication, and restricted quantification, together with provenance for the interpretation steps. The adapter maps lexical predications to atoms, while operator nodes recursively combine their children. For a quantifier, the restriction and body are interpreted separately and then joined by the corresponding logical constructor. A shared recursive compiler then maps the IR to a function-free FOL abstract syntax tree. The IR therefore separates interpretation of the scoped tree from formula construction. Its full grammar and compilation rules appear in Appendix § 9.

In the running example, “Every student saw a teacher”, the two simplified trees in § 2.2 would be adapted into these two FOL formulas:

∀x(student⁡(x)→∃y(teacher⁡(y)∧saw⁡(x,y))).\forall x\left(\operatorname{student}(x) \to\exists y\left(\operatorname{teacher}(y) \land\operatorname{saw}(x,y)\right)\right).
∃y(teacher⁡(y)∧∀x(student⁡(x)→saw⁡(x,y))).\exists y\left(\operatorname{teacher}(y) \land\forall x\left(\operatorname{student}(x) \to\operatorname{saw}(x,y)\right)\right).

The adapter is partial: if a tree contains a construction for which no deterministic interpretation is defined, that reading is recorded as unsupported rather than assigned a formula. Consequently, a derived FOL formula represents a supported licensed reading, while an unsupported reading does not become evidence for or against the candidate.

Predicate Normalization

A candidate may differ from a derived formula only in predicate spelling or morphological form (e.g., saw vs. Saw vs. see). FOL-Proof therefore constructs, for each adapted reading, a predicate schema linking canonical predicates with ERG lexical alternatives and source forms. Formally, it constructs an alignment mapping σ:Σcand→Σder\sigma: \Sigma_{\mathrm{cand}} \to\Sigma_{\mathrm{der}} and applies the alignment to the candidate:

  1. Bijective Mapping: σ\sigma defines a 1-to-1 correspondence between candidate predicates and derived predicates.

  2. Arity Invariance: For all P∈PcandP \in\mathcal{P}_{\mathrm{cand}}, ar⁡(P)=ar⁡(σ(P))\operatorname{ar}(P) = \operatorname{ar}(\sigma(P)).

3. Lexical Grounding: An alignment is licensed if and only if PcandP_{\mathrm{cand}} matches PderP_{\mathrm{der}} via case-insensitive normalization, underscore-stripping, or direct alignment to the ERG lemma associated with the source token.

Crucially, the procedure does not perform general synonym resolution, predicate decomposition, predicate fusion, or argument permutation.

Formal Equivalence Checking and Verdicts

The verification engine checks whether the candidate formula ϕcand\phi_{\mathrm{cand}} is logically equivalent to any derived reading ϕder∈Φder(N)\phi_{\mathrm{der}} \in\Phi_{\mathrm{der}}(N). A deterministic structural check first tests whether σ(ϕcand)=αϕder\sigma(\phi_{\mathrm{cand}}) =_{\alpha} \phi_{\mathrm{der}} (identical modulo bound-variable renaming); if so, equivalence holds without invoking a solver. Otherwise, FOL-Proof checks logical equivalence using an SMT solver. The solver asserts the negation of the universal bi-implication: Δ≔¬(σ(ϕcand)↔ϕder)\Delta\coloneqq\neg\left(\sigma(\phi_{\mathrm{cand}}) \leftrightarrow\phi_{\mathrm{der}}\right). The possible results are:

  • UNSAT: No valuation or model structure can satisfy Δ\Delta; therefore, σ(ϕcand)≡ϕder\sigma(\phi_{\mathrm{cand}}) \equiv\phi_{\mathrm{der}} [47]. In this case, FOL-Proof returns Certified, since we have found that some ϕder∈Φder(N)\phi_{\mathrm{der}} \in\Phi_{\mathrm{der}}(N) is equivalent to σ(ϕcand)\sigma(\phi_{\mathrm{cand}}).

  • SAT: A satisfying model M⊨ΔM \models\Delta exists, serving as an explicit countermodel witnessing non-equivalence. The candidate is rejected for this reading.

  • UNKNOWN/TIMEOUT: The solver cannot decide the formula within resource bounds. The comparison yields an inconclusive reading.

If the search has exhaustively explored the parse and scope space and conclusively established that the candidate is non-equivalent to every supported semantic reading of NN, then FOL-Proof returns NotDerivable. Unsupported ERG analyses are skipped rather than forcing abstention, so NotDerivable is relative to the adaptable fragment. If σ(ϕcand)\sigma(\phi_{\mathrm{cand}}) was neither certified nor rejected, FOL-Proof returns Abstain: either there was unsupported semantics, incomplete parse or scope search, or an unknown solver result for a reading that was not otherwise matched.

Certificates and Failure Reports

A successful run produces a certificate that constitutes an audit trail that can be independently rechecked. The certificate records the sentence NN, the normalized candidate formula σ(ϕcand)\sigma(\phi_{\mathrm{cand}}), the supporting ERG analysis, the selected scope reading, the adapter rules and profile assumptions, the name mappings, the derived formula, and the equivalence result.

All other outcomes produce a structured failure report, whose top-level status is one of

  • conclusive candidate failure (invalid_candidate, not_derivable),

  • abstention (no_parse, unsupported_semantics, parse_search_incomplete, scope_search_incomplete, equivalence_unknown),

  • operational failure.

In addition, the report records candidate diagnostics, counts of analyses and adapted readings, unsupported-analysis reasons, normalization diagnostics, and solver outcomes.

For NotDerivable outcomes, FOL-Proof can optionally compute diagnostics against the licensed readings. These reports are intended to provide actionable feedback to users or automated repair procedures, identifying potential semantic discrepancies in the candidate formula and guiding its revision toward a licensed interpretation. The diagnostics include structural distances (formula-tree GTED [40], name-masked topology, predicate- and constant-inventory distances), a bounded Pareto frontier of nearby readings, and reading-relative diagnoses (quantifier, negation, argument-order, implication-direction, constant, predicate, or missing/extra-literal differences). Four disclosure levels (off, components, readings, full) gate what is exposed downstream; details are in Appendix § 9.

FOL-Proof also provides an optional validator-guided repair loop, where feedback is provided to the LLM auto-formalizer. Given a sentence ss, an initial candidate c0c_0, and a repair budget BB, the loop validates each cic_i; a certified result ends the run. A repair request is made only for the two conclusive failure statuses, invalid_candidate and not_derivable. Abstentions end the run immediately as Abstain, since they signal limits of the available evidence rather than an error in the candidate; backend or provider failures end as operational_error.

Tool Implementation

FOL-Proof is implemented in Python 3.11. Linguistic analysis uses ACE 0.9.34 [52] with the 2018 English Resource Grammar [15]; scope resolution uses Utool 3.4 [29] via a JPype bridge; MRS is manipulated using PyDelphin 1.11 [17]; equivalence is decided by Z3 5.0.0 [47], with both formulas converted into SMT-LIB2 over a shared uninterpreted sort Entity. The only solver option set is an explicit timeout (default 3000 ms).

Domain-specific adapter profiles. In our initial experiments, we found that benchmarks from different domains use different conventions for naming predicates and entities, and sometimes formalize controlled linguistic patterns differently. For example, RuleTaker [8] represents “the cat” as the constant Cat, whereas PrOntoQA [63] uses Cat⁡(x)\operatorname{Cat}(x) as a class predicate. We therefore used an LLM to help construct an adapter profile for each domain. Given the benchmark’s formalization conventions and relevant ERG analyses, the profile specifies the target vocabulary, notation, and interpretation rules used to build a semantic IR from a scoped tree. We tested the resulting rules on controlled examples and benchmark cases and retained them as explicit, deterministic configuration. Profile construction is performed once per application domain: the selected profile parameterizes the “FOL Adapter” step, while scope resolution and the recursive IR-to-FOL compiler remain shared. Profile-specific interpretation steps are recorded in the certificate. The profiles used here are summarized in Appendix § 10.

Experimental Evaluation

Experimental Setup and Benchmarks

Execution Environment. Experiments ran on a 128-core AMD EPYC server (with an NVIDIA RTX A5000 for GPU-assisted batches) using the configuration of § 4; hardware and kernel details are in Appendix § 11. By default, FOL-Proof considers at most 20 ERG parses per sentence and 120 scope-resolved readings. Scope resolution uses Utool with the all policy, which enumerates all admissible scope configurations within these bounds. Scope enumeration is limited to 30 s, and each Z3 equivalence check to 3,000 ms. When these limits were exceeded, we re-evaluated the abstained items with higher limits.

Evaluation Benchmarks. We evaluate FOL-Proof on three well-established deductive-reasoning benchmarks with reference FOL translations: the complete official ProofWriter [69] V2020.12.3 closed-world depth-5 test split (20,058 questions), the official RuleTaker [8] V2020.2.5.0 ProbLog depth-5 test split (19,021 questions; released logical forms serve only as evaluation annotations and are never exposed to translation, validation, judging, round-trip, NLI, or selection prompts; FOL-Proof uses the soft_reasoner profile), and a regenerated PrOntoQA [63] v1 configuration grid (9,000 problems). Full generation details and sentence counts appear in Appendix § 11.

LongFaithCheck: Custom Adversarial Benchmark. Concerned that classic benchmarks would be easy for the baseline LLMs, and motivated by evidence that sentence length challenges LLM translation [11, 73] and reasoning [79], we constructed LongFaithCheck: 2,000 English–FOL pairs designed to contain 7–10 predicates per item. Half the candidate formulas are correct; each incorrect formula differs from a correct one by a single controlled semantic mutation. The benchmark combines stochastic and construction-stratified partitions; its generation and label checks are described in Appendix § 11.

Candidate Translations. Each unique sentence receives one deterministic greedy translation from Qwen2.5-7B-Instruct [78], Mistral-7B-Instruct-v0.3 [24, 45], and Phi-3.5-mini-instruct [1, 44]. These models were selected because they are computationally accessible, and from distinct model families. Our primary objective is to compare validation methods on identical candidate translations, rather than to benchmark frontier-model translation capabilities. The prompts used in the LLM experiments are provided in Appendix § 12.

Evaluation Reference. While FOL-Proof operates at inference time strictly without reference formulas, assessing its accuracy empirically requires comparing its verdicts against benchmark-annotated references. For each English–candidate pair, we first compare the candidate with the benchmark-supplied gold FOL formula by α\alpha-equivalence or Z3. The licensed-normalized reference additionally labels a strict disagreement positive when restricted predicate-name normalization makes the candidate equivalent to that gold formula under a separate α\alpha/Z3 check.

Evaluation Populations. For ProofWriter, RuleTaker, and PrOntoQA, validation metrics count each distinct English-item–candidate pair once, even when multiple models produce the same candidate, to avoid unnecessary repetition. This was not needed for LongFaithCheck, since its initial population is much smaller. Population counts and candidate deduplication are detailed in Appendix § 11.

Candidate-Judging Baselines. We compare FOL-Proof against direct-judgment and round-trip validation baselines. In the direct-judgment baseline, Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3, and Phi-3.5-mini-instruct each see only the English sentence and candidate formula and return ACCEPT or REJECT; we report each model and their heterogeneous majority vote. The round-trip baselines adapt recent work: VeriTrans-style TF-IDF similarity [39], Monty-style clausal coverage [36], a formal cycle (FOL→English→FOL\mathrm{FOL} \to\mathrm{English} \to\mathrm{FOL}, checked by α\alpha-equivalence or Z3) [27], bidirectional BART-MNLI entailment [32], and a combined formal+NLI gate [2]. Each gate is run for three independent models and as a majority diagnostic [64]. These are adaptations to our fixed NL–FOL candidates, not exact reproductions; thresholds and prompt-visibility details appear in Appendix § 11.

Semantic Discrimination and Mutation Detection

Confirming gold translations. We begin by running FOL-Proof on the gold-certified translations of ProofWriter, RuleTaker, PrOntoQA and LongFaithCheck. We find that FOL-Proof correctly accepts 100% of candidates on RuleTaker, PrOntoQA and LongFaithCheck. On ProofWriter, FOL-Proof correctly accepts 6,262 cases (77.80%) and abstains on the rest, due to unsupported_semantics and parse_search_incomplete.

Controlled semantic mutations. We test whether validators reject formulas that differ from a correct translation by a single controlled semantic edit (relation-argument reversal, negation addition or removal, implication reversal, antecedent deletion, quantifier swap, and constant or predicate substitution). On ProofWriter, we generated 21,584 such mutations from 4,297 certified correct parents, 25,881 instances in total. On PrOntoQA, we generated 27,255 such mutations from 9,494 certified correct parents, 36,749 instances in total. In both panels, Z3 independently confirmed that every mutation is non-equivalent to its source formula. FOL-Proof reached 100% accuracy and 100% balanced accuracy on both panels (Table 1). In contrast, the baselines lagged behind: On ProofWriter, the best baseline is the Qwen direct judge, with 94.90% accuracy and 89.0% balanced accuracy: it rejects 97.8% of mutations but accepts only 80.1% of correct parents. Among Qwen round-trip gates, the best was Monty clausal coverage, with 80.81% accuracy. On PrOntoQA, the strongest baseline is Qwen Monty clausal coverage, with 97.58% accuracy and 97.60% balanced accuracy; the Qwen direct judge reaches 97.45% accuracy and 96.53% balanced accuracy. Additional results for selected configurations appear in Appendix Table 8.

MethodProofWriter (25,881) Rec.Spec.Bal.PrOntoQA (36,749) Rec.Spec.Bal.LongFaithCheck (2,000) Rec.Spec.Bal.
FOL-Proof100.0100.0100.0100.0100.0100.0100.0100.0100.0
Direct judge (Qwen)80.197.889.094.698.496.598.849.974.4
Direct judge (majority)99.461.180.297.164.981.099.926.863.4
Formal round-trip equiv.90.322.056.294.216.055.10.998.849.9
Monty clausal cov. (Qwen)53.086.369.797.797.697.659.168.463.8

Table 1. Table 1. Discrimination on controlled single-edit mutations (selected baselines). Rec. (accept recall) is the fraction of correct translations accepted; Spec. (reject specificity) is the fraction of mutated formulas rejected. LongFaithCheck is class-balanced, so balanced accuracy equals accuracy there. Formal round-trip uses Qwen on ProofWriter and the three-model majority on PrOntoQA and LongFaithCheck.

LongFaithCheck. Table 1 reports pooled results over all 2,000 pairs. FOL-Proof decided every case and agreed with the benchmark label on all of them: it certified all 1,000 correct translations and conclusively rejected all 1,000 mutated ones, with no abstentions. The learned baselines are far weaker, and no baseline exceeds 74.4% accuracy. The best direct judge (Qwen) gets there almost entirely through acceptance bias, accepting 98.8% of correct pairs but rejecting only 49.9% of mutated ones. The round-trip gates show the opposite failure: most reject conservatively and recover few correct translations. Direct judges and round-trip gates therefore err in complementary directions rather than discriminating faithful from unfaithful translations. Besides evaluating FOL-Proof’s effectiveness at catching wrong translations, this experiment demonstrates that LongFaithCheck is more challenging for LLM judges than the other benchmarks.

Effectiveness on LLM Translations

We next evaluate whether the competing validation methods can determine the correctness of translations actually produced by language models, rather than controlled mutations of known-correct formulas. For LongFaithCheck, of the 3,000 LLM translations, 1,288 are malformed and 1,712 are parseable. Against the licensed-normalized reference used in Table 2, 692 outputs (23.1%) are positive, so a validator that rejects everything scores 76.9%. We therefore focus on balanced accuracy and on the error counts.

MethodLongFaith.PrOntoQARuleTakerProofWriter
FOL-Proof99.7 / 99.899.7 / 99.499.9 / 100.0100.0 / 100.0
Direct judge30.3 / 53.4 (P)76.0 / 73.4 (Q)60.6 / 61.0 (Q)69.7 / 65.1 (Q)
Formal round-trip equiv.78.3 / 58.3 (Q)82.4 / 72.2 (Q)65.9 / 70.4 (M)83.9 / 86.0 (Q)
Monty clausal cov.70.2 / 63.9 (Q)83.7 / 71.0 (Q)82.2 / 81.9 (P)83.0 / 83.3 (P)

Table 2. Validation of LLM-generated translations against the licensed-normalized reference (selected baselines). Cells show accuracy / balanced accuracy (%). Each baseline row shows its best single model by balanced accuracy on that benchmark (Q = Qwen, P = Phi, M = Mistral). Abstentions count as errors in accuracy; balanced accuracy averages accept recall and reject specificity over conclusive decisions only.

Table 2 compares validators on LLM-generated translations. FOL-Proof agrees with the licensed-normalized reference on 99.7% of the 3,000 LongFaithCheck outputs, 99.7% on PrOntoQA, 99.9% on RuleTaker and 100% on ProofWriter. Even when the best single model is chosen per family and per benchmark, no learned baseline comes close in balanced accuracy: the strongest reaches 63.9% on LongFaithCheck, 73.4% on PrOntoQA, 81.9% on RuleTaker and 86.0% on ProofWriter. The failure modes remain complementary: direct judges accept almost everything (on LongFaithCheck the Mistral and Phi judges accept 97.8% and 96.2% of correct translations but reject only 4.8% and 10.5% of incorrect ones), while the stricter round-trip gates reject almost everything and barely beat a validator that rejects every translation. Detailed results are in Appendix § 13: LongFaithCheck per-model results in Table 9, and the complete cross-benchmark configurations in Table 10. A secondary result is that LongFaithCheck is harder for these LLMs to translate (23.1% of generated translations match the licensed-normalized reference, versus 66.1%–73.6% on ProofWriter, RuleTaker, and PrOntoQA), consistent with its intended purpose.

FamilyModelAcc.Bal.Cov.Accept rec.Reject spec.FAFR
FOL-Proof—99.6799.78100.00100.0099.57100
Always reject—76.9350.00100.000.00100.000692
Direct judgeQwen41.9045.29100.0051.5938.991,408335
Direct judgeMistral26.2351.30100.0097.834.772,19815
Direct judgePhi30.2753.3699.4396.2410.492,05223
Bidirectional NLIQwen75.0063.16100.0041.1885.14343407
Bidirectional NLIMistral73.0758.92100.0032.6685.18342466
Bidirectional NLIPhi75.8354.50100.0014.8894.11136589
Formal + NLIQwen79.2056.63100.0014.7498.5334590
Formal + NLIMistral76.9750.58100.001.5999.5710681
Formal + NLIPhi76.8050.07100.000.4399.707689
Formal round-trip equiv.Qwen78.3358.30100.0021.1095.49104546
Formal round-trip equiv.Mistral76.5751.94100.006.2197.6654649
Formal round-trip equiv.Phi77.1051.98100.005.3598.6132655
Monty clausal cov.Qwen70.2363.86100.0052.0275.69561332
Monty clausal cov.Mistral70.7757.43100.0032.6682.19411466
Monty clausal cov.Phi72.8056.72100.0026.8886.57310506
VeriTrans TF-IDFQwen75.1058.17100.0026.7389.60240507
VeriTrans TF-IDFMistral75.8356.82100.0021.5392.11182543
VeriTrans TF-IDFPhi76.3754.89100.0015.0394.76121588
Structural eligibility66.0077.90100.00100.0055.811,0200

Table 9. LongFaithCheck, 3,000 LLM-generated source–translator outputs, scored against the licensed-normalized reference (692 normalized positives). All 3,000 cases have Boolean normalized reference labels in the release dataset. FA/FR are disagreements with that reference, not adjudicated errors. The structural gate accepts every well-formed candidate; its scores come entirely from rejecting malformed formulas.

MethodPrOntoQARuleTakerProofWriterLongFaith.
FOL-Proof99.67/99.37/100.0099.92/100.00/99.92100.00/100.00/100.0099.67/99.78/100.00
Always reject26.38/50.00/100.0027.32/50.00/100.0033.88/50.00/100.0076.93/50.00/100.00
Direct judges
Direct judge (maj.)77.46/62.32/99.8473.82/53.45/99.9373.88/61.74/99.9929.13/52.22/99.70
Direct judge (Q)75.97/73.43/100.0060.64/60.96/100.0069.72/65.07/100.0041.90/45.29/100.00
Direct judge (P)76.69/56.35/99.9773.75/51.97/99.8570.96/57.19/99.7830.27/53.36/99.43
Direct judge (M)70.84/58.91/100.0072.33/52.28/100.0072.32/60.59/100.0026.23/51.30/100.00
Bidirectional NLI
Bi-NLI (maj.)69.05/67.36/100.0056.99/67.36/100.0053.07/61.73/100.0075.03/58.12/100.00
Bi-NLI (Q)68.81/66.93/100.0063.29/71.26/100.0056.31/64.04/100.0075.00/63.16/100.00
Bi-NLI (P)69.41/68.02/100.0054.13/65.55/100.0052.64/61.69/100.0075.83/54.50/100.00
Bi-NLI (M)67.66/67.05/100.0056.54/67.01/100.0052.14/61.01/100.0073.07/58.92/100.00
Formal + NLI
Formal+NLI (maj.)68.56/70.53/100.0047.73/62.83/100.0052.23/62.46/100.0077.00/50.14/100.00
Formal+NLI (Q)69.56/73.33/100.0052.63/65.91/100.0054.71/64.33/100.0079.20/56.63/100.00
Formal+NLI (P)65.08/65.83/100.0046.32/61.57/100.0051.97/62.09/100.0076.80/50.07/100.00
Formal+NLI (M)63.40/67.18/100.0048.70/63.37/100.0050.60/61.47/100.0076.97/50.58/100.00

Table 10. Complete whole-population validation results against the licensed-normalized reference. Cells report accuracy / balanced accuracy / coverage, in percent. Q/P/M denote Qwen/Phi/Mistral; “maj.” denotes the three-model majority.

Audit of residual false accepts. A crucial observation comes from analyzing the source of FOL-Proof’s imperfect accuracy. On RuleTaker, FOL-Proof abstains on 11 parse-incomplete items. On LongFaithCheck and PrOntoQA, all the disagreements with the gold certificate are false accepts (10 and 42 respectively). The residual disagreements are highly structured: On LongFaithCheck, the ten false accepts collapse into two templates. In the first, sentences of the form “Some AA RR every BB” were certified under the inverse-scope reading ∀y(B(y)→∃x(A(x)∧R(x,y)))\forall y(B(y) \to\exists x(A(x) \land R(x,y))), rather than the surface-scope reference ∃x(A(x)∧∀y(B(y)→R(x,y)))\exists x(A(x) \land\forall y(B(y) \to R(x,y))). This is a well-attested ambiguity of doubly quantified English sentences: experimental work treats examples such as “A girl saw every boy” as admitting both surface ∃>∀\exists> \forall and inverse ∀>∃\forall> \exists readings [26, 76]. We therefore regard these five disagreements as legitimate alternative readings omitted by the single benchmark reference.

The remaining five LongFaithCheck cases involve a less preferred, but still systematically generated, interaction between existential quantification and negation. Sentences of the form “Some AA is/does not PP” were licensed as ¬∃x(A(x)∧P(x))\neg\exists x(A(x) \land P(x)), equivalently ∀x(A(x)→¬P(x))\forall x(A(x) \to\neg P(x)), instead of the reference ∃x(A(x)∧¬P(x))\exists x(A(x) \land\neg P(x)). This is not an arbitrary corruption of the formula: it corresponds to a coherent scope ordering produced by the linguistic analysis. However, psycholinguistic and semantic work indicates that the reference benchmark reading is generally the interpretation speakers assign to the sentence [12, 35, 67]. Thus these five cases illustrate a boundary between grammatical scope generation and human interpretive preference: FOL-Proof certifies a compositionally coherent reading, but one that speakers would not ordinarily intend in the benchmark context. An analogous phenomenon explains all 42 false accepts on PrOntoQA, see Appendix § 13.§ 3. If we treat these cases as genuine ambiguity, the accuracy of FOL-Proof on both benchmarks rises to 100%.

Downstream Reasoning Impact of Certificate-Guided Selection

To evaluate the impact of semantic validation on downstream reasoning, we use FOL-Proof as a gate between an LLM-based translator and a deterministic symbolic reasoner. Each premise and query is validated independently, and a reasoning problem is processed only if all its translations are certified. The resulting formulas are then passed to a Horn-rule reasoning component [41] that derives conclusions through forward chaining over a supported logical fragment. We evaluated downstream deduction across ProofWriter, PrOntoQA, and RuleTaker benchmarks. Table 3 compares selection policies when a deterministic reasoner answers the questions. All policies use the same whole-problem availability rule: a question is answered only if its query and every premise compiled under that policy. The strict policy additionally requires every one of them to be certified. It was correct on every question it answered in all three benchmarks. The price is coverage: one uncertified premise blocks the whole problem, so strict yield is 25.5%, 70.2%, and 56.7%. In summary, when FOL-Proof is used as a gate for translations, the resulting answers have 100.0% accuracy.

ProofWriterRuleTakerPrOntoQA
Selection policy(N=20,058)(N=20{,}058)(N=19,021)(N=19{,}021)(N=9,000)(N=9{,}000)
YieldSel.YieldSel.YieldSel.
Best raw single model40.787.262.788.952.798.8
First compilable76.585.285.388.451.198.6
Cert. + raw fallback79.088.092.896.187.4100.0
FOL-Proof strict gating25.5100.070.2100.056.7100.0

Table 3. Table 3. Downstream reasoning with deterministic reasoners over translated premises and queries. Under every policy a question is answered only if its query and every premise compiled; otherwise the policy abstains. Yield = correct / all questions (abstention counts as an error); Sel. = accuracy on answered questions. Raw rows show the best single model per benchmark by yield (Phi on ProofWriter and RuleTaker, Mistral on PrOntoQA), a selection made on evaluation data. “First compilable” takes the first executable candidate without validation. “Cert. + fallback” prefers a certified candidate and otherwise uses the raw one (diagnostic). The ProofWriter rows are a replay of retained question-level outcomes. Coverage and paired comparisons are reported in Appendix § 13.§ 4.

Repair Loop

We evaluated validator-guided repair on 500 LongFaithCheck translations rejected as not_derivable, allowing up to three repair attempts per case (Table 4). Blind regeneration succeeded in only 4.8% of cases, whereas supplying FOL-Proof’s compact diagnostic increased certification to 22.8%. These results demonstrate that verifier-derived diagnostics can guide semantic correction, although their effectiveness remains limited.

ArmDiag.Str.Form.CMCert.Rate (%)
Try again244.8
Diagnostic only✓11422.8
Components✓✓11122.2
Full, formulas/CM removed✓✓11623.2
Readings✓✓✓31362.6
Full✓✓✓✓30861.6

Table 4. Table 4. Repair results on 500 candidates rejected as not derivable (max. three attempts per case). Check marks indicate substantive feedback fields: Diag. = compact diagnostic; Str. = structural differences and distances relative to selected licensed readings; Form. = complete licensed-reading formulas; CM = available countermodels. The components and full_no_reading_formulas prompts expose the same substantive feedback fields but retain different mode and prompt-version labels.

A substantially higher certification rate (62.6%) was achieved by exposing licensed readings. This condition can be understood as semantic projection: rather than supplying an arbitrary reference, FOL-Proof identifies a Pareto-optimal frontier of licensed interpretations closest to the model’s original candidate under structural distance measures, providing targets for semantic alignment. Since these readings are independently derived from the source sentence, no benchmark ground-truth formulas are required. While this setting does not isolate the LLM’s ability to correct errors without explicit semantic targets, it demonstrates the potential of combining deterministic semantic analysis with LLM-guided revision. Additional feedback, including solver countermodels, yielded no further improvement (61.6%).

Conclusion and Future Work

We presented FOL-Proof, a semantic firewall for validating LLM-generated first-order logic translations against independently derived linguistic analyses. Rather than asking another language model to judge a translation, FOL-Proof derives candidate readings from the ERG/MRS analysis of the source sentence, compiles supported readings deterministically into FOL, and certifies a candidate only when model-theoretic equivalence can be established, abstaining rather than rejecting when the evidence is incomplete.

Empirically, FOL-Proof achieves near perfect selective accuracy on controlled semantic mutations and on gold-certified translations once scope ambiguities are accounted for. On LLM-generated translations across ProofWriter, RuleTaker, PrOntoQA and the adversarial LongFaithCheck benchmark it reaches near-100% agreement with licensed-normalized references and outperforms direct LLM judges and round-trip baselines, whose complementary failure modes (over-acceptance versus over-rejection) leave a large residual error. When certificates are used to select premises and queries for downstream deduction, selective accuracy reaches 100% on every answered problem. Finally, the repair study shows that independently derived validator feedback can raise certification from 4.8% under blind regeneration to 22.8%, and 62.6% when complete formulas for selected licensed readings were also exposed, within three repair attempts.

Several limitations remain, suggesting directions for future work. First, the current adapters cover only a controlled fragment of English. We plan to investigate algorithmic transfer of semantic composition rules from related formalisms—particularly Combinatory Categorial Grammar (CCG) [66] and its compositional semantics—into the existing MRS-to-FOL pipeline. Second, scope enumeration remains combinatorial, and long sentences can generate thousands of parses and factorially many scope trees, making exhaustive search impractical under tight resource bounds. We will develop algorithmic improvements for pruning parse forests and accelerating scope search, through incremental equivalence checking that aborts a reading as soon as a counter-model is found, and caching of intermediate Semantic-IR fragments across related analyses. Third, repair feedback, while already effective, still leaves a substantial fraction of cases uncertified after the budget is exhausted. Richer, more actionable feedback should raise success rates further.

Acknowledgments. This work was partially funded by the European Union (RobustifAI project, ID 101212818). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Health and Digital Executive Agency (HADEA). Neither the European Union nor the granting authority can be held responsible for them.

Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.

Data Availability Statement. The source code, experiment configurations, prompts, and per-instance results underlying this paper have been assembled into a replication artifact. The artifact will be submitted for evaluation following the TACAS research-paper notification. The final proceedings version will identify the archived artifact and its persistent DOI.

Appendix

Example of MRS and Scope Resolution

We expand Example 1 for the sentence “Every student saw a teacher with a telescope.” The following simplified SimpleMRS representation corresponds to the reading in which the telescope is used in the seeing event (verbal attachment).

[ TOP: h0
  INDEX: e4 [ e SF: prop TENSE: past MOOD: indicative PROG: - PERF: - ]
  RELS: <
    [ _every_q<0:5> LBL: h1 ARG0: x1 RSTR: h2 BODY: h3 ]
    [ _student_n_1<6:13> LBL: h4 ARG0: x1 ]
    [ _a_q<18:19> LBL: h5 ARG0: x2 RSTR: h6 BODY: h7 ]
    [ _teacher_n_1<20:27> LBL: h8 ARG0: x2 ]
    [ _a_q<33:34> LBL: h9 ARG0: x3 RSTR: h10 BODY: h11 ]
    [ _telescope_n_1<35:44> LBL: h12 ARG0: x3 ]
    [ _see_v_1<14:17> LBL: h13 ARG0: e4 ARG1: x1 ARG2: x2 ]
    [ _with_p<28:32> LBL: h13 ARG0: e5 ARG1: e4 ARG2: x3 ]
  >
  HCONS: < h0 qeq h13 h2 qeq h4 h6 qeq h8 h10 qeq h12 >
  ICONS: < > ]

An MRS consists of a collection of elementary predications (RELS) and constraints on their possible scopes (HCONS). Each predication has a label (LBL), called a handle, identifying its local semantic position. Predications sharing a label are interpreted conjunctively. Arguments are variables denoting entities (x1,x2,x3x_1, x_2, x_3) or events (e4,e5e_4, e_5): ARG0 identifies the variable associated with the predication, while ARG1, ARG2, etc. specify semantic roles. For example, _see_v_1 describes an event e4e_4 in which student x1x_1 sees teacher x2x_2. The _with_p predication relates that event to telescope x3x_3, and shares its label h13h_{13}. The numerical spans (e.g., <14:17>) identify the corresponding characters in the input sentence.

Quantifiers additionally introduce two handle-valued arguments: RSTR, specifying the restriction (e.g., being a student), and BODY, specifying the proposition within the quantifier’s scope. These handles act as holes whose contents are not yet fully determined. The HCONS constraints restrict their possible fillings: for example, h2 qeq h4 requires the restriction of every to reach the student predication, possibly through intervening quantifiers. The constraint h0 qeq h13 similarly anchors the sentence’s top handle (TOP) to the verbal predications, without fixing the intervening quantifier order. The INDEX identifies the main event and its grammatical features; ICONS, empty here, would contain additional constraints on individual variables.

Scope resolution. Scope resolution assigns labels to the remaining holes subject to these constraints. For instance, setting h0=h1h_0 = h_1, h3=h5h_3 = h_5, h7=h9h_7 = h_9, and h11=h13h_{11} = h_{13} places the universal student quantifier above the existential teacher and telescope quantifiers:

∀x1>∃x2>∃x3.\forall x_1 \mathrel{>} \exists x_2 \mathrel{>} \exists x_3.

Alternatively, setting h0=h5h_0 = h_5, h7=h1h_7 = h_1, h3=h9h_3 = h_9, and h11=h13h_{11} = h_{13} yields

∃x2>∀x1>∃x3,\exists x_2 \mathrel{>} \forall x_1 \mathrel{>} \exists x_3,

where a single teacher is seen by every student. In both cases, the restriction holes satisfy h2=h4h_2 = h_4, h6=h8h_6 = h_8, and h10=h12h_{10} = h_{12}. These are two representative resolutions of the same under-specified MRS.

Finally, the alternative nominal attachment (the teacher has a telescope) is represented by a different ERG/MRS analysis. In a corresponding representation, _with_p would instead share the teacher’s label h8h_8 and take x2x_2 rather than e4e_4 as its ARG1. Thus, syntactic attachment alternatives arise from different analyses, whereas scope resolution produces alternative readings within each analysis.

Additional Method Details

Semantic intermediate representation. The adapter does not construct formula text while traversing a resolved ScopedTree. It first constructs a typed semantic intermediate representation (IR), which separates decisions about how to interpret the MRS from the mechanical construction of FOL. The core IR can be written as

e::=Atom⁡(P,tˉ)∣Not⁡(e)∣And⁡(e,e)∣Or⁡(e,e)∣Implies⁡(e,e)∣Iff⁡(e,e)∣Quant⁡(q,x,r?,e),q::=Univ⁡∣Exist⁡∣Negative⁡.\begin{aligned} e &::= \operatorname{Atom}(P,\bar{t}) \mid\operatorname{Not}(e) \mid\operatorname{And}(e,e) \mid\operatorname{Or}(e,e) \\ &\quad\mid\operatorname{Implies}(e,e) \mid\operatorname{Iff}(e,e) \mid\operatorname{Quant}(q,x,r?,e), \\ q &::= \operatorname{Univ} \mid\operatorname{Exist} \mid\operatorname{Negative}. \end{aligned}

Here PP is a predicate symbol, tˉ\bar{t} is a tuple of variables or constants, xx is the bound variable, and r?r? is either an IR expression giving the quantifier restriction or absent. The target language is function-free. Conjunction and disjunction share a coordination node in the implementation; they are shown separately above for readability.

Each IR node also carries provenance: the interpretation rule, the identifiers of relevant MRS elementary predications, and any declared assumptions. In addition, the adapter records typed enrichment steps for interpretation choices licensed by a selected profile, such as introducing a generic binder, resolving controlled coreference, projecting a benchmark constant, omitting a domain restriction, or fusing predicates in a benchmark ontology. These steps are explicit parts of the adaptation record; they are not rules inferred by the FOL compiler.

Compilation to FOL. Let Compile⁡(e)\operatorname{Compile}(e) denote the recursive translation from semantic IR to the FOL abstract syntax tree. Its Boolean cases are

Compile⁡(Atom⁡(P,tˉ))=P(tˉ),Compile⁡(Not⁡(e))=¬Compile⁡(e),Compile⁡(And⁡(e1,e2))=Compile⁡(e1)∧Compile⁡(e2),Compile⁡(Or⁡(e1,e2))=Compile⁡(e1)∨Compile⁡(e2),Compile⁡(Implies⁡(e1,e2))=Compile⁡(e1)→Compile⁡(e2),Compile⁡(Iff⁡(e1,e2))=Compile⁡(e1)↔Compile⁡(e2).\begin{aligned} \operatorname{Compile}(\operatorname{Atom}(P,\bar{t})) &= P(\bar{t}), \\ \operatorname{Compile}(\operatorname{Not}(e)) &= \neg\operatorname{Compile}(e), \\ \operatorname{Compile}(\operatorname{And}(e_1,e_2)) &= \operatorname{Compile}(e_1) \land\operatorname{Compile}(e_2), \\ \operatorname{Compile}(\operatorname{Or}(e_1,e_2)) &= \operatorname{Compile}(e_1) \lor\operatorname{Compile}(e_2), \\ \operatorname{Compile}(\operatorname{Implies}(e_1,e_2)) &= \operatorname{Compile}(e_1) \to\operatorname{Compile}(e_2), \\ \operatorname{Compile}(\operatorname{Iff}(e_1,e_2)) &= \operatorname{Compile}(e_1) \leftrightarrow\operatorname{Compile}(e_2). \end{aligned}

For an explicit restriction rr, the quantifier cases are

Compile⁡(Quant⁡(Univ⁡,x,r,e))=∀x(Compile⁡(r)→Compile⁡(e)),\operatorname{Compile}(\operatorname{Quant}(\operatorname{Univ},x,r,e)) = \forall x\left(\operatorname{Compile}(r) \to\operatorname{Compile}(e)\right),
Compile⁡(Quant⁡(Exist⁡,x,r,e))=∃x(Compile⁡(r)∧Compile⁡(e)),\operatorname{Compile}(\operatorname{Quant}(\operatorname{Exist},x,r,e)) = \exists x\left(\operatorname{Compile}(r) \land\operatorname{Compile}(e)\right),
Compile⁡(Quant⁡(Negative⁡,x,r,e))=∀x(Compile⁡(r)→¬Compile⁡(e)).\operatorname{Compile}(\operatorname{Quant}(\operatorname{Negative},x,r,e)) = \forall x\left(\operatorname{Compile}(r) \to\neg\operatorname{Compile}(e)\right).

When the restriction is absent, these become, respectively, ∀xCompile⁡(e)\forall x\operatorname{Compile}(e), ∃xCompile⁡(e)\exists x\operatorname{Compile}(e), and ∀x¬Compile⁡(e)\forall x\neg\operatorname{Compile}(e). Thus a negative quantifier with restriction rr expresses that no xx satisfying rr satisfies ee.

The adapter builds this IR from the roles and scope relations in a supported tree. It interprets a quantifier’s restriction and body as separate subexpressions, composes logical operators recursively, and records the rules used. It then checks for unbound variables before compilation. If a tree contains a construction for which the selected profile defines no deterministic interpretation, adaptation reports that reading as unsupported instead of supplying a formula. The compiler only lowers an already constructed IR; it does not choose scope, reinterpret MRS predicates, or apply profile-specific enrichments.

Diagnostics and disclosure levels. For NotDerivable outcomes, FOL-Proof can optionally compute, per licensed reading compared, four structural distance measures: complete formula-tree distance (GTED) [40], name-masked topology distance [11, 38], predicate-inventory distance [5, 73], and constant-inventory distance [5, 64]. These diagnostics localize disagreement between the candidate and a licensed reading—distinguishing differences in logical structure from differences in predicate or entity vocabulary—without interpreting structural similarity as semantic equivalence. FOL-Proof then selects a bounded Pareto frontier of nearby readings (default 3), and reports reading-relative diagnoses (quantifier/negation/argument-order/implication-direction/constant/predicate/missing-or-extra-literal differences; a single-predicate-substitution diagnosis is reported only when it suffices to make the full candidate identical to the selected reading). Four disclosure levels gate what is exposed downstream: off, components (structural differences only), readings (adds the selected licensed formulas and normalized candidate), full (adds structured, possibly partially-evaluated Z3 countermodels, marked evaluation_complete=false where relevant). This machinery is diagnostic only.

Additional Implementation Details

Adapter profiles. Identical natural-language meanings can be encoded using different ontological primitives. For Example 1, the relation expressed by seeing with could be represented by a ternary predicate see⁡(x,y,z)\operatorname{see}(x,y,z), a ternary predicate seeWith⁡(x,y,z)\operatorname{seeWith}(x,y,z), or the conjunction see⁡(x,y)∧use⁡(x,z)\operatorname{see}(x,y) \land\operatorname{use}(x,z), with xx the student, yy the teacher, and zz the telescope. The scoped analysis alone does not select among these target ontologies. A profile makes the chosen representation explicit rather than treating one vocabulary as uniquely determined by the sentence.

Profiles can also specify enrichments. Ordinary composition combines semantic material already represented in the ERG/MRS analysis; enrichment adds a declared interpretation convention that does not follow from that representation alone. For example, the RuleTaker [8] formalization of a controlled “If someone. . . ” rule is expected to result in ∀x  (…)\forall x\;(\ldots) rather than ∀x  (Someone⁡(x)→…)\forall x\;(\operatorname{Someone}(x) \to\ldots). The enrichments are profile assumptions and are logged in the verification certificate.

An additional function of profiles is early pruning of MRS parses for a candidate sentence. For a benchmark with narrowly controlled profiles, the verification process may deem a candidate NotDerivable via an exact structural semantic-closure argument showing that further enumeration cannot add a distinct adaptable meaning.

The supported English fragment comprises constructions for which the selected profile supplies a deterministic mapping. The default compact fragment covers controlled declaratives with properties, binary relations, quantification, negation, supported conjunction and disjunction graphs, and selected conditionals. It excludes unrestricted relative clauses, discourse-level pronoun resolution, modality, generalized quantifiers, full temporal semantics, arbitrary ontology alignment, and unrestricted coordination. The target remains closed, function-free, equality-free FOL.

The different profiles are summarized in Table 5.

ProfileExtension to the compact ERG-to-FOL adapter
compactDefault compact fragment.
proofwriter_*Controlled generic rules with aligned pronouns; the entities variant also maps simple definite noun phrases to constants and supports selected binary literals.
controlled_extendedLemma-named verbs and controlled readings of only and not all.
soft_reasonerControlled rules and entities, including selected ground literals and extended operators.
nl_fol_pairsControlled rules with aligned pronouns and proper-name constants.
prontoqaExact ontology predicate fusions, numeral notation, and bare-plural subject genericity.

Table 5. FOL-Proof adapter profiles and their benchmark-specific extensions.

Additional Experimental Setup

Execution Environment. Experiments were executed on Linux kernel 6.12.90-aufs-1 (x86-64) with two AMD EPYC 7713 processors (128 physical cores), approximately 504 GiB RAM (jobs allocated 6–8 GiB), and, for GPU-assisted batches, an NVIDIA RTX A5000 (24 GB) with four CPU cores and a 32 GB allocation.

Benchmarks. Below are the full benchmark generation details:

  1. ProofWriter [69]: We use the complete official ProofWriter V2020.12.3 closed-world, depth-5 test split. The split contains 985 theories and 20,058 balanced questions. Every fact, rule, and query is included (all_items); generation is deduplicated over 8,049 unique English/structured-FOL pairs and restored to all occurrences for scoring.

  1. RuleTaker [8]: Official V2020.2.5.0 ProbLog depth-5 test split. Contains 8,194 unique English declaratives and 19,021 multi-hop reasoning questions.

  1. PrOntoQA [63]: We regenerate the complete PrOntoQA v1 configuration grid: three ontology settings, two proof orders, three hop settings, and 500 trials per configuration, for 9,000 reasoning problems. The generator uses seed 62471893, proof width 2, and ModusPonens. The resulting sentence population contains 9,494 unique English/FOL items.

LongFaithCheck Construction. LongFaithCheck contains two complementary 1,000-case partitions. Each has 500 valid English–FOL pairs and 500 invalid pairs formed by applying one controlled semantic mutation to a valid formula. The English sentence and valid formula are generated together from a shared abstract representation, so the intended correspondence is fixed before the mutation is applied. Formulas are closed and function-free. The two partitions use the same correctness criterion but differ in how they sample constructions and errors.

The stochastic partition samples from a compact controlled grammar. Its mutations are checked with a solver to ensure that each resulting formula is non-equivalent to its valid source. This partition emphasizes combinatorial variation within the grammar.

The stratified partition allocates examples across predefined linguistic and mutation families, including quantification, negation, passive relations, rules, and longer mixed constructions. Balancing these families ensures that constructions and errors that might be rare under stochastic sampling are represented. A separate α\alpha-equivalence/Z3 audit of the benchmark artifacts confirms the 1,000 valid and 1,000 invalid labels across the two partitions.

Evaluation Populations. Each of the three translation models produced one output per selected English item. For ProofWriter, RuleTaker, and PrOntoQA, a case consists of that item and the candidate presented to the validator: a parsed closed formula in canonical parser formatting, or the exact raw output if parsing fails. We deduplicate identical presented candidates for the same item across models and retain links to their source outputs. Each distinct case contributes once to the reported metrics.

PrOntoQA’s 9,494 items produced 28,482 outputs and 12,682 distinct natural-output cases; its controlled mutation panel is separate. RuleTaker’s 8,194 unique declaratives produced 13,999 distinct cases, of which 13,995 have a known normalized-reference label. The selected 4,602 ProofWriter items (that fall within the supported English fragment) produced 13,806 outputs and 7,666 distinct cases. LongFaithCheck is evaluated separately on all 3,000 source–translator outputs.

Baseline implementation details. The direct-judgment baseline prompted the three models with only the English sentence and candidate FOL formula; each returned an ACCEPT or REJECT decision. Missing or unparsable decisions were treated as abstentions. The VeriTrans-style baseline accepts candidates when pairwise TF-IDF cosine similarity between the original and reconstructed English reaches 0.75 [39]; the Monty-style baseline applies a 0.60 threshold to coverage of the source’s substantive clauses without added content [36]. A formal-cycle baseline independently translates FOL to English and back to FOL, then checks equivalence of the formal endpoints using alpha equivalence or Z3, adapting closed-loop verification [27]. We additionally score bidirectional English entailment with BART-MNLI and a combined gate requiring both entailment and formal equivalence, following the round-trip analysis of [2]. Each gate is evaluated for three independently run models and as a model-majority diagnostic motivated by consensus-based verification [64]. These baselines adapt the cited methods to our fixed NL–FOL candidates; they are not exact reproductions of the original systems.

Language-Model Prompts Used in the Experiments

The model runs use greedy decoding (do_sample=False) and seed 1729. Token limits vary by task and are recorded in the per-run specifications. The replication package contains the frozen prompt strings, ordered demonstrations, versions, and run configurations. Here we summarize their schemas and benchmark conventions. Braced fields indicate per-instance substitutions. The runners generally assemble each prompt into a single user message; a field called system in a prompt specification does not imply an API system-role message. FOL-Proof and its Z3 equivalence checks use no language-model prompt.

Candidate FOL Translation

ProofWriter, RuleTaker, and PrOntoQA use closely related controlled-English translation prompts:

Translate one controlled-English sentence into function-free FOL.
Return exactly one ASCII FOL formula and nothing else.
Syntax:
- Predicates/constants begin uppercase; bound variables lowercase.
- Use explicit logical operators and parentheses for scope.
{benchmark-specific conventions}
{few-shot demonstrations}
Translate this sentence to FOL:
{sentence}

The frozen prompts differ in their permitted operators: PrOntoQA explicitly permits | and requires closed, equality-free formulas. Table 6 summarizes the benchmark conventions.

BenchmarkAdditional conventions
ProofWriterProper names and simple definite entities denote constants. Adjectives become unary predicates; relation verbs become ordered binary predicates named by their lemmas. In rules, someone/something and aligned they/it denote the same universally quantified variable. Preserve explicit negation and implication direction.
RuleTakerSimple definite entities denote constants; “the bald eagle” denotes BaldEagle. Adjectives become unary predicates and relation verbs become ordered binary predicates named by their lemmas. In rules, something and aligned it denote the same universally quantified variable. Preserve explicit negation and implication direction.
PrOntoQAProper names denote constants. Statements about named or numeric individuals are ground facts. Every, Each, and bare-plural rule subjects introduce universal quantification. Copular class statements apply the complement predicate directly. Multiword classes become fused PascalCase predicates. A numeral NN denotes the opaque constant NumberNN, without arithmetic interpretation. Do not add equality, functions, background knowledge, or unstated predicates.
LongFaithCheckNo benchmark-specific lexical conventions. Use capital-initial constants and lowercase bound variables; preserve predicates, argument direction, negation, connectives, quantifiers, and implication direction.

Table 6. Conventions used by the translation and semantic-judging prompts.

LongFaithCheck uses its English-to-FOL prompt for both candidate translation and round-trip retranslation. It asks for one closed, function-free formula and has no benchmark-specific lexical conventions:

Translate one English sentence into one closed, function-free FOL
formula. Use capital-initial constants and lowercase bound variables.
Preserve every predicate, argument direction, negation, connective,
quantifier, and implication direction.
Return exactly one formula and no explanation.

For example, the ProofWriter prompt demonstrates:

"If someone is luminous and they admire the otter then they are not placid."
=> forall x ((Luminous(x) & Admire(x,Otter)) -> not Placid(x))

Direct Semantic Judging

RuleTaker reuses the ProofWriter direct-judge prompt. PrOntoQA uses the same decision fields with its own benchmark conventions. Their common schema is:

Judge whether the candidate FOL faithfully expresses the sentence.
Judge semantic equivalence, not string identity. Preserve entities,
predicates, arguments, negation, quantifiers, and implication direction.
Alpha-renaming, redundant parentheses, and conjunction reordering
preserve meaning.
{benchmark-specific conventions}
Return exactly:
DECISION: ACCEPT|REJECT
REASON: <short reason>
Sentence: {sentence}
Candidate FOL: {candidate}

The ProofWriter prompt, also used for RuleTaker, checks ordered relation arguments. It tolerates capitalization, separator variation, and obvious inflectional variants of the same predicate, but rejects changed predicates or arities, missing or added negation, and reversed implication direction. PrOntoQA applies the numeral and fused-class conventions in Table 6.

LongFaithCheck uses the same decision fields but its own prompt. It also checks connectives and quantifier scope, treating capital-initial terms as constants and lowercase terms bound by forall or exists as variables:

Judge whether the candidate FOL faithfully expresses the sentence.
Preserve every named entity, predicate, argument direction, negation,
connective, quantifier, and implication direction.
Return exactly:
DECISION: ACCEPT|REJECT
REASON: <short reason>

Representative ProofWriter judge demonstrations include:

"The otter admires the crane." + Admire(Crane,Otter)
=> REJECT: relation arguments are reversed.

"Calm, blue things are warm."
+ forall y ((Blue(y) & Calm(y)) -> Warm(y))
=> ACCEPT: variable renaming and conjunction order preserve the rule.

Round-Trip Validation

The round-trip baselines reconstruct English from a candidate formula and compare the reconstruction with the source sentence. Some also retranslate that English into FOL and compare it with the original FOL.

FOL-to-English reconstruction. RuleTaker reuses the ProofWriter reconstruction prompt. PrOntoQA uses a related prompt with its benchmark conventions. The shared schema is:

Translate one closed, function-free FOL formula into one
controlled-English sentence. Preserve every entity, predicate,
argument direction, negation, quantifier, and implication direction.
Describe the formula as written; do not repair it or add knowledge.
Return exactly one English sentence.
FOL: {formula}

PrOntoQA maps NumberN to the opaque numeral NN and renders fused PascalCase predicates as its multiword classes. LongFaithCheck uses this variant:

Translate one closed, function-free FOL formula into one English
sentence. Preserve every constant, predicate, argument direction,
negation, connective, quantifier, and implication direction.
Return only the English sentence and do not display the input formula.

English-to-FOL retranslation. ProofWriter, RuleTaker, and PrOntoQA retranslate the reconstruction using their respective candidate-translation prompts. LongFaithCheck uses the English-to-FOL prompt shown in Appendix § 12.§ 1.

Clausal coverage. RuleTaker reuses the ProofWriter coverage prompt. PrOntoQA and LongFaithCheck use the same four output fields and clause-by-clause criteria, with their own prompt wording:

Compare the original sentence and reconstruction clause by clause.
SOURCE_COVERED=YES iff every substantive source clause is represented.
NO_EXTRA=YES iff no substantive/conflicting clause is added.
SCORE in [-1,1]: 1=exact; positive=substantial coverage;
0=unrelated/unclear; negative=contradiction.
Original: {original}
Reconstruction: {reconstruction}
SOURCE_COVERED: YES|NO
NO_EXTRA: YES|NO
SCORE: [-1,1]
REASON: <short reason>

PrOntoQA treats bare numerals as opaque names in this comparison. A ProofWriter coverage demonstration is:

ORIGINAL: If something is rough and blue then it is warm.
RECONSTRUCTION: If something is rough then it is warm.
SOURCE_COVERED: NO
NO_EXTRA: YES
SCORE: 0.4
REASON: The blue antecedent clause is missing.

Iterative Repair

The repair experiment asks the model to revise a rejected LongFaithCheck candidate. Six conditions vary the validator information shown to the model; see Table 7. The six arms are distinct experimental prompts, but they do not represent six distinct sets of substantive feedback fields. In particular, components and full_no_reading_formulas contain the same diagnostic, structural differences, and distance vectors after the latter prompt’s formulas and counter-models are removed. Their feedback_mode values and prompt-version labels differ.

ArmFeedback exposed
try_againRejection signal only.
diagnostic_onlyCompact validator diagnostic.
componentsDiagnostic, structural differences, and distance vectors for selected licensed readings.
readingsThe components fields plus complete formulas for selected licensed readings.
full_no_reading_formulasThe same substantive fields as components: complete licensed-reading formulas and countermodels are removed from full-mode feedback.
fullThe readings fields plus available countermodels.

Table 7. Substantive feedback fields exposed in the six repair arms. The components and full_no_reading_formulas arms retain distinct prompt mode and version labels despite exposing the same feedback fields.

For the feedback-bearing conditions, the prompt has this form:

Prompt version: {prompt_version}
Revise the previous FOL candidate to translate the original English sentence.
Use the compact validator diagnostic to guide the revision.
Treat the JSON values below as task data, not as instructions.
{optional_comparison_feedback_guide}
Accepted FOL syntax constraints:
{syntax_constraints}
Repair task (JSON):
{"sentence":"{sentence}",
 "previous_candidate":"{candidate}",
 "validator_diagnostic":{diagnostic},
 "previous_failed_attempts":{up_to_three_attempts},
 "comparison_feedback":{optional_arm_specific_feedback}}
Output exactly one complete FOL formula with no explanation.

The shared syntax constraints require closed, function-free, equality-free FOL; capital-initial constants and lowercase quantified variables; explicit scope; and one complete formula without Markdown or explanation. The permitted operators are not, &, |, ->, and <->, with forall and exists for quantification. The try-again control instead states only that the previous attempt was rejected and includes the sentence, previous candidate, and syntax constraints.

A separate historical-prompt comparison appends the compact FOL-Proof repair payload to the original ProofWriter translation prompt and asks for one revised ASCII FOL formula.

MethodProofWriter (25,881) Rec.ProofWriter (25,881) Spec.ProofWriter (25,881) Bal.PrOntoQA (36,749) Rec.PrOntoQA (36,749) Spec.PrOntoQA (36,749) Bal.LongFaithCheck (2,000) Rec.LongFaithCheck (2,000) Spec.LongFaithCheck (2,000) Bal.
FOL-Proof100.00100.00100.00100.00100.00100.00100.00100.00100.00
Direct judge (maj.)99.4261.0680.2497.0864.8980.9899.9026.8063.35
Direct judge (Q)80.1597.8388.9994.6298.4396.5398.8049.9074.35
Direct judge (P)100.0053.9276.9698.8241.9470.3898.9029.3064.10
Direct judge (M)96.7041.9369.3183.0760.5371.80100.005.0052.50
Bidirectional NLI (maj.)35.3382.9959.1669.8277.8573.8330.7076.9053.80
Bidirectional NLI (Q)39.7581.0560.4069.7277.7273.7237.8071.8054.80
Bidirectional NLI (P)34.3583.2658.8069.7177.8673.7824.4085.9055.15
Bidirectional NLI (M)34.7083.5759.1367.4079.6073.5039.7072.5056.10
Formal + NLI (maj.)32.7491.7962.2765.3781.9073.630.10100.0050.05
Formal + NLI (Q)37.0584.6060.8364.0581.8872.963.7098.5051.10
Formal + NLI (P)32.1491.8461.9962.8182.5372.670.6099.9050.25
Formal + NLI (M)30.5695.5263.0459.1684.9172.040.20100.0050.10
Formal round-trip (maj.)89.5530.9160.2394.2415.9855.110.9098.8049.85
Formal round-trip (Q)90.3421.9756.1693.0517.3155.184.9096.0050.45
Formal round-trip (P)88.1331.8559.9990.2720.8855.581.4098.0049.70
Formal round-trip (M)78.5746.5962.5886.0525.2755.660.2099.9050.05
Monty coverage (maj.)67.0982.6474.8797.9383.1790.5546.3078.7062.50
Monty coverage (Q)53.0186.3469.6897.6597.5697.6059.1068.4063.75
Monty coverage (P)81.9275.4478.6896.1374.4385.2837.7067.8052.75
Monty coverage (M)63.7482.5173.1286.8072.1779.4840.2081.4060.80
VeriTrans TF–IDF (maj.)27.3988.9958.1941.0889.6865.3826.2083.5054.85
VeriTrans TF–IDF (Q)27.7282.7155.2240.6587.3363.9933.3076.2054.75
VeriTrans TF–IDF (P)30.0989.3359.7140.9589.6565.3018.3087.9053.10
VeriTrans TF–IDF (M)25.9090.8258.3635.5092.1863.8426.3079.6052.95
Structural eligibility100.000.0050.00100.000.0050.00100.000.0050.00

Table 8. Discrimination on controlled single-edit mutations. Rec. is accept recall, Spec. is mutation-rejection specificity, and Bal. is balanced accuracy, all in percent. Q/P/M denote Qwen/Phi/Mistral; “maj.” denotes the three-model majority. Identical structural-eligibility results are shown once.

Extended Experimental Results

This section gives the complete packaged mutation configurations, per-model LongFaithCheck results, and cross-benchmark results for LLM-generated translations. The final subsection examines the remaining PrOntoQA reference disagreements.

Controlled Mutations

Table 8 expands Table 1 to every single-model mutation configuration in the TACAS artifact and the available three-model majority configurations. Recall is the fraction of correct parent formulas accepted; specificity is the fraction of single-edit mutations rejected. Balanced accuracy averages these two rates.

LongFaithCheck: LLM-Generated Translations

Table 9 separates the three evaluator models on the 3,000 LongFaithCheck source-translator outputs. It reports accept recall and reject specificity as well as accuracy, balanced accuracy, coverage, and disagreement counts. All comparisons use the licensed-normalized reference; false accepts and false rejects here are disagreements with that reference.

Consolidated Validation Results

Table 10 gives every reported validator configuration on LLM-generated translations across the four benchmarks. Each cell shows accuracy, balanced accuracy, and decision coverage against the licensed-normalized reference. The majority rows summarize the three independently run evaluator models.

MethodPrOntoQARuleTakerProofWriterLongFaith.
Formal round-trip equivalence
Formal RT (maj.)80.49/68.10/100.0063.80/68.93/100.0083.41/85.66/100.0077.00/51.81/100.00
Formal RT (Q)82.38/72.16/100.0065.36/69.75/100.0083.92/85.99/100.0078.33/58.30/100.00
Formal RT (P)75.30/61.51/100.0062.94/68.23/100.0083.64/85.46/100.0077.10/51.98/100.00
Formal RT (M)76.52/68.60/100.0065.87/70.37/100.0075.48/79.71/100.0076.57/51.94/100.00
Monty clausal coverage
Monty (maj.)83.25/70.05/100.0073.74/77.67/100.0072.61/76.20/100.0071.20/59.48/100.00
Monty (Q)83.67/71.05/100.0064.32/72.14/100.0063.49/69.89/100.0070.23/63.86/100.00
Monty (P)80.27/65.96/100.0082.19/81.93/100.0082.99/83.27/100.0072.80/56.72/100.00
Monty (M)78.12/69.91/100.0069.74/74.57/100.0070.01/74.40/100.0070.77/57.43/100.00
Structural gate
Structural gate77.82/57.95/100.0089.17/80.19/100.0092.66/89.16/100.0066.00/77.90/100.00
VeriTrans TF–IDF
VeriTrans (maj.)53.85/64.53/100.0052.46/65.02/100.0049.47/60.47/100.0075.73/56.71/100.00
VeriTrans (Q)53.11/63.60/100.0055.78/65.99/100.0049.40/59.64/100.0075.10/58.17/100.00
VeriTrans (P)53.93/64.80/100.0052.16/65.03/100.0050.98/61.57/100.0076.37/54.89/100.00
VeriTrans (M)49.37/61.17/100.0050.42/64.01/100.0048.75/60.19/100.0075.83/56.82/100.00

Table 13.

PrOntoQA False Accepts

This subsection examines the 42 residual PrOntoQA cases in which FOL-Proof accepts a candidate that disagrees with the benchmark reference. All have the surface form “As are not B”. The benchmark reference is ∀x(A(x)→¬B(x))\forall x(A(x) \to\neg B(x)), whereas the ERG-derived reading matched by the candidate is ¬∀x(A(x)→B(x))\neg\forall x(A(x) \to B(x)), equivalently ∃x(A(x)∧¬B(x))\exists x(A(x) \land\neg B(x)).

In every case the candidate matches a scope-resolved formula derived by the ERG/MRS pipeline, so the certificate is faithful to that analysis. The disagreement concerns which negation-scope analysis best captures the intended reading of the bare-plural sentence. English bare plurals have generic and scope behavior distinct from overtly quantified noun phrases [7, 31]; in ordinary usage, however, “As are not B” is normally understood as a generic or universal negative rather than the weaker claim that some A is not B. We therefore treat these cases as systematic reading-preference conflicts: the ERG-derived translations are formally licensed, but differ from the reading normally intended in this controlled benchmark.

Downstream Reasoning

Protocol. In all three benchmarks the language models only translate; a deterministic reasoner answers. A policy answers a question only if its query and every premise compiled under that policy. Answer rules differ between benchmarks: ProofWriter is closed-world, so failing to derive a positive atom can support a negative answer. PrOntoQA requires deriving the query or its explicit signed complement, and deriving neither or both means abstention. RuleTaker has its own negative-query policy. These rules change coverage even at similar translation accuracy. The main text reports yield and selective accuracy; the tables below retain only the complementary coverage and paired-comparison evidence.

Table 11. Coverage (answered / all) and selective accuracy (correct / answered), %, under the whole-problem availability rule. Yield = coverage × selective accuracy, matching the main-text yields in Table 3. First-compilable and certificate-preferred fallback have identical ProofWriter coverage (18,008 of 20,058 answered).

MethodProofWriter Cov.ProofWriter Sel.RuleTaker Cov.RuleTaker Sel.PrOntoQA Cov.PrOntoQA Sel.
Raw Phi-3.546.6887.2070.4988.9237.3798.42
Raw Qwen2.5-7B23.5776.8623.6984.8727.8399.68
Raw Mistral-7B8.6477.8023.1691.0353.3798.79
First compilable89.7885.1796.4988.4451.8898.59
Cert. + raw fallback89.7888.0296.6096.0987.39100.0
FOL-Proof strict gating25.51100.070.20100.056.66100.0

Table 11.

Table 12. Paired comparisons on questions answered by both policies. Wins are questions that only the first-named policy answers correctly. In PrOntoQA the strict-only and unguided-only answered sets are not nested (1,950 and 1,520 questions), so these counts cover the overlap only. The RuleTaker fallback row is on the 18,354 questions both policies answer.

BenchmarkComparisonCommonWinsLosses
ProofWriterStrict vs. unguided5,1163720
RuleTakerStrict vs. unguided13,3331,2870
RuleTakerCert. + fallback vs. unguided18,3541,700297
PrOntoQAStrict vs. unguided3,149500

Table 12.

References

  1. [1]Abdin, M., Aneja, J., Awadalla, H., Awadallah, A., Awan, A.A., et al.: Phi-3 technical report: A highly capable language model locally on your phone (2024), https://arxiv.org/abs/2404.14219
  2. [2]Amrollahi, D., Lopez, J., Barrett, C.: Faithful autoformalization via roundtrip verification and repair. In: Findings of the Association for Computational Linguistics: EMNLP 2026. pp. 9836–9852. Association for Computational Linguistics, Budapest, Hungary (2026). https://doi.org/10.18653/v1/2026.findings-emnlp.469, https://aclanthology.org/2026.findings-emnlp.469/
  3. [3]Bansal, H., Kurniawan, K., Fermann, L.: Robustness of neurosymbolic reasoners on first-order logic problems. In: Proceedings of the 23rd Annual Workshop of the Australasian Language Technology Association. pp. 1–12. Association for Computational Linguistics, Sydney, Australia (2025), https://aclanthology.org/2025.alta-main.1/arxiv.org/abs/2509.17377
  4. [4]Brunello, A., Curaba, C., Geatti, L., Mignani, M., Montanari, A., Saccomanno, N.: Fixing FOLIO and MALLS: Verified annotations and an LLM-assisted framework to focus human relabeling. In: Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing. pp. 13195–13220. Association for Computational Linguistics, Budapest, Hungary (2026). https://doi.org/10.18653/2026.emnlp-main.576, https://aclanthology.org/2026.emnlp-main.576
  5. [5]Brunello, A., Geatti, L., Mignani, M., Montanari, A., Saccomanno, N.: Do LLMs really struggle at NL-FOL translation? Revealing their strengths via a novel benchmarking strategy. Proceedings of the AAAI Conference on Artificial Intelligence 40(36), 30094–30103 (2026). https://doi.org/10.1609/aaai.v40i36.40258
  6. [6]Cai, C., Zhao, X., Liu, H., Jiang, Z., Zhang, T., Wu, Z., Hwang, J.N., Li, L.: The role of deductive and inductive reasoning in large language models. In: Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). pp. 16780–16790 (2025). https://doi.org/10.18653/v1/2025.acl-long.820
  7. [7]Carlson, G.N.: A unified analysis of the English bare plural. Linguistics and Philosophy 1(3), 413–457 (1977). https://doi.org/10.1007/BF00335456
  8. [8]Clark, P., Tafjord, O., Richardson, K.: Transformers as soft reasoners over language. In: Proceedings of the 29th International Joint Conference on Artificial Intelligence (IJCAI). pp. 3882–3890 (2020). https://doi.org/10.24963/ijcai.2020/537
  9. [9]Copestake, A., Flickinger, D., Pollard, C., Sag, I.A.: Minimal recursion semantics: An introduction. Research on Language and Computation 3(2–3), 281–332 (2005). https://doi.org/10.1007/s11168-006-6327-9
  10. [10]Creswell, A., Shanahan, M., Higgins, I.: Selection-inference: Exploiting large language models for interpretable logical reasoning. In: The Eleventh International Conference on Learning Representations (ICLR) (2023)arxiv.org/abs/2205.09712
  11. [11]Deveci, İ.E.: A diagnostic framework for compositional generalization via NL-to-FOL translation. Journal of Logic, Language and Information (2026). https://doi.org/10.1007/s10849-026-09480-0
  12. [12]Dobrovie-Sorin, C., Ihsane, T., Gerards, D.P., Foppolo, F.: On the rescuing of some-indefinites. Journal of Linguistics 62(2), 329–356 (2026). https://doi.org/10.1017/S00222267251000753, published online 17 July 2025
  13. [13]Feng, Y., Weir, N., Bostrom, K., Bayless, S., Cassel, D., Chaudhary, S., Kiesl-Reiter, B., Rangwala, H.: VeriCoT: Neuro-symbolic chain-of-thought validation via logical consistency checks. In: The Fourteenth International Conference on Learning Representations (ICLR) (2026)arxiv.org/abs/2511.04662
  14. [14]Flickinger, D.: On building a more efficient grammar by exploiting types. Natural Language Engineering 6(1), 15–28 (2000). https://doi.org/10.1017/S1351324900002370
  15. [15]Flickinger, D., Bender, E.M., Oepen, S.: Towards an encyclopedia of compositional semantics: Documenting the interface of the English Resource Grammar. In: Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC’14). pp. 875–881. European Language Resources Association (ELRA), Reykjavik, Iceland (2014)
  16. [16]Garcez, A.d., Gori, M., Lamb, L.C., Serafini, L., Spranger, M., Tran, S.N.: Neural-symbolic computing: An effective methodology for principled integration of machine learning and reasoning. Journal of Applied Logics 6(4), 611–632 (2019)arxiv.org/abs/1905.06088
  17. [17]Goodman, M.W.: A Python library for deep linguistic resources. In: 2019 Pacific Neighborhood Consortium Annual Conference and Joint Meetings (PNC). pp. 1–7. IEEE, Singapore (2019)
  18. [18]Guo, D., et al.: DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature 645, 633–638 (2025). https://doi.org/10.1038/s41586-025-09422-z
  19. [19]Han, S., Schoelkopf, H., Zhao, Y., Qi, Z., Riddell, M., Zhou, W., Coady, J., Peng, D., Qiao, Y., Benson, L., Sun, L., Wardle-Solano, A., Szabó, H., Zubova, E., Burtell, M., Fan, J., Liu, Y., Wong, B., Sailor, M., Ni, A., Nan, L., Kasai, J., Yu, T., Zhang, R., Fabbri, A., Kryscinski, W.M., Yavuz, S., Liu, Y., Lin, X.V., Joty, S., Zhou, Y., Xiong, C., Ying, R., Cohan, A., Radev, D.: FOLIO: Natural language reasoning with first-order logic. In: Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. pp. 22017–22031. Association for Computational Linguistics (2024). https://doi.org/10.18653/v1/2024.emnlp-main.1229
  20. [20]Holtermann, C., Röttger, P., Dill, T., Lauscher, A.: Evaluating the elementary multilingual capabilities of large language models with MultiQ. In: Findings of the Association for Computational Linguistics: ACL 2024. pp. 4476–4494 (2024). https://doi.org/10.18653/v1/2024.findings-acl.265
  21. [21]Hong, R., Zhang, H., Pang, X., Yu, D., Zhang, C.: A closer look at the self-verification abilities of large language models in logical reasoning. In: Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). pp. 900–925. Association for Computational Linguistics, Mexico City, Mexico (2024). https://doi.org/10.18653/v1/2024.naacl-long.52
  22. [22]Jacovi, A., Bitton, Y., Bohnet, B., Herzig, J., Honovich, O., Tseng, M., Collins, M., Aharoni, R., Geva, M.: A chain-of-thought is as strong as its weakest link: A benchmark for verifiers of reasoning chains. In: Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). pp. 4615–4634. Association for Computational Linguistics (2024). https://doi.org/10.18653/v1/2024.acl-long.254
  23. [23]Jana, P., Kale, K., Tanriverdi, A.E., Song, C., Vishwanath, S., Ganesh, V.: Proof-Bridge: Auto-formalization of natural language proofs in Lean via joint embeddings. In: The Fourteenth International Conference on Learning Representations (ICLR) (2026), https://proceedings.iclr.cc/paper_files/paper/2026/hash/16f5b8d916f13534d11c50adf60914e4-Abstract-Conference.htmlarxiv.org/abs/2510.15681
  24. [24]Jiang, A.Q., Sablayrolles, A., Mensch, A., Bamford, C., Chaplot, D.S., de las Casas, D., Bressand, F., Lengyel, G., Lample, G., Saulnier, L., Lavaud, L.R., Lachaux, M.A., Stock, P., Le Scao, T., Lavril, T., Wang, T., Lacroix, T., El Sayed, W.: Mistral 7B. Technical report (2023), https://arxiv.org/abs/2310.06825
  25. [25]Jin, Z., Lalwani, A., Vaidhya, T., Shen, X., Ding, Y., Lyu, Z., Sachan, M., Mihalcea, R., Schölkopf, B.: Logical fallacy detection. In: Findings of the Association for Computational Linguistics: EMNLP 2022. pp. 7180–7198. Association for Computational Linguistics (2022). https://doi.org/10.18653/v1/2022.findings-emnlp.532
  26. [26]Johnson, K.: How far will quantifiers go? In: Martin, R., Michaels, D., Uriagereka, J. (eds.) Step by Step: Essays on Minimalist Syntax in Honor of Howard Lasnik, pp. 187–210. MIT Press, Cambridge, MA (2000)
  27. [27]Karia, R., Bramblett, D., Dobhal, D., Verma, P., Srivastava, S.: ƲutoEval: Autonomous assessment of LLMs in formal synthesis and interpretation tasks. Technical report (2024), https://arxiv.org/abs/2403.18327
  28. [28]Kim, K., Poiroux, A., Bosselut, A.: Do LLMs game formalization? Evaluating faithfulness in logical reasoning. Technical report (2026), https://arxiv.org/abs/2604.19459
  29. [29]Koller, A., Thater, S.: Efficient solving and exploration of scope ambiguities. In: Proceedings of the ACL Interactive Poster and Demonstration Sessions. pp. 9–12. Association for Computational Linguistics, Ann Arbor, Michigan (2005). https://doi.org/10.3115/1225753.1225756
  30. [30]Kovács, L., Voronkov, A.: First-order theorem proving and Vampire. In: Computer Aided Verification (CAV). Lecture Notes in Computer Science, vol. 8044, pp. 1–35. Springer (2013). https://doi.org/10.1007/978-3-642-39799-8_1
  31. [31]Krifka, M., Pelletier, F.J., Carlson, G.N., ter Meulen, A., Chierchia, G., Link, G.: Genericity: An introduction. In: Carlson, G.N., Pelletier, F.J. (eds.) The Generic Book, pp. 1–124. University of Chicago Press, Chicago (1995)
  32. [32]Lewis, M., Liu, Y., Goyal, N., Ghazvininejad, M., Mohamed, A., Levy, O., Stoyanov, V., Zettlemoyer, L.: BART: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics. pp. 7871–7880. Association for Computational Linguistics (2020). https://doi.org/10.18653/v1/2020.acl-main.703, https://aclanthology.org/2020.acl-main.703/
  33. [33]Li, Q., Li, J., Liu, Z., Cheng, M., Zhou, Y., Zeng, Y., Liu, Q., Liu, T.: Are LLMs stable formal logic translators in logical reasoning across linguistically diversified texts? In: Proceedings of the ACM Web Conference 2026. pp. 3633–3644 (2026). https://doi.org/10.1145/3774904.3792161
  34. [34]Lin, B.Y., Le Bras, R., Richardson, K., Sabharwal, A., Poovendran, R., Clark, P., Choi, Y.: ZebraLogic: On the scaling limits of LLMs for logical reasoning. In: Proceedings of the 42nd International Conference on Machine Learning (ICML). Proceedings of Machine Learning Research, vol. 267, pp. 37889–37905. PMLR (2025), https://proceedings.mlr.press/v267/lin25i.htmlarxiv.org/abs/2502.01100
  35. [35]Liu, F.h.: Scope and Specificity, Linguistik Aktuell/Linguistics Today, vol. 16. John Benjamins Publishing Company, Amsterdam (1997). https://doi.org/10.1075/la.16
  36. [36]Liu, H., Parthasarathy, M., Murali, A.: Faithful autoformalization of natural language assertions. Technical report (2026), https://arxiv.org/abs/2607.13303
  37. [37]Liu, Q., Zheng, X., Lu, X., Cao, Q., Yan, J.: Rethinking and improving autoformalization: Towards a faithful metric and a dependency retrieval-based approach. In: The Thirteenth International Conference on Learning Representations (ICLR) (2025)
  38. [38]Liu, X., Zhu, T., Dong, Z., Liu, Y., Guo, Q., Liu, Z., Chen, Y., Luo, T.: ASSESS: A semantic and structural evaluation framework for statement similarity. In: The Fourteenth International Conference on Learning Representations (ICLR) (2026), https://openreview.net/forum?id=awvNGWtiHFarxiv.org/abs/2509.22246
  39. [39]Liu, X., Kodakandla, D., Srivastava, K., Farooque, M.: VeriTrans: Fine-tuned LLM-assisted NL-to-PL translation via a deterministic neuro-symbolic pipeline. Technical report (2026), https://arxiv.org/abs/2604.10341
  40. [40]Liu, Y., Zhu, T., Liu, X., Chen, Y., Liu, Z., Guo, Q., Zhang, J., Bao, K., Luo, T.: Generalized tree edit distance (GTED): A faithful evaluation metric for statement autoformalization. Technical report (2025), https://arxiv.org/abs/2507.07399
  41. [41]Lloyd, J.W.: Foundations of Logic Programming. Springer, 2nd edn. (1987). https://doi.org/10.1007/978-3-642-83189-8
  42. [42]McCune, W.: Prover9 and Mace4 (2005), https://www.cs.unm.edu/~mccune/prover9/, automated theorem prover and finite model finder; software developed 2005–2010
  43. [43]McGuinness, L., Baumgartner, P.: Automated theorem provers help improve large language model reasoning. In: Proceedings of the 25th Conference on Logic for Programming, Artificial Intelligence and Reasoning. EPiC Series in Computing, vol. 100, pp. 51–69. EasyChair (2024). https://doi.org/10.29007/2n9m
  44. [44]Microsoft: Phi-3.5-mini-instruct. Hugging Face model card (2024), https://huggingface.co/microsoft/Phi-3.5-mini-instruct
  45. [45]Mistral AI: Mistral-7B-Instruct-v0.3. Hugging Face model card (2024), https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3
  46. [46]Mohammad, N.I.S., Sheikh, T.: The faithfulness gap: Certifying semantic equivalence between natural-language and formal mathematical statements. Technical report (2026), https://arxiv.org/abs/2606.16541
  47. [47]de Moura, L., Bjørner, N.: Z3: An efficient SMT solver. In: Tools and Algorithms for the Construction and Analysis of Systems (TACAS). Lecture Notes in Computer Science, vol. 4963, pp. 337–340. Springer (2008). https://doi.org/10.1007/978-3-540-78800-3_24
  48. [48]de Moura, L., Ullrich, S.: The Lean 4 theorem prover and programming language. In: Automated Deduction – CADE 28. Lecture Notes in Computer Science, vol. 12699, pp. 625–635. Springer (2021). https://doi.org/10.1007/978-3-030-79876-5_37
  49. [49]Murphy, L., Yang, K., Sun, J., Li, Z., Anandkumar, A., Si, X.: Autoformalizing euclidean geometry. In: Proceedings of the 41st International Conference on Machine Learning (ICML). Proceedings of Machine Learning Research, vol. 235, pp. 36847–36893. PMLR (2024), https://proceedings.mlr.press/v235/murphy24a.htmlarxiv.org/abs/2405.17216
  50. [50]Olausson, T.X., Gu, A., Lipkin, B., Zhang, C.E., Solar-Lezama, A., Tenenbaum, J.B., Levy, R.: LINC: A neurosymbolic approach for logical reasoning by combining language models with first-order logic provers. In: Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 5153–5176. Association for Computational Linguistics (2023). https://doi.org/10.18653/v1/2023.emnlp-main.313
  51. [51]Opitz, J.: SMATCH++: Standardized and extended evaluation of semantic graphs. In: Findings of the Association for Computational Linguistics: EACL 2023. pp. 1595–1607. Association for Computational Linguistics, Dubrovnik, Croatia (2023). https://doi.org/10.18653/v1/2023.findings-eacl.118
  52. [52]Packard, W.: ACE: The answer constraint engine (2015), http://swaglesw.org/linguistics/ace/, DELPH-IN parsing/generation engine for grammars such as the ERG
  53. [53]Pan, L., Albalak, A., Wang, X., Wang, W.Y.: Logic-LM: Empowering large language models with symbolic solvers for faithful logical reasoning. In: Findings of the Association for Computational Linguistics: EMNLP 2023. pp. 3806–3824. Association for Computational Linguistics, Singapore (2023). https://doi.org/10.18653/v1/2023.findings-emnlp.248
  54. [54]Pei, Y., Du, Y., Jin, X.: FoVer: First-order logic verification for natural language reasoning. Transactions of the Association for Computational Linguistics 13, 1340–1359 (2025). https://doi.org/10.1162/tacl.a.41
  55. [55]Pollard, C., Sag, I.A.: Head-Driven Phrase Structure Grammar. University of Chicago Press, Chicago (1994)
  56. [56]Putra, R.R., Basuki, R.S.P., Cheng, Y., Gao, P.: NL2Logic: AST-guided translation of natural language into first-order logic with large language models. In: Findings of the Association for Computational Linguistics: EACL 2026. pp. 6035–6051. Association for Computational Linguistics, Rabat, Morocco (2026). https://doi.org/10.18653/v1/2026.findings-eacl.317
  57. [57]Qi, C., Ma, R., Li, B., Du, H., Hui, B., Wu, J., Laili, Y., He, C.: Large language models meet symbolic provers for logical reasoning evaluation. In: The Thirteenth International Conference on Learning Representations (ICLR) (2025)arxiv.org/abs/2502.06563
  58. [58]Quansah, P.K., Bonnah, E.: NeuroNL2LTL: A neurosymbolic framework for natural language translation of linear temporal logic. In: Formal Techniques for Distributed Objects, Components, and Systems (FORTE). Lecture Notes in Computer Science, vol. 16589, pp. 56–73. Springer (2026). https://doi.org/10.1007/978-3-032-28187-6_4
  59. [59]Rabern, B., Mondorf, P., Plank, B.: LogicSkills: A structured benchmark for formal reasoning in large language models. In: Findings of the Association for Computational Linguistics: EMNLP 2026. pp. 2035–2047. Association for Computational Linguistics, Budapest, Hungary (2026). https://doi.org/10.18653/v1/2026.findings-emnlp.98, https://aclanthology.org/2026.findings-emnlp.98/
  60. [60]Rademaker, A., Lima, G., Fiorini, S.R., da Silva, V.T.: Deductive verification of LLM generated SPARQL queries. In: Proceedings of the Workshop on Deep Learning and Linked Data (DLnLD) @ LREC-COLING 2024. pp. 45–52. ELRA and ICCL, Torino, Italia (2024), https://aclanthology.org/2024.dlnld-1.4/DOI
  61. [61]Raiyan, S.R., Kabir, M., Mahmud, H., Hasan, M.K.: Artificial intelligence for mathematical reasoning: An integrated survey of language models, neuro-symbolic systems, and verified discovery. Technical report (2026), https://arxiv.org/abs/2606.08728
  62. [62]Ryu, H., Kim, G., Lee, H.S., Yang, E.: Divide and translate: Compositional first-order logic translation and verification for complex logical reasoning. In: The Thirteenth International Conference on Learning Representations (ICLR) (2025)arxiv.org/abs/2410.08047
  63. [63]Saparov, A., He, H.: Language models are greedy reasoners: A systematic formal analysis of chain-of-thought. In: The Eleventh International Conference on Learning Representations (ICLR) (2023)arxiv.org/abs/2210.01240
  64. [64]Singh, V., Cassel, D., Weir, N., Feng, N., Bayless, S.: VERGE: Formal refinement and guidance engine for verifiable LLM reasoning. Technical report (2026), https://arxiv.org/abs/2601.20055
  65. [65]Singh, W., Ganguly, J., Yu, H., Zhou, C., Singh, P., Lee, B., Chaudhary, V., Datta, G.: Toward guarantees for clinical reasoning in vision language models via formal verification. Technical report (2026), https://arxiv.org/abs/2602.24111
  66. [66]Steedman, M., Baldridge, J.: Combinatory categorial grammar. In: Borsley, R.D., Börjars, K. (eds.) Non-Transformational Syntax: Formal and Explicit Models of Grammar, pp. 181–224. Wiley-Blackwell (2011). https://doi.org/10.1002/9781444395037.ch5
  67. [67]Szabolcsi, A.: Positive polarity–negative polarity. Natural Language & Linguistic Theory 22(2), 409–452 (2004). https://doi.org/10.1023/B:NALA.0000015791.00288.43
  68. [68]Szegedy, C.: A promising path towards auto-formalization and general artificial intelligence. In: Intelligent Computer Mathematics (CICM). Lecture Notes in Computer Science, vol. 12236, pp. 3–20. Springer (2020)
  69. [69]Tafjord, O., Dalvi, B., Clark, P.: ProofWriter: Generating implications, proofs, and abductive statements over natural language. In: Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021. pp. 3621–3634. Association for Computational Linguistics (2021). https://doi.org/10.18653/v1/2021.findings-acl.317
  70. [70]Thatikonda, R.K., Buntine, W., Shareghi, E.: Assessing the sensitivity and alignment of FOL closeness metrics. In: Christodoulopoulos, C., Chakraborty, T., Rose, C., Peng, V. (eds.) Findings of the Association for Computational Linguistics: EMNLP 2025. pp. 16775–16785. Association for Computational Linguistics, Suzhou, China (2025). https://doi.org/10.18653/v1/2025.findings-emnlp.910
  71. [71]Thatikonda, R.K., Han, J., Buntine, W.L., Shareghi, E.: Strategies for improving NL-to-FOL translation with LLMs: Data generation, incremental fine-tuning, and verification. Technical report (2024), https://arxiv.org/abs/2409.16461
  72. [72]Tian, J., Li, Y., Chen, W., Xiao, L., He, H., Jin, Y.: Diagnosing the first-order logical reasoning ability through LogicNLI. In: Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing. pp. 3738–3747. Association for Computational Linguistics (2021). https://doi.org/10.18653/v1/2021.emnlp-main.303
  73. [73]Vossel, F., Mossakowski, T., Gehrke, B.: Advancing natural language formalization to first order logic with fine-tuned LLMs. Technical report (2025), https://arxiv.org/abs/2509.22338
  74. [74]Wang, H., Huang, B., Wan, Y., Zhu, X., Liu, X., Huang, Y., Guo, Z.: FormalRx: Rectify and examine semantic failures in autoformalization. In: Proceedings of the 43rd International Conference on Machine Learning (ICML). Proceedings of Machine Learning Research, vol. 306, pp. 126930–126964. PMLR (2026), https://proceedings.mlr.press/v306/wang26cg.htmlarxiv.org/abs/2607.04655
  75. [75]Wei, A., Wu, Y., Wan, Y., Suresh, T., Tan, H., Zhou, Z., Koyejo, S., Wang, K., Aiken, A.: SATBench: Benchmarking LLMs’ logical reasoning via automated puzzle generation from SAT formulas. In: Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. pp. 33832–33849. Association for Computational Linguistics (2025). https://doi.org/10.18653/v1/2025.emnlp-main.1716
  76. [76]Wu, M.J., Ionin, T.: Intonational effects on English scopally-ambiguous sentences. Ilha do Desterro 73(3), 13–36 (2020). https://doi.org/10.5007/2175-8026.2020v73n3p13
  77. [77]Wu, Y., Jiang, A.Q., Li, W., Rabe, M.N., Staats, C., Jamnik, M., Szegedy, C.: Autoformalization with large language models. In: Advances in Neural Information Processing Systems (NeurIPS). vol. 35, pp. 32353–32368 (2022)arxiv.org/abs/2205.12615
  78. [78]Yang, A., et al.: Qwen2.5 technical report (2024), https://arxiv.org/abs/2412.15115
  79. [79]Zhang, M., Peng, Q., Wei, Y., Shen, Y., Tan, K., Wang, Y., Xiang, Z., Ye, J., Yin, Z., Xi, Z., Dou, S., Wang, W., Zhang, Y., Gui, T., Yang, R., Zhang, Q., Huang, X., Chen, A., Pan, M.: HyperLogic: A hard, forward-authored Chinese logical reasoning benchmark with execution-derived answers. Technical report (2026), https://arxiv.org/abs/2605.19597, revised version (v2), 2 October 2026; originally titled LLMEval-Logic
  80. [80]Zhang, T., Ladhak, F., Durmus, E., Liang, P., McKeown, K., Hashimoto, T.B.: Benchmarking large language models for news summarization. Transactions of the Association for Computational Linguistics 12, 39–57 (2024). https://doi.org/10.1162/tacl_a_00632
  81. [81]Zheng, X., Li, N., Luan, X., Wang, K., Shi, L., Sun, M., Wang, H.: Beyond correctness: Exposing LLM-generated logical flaws in reasoning via multi-step automated theorem proving. In: Proceedings of the 48th IEEE/ACM International Conference on Software Engineering (ICSE). pp. 3001–3013. IEEE (2026)
  82. [82]Zhong, W., Wang, S., Tang, D., Xu, Z., Guo, D., Chen, Y., Wang, J., Yin, J., Zhou, M., Duan, N.: Analytical reasoning of text. In: Findings of the Association for Computational Linguistics: NAACL 2022. pp. 2306–2319. Association for Computational Linguistics (2022). https://doi.org/10.18653/v1/2022.findings-naacl.177
  83. [83]Zhu, W., Liu, H., Dong, Q., Xu, J., Huang, S., Kong, L., Chen, J., Li, L.: Multilingual machine translation with large language models: Empirical results and analysis. In: Findings of the Association for Computational Linguistics: NAACL 2024. pp. 2765–2781 (2024). https://doi.org/10.18653/v1/2024.findings-naacl.176
  84. [84]Zhuo, T.Y., Vu, M.C., Chhim, J., et al.: BigCodeBench: Benchmarking code generation with diverse function calls and complex instructions. In: The Thirteenth International Conference on Learning Representations (ICLR) (2025)arxiv.org/abs/2406.15877

Paper details

vlnc:W_yenhz38m
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents