LEAN-PKG:精益4验证包的生命周期注册表和信任门(比较器/纳米达接受条)
概览
证明它。然后证明你证明了它。Lean 4 形式化包的注册表和信任门:在公开之前,先知道存在哪些包,谁持有,以及什么证据将其绑定到已验证的提交。 绿色建筑是理赔。收据是证据。 一个构建零的精益项目尚未被验证定理。该陈述可能偏离了论文主张,校验运行于与证明的同一个内核中,而“CI是绿色的”状态词则无人能重新推导。Lean-pkg在包公开前需要两个收据:一个绑定于一个提交的构建与公理接收,另一个是将受信任语句与不可信证明对照并独立内核重放的收据。在推广时,它从字节中重新推导两者。 研究数学很少是线性的。符号计算可能提示一个公式;精益可能揭示缺失的假设;手稿发生变化;形式化随之改变。
概述(AI 翻译)
精简-PKG
Lean检查校样。你检查账单。Lean-PKG检查收据。 Lean 4 形式化包的注册表和信任门:在任何内容公开之前,先知道哪些包存在、谁持有每个包以及哪些证据将其绑定为已验证的提交。
新来的? 快速入门从pip install变成
在你自己的电脑上验证页面,没有实验室账户,用五个动词表达:
lean-pkg new my-proof --kind library、lean-pkg verify my-proof(包括收据和登机口),
status、page --write、publish。
π-λ教程对实数做了同样的事
定理,丁金的π-λ定理,适用于一位几乎未使用精益的数学家。
**无需安装:**徽章会在浏览器中打开π-λ的教程,并 精简、精简pkg和Mathlib预建文件,最终完成验证页面 (试试在浏览器里: 准备时间、你自己GitHub账户的费用,以及真正需要的 机器)。
一个工作流程,两个产品:一份经过验证的论文(Track P)或一份可重复使用的精益 库(轨道L)。每一步都包含在 示例工作流程;轨道 两条轨道。
为什么是瘦-pkg
*绿色构建是一种主张。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
lean-pkg
Lean checks the proofs. You check the statements. lean-pkg checks the receipts. A registry and trust gate for Lean 4 formalization packages: know which packages exist, who holds each one, and what evidence binds it to a verified commit, before anything becomes public.
New here? The Quickstart goes from pip install to a
verified page on your own machine, with no shared registry or cluster account, in five verbs:
lean-pkg new my-proof --kind library, lean-pkg verify my-proof (both receipts and the gate),
status, page --write, publish.
The π-λ tutorial does the same with a real
theorem, Dynkin’s π-λ theorem, for a mathematician who has barely used Lean.
Nothing to install: the badge opens the π-λ tutorial in your browser, with
Lean, lean-pkg and Mathlib’s prebuilt files ready, through to a verified page
(Try it in your browser:
the time to ready, the cost on your own GitHub account, and what needs a real
machine).
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add lean-pkg/lean-pkg