Skip to content

[Merged by Bors] - chore(Algebra/Group/TypeTags): lemmas about pow and smul#7862

Closed
eric-wieser wants to merge 3 commits intomasterfrom
eric-wieser/typetag-lemmas
Closed

[Merged by Bors] - chore(Algebra/Group/TypeTags): lemmas about pow and smul#7862
eric-wieser wants to merge 3 commits intomasterfrom
eric-wieser/typetag-lemmas

Conversation

@eric-wieser
Copy link
Copy Markdown
Member

@eric-wieser eric-wieser commented Oct 23, 2023

Half of these lemmas already existed, but were a long way from the definition that define the operators.
For the ones that did exist, the #aligns have been kept.

The new lemmas are all @[simp] since that matches the corresponding add/mul lemmas.
This makes some lemmas about Int and Nat not simp-normal any more (they disagree on commutativity), but that doesn't seem to matter.


Open in Gitpod

Marking this as "easy" since every lemma is rfl. Nevemind, there are simpNF considerations.

@eric-wieser eric-wieser added awaiting-review easy < 20s of review time. See the lifecycle page for guidelines. labels Oct 23, 2023
@eric-wieser eric-wieser added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Oct 23, 2023
@eric-wieser eric-wieser removed the easy < 20s of review time. See the lifecycle page for guidelines. label Oct 23, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Oct 23, 2023
@eric-wieser eric-wieser added the t-algebra Algebra (groups, rings, fields, etc) label Oct 23, 2023
@mattrobball
Copy link
Copy Markdown
Contributor

bors d+

@bors
Copy link
Copy Markdown

bors bot commented Oct 23, 2023

✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Oct 23, 2023
@eric-wieser
Copy link
Copy Markdown
Member Author

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Oct 23, 2023
bors bot pushed a commit that referenced this pull request Oct 23, 2023
Half of these lemmas already existed, but were a long way from the definition that define the operators.
For the ones that did exist, the `#align`s have been kept.

The new lemmas are all `@[simp]` since that matches the corresponding `add`/`mul` lemmas.
This makes some lemmas about `Int` and `Nat` not simp-normal any more (they disagree on commutativity), but that doesn't seem to matter.
@bors
Copy link
Copy Markdown

bors bot commented Oct 23, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title chore(Algebra/Group/TypeTags): lemmas about pow and smul [Merged by Bors] - chore(Algebra/Group/TypeTags): lemmas about pow and smul Oct 23, 2023
@bors bors bot closed this Oct 23, 2023
@bors bors bot deleted the eric-wieser/typetag-lemmas branch October 23, 2023 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants