Certify What You Plant: Shortcut-Free Proof Depth in Logical Reasoning Data

Baptiste Juran, Dimitri Kachler, Damien SileoarXiv 2026

TL;DR

When we train or test language models on procedurally generated logic puzzles, we usually build a "5-step" puzzle by sampling a 5-step proof and handing the model its starting premises. The catch? That planted proof might be just one winding path up a mountain that actually has an escalator—meaning the puzzle can be solved in two steps, or via dozens of unrelated routes. This paper introduces a way to mathematically certify what a logic problem actually requires, audits popular reasoning benchmarks to expose hidden shortcuts, and builds shortcut-free training sets that meaningfully boost LLM reasoning transfer.

What Problem Does This Paper Address?

To teach and test deductive reasoning in LLMs, researchers rely heavily on synthetic generators. You dial a depth parameter to, say, 5, and the generator plants a 5-step proof tree, states its leaves as premises, throws in some distractors, and stamps "Difficulty: 5" on the box.

The problem is the gap between planted structure (one valid proof the generator had in mind) and realized structure (what every valid proof must do). Suppose a generator plants five modus ponens steps ($a \to b, b \to c \dots$). If the logical rules also allow chaining implications (hypothetical syllogism), a solver can merge steps in 42 different ways—meaning zero specific steps are shared across all proofs. Distractors can also accidentally open up 2-step backdoors. Consequently, benchmarks saturate prematurely, and we don't actually know if models are failing because of deep reasoning or something else entirely.

Figure 1: What datasets state and what their problems require. Open circles: the stated length (planted depth, plan length, number of operations); dots: the steps ev- ery solution needs (mandatory proof steps; for plans, landmark actions; for state tracking, operations without which the answer changes). Bottom row: 400 problems built by our construction (§5) in propositional logic, with 13.3 planted steps on average; circle and dot coin- cide because every planted step is required (Table 1).

Methods

The authors tackle this in two phases: auditing existing problems and constructing shortcut-free ones across 15 instantiated rule sets (covering propositional, first-order, and modal logics, plus planning and state tracking).

  • Measuring Realized Structure & Independent Certificates: Relative to a stated set of inference rules (a calculus), the system computes a problem's mandatory steps—rule applications that appear in every possible proof (checked by removing a step and seeing if the goal is still reachable). Each problem exports a certificate—containing the proof, mandatory steps, or finite countermodels for "neutral" (undecidable) labels—verified by an independent, solver-free checker.
  • PROOFPLANT & The Shortcut Atlas: Generating problems forward and filtering out ones with shortcuts fails up to 95% of the time at 30 steps. Instead, the authors build problems backward from a target shape using a shortcut atlas. Borrowed from constraint solving, this atlas catalogs nogoods—small schematic proof fragments proven once per calculus to admit a shortcut (like feeding one modus ponens into another when hypothetical syllogism is allowed). As PROOFPLANT builds a proof backward, it immediately prunes any rule placement that completes a nogood, guaranteeing that 100% of planted steps are mandatory.
Comparison of forward-planted vs. PROOFPLANT-constructed problems.

Datasets

  • Audited Datasets: ProofWriter, FLD$\times$2, ZebraLogic, PlanBench (Blocksworld), Boxes (state tracking), corrected FOLIO, ProverQA, and LogicGraph.
  • Training & Transfer Benchmarks: Models are trained on synthetic mixtures from the authors' semforge framework (including newly introduced model-checking problems over closed and partially observed Kripke worlds) and evaluated out-of-domain on FOLIO, ModalBench, FLD$\times$2, ProverQA, ProofWriter, TPTP, QMLTP, and 300 custom world-assumption pairs.

