CRANE: Reasoning with constrained LLM generation
ELVIA analysis
Independent review pending
The printed grammar used for the central expressivity construction has no terminating production and generates the empty language, invalidating its key containment step. Adding an empty production repairs this specific proof dependency. Separately, the released symbolic-equivalence checker changes floor-division precedence and can accept a wrong answer to an example printed in the paper. These support Major findings for the formal construction and the released validation rule, respectively; neither establishes a change to published benchmark rankings. Local empirical wording inconsistencies are Minor. The finite-output circuit argument and the direction of the tabulated accuracy gains survive the checks. Adjudication remains pending.
Problem 1. Augmented grammar has no terminating production
MajorEvidence and reasoning
Problem statement
Printed grammar contains every finite simulator trace.
Standard CFG finite derivations; only; can output0; deterministic halting machine.
Proof
Claim and exact location. Section 3.2, p. 5, constructs Appendix C, p. 14, proves Proposition 3.3 by claiming and hence that a finite simulator trace followed by belongs to
Independent exact check. In standard context-free grammar semantics, every finite derivation starting from retains one occurrence of its only production replaces that occurrence with another one, and no other production removes it. Therefore Take any deterministic machine that halts after finitely many steps and outputs `0`, with output grammar This satisfies the construction’s requirement that contain the machine’s valid outputs. Whatever its finite trace, () cannot derive that trace followed by `0`. The containment used in the proof is false, and no sound constrained decoder can produce a terminal word of this grammar.
Counterevidence and scope. The original p. 5 image confirms the absence of a terminating alternative; this is not an extraction omission. The p. 14 proof explicitly invokes strongly indicating the intended language. The issue may originate as an omitted symbol, but its consequence is an empty central constructed language, rather than a cosmetic change. Under the assigned standard it supports Major for this construction and its dependent proof step. The practical delimiter algorithm does not instantiate this grammar, and the corrected existence claim is not refuted.
Possible revision
Add ->epsilon; prove L()=Gamma* by both inclusions, restoring containment conditional on imported simulator.
Problem 2. Released evaluator changes floor-division precedence
MajorEvidence and reasoning
Problem statement
Generated symbolic expressions are checked for functional equivalence to reference.
Allowed gold y//d*t; candidate y//(d*t); positive integers no zero denominator, exception or timeout required.
Proof
Claim, source, and core dependency. Section 5, p. 7, describes verifying generated GSM-Symbolic expressions against gold expressions with Z3. Pinned `src/prompting/gsm_symbolic.py`, lines – rewrites the entire expression around `//` using a textual regular expression. Lines – apply the rewrite to both candidate and gold; lines – interpret the resulting helper; lines – accept an unsatisfiable inequality between the translated expressions. The checker is called by the answer-evaluation path at line
Paper-bound witness and all assumptions. Listing on p. 15 prints the gold expression `y//d*t`. The grammar on p. 19 makes multiplication and floor division left-associative at the same precedence. Consider the candidate `y//(d*t)`. Both use only allowed operations and problem variables and can be wrapped in the required delimiters.
The source pattern takes the shortest nonempty left part before `//` and the entire nonempty right remainder. It therefore makes the following translations: These are the same expression. Yet at positive integers The witness satisfies the evaluator’s positive-integer domain constraints. Denominators are nonzero; both transformed expressions are valid helper calls. The symbolic inequality is identically false, so the code’s unsatisfiable branch accepts. This conclusion follows statically; neither the author evaluator nor Z3 was executed.
Impact, counterevidence, and limits. This is a demonstrated invalid correctness decision in the released rule that implements a core benchmark criterion, using an actual paper-listed gold expression. That supports Major for the released validator without requiring a measured score change. The supplied snapshot does not establish which historical outputs or tables used this exact rule. Its effect on published accuracy, method ordering, or the number of affected examples is Needs Evidence. A solver can correctly decide the translated formula while the translation itself is wrong. This is not evidence that Z3 is unsound, or that all symbolic checks fail.
Possible revision
AST-based operator-preserving translation required; witness corrected analytically only, not complete repaired evaluator.
Problem 3. Syntax rates and strict-improvement wording disagree with tables
MinorEvidence and reasoning
Problem statement
No syntax errors versus10% after Math7B example; strict higher accuracy at all few-shot settings.
Use model-specific rows and listed baselines.
Proof
Source and check. The p. 7 discussion follows the Qwen2.5-Math-7B-Instruct accuracy result with a statement that CRANE has no syntax errors and unconstrained CoT has Table 1, p. 9, instead gives that model parse rates of and hence error rates of and The %/90% pair belongs to Qwen2.5-1.5B-Instruct. Interpreted as an across-model assertion, the zero-error statement is also contradicted by the table.
The same page says CRANE has higher accuracy for all evaluated few-shot settings. Table 3, p. 21, has a tie at two shots for Qwen2.5-Coder-7B-Instruct: CRANE and unconstrained generation without CoT both score
Possible revision
Use correct model rates; use at-least-as-high for tied comparison.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
CRANE consistently achieves higher accuracy on GSM-Symbolic than the baselines for all evaluated numbers of few-shot examples.
publisher proceedings version at retrieval; immutable local SHA-256; PDF p. 7
Actual review scope
The recorded inspection concerns these source locations: Section 3.2 p. 5 and Proposition3.3 proof p. 14; src/prompting/gsm_symbolic.py74-80,170-205; Listing1 p. 15; grammar p. 19; evaluation p. 7; p. 7 vs Table 1 p. 9 and Table 3 p. 21.