Formalizing the entire US tax code in Lean to let AI hunt for loopholes
SnooPeripherals5313 · reddit · 2026-11-11
The Lexifina team describes formalizing the entire US Internal Revenue Code in Lean and using AI plus the proof checker to automatically search for tax loopholes. Lean's type checker doubles as a mathematical proof checker: once a proof is accepted, every step follows from the definitions with nothing taken on trust.
- Prior work: a blind search over retirement-account rules rediscovered the famous backdoor Roth loophole
- This effort proceeds in three passes: check the statutory text, model what it computes, and search what it permits
- Part of global-law, a CC0 repository of versioned legislation and case law
- Core argument: pointing AI and a proof checker at a versioned record of the law surfaces contradictions and mechanical mistakes humans miss
More from Research
- Training an MoE across clusters on two continents over a 25 Gbps link — _arohan_ · 2026-11-29
- Researcher says he couldn't reproduce Cartesia's tokenizer efficiency wins after 1.5 weeks — RylanSchaeffer · 2026-11-29
- Agentic GraphRAG: an open source framework unifying enterprise knowledge and agent memory in one knowledge graph — vm324234 · 2026-11-29
- Why BioAI is hard: merging assays and pipelines injects noise that breaks scaling — madeofAjala · 2026-11-29
- Harvard-MIT train 2,328 models, find measurement noise is biology's third scaling limit — madeofAjala · 2026-11-29
- A solo developer trained a 330M image generation and editing model that beats all sub-1B models on Gen Eval — Altruistic-Tea-5612 · 2026-11-29