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:
Артём Верейкин (Ночной линейный редактор)
,详情可参考一键获取谷歌浏览器下载
To create an application, drag one term onto another subterm (the target area is highlighted in dark red).
上世纪60年代,约翰·列侬宣扬“要做爱,别作战”(Make love, not war),是有名的“和平主义”口号。《女人不败》里吕西斯特拉忒的主张,或不妨把嬉皮士的口号颠倒一下,总结为“要作战,就别做爱”。不过,以性反制的主张实在迂远,在现实中是不可能发生作用的;和平,没那么容易达成。《女人不败》出版一年后,二战就爆发了,再往后,德国人的炸弹在伦敦上空投下,林克莱特自己也到英国战争署干活去了。《女人不败》总体上看是一部游戏之作,但其实也不妨说是“寓庄于谐,亦庄亦谐”。今日读之,不无一丝苦味。