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.

Original post →

More from Research

Research channel →