At the Lean FRO, Kim Morrison, a Senior Research Software Engineer, recently ran an experiment that went well beyond our expectations. An AI agent converted zlib, a widely used C compression library embedded in countless systems, to Lean, with minimal human guidance. No special tooling was built. It was Claude, a general-purpose AI, with no special training for theorem proving, out of the box. The workflow had four steps. First, the AI produced a clean, readable Lean implementation of the zlib compression format, including the DEFLATE algorithm at its core. Second, the Lean version passed the library’s existing test suite, confirming behavioral equivalence. Third, key properties were stated and proved, not as tests, but as mathematical theorems. The capstone theorem:
points. Using the polynomial interpolation theorem, this is the unique
。业内人士推荐Line官方版本下载作为进阶阅读
В США рассказали о прорыве Ираном американских систем ПВО в ОАЭМакгрегор: Иран дронами прорвал дорогие системы ПВО и ПРО США в ОАЭ
Материалы по теме: