NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedDevelopment & Open Source

global-law authors report 138 errors in the US tax code

A Lexifina post describes using Lean to check tax legislation and search for unexpected consequences of its rules.

Published: 14 Nov 2026, 19:00 UTC
An open law book transforms into a network of logical connections, with broken links and unmatched brackets highlighted.
Editorial illustration: formally checking references and logic in tax legislation.

The authors of the open global-law project report finding 138 drafting faults in Title 26 of the US Code, using the official release current to 3 November 2026. These include 67 references to provisions that were repealed, moved or rewritten, and 30 unclosed parentheses. Each finding has a certificate in Lean, a programming language that also checks mathematical proofs. Rechecking all certificates takes about two and a half minutes.

The team separately used AI to encode the 2025 federal household income tax rules in Lean, including changes from the One Big Beautiful Bill Act. It tested the model against IRS examples and three independent tax programs across 5,000 households. The model matched PolicyEngine-US version 2.116.9 on every figure for 4,993 households. The remaining seven differed by at most $11, all involving the earned income tax credit. The comparison also exposed two mistakes in the team's own model.

Searches reproduced established tax-planning strategies and produced three findings the authors could not locate in the sources they examined. One concerns an alleged discrepancy between IRS Schedule 8812 and the statute: in their example, the form yields a $700 refund where the statutory calculation gives $200.

The authors acknowledge that the model covers only part of individual income tax law, and agreement between calculators does not establish correctness. AI agents performed the drafting reviews and checks; no lawyer or CPA has verified them. The code, certificates and searches are available in the CC0-licensed global-law repository.

Original source: lexifina.com ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Hacker News