Skip to content

feat: remove open_fresh_preserve_not_fvar#573

Merged
chenson2018 merged 1 commit into
leanprover:mainfrom
lengyijun:openRec_fv_cases
May 20, 2026
Merged

feat: remove open_fresh_preserve_not_fvar#573
chenson2018 merged 1 commit into
leanprover:mainfrom
lengyijun:openRec_fv_cases

Conversation

@lengyijun
Copy link
Copy Markdown
Contributor

@lengyijun lengyijun commented May 19, 2026

This PR remove open_fresh_preserve_not_fvar: because open_preserve_not_fvar is the stronger version of open_fresh_preserve_not_fvar

`open_preserve_not_fvar` is the stronger version of `open_fresh_preserve_not_fvar`
@lengyijun lengyijun requested a review from chenson2018 as a code owner May 19, 2026 10:58
Copy link
Copy Markdown
Collaborator

@chenson2018 chenson2018 left a comment

Choose a reason for hiding this comment

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

This looks good, though I think the statement of open_preserve_not_fvar will change as part of #579.

@chenson2018 chenson2018 added this pull request to the merge queue May 20, 2026
Merged via the queue into leanprover:main with commit 5220c7b May 20, 2026
3 checks passed
@lengyijun
Copy link
Copy Markdown
Contributor Author

This looks good, though I think the statement of open_preserve_not_fvar will change as part of #579.

theorem openRec_fv_cases {M N: Term String} :
(i: Nat) ->
(openRec i N M).fv = M.fv \/
(openRec i N M).fv = M.fv ∪ N.fv := by
induction M with grind

But simply replace open_preserve_not_fvar to openRec_fv_cases, some grind will not work

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