NewsCrawler.org

Lean proof of the entire US tax code to find loopholes

The author formalized the entire Internal Revenue Code, Title 26 of the US Code, in Lean[1], a programming language whose checker can also verify mathematical proofs. The version used is current to 3 November 2026. A parser checked every cross-reference, and the test suite reported 257 findings. AI agents classified 138 of them as real drafting faults, and each fault has a Lean certificate that Lean re-checks in about two and a half minutes.

AI agents wrote the 2025 rules for income, deductions, the alternative minimum tax (AMT)[2] and credits into Lean, as amended by the One Big Beautiful Bill Act, and tested them against IRS figures. The model found that the official text already includes 2026 amendments without their effective-date notes, which gives the wrong 2025 tax. The earned income tax credit (EITC)[3] has an investment-income limit of $11,950 that works as a cliff[4]: one dollar can cost $8,046 at that limit.

Comparing the model with three independent tools on 5,000 households, the author reports that Lean and PolicyEngine-US disagree on 7 households, by at most $11. UsTaxes had 14 bugs that affect about one ordinary household in six. A search over ordinary choices and a multi-year family model found large loopholes that are already in the planning literature, and the author also reports three results that did not appear in practitioner sources, IRS guidance or tax-software forums.

Read the original lexifina.comDiscussion on GeekNews

Sources

Published: First seen: Читать по-русски

Open as a page