feat: FullEta.step_lc_l#589
Conversation
This PR introduces FullEta.step_lc_l and lcAt_openRec_above_lcAt
|
Compared to |
|
Fail to find theorem |
|
I took the liberty of moving around imports so that any generalizations of |
|
The PR description is very large proportional to the change, maybe just the first line is needed? If AI was used, it is our policy is that this is disclosed when opening the PR. |
….lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
Not mentioned in CONTRIBUTING.md |
This has been a policy for some time in alignment with Mathlib, but you are correct that it was not documented. I have opened a PR to correct this oversight. Thank you for complying in the meantime! I made an additional small edit to include the change I made to the import structure. |
This PR adds a missing lemma to the
FullEtadevelopment in the locally nameless untyped λ‑calculus:a proof that the source term of a single‑step η‑reduction is locally closed. It also moves the definition of
LcAtearlier to avoid some duplication of proofs aboutLC.New Lemmas
FullEta.step_lc_l: Proves that the left side of an η-reductionstep (M ⭢ηᶠ M')is locally closed.Uses induction on the reduction step and the grind tactic.
lcAt_openRec_above_lcAt: Shows that opening a term at a higher index than its locally closed level leaves it unchanged.Refactored Lemmas
open_lc : Simplified proof using
lcAt_openRec_above_lcAtandlcAt_iff_LC.PR description is generated by AI