Algebraic World Model: From Exploration to Proofs
Organizations: Tsinghua University · Tsinghua University Shanghai QiZhi Institute
Abstract
AI has made remarkable progress in mathematics, solving challenging problems with machine-checkable proofs in Lean, yet typically relying on predefined mathematical definitions and formal specifications. This raises a natural question: can it reason rigorously about an unknown world? We introduce the Algebraic World Model (AWM), a framework that turns interaction with unfamiliar environments into explicit mathematical models supporting formal reasoning. AWM explores the environment and develops executable Python hypotheses, continually testing and revising them against observations. It then structures these hypotheses into typed objects and shared rules, simplifies their structure through category-theory-guided transformations, and formalizes the resulting model in Lean 4 to prove reachability and impossibility. AWM can formally prove that a goal is unreachable, even beyond explored trajectories. On two impossible game levels, it constructs closed, kernel-checked Lean proofs excluding every legal winning sequence in all six runs, while Claude Opus 5.5 and GPT-6 Astra, equipped with coding tools, produce none in twelve baseline runs. Four of AWM's six initial bounds are correct, compared with one for Opus 5.5 and none for GPT-6 Astra; given only feedback that a cheaper win exists, AWM revises its rules and constructs new proofs, reaching six of six correct bounds. Moreover, AWM produces interpretable mathematical models whose rules can be inspected and tested step by step. Across all 25 public ARC-AGI-3 games, these models enable Lean to replay the winning trajectories of all 183 levels and generalize beyond observed play, predicting unseen transitions and detecting changes in game mechanics. With Claude Opus 5, AWM clears all levels with a score of 99.9, while its certified winning trajectories use only 43% of the human baseline's actions.
Figures & tables
| System | Code | Mean score | Games at 100 | Certified actions | Actions / human |
|---|---|---|---|---|---|
| Claude Opus 5 | no | 40.7 | 5 | — | — |
| GPT-6 Astra | no | 68.3 | 10 | — | — |
| GPT-6 Astra (adapter) ( ARC Prize Foundation, 2026b ) | yes | 100.0 | 25 | — | — |
| Rodionov (2026a) | yes | 99.0 | 23 | 8,347 | 0.49 |
| Memento 3 ( Zhao et al., 2026 ) | yes | 100.0 | 25 | 7,518 | 0.44 |
| AWM (ours) | yes | 99.9 | 23 | 7,448 | 0.43 |
| Agent | Kernel-checked model proofs | Runs claiming impossible | Correct bounds initial feedback | First claim (attempt) |
|---|---|---|---|---|
| Claude Opus 5.5 | 0/6 | 3/6 | 1/6 1/6 | 5.3 |
| GPT-6 Astra | 0/6 | 2/6 | 0/6 2/6 | 8.0 |
| AWM | 6/6 | 6/6 | 4/6 6/6 | 2.0 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Game | Lv. | Score | Cert. | Sent | Human | Concepts | Obj. types | Rules | Rules (Lean) | Replayed |
|---|---|---|---|---|---|---|---|---|---|---|
| ar25 | 8 | 100.0 | 253 | 253 | 748 | 17 (3) | 6 | 8 | 5 | 8/8 |
| bp35 | 9 | 100.0 | 374 | 374 | 651 | 26 (4) | 3 | 11 | 10 | 9/9 |
| cd82 | 6 | 100.0 | 70 | 661 | 171 | 44 (13) | 7 | 11 | 10 | 6/6 |
| cn04 | 6 | 100.0 | 261 | 745 | 789 | 22 (1) | 4 | 9 | 8 | 6/6 |
| dc22 | 6 | 100.0 | 1,037 | 2,664 | 1,228 | 48 (6) | 8 | 17 | 14 | 6/6 |
| ft09 | 6 | 100.0 | 80 | 168 | 208 | 15 (6) | 6 | 7 | 4 | 6/6 |
| Official score (max 100) | |||||||
| Game | Lv. | Claude Opus 5 | GPT-6 Astra | GPT-6 Astra (adapter) | Rodionov ( 2026a ) | Memento 3 ( Zhao et al., 2026 ) | AWM (ours) |
| ar25 | 8 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| bp35 | 9 | 0.0 | 2.2 | 100.0 | 100.0 | 100.0 | 100.0 |
| cd82 | 6 | 0.6 | 82.9 | 100.0 | 100.0 | 100.0 | 100.0 |
| cn04 | 6 | 47.6 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| dc22 | 6 | 44.8 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 |
| Set | Transitions accepted | Wrong rejected | Next frame predicted | |
|---|---|---|---|---|
| lp85 T1 (new trajectories) | 2,073 | 100 / 100 | 99.5–100 / 99.5–100 | 99.95 / 99.95 |
| lp85 tile swap U | 2,080 | 100 / 100 | 100 / 100 | 100 / 100 |
| lp85 tile swap D | 2,080 | 100 / 100 | 100 / 100 | 100 / 100 |
| ft09 T1 (new trajectories) | 2,026 | 99.0 / 100 | 99.0–100 / 100 | — |
| ft09 pattern change FU | 2,015 | 0 / 0 | — | — |
| ft09 pattern change FD | 2,016 | 0 / 0 | — | — |
| Valid accepted | Corrupted rejected | ||||
|---|---|---|---|---|---|
| Test set | Concepts | Rules | Concepts | Rules | |
| T1 | 2,017 | 67.0 | 99.95 | 75.3–100 | 99.1–99.3 |
| T2V | 2,074 | 70.3 | 99.47 | 71.8–100 | 99.1–99.2 |
| Instances | Verified A / B | Aux. lemmas A / B | Proof lines A / B | Kernel time (s) A / B | |
|---|---|---|---|---|---|
| original levels (winnable) | 24 | 24 / 24 | 0 / 0 | 4.5 / 4 | 1.00 / 0.83 |
| goal colour removed (unwinnable) | 24 | 24 / 24 | 6 / 3 | 75.5 / 28 | 0.90 / 0.80 |
| level 6 swaps (U and D) | 6 | 6 / 6 | 2 / 1.5 | 36.5 / 24 | 1.69 / 1.22 |
| large layouts (winnable) | 18 | 16 / 18 | 0 / 0 | 5.5 / 4 | 1.95 / 1.00 |
| large layouts, altered (unwinnable) | 18 | 17 / 18 | 12 / 4 | 117 / 49.5 | 2.82 / 2.41 |
| ring spacing (unwinnable) | 12 | 12 / 12 | 12 / 6.5 | 111 / 62.5 | 4.27 / 3.02 |
| Level | Public cap | Sealed cap | (gross) | Optimal route |
|---|---|---|---|---|
| 4 | 35 | 18 | 19 (29) | 27 actions |
| 5 | 65 | 35 | 36 (46) | 42 actions |
| Level | Agent | Run | First claim | Final verdict | Bound | Correct | Lean proof |
|---|---|---|---|---|---|---|---|
| 4 | AWM | 9ec8d4 | 2 | impossible | 20 | no | yes |
| 4 | AWM | 69fe87 | 1 | impossible | 19 | yes | yes |
| 4 | AWM | 2a3cc5 | 2 | impossible | 19 | yes | yes |
| 4 | Claude Opus 5.5 | 2f1a1c | — | undecided | — | no | no |
| 4 | Claude Opus 5.5 | d267df | — | undecided | — | no | no |
| 4 | Claude Opus 5.5 | 1dd6e6 | — | undecided | — | no | no |
| Run | Level | Attempts | Rule revised | Bound after | Lean proof |
|---|---|---|---|---|---|
| AWM 9ec8d4 | 4 | 4 | growing onto fuel collects it | 19 | yes |
| AWM 977714 | 5 | 4 | terrain, not range, stops the shot | 37 | yes |
| GPT-6 Astra 44ec53 , 4d3b31 | 4 | 4 | — | 19 (both) | no |
| Claude Opus 5.5 339b0a , 202da3 | 5 | 4 | — | 42 (budget 40), 68 (budget 64) | no |
| Level | Run / snapshot | Transfer argument | Result |
|---|---|---|---|
| 4 | 9ec8d4 , repaired | Original values; panel-progress lifting | Pass |
| 4 | 69fe87 | Original and domain; panel credit | Pass |
| 4 | 2a3cc5 , V4 | Original arrival-cost closure invariant | Fails |
| 5 | 284967 | Extend potential; bridge macro prices and fuel | Pass |
| 5 | 4f4628 | Extend weighted certificate; translate budget | Pass |
| 5 | 977714 , repaired | Extend certificate using real growth and costs | Pass |
| Arm | L4 found | L4 median | L5 found | L5 median | Found (L4 + L5) | Named | Tokens (median) |
|---|---|---|---|---|---|---|---|
| C0 random | 12/42 | 0/21 | 12/63 | — | — | ||
| C1 per-rule evidence | 16/42 | 1/21 | 17/63 | 35/63 | 2.35M | ||
| C2 proof dependencies | 29/42 | 27 | 3/21 | 32/63 | 50/63 | 3.29M | |
| R faulty rule named | 30/42 | 26 | 5/21 | 35/63 | 61/63 | 1.98M | |
| EX exhaustive | 14/14 | 136,852 | 1/7 | — | 15/21 | — | — |
| Arm | L5 found | Discovery rate |
|---|---|---|
| C1 per-rule evidence | 5/42 | 11.9% |
| C2 proof dependencies | 8/42 | 19.0% |
| Injected error | Python checker | Lean + audit |
|---|---|---|
| Invalid proof certificates | 12/12 | 12/12 |
| Python–Lean model mismatches | 0/3 | 3/3 |
| Reversed bounds | 0/3 | 3/3 |
| Vacuous theorem statements | 0/6 | 6/6 flagged |
| Incorrect model rules | 0/18 | 0/18 |
| Wrong goal or model version | 0/6 | 0/6 |
ARC-AGI
ARC-AGI (Abstraction and Reasoning Corpus for Artificial General Intelligence) benchmarks the ability to infer and apply abstract rules from sparse examples.
See all 25 papers