Skip to content

refactor: Rename dropPairEmb to Fin.succSuccAbove#1099

Merged
jstoobysmith merged 10 commits into
leanprover-community:masterfrom
jstoobysmith:succSuccAbove
May 23, 2026
Merged

refactor: Rename dropPairEmb to Fin.succSuccAbove#1099
jstoobysmith merged 10 commits into
leanprover-community:masterfrom
jstoobysmith:succSuccAbove

Conversation

@jstoobysmith
Copy link
Copy Markdown
Member

Rename dropPairEmb to the more descriptive name Fin.succSuccAbove, and seperate results surrounding this into there own file.

@jstoobysmith
Copy link
Copy Markdown
Member Author

RFC

@github-actions github-actions Bot added the RFC Request for comment label May 15, 2026
Copy link
Copy Markdown
Collaborator

@morrison-daniel morrison-daniel left a comment

Choose a reason for hiding this comment

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

I would also add a TODO to come back to the definition of sucSuccAbove because I think we can simplify it greatly by rewriting in terms of more basic function on Fin which would clean up a lot.

Comment thread Physlib/Relativity/Tensors/Basic.lean Outdated
Comment thread Physlib/Relativity/Tensors/Contraction/SuccSuccAbove.lean Outdated
@morrison-daniel morrison-daniel self-assigned this May 19, 2026
@jstoobysmith
Copy link
Copy Markdown
Member Author

@morrison-daniel Fixed these comments, I added the TODO item. I've actually tried to make the replacement of succSuccAbove to predefined functions in Mathlib in the past - I can't determine a nice way of doing it, with the same computability properties.

@morrison-daniel
Copy link
Copy Markdown
Collaborator

Looks like something broke when golfing

@morrison-daniel morrison-daniel added the awaiting-author A reviewer has asked the author a question or requested changes label May 22, 2026
@jstoobysmith
Copy link
Copy Markdown
Member Author

@morrison-daniel Should have fixed the build now. Sorry about this.

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes label May 22, 2026
@morrison-daniel morrison-daniel added the ready-to-merge This PR is approved and will be merged shortly label May 22, 2026
@jstoobysmith jstoobysmith merged commit 6bd0b4b into leanprover-community:master May 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR is approved and will be merged shortly RFC Request for comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants