Paper · 6th MATH-AI Workshop · NeurIPS 2026, Atlanta

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.

1 · The problem

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.

Statement is falseStatement is true Lean accepted a complete proof
Can't happen: the kernel won't pass a proof of a false statement. An unfinished proof still compiles (with a warning that it uses sorry), so this row means accepted, not just compiled.
111proven, and kept by every pipeline like this one
Lean rejected it
31shown false by an explicit countermodel
89 ?nothing we ran decides these

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

2 · Setup

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

111accepted: compiled with no errors and no gaps. 65 needed real work; 46 fell to one automatic tactic we had barred.
120rejected: the population this study measures
9never parsed: spent the whole budget on mathematics, and some found counterexamples of their own

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.

3 · Refutation ladder

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:

1deciderefuted 0 of 120
2simp and norm_num with aesoprefuted 0 of 120
3an explicit small example where the claim breaks, checked by native_deciderefuted 31 of 120

General-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

4 · One refutation in full

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.

5 · Rates by label

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

not_entailed28 / 64 · 43.8%
tautological2 / 16 · 12.5%
undetermined1 / 31 · 3.2%
plausible0 / 9 · 0.0%

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.

6 · What the model said

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.

8 · Limitations

What this does not show

Poster

The poster

Download the full-resolution PDF (4.7 MB).

Poster: Beyond the Compile Check, with the two-by-two outcome grid, the refutation ladder, the magma counterexample and the refutation rates by label.

Cite

@inproceedings{dixit2026beyond, title = {Beyond the Compile Check: Separating False from Unproven in {LLM} Conjecture Generation}, author = {Dixit, Devanshu and Yang, Yaling}, booktitle = {6th Workshop on Mathematical Reasoning and AI (MATH-AI) at NeurIPS 2026}, year = {2026}, url = {https://openreview.net/forum?id=BQK6bEJkuh} }

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

  1. 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.
  2. NeurIPS 2026 virtual page for this paper.
  3. Yu et al. FormalMATH. arXiv:2505.02735.
  4. Ondras and Freer. Lean disprove. AI for Math Workshop, ICML 2026.
  5. Kim, Poiroux and Bosselut. Do LLMs game formalization? arXiv:2604.19459.
  6. Petrov, Dekoninck and Vechev. BrokenMath. arXiv:2510.04721.
  7. Z3 theorem prover.
  8. Lean 4 and Mathlib.
About me

Devanshu Dixit is a computer science graduate student and research assistant at Virginia Tech. I build machine learning to catch telecom and bank fraud, including SIM-farm detection on a 5G testbed I built, and I built an LLM inference server from scratch. Before grad school I was a data engineer at Novvum and a founding-team software engineer at Sprect.