Tech article

Towards formal verification: mbrotli and mzstd

Hacker News | Nov 6, 2026 | roliver

Automated excerpt

in Lean 4 that parts of their code follow RFC 7932 and RFC 8878. A hand-written Rfc.lean transcribes the RFC: header fields and formulas, code tables, default distributions, repeat offset rules. The parser follows the RFC on every input; the writer produces a header the RFC reads back as the fields the encoder asked for. the encoder writes the shortest form the RFC allows. 16 and 17, and the encoder picks the only code whose range holds each length.

Selected automatically from source text; not independently written or fact-checked. Read the original for full context.

Read the original article

Read next

AI briefing: recent picks

More stories to explore