BetaAt.appR doesn't require LC N, weakening BetaAt.lc_r, not consistent with FullBeta
维护者通常 1 天内回复
@Digger-Rockwell 已经在做这个了。
开始于 2026年11月18日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- compilers
调研方向
Read BetaAt.lean around the appR constructor and BetaAt.lc_r at line 195, then compare the local-closure constraints with FullBeta.lean and step_lc_r at line 77. Determine what change would make BetaAt consistent with FullBeta while preserving the intended reduction relation, and check the relevant Lean proofs; done means the local-closure guarantee matches the full-step result.
由索引模型根据 Issue 内容生成。
描述
The appR constructor of BetaAt does not require N to be locally closed (LC N):
| appR : BetaAt i M M' → BetaAt (i + countRedexes N + if IsAbs N then 1 else 0) (app N M) (app N M')
Because appR can take a non-locally-closed N, the consequent lemma BetaAt.lc_r is much weaker than the corresponding result in FullBeta.lean:
- BetaAt.lc_r : BetaAt i M M' → LC M → LC M' (BetaAt.lean:195) — only gives LC M' from LC M, and only for the redex position step.
- FullBeta.step_lc_r : M ⭢βᶠ M' → LC M' (FullBeta.lean:77) — the full-step relation already guarantees local closure of the result.
Since FullBeta properly enforces local closure throughout, BetaAt should be consistent with it.
@m-ow @weiscadence @chenson2018
- 主要语言
- Lean
- 星标
- 847
- 派生
- 234
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 49
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
leanprover/cslib 的其他 Issue
-
`listFullBeta_cons_r` should rename to `listFullBeta_concat_r`可能已有人在做 @lengyijun 于 135 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 72/100
leanprover/cslib#784 ·
维护者通常 1 天内回复
-
logic
难度 1/5 1 小时以内 新手友好度 72/100
leanprover/cslib#74 ·
维护者通常 1 天内回复
-
dependency-incompatibility
难度 3/5 半天 新手友好度 45/100
leanprover/cslib#1271 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
leanprover/cslib#1262 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 28/100
leanprover/cslib#1144 ·
维护者通常 1 天内回复
相似的 Issue
-
area-CodeGen-coreclr untriaged
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/runtime#138181 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
aptos-labs/aptos-core#21083 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
sagemathinc/sagebrush#1864 ·
维护者通常 1 天内回复
-
clang:frontend clang:openmp crash
难度 2/5 1-3 小时 新手友好度 62/100
llvm/llvm-project#245442 · 1 条评论 ·
维护者通常 1 天内回复
-
bug package: lang-core
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复