Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(field_theory/adjoin): add dim_bot, finrank_bot #10964

Closed
wants to merge 2 commits into from

Conversation

Sebastian-Monnet
Copy link
Collaborator

Added two simp lemmas, showing that the dimension and finrank respectively of bottom intermediate fields are 1.

@Sebastian-Monnet Sebastian-Monnet added the awaiting-review The author would like community review of the PR label Dec 22, 2021
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@ocfnash
Copy link
Collaborator

ocfnash commented Dec 22, 2021

Thank you for this PR :-)

However both of these are themselves true by simp, so I'm confused why we need to add them.

Is there some benefit I'm missing?

@ocfnash ocfnash added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Dec 22, 2021
@eric-wieser
Copy link
Member

eric-wieser commented Dec 23, 2021

Yes, these are worth having because they teach simp how to simplify something like module.rank F ⊥ + 1 = x, which the existing lemmas are too specialized to match.

(Note also that the simp linter does not reject them)

@eric-wieser
Copy link
Member

bors merge

Thanks!

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-author A reviewer has asked the author a question or requested changes labels Dec 23, 2021
@eric-wieser eric-wieser changed the title feat(field_theory/adjoin): add(dim_eq_one_bot, finrank_bot) feat(field_theory/adjoin): add(dim_bot, finrank_bot) Dec 23, 2021
@eric-wieser eric-wieser changed the title feat(field_theory/adjoin): add(dim_bot, finrank_bot) feat(field_theory/adjoin): add dim_bot, finrank_bot Dec 23, 2021
bors bot pushed a commit that referenced this pull request Dec 23, 2021
Added two simp lemmas, showing that the dimension and finrank respectively of bottom intermediate fields are 1. 

Co-authored-by: Sebastian-Monnet <54352341+Sebastian-Monnet@users.noreply.github.com>
@bors
Copy link

bors bot commented Dec 23, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(field_theory/adjoin): add dim_bot, finrank_bot [Merged by Bors] - feat(field_theory/adjoin): add dim_bot, finrank_bot Dec 23, 2021
@bors bors bot closed this Dec 23, 2021
@bors bors bot deleted the finrank-eq-one branch December 23, 2021 08:02
@ocfnash
Copy link
Collaborator

ocfnash commented Dec 23, 2021

Yes, these are worth having because they teach simp how to simplify something like module.rank F ⊥ + 1 = x, which the existing lemmas are too specialized to match.

(Note also that the simp linter does not reject them)

Aha, thanks of course!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants