Skip to content

feat(LocallyNameless/Untyped): subst_intro weaker precondition#666

Merged
chenson2018 merged 1 commit into
leanprover:mainfrom
awesome-lambda-calculus:subst_intro_openrec
Jun 20, 2026
Merged

feat(LocallyNameless/Untyped): subst_intro weaker precondition#666
chenson2018 merged 1 commit into
leanprover:mainfrom
awesome-lambda-calculus:subst_intro_openrec

Conversation

@lengyijun

@lengyijun lengyijun commented Jun 20, 2026

Copy link
Copy Markdown
Contributor
  • New theorem subst_intro_openRec
  • subst_intro no longer needs LC t
  • subst_intro no longer needs subst_fresh
  • subst_intro new proof based on subst_intro_openRec
  • Updated preservation_open in STLC to take advantage of the weaker precondition

@lengyijun lengyijun force-pushed the subst_intro_openrec branch from eea8ce5 to 549f637 Compare June 20, 2026 11:10
@lengyijun lengyijun changed the title feat(LocallyNameless/subst_intro) : weaker condition, simpler proof feat(LocallyNameless/Untyped) : weaker condition, simpler proof Jun 20, 2026
@lengyijun lengyijun changed the title feat(LocallyNameless/Untyped) : weaker condition, simpler proof feat(LocallyNameless/Untyped): subst_intro weaker condition Jun 20, 2026
@lengyijun lengyijun changed the title feat(LocallyNameless/Untyped): subst_intro weaker condition feat(LocallyNameless/Untyped): subst_intro weaker precondition Jun 20, 2026
@lengyijun lengyijun force-pushed the subst_intro_openrec branch from 549f637 to 2ad559c Compare June 20, 2026 11:20
Comment thread Cslib/Languages/LambdaCalculus/LocallyNameless/Untyped/Properties.lean Outdated
Comment thread Cslib/Languages/LambdaCalculus/LocallyNameless/Untyped/Properties.lean Outdated
- New theorem `subst_intro_openrec`
- `subst_intro` no longer needs `LC t`
- `subst_intro` no longer needs `subst_fresh`
- `subst_intro` new proof based on `subst_intro_openrec`
- Updated `preservation_open` in STLC to take advantage of the weaker precondition

Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
@lengyijun lengyijun force-pushed the subst_intro_openrec branch from 86adc36 to 45a7bfc Compare June 20, 2026 13:30
@lengyijun lengyijun requested a review from chenson2018 June 20, 2026 13:37

@chenson2018 chenson2018 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chenson2018 chenson2018 added this pull request to the merge queue Jun 20, 2026
Merged via the queue into leanprover:main with commit dc23a39 Jun 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants