BetaAt.appR doesn't require LC N, weakening BetaAt.lc_r, not consistent with FullBeta

未关闭
#1,243 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Digger-Rockwell 已经在做这个了。

开始于 2026年11月18日。

  • #3 来自 @Digger-Rockwell —— 未关闭
  • #1247 来自 @Digger-Rockwell —— 未关闭

评估

难度
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

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

leanprover/cslib 的其他 Issue

查看 leanprover/cslib 的全部 Issue

相似的 Issue

更多 Compilers Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。