NewsCrawler.org

Lean check finds eight places where IRS forms differ from the statute

Lexifina, which earlier used Lean to search for US tax loopholes, checked the IRS's published worksheets against its Lean formalisation of the tax law. The authors wrote each form line in Lean from its own text and proved it against the statute for every possible input. They found eight places where the forms differ from the statute, and listed who is affected and the most each could cost or give.

One example is the home-sale exclusion for couples: the Pub. 523 worksheet does not add one spouse's partial amount once the other spouse has the full $250,000. The authors say this could leave up to about $249,700 more gain excluded, and the most it could cost in tax is $59,400. Table 1 in Pub. 936 applies one ratio to all mortgage interest, so a $1M 3% old loan plus a $1M 7% new loan gives a $50,000 deduction under the table and $30,000 under the statute. The 2026 draft of Form 6251 never mentions § 68, which the authors say overstates the alternative minimum tax (AMT)[1] by $1,514 per $100,000 of itemized deductions once the AMT exemption has phased out[2].

The authors also tested open-source US tax calculators, where they found 14 bugs in UsTaxes. OpenTaxSolver still caps the state and local tax deduction at $10,000, while the 2025 law raised it to $40,000. The authors also ran their Lean model on the TaxCalcBench benchmark and answer their own question, "Is tax solved?", with "No."

Read the original lexifina.comDiscussion

Sources

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

Open as a page