Beyond the Compile Check: Separating False from Unproven in LLM Conjecture Generation
We asked a language model for 240 math conjectures, each with a Lean 4 proof. Lean rejected 120 of them. For each rejected one, we tested the opposite claim and looked for a small example where the original breaks.1
31 are false.
89 remain unresolved.
What the compile check can't tell you
Many pipelines that generate theorems with LLMs keep a statement only if Lean accepts its proof. Acceptance is meaningful: Lean's kernel won't pass a proof of a false statement. Rejection is not. A rejected statement could be false, or it could be true with a proof the model couldn't finish. Both get discarded the same way.
sorry), so this row means accepted, not just compiled.The top row is kept and the bottom row is discarded in full. The 31 were settled by giving Lean a structure where the claim fails. Nothing settled the 89.1
How the 240 attempts were produced
We defined 20 sets of algebraic rules × 6 kinds of conclusion = 120 combinations. Before the model wrote anything, the SMT solver Z37 labelled every combination. Then claude-sonnet-5 generated two attempts per combination, for 240 total.1
231 of the 240 parsed: 111 + 120 = 231.
The accident that made this measurable
The first version used 5 plain-English prompts, and they produced only 4 shapes of theorem. We replaced them with 20 rule sets that we wrote ourselves as formal axioms. That had a useful side effect. A solver can read axioms but not sentences, so all 120 combinations could be labelled before the model wrote a word.
What it took to prove one of them false
We stripped each rejected attempt of its proof and negated its goal, so ∀x̄, B became ∃x̄, ¬B. Then we tried three methods in fixed order:
deciderefuted 0 of 120simp and norm_num with aesoprefuted 0 of 120native_deciderefuted 31 of 120General-purpose automation never worked. The 31 countermodels came from three places: 25 had already been computed in the labelling pass, 4 were the rule set's own example, and 2 came from a fresh search.
The 120 rejected attempts, one square each. Filled squares (31) were shown false. Every square was discarded the same way.
Both searches are bounded. We only looked at carriers of size 2, 3 and 4, at 30 s per query, and never searched sizes 5 and up. A countermodel for one of the 89 could exist at a larger size, so unresolved is not the same as true. Tools: Z3 5.1.0, Lean v4.32.2, Mathlib.18
A commutative idempotent magma where the model was wrong
For a commutative idempotent magma, the model claimed:
(x ∗ y) ∗ (x ∗ z) = x ∗ (y ∗ z)
The 4-element table below is commutative (it's symmetric) and idempotent (the diagonal is 0, 1, 2, 3), so it satisfies the hypotheses. At x = 1, y = 2, z = 3 the left side is 0 and the right side is 1.1 Try other values: the check below runs in your browser on this exact table.
The solver's label predicted which ones were false
This is the refutation rate among the 120 rejected attempts, grouped by the Z3 label each combination got before generation:1
The same ordering holds across all 240 attempts: 23.7% (28/118) for not_entailed vs 1.3% (1/80) for undetermined. There are two caveats. The shape of the conclusion is a confound, and the two smallest groups (16 and 9 attempts) carry limited evidence. Labels are assigned per combination, not per theorem, so these are associations, not causal estimates.
43 hedges, zero refusals
The raw replies show something the logs don't. Across 337 responses (more than the 240 we scored), the model hedged, or said it couldn't do what was asked, 43 times. None of these counts as a refusal, because the interface gave it no way to refuse.1 A pipeline with an explicit "I can't prove this" output could route these cases somewhere other than the discard pile.
What should a pipeline do with the 89?
Nothing proves them wrong, and throwing them away risks losing valid conjectures. There are three obvious next steps: bigger countermodel searches, a stronger prover, or a way for the model to decline. This is the question I'm bringing to the poster session, so tell me which you'd try first.
What this does not show
- One generator, run once, over 20 hand-written rule families in a single algebraic domain. The absolute rates belong to that setting, not to conjecture generation in general.
- Bounded searches. Both the labelling and the countermodel search only check finite models with 2 to 4 elements. The 89 may include true statements, statements refutable only by a larger model, and statements with no finite countermodel at all.
- Trusted base. Refutations were checked with
native_decide, which means trusting the compiler as well as the Lean kernel. - Associations, not causes. Labels are assigned per combination, not per theorem, so the rate table shows correlation.
Cite
Questions
Why can't a failed Lean compile tell you a conjecture is false?
A rejection only says the model's proof didn't check. The statement could be false, or true with a bad proof. Of our 120 rejected conjectures, 31 were shown false with explicit countermodels and 89 couldn't be decided either way.
How were the 31 false conjectures found?
We negated each rejected goal. decide refuted 0 of 120, and simp and norm_num with aesop refuted 0 of 120. Supplying an explicit small example, checked by native_decide, refuted 31 of 120.
Are the 89 unresolved conjectures true?
Not necessarily. The search only covered carriers of size 2 to 4.
References
- Dixit and Yang. Beyond the Compile Check: Separating False from Unproven in LLM Conjecture Generation. MATH-AI Workshop at NeurIPS 2026. Source of every number on this page.
- NeurIPS 2026 virtual page for this paper.
- Yu et al. FormalMATH. arXiv:2505.02735.
- Ondras and Freer. Lean disprove. AI for Math Workshop, ICML 2026.
- Kim, Poiroux and Bosselut. Do LLMs game formalization? arXiv:2604.19459.
- Petrov, Dekoninck and Vechev. BrokenMath. arXiv:2510.04721.
- Z3 theorem prover.
- Lean 4 and Mathlib.