Formalizing the US tax code | Lexifina
Yesterday, we verified that known tax loopholes could be identified using a Lean search. Today, we set out to formalize the entire Internal Revenue Code to hunt for unknown loopholes (bugs). Lean is a programming language whose type checker can also check mathematical proofs: if Lean accepts a proof, every step follows from the definitions, with nothing taken on trust. An earlier post discussed how far that kind of formalisation can reach in law,[1] and yesterday we used it on the retirement-account rules, where a
✓ Verified working
Checked Nov 20, 2026 · 913ms
📝 Your Private Notes & Highlights 🔒 Only visible to you
Log in or create a free account to keep private highlights and personal notes on your saved pins.
Creator Trophy & Press Kit
Featured on Storesso
Are you the creator of lexifina.com? Share your verified feature badge on your website, or export a custom 4:5 editorial social card for Instagram and X.
4:5 Social Studio
Generate a 1080×1350 vertical high-res feature card tailored for social sharing.
Instagram & X Feature Card
Export a polished, high-resolution 4:5 editorial graphic displaying your verified inclusion in the Storesso Discovery Index. Perfect for launch threads, founder updates, and newsletters.
Rendered at 1080×1350px (Retina ready) · No attribution watermark required.