Key Insights and Ideas

  • Many "deep" benchmarks aren't forced: While ProofWriter and PlanBench genuinely force almost all their stated steps, FLD$\times$2's "depth 5" problems only force about 2 specific rule applications on average. In ZebraLogic, every clue is needed to solve the whole grid, yet 71% of individual propagated cells require no particular step because clues combine in many interchangeable orders.
  • Bad wording masquerades as reasoning depth: On FLD$\times$2, LLM errors rise with depth, largely because deeper proofs more often use universal rules weirdly phrased with "some" (e.g., "Some man is unplanned if..."). Changing a single word ("Something" $\to$ "Everything") boosts accuracy by 5–7 points without touching the logic.
  • Deep-only training teaches models to give up: Training an LLM only on certified-deep problems backfires—it teaches the model to constantly abstain ("neutral") on half of derivable test problems. Mixing shallow proofs alongside deep ones keeps abstention in check.
  • Composition beats per-example strictness: At a fixed planted depth, forcing every step to be mandatory barely changes how well a model learns once label-negation shortcuts are balanced. The real magic of certification is giving us clean coordinates to mix diverse problem depths and types (like Kripke countermodels that forward generators can't make).
Mandatory steps vs. claimed depth in ProofWriter, FLDx2, and constructed data.

Key Results

  • Audit precision: Mandatory-step shares hit 93% on ProofWriter and 84% on Blocksworld, drop to 60% on FLD$\times$2 (2.08 mandatory steps at claimed depth 5), and hit 100% by design on PROOFPLANT problems (achieving 99–100% generation success up to 60 steps in 0.03–0.34s per problem).
  • True depth breaks frontier models: On clean, shortcut-free monadic problems, gpt-oss-120b plummets from 90% accuracy (1–3 steps) to 13% (13+ steps), even at high reasoning effort.
  • Better training transfer: Across Qwen3 models from 0.6B to 8B parameters, training on equal-sized (3,000 examples) mixtures of certified problem types systematically outperforms standard FLD$\times$2-style forward data on FOLIO, ModalBench, FLD$\times$2, ProverQA, and world-assumption tasks, while keeping neutral predictions calibrated to ground-truth rates.

Limitations and Future Work

  • Calculus relativity: Step counts always depend on the chosen rule set; adding coarser macro-rules shrinks mandatory step counts (though problem difficulty rankings remain stable, Spearman 0.83).
  • Expressiveness: The ground, forward calculi omit hypothetical reasoning and case splits, leaving 16% of FLD$\times$2 and proof-level FOLIO outside the formal audit. Furthermore, English texts rely on templates rather than natural prose.
  • Supervision scope: Training experiments used relatively small models (up to 8B with LoRA) supervised primarily on final labels. Testing how certified structure shapes chain-of-thought generation or reinforcement learning with verifiable rewards remains an open next step.

Summary updated

Abstract

Procedurally generated logic problems are used to both evaluate and train reasoning in language models. Their difficulty is usually set by planting a proof, that is, by sampling a proof of the desired depth and stating its premises as the problem. However, a planted proof is only one possible proof. A problem can also have shorter proofs, or several unrelated ones, and its stated depth then overstates what solving it requires. We measure what a problem actually requires, relative to a stated set of inference rules. For each problem, we compute the steps every proof must make, the shortest proof, the number of minimal proofs and the indispensable premises, and export certificates that an independent checker verifies. Audits of eight datasets find depth that is forced (ProofWriter, Blocksworld), problems labelled depth 5 that require about two specific rule applications (FLDx2), and answers that need no particular step (ZebraLogic). We then construct problems whose every proof has a requested structure, using a catalog of shortcuts proved once per rule set. Every constructed problem is checked in full and comes with its own certificate. In training, the best data mixes depths and problem types. At equal size, such mixtures of certified problem types, including model-checking problems that forward generation does not produce, transfer better than FLDx2-style derivation data for Qwen3 models from 0.6B to 8B.
BibTeX
@misc{juran2026certify,
  author = {Baptiste Juran and Dimitri Kachler and Damien Sileo},
  title = {{Certify What You Plant: Shortcut-Free Proof Depth in Logical Reasoning Data}},
  year = {2026},
  eprint = {2611.33303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33303},
}
Figure