fix(LocallyNameless): change multiApp to right-recursive - #708
Conversation
|
Before I review, please fix the indentation. |
7165429 to
217635f
Compare
…ail lemma; update proofs - Redefine `multiApp` as right-recursive (`multiApp (app f a) as`) instead of left. - Switch several inductions to `List.reverseRecOn` for better compatibility with the new recursion. - Add `listFullBeta_cons_r`/`listFullBeta_cons_l`/`multiApp_tail` helpers. - Update `invert_abs_multiApp_st`, `sn_abs_app_multiApp`, `multiApp_lc`, reduction congruences, etc. - Minor tactic adjustment in `Stlc/StrongNorm`. Fixes leanprover#706
|
@lengyijun Can you please let me know when you are ready for this to be reviewed? In general it is a bit unpleasant to open a PR and immediate force push nearly a dozen times (I get an email every time...). I would appreciate your being a bit more intentional in this regard. |
|
Ready to review now |
….lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
…p.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
…p.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
…p.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
…p.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
…p.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
…orm.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
…orm.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
|
@lengyijun Can I ask if it is intentional that you have turned off the feature allowing maintainers to edit pull requests? This is completely your prerogative, but it does make it take longer to fix little typos like the above. I'd normally have just pushed it myself and merged at this point. |
…p.lean Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
|
I am not familiar with this configuration. |
|
Hmm, maybe so. Usually there is a checkbox for "Allow edits by maintainers" that is selected by default. Maybe look for this next time you open a PR. |
chenson2018
left a comment
There was a problem hiding this comment.
Thanks for finding and fixing this so quickly!
) - Redefine `multiApp` as right-recursive (`multiApp (app f a) as`) instead of left. - Switch several inductions to `List.reverseRecOn` for compatibility with the new recursion. - Add `listFullBeta_cons_r`/`listFullBeta_cons_l`/`multiApp_tail` helpers. - Update related proofs Fixes leanprover#706 --------- Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
Verified against upstream: all three user PRs (leanprover#648/leanprover#662/leanprover#649) are already rebased onto latest upstream/main (056cf93, leanprover#708), 0 behind, and CI-green. leanprover#485's HML fix is redundant with fmontesi's live leanprover#607 commit 77ce0c7. Session: sess_1783880050_660057
- Redefine `multiApp` as right-recursive (`multiApp (app f a) as`) instead of left. - Switch several inductions to `List.reverseRecOn` for compatibility with the new recursion. - Add `listFullBeta_cons_r`/`listFullBeta_cons_l`/`multiApp_tail` helpers. - Update related proofs Fixes #706 --------- Co-authored-by: Chris Henson <46805207+chenson2018@users.noreply.github.com>
multiAppas right-recursive (multiApp (app f a) as) instead of left.List.reverseRecOnfor compatibility with the new recursion.listFullBeta_cons_r/listFullBeta_cons_l/multiApp_tailhelpers.Fixes #706