Edition of Monday 23 November 2026

Lean-zip: A formally verified DEFLATE implementation in Lean 4

Comments on “Lean-zip: A formally verified DEFLATE implementation in Lean 4”

Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked

lean-zip is a pure-Lean DEFLATE encoder and decoder whose round-trip property, decompressing compressed output returns the original for any input and level, is proved and checked by Lean's kernel. The repository says AI coding agents wrote the code and proofs, with merges blocked unless the proof still passed. Its benchmarks on the Silesia corpus show it beating miniz_oxide and zlib at matched ratios, but trailing libdeflate and zlib-ng. These figures are the author's own, and most were not independently checked. Four small C primitives remain trusted.

Read the original at github.com. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

Why it ranked

No. 8 of 57 with a score of 0.65. The panel rated it highest on new information (0.92) and substantiated (0.89), lowest on audience breadth (0.54). Placed No. 8, No. 9 by score alone: close to “Right Code, Wrong Comment: The Pointer Chase Inside Zlib”, No. 30 on Friday 20 November 2026 (−0.009). The placement terms move stories; they are not part of the score.

AI judgeJudge 2claude-haiku-5-5
Formally verified DEFLATE codec in Lean with kernel-checked round-trip proof and benchmarks; technically deep and novel, though niche in audience and somewhat promotional in framing.
AI judgeJudge 3gpt-5.6-luna
A deeply technical, kernel-checked DEFLATE implementation with extensive proofs, benchmarks, reproducibility details, and practical usage. It offers genuinely new evidence about verified optimization and AI-assisted software development, with only modestly promotional framing.

Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.

Score

0.65total under rubric v2.3

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • Significance0.64
  • Reader interest0.83
  • Audience breadth0.54
  • Practical relevance0.60
  • Substantiated0.89
  • Technical depth0.88
  • New information0.92
  • Counts against: Promotional0.10
  • Counts against: Overclaim0.35

Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.650.450.820.640.37+0.24+0.153
Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on?0.740.800.940.830.20+0.26+0.215
Audience breadthHow many people who build technology does it concern?0.570.500.550.540.07+0.13+0.070
Practical relevanceHow useful is it to someone who builds software or tech products?0.690.400.730.600.33+0.22+0.133
SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations.0.960.800.900.890.16+0.05+0.044
Technical depthHow technically substantive is it?0.890.800.960.880.16+0.05+0.044
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.880.900.970.920.09+0.05+0.046
PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional.0.080.150.080.100.07−0.19−0.020
OverclaimDo the headline or conclusions claim more than the body supports?0.570.300.180.350.39−0.11−0.038
Sum of contributions+0.648
Claim-check penalty0.000
Total, as published0.648

Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.

The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.

Ranked #8 on Rubric, 23 Nov 2026
<a href="https://rubric.hrih.si/editions/2026-11-23/8/"><img src="https://rubric.hrih.si/badge/2026-11-23/8.svg" alt="Ranked #8 on Rubric, 23 Nov 2026" width="238" height="28"></a>

Claim check

Claim check: 1 matches source · 7 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.

  1. Matches sourceBenchmark result

    lean-zip compresses the 212 MB Silesia tar smaller and faster than miniz_oxide, taking 4.57s versus 5.77s at level 6.

    The cited source says the same thing.

    The article says

    “lean-zip compresses the 212 MB Silesia tar smaller and faster than miniz_oxide — 4.57s vs 5.77s at level 6”

    The source says

    “$ time deflate-lean silesia.tar # lean-zip 68054183 real 0m4.57s”

    Source cited by the article: kim-em.github.io/blog/2026-7-24-why-lean-is-faster-than-rust

  2. Couldn’t checkNumber

    The lean-zip round-trip proof rests on more than 1,100 theorems across about 32k lines of proof in Zip/Spec/, with no sorrys.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “more than 1,100 theorems across ~32k lines of proof in Zip/Spec/. There are no sorrys”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/kim-em/lean-zip/blob/master/Zip/Spec

  3. Couldn’t checkCausal conclusion

    Both the lean-zip implementation and its verification were written entirely by loosely supervised AI coding agents.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “both the implementation, and the verification, are written entirely by loosely supervised AIs”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/kim-em/lean-zip/tree/pre-split

  4. Couldn’t checkBenchmark result

    At miniz_oxide's level 1, lean-zip reaches 273.7 vs 235.2 MB/s (+16.4%) with 8.8% smaller output; at L6 it is about 30% faster at equal ratio and at L9 about 2x faster.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “at L1 it is directly ahead, 273.7 vs 235.2 MB/s (+16.4%), with 8.8% smaller output”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/kim-em/lean-zip-benchmark

  5. Couldn’t checkBenchmark result

    At every fflate level there is a single lean-zip level that is both denser and 1.5–2× faster, and lean-zip decompresses more than 2× faster than fflate.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “at every fflate level there is a single lean-zip level that is both denser and 1.5–2× faster”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/kim-em/lean-zip-benchmark

  6. Couldn’t checkBenchmark result

    lean-zip gives equal-or-better ratio at higher throughput than the zlib C reference implementation at every level.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “dominates the zlib C reference implementation: equal-or-better ratio at higher throughput at every level”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/kim-em/lean-zip-benchmark

  7. Couldn’t checkBenchmark result

    lean-zip trails libdeflate by roughly 2× at mid ratios, growing to about 10× at the dense end.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “trails the hand-tuned C + SIMD ceiling (libdeflate) by roughly 2× at mid ratios, growing to ~10× at the dense end”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/kim-em/lean-zip-benchmark

  8. Couldn’t checkGeneralization

    The lean-zip codec's speed gains came from a long series of small verified steps made possible by the proof, supporting the thesis that verifiable languages scale better.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “formally-verifiable languages may start from a worse baseline but scale better, because verified code is the substrate on which automated optimization can safely compound”

    The source says

    No passage could be compared.

    Source cited by the article: gwern.net/lean-scaling

Also covered by

No other coverage was clustered with this story.

Elsewhere

Elsewhere: HN 2 pts, not on front page

Discussion on Hacker News

Recorded for context only, checked 23 Nov 2026, 05:47 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “Lean-zip: A formally verified DEFLATE implementation in Lean 4”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.