Lean 4.36.0 ships 222 changes with experimental exception contracts, Mathlib builds 12% faster
AlexKontorovich · x · 2026-11-18
The Lean language released version 4.36.0 with 222 changes: 66 features, 84 fixes, and 30 performance improvements.
- Performance: the type class cache is kept between commands and several quadratic slowdowns removed; Mathlib now builds roughly 12% faster.
- grind: bit-vector and fixed-width integer homomorphisms now cover masks, concatenation, rotations, signed comparisons, shifts, and exponentiation.
- bvdecide: supports uninterpreted functions via +uf, adding congruence facts as needed.
- Experimental throws clauses: def contracts can now state what holds when a function throws, including binding the state at the throw in state monads.
- The library gains an HTML type with its own syntax, < on String is defined on UTF-8 bytes, and Float min/max follow IEEE 754.
More from Research
- Open-source AV control guide adds kinematic bicycle model chapter with step-size error analysis — 4310sy · 2026-12-06
- How information flows through transformers: the residual stream and the K/V stream — repligate · 2026-12-06
- AI researcher: progress comes from finding which dimensions matter, not faster search — RileyRalmuto · 2026-12-06
- What building a GPT-style chatbot actually involves: five stages and one crucial distinction — jaspindersingh83 · 2026-12-06
- ANNA + Selective G-Bispectra lifts 4B LLM OOD length generalization from 0% to 35-56% — mayfer · 2026-12-06
- NASA, IBM and NVIDIA to demo Sun foundation model at NeurIPS with +40% flare forecasting — CatAstro_Piyush · 2026-12-06