Skip to content

[Merged by Bors] - chore: space after #8178

Closed
mo271 wants to merge 9 commits intomasterfrom
mo271/left_arrow_space
Closed

[Merged by Bors] - chore: space after #8178
mo271 wants to merge 9 commits intomasterfrom
mo271/left_arrow_space

Conversation

@mo271
Copy link
Copy Markdown
Collaborator

@mo271 mo271 commented Nov 4, 2023


Open in Gitpod

mo271 added 4 commits November 3, 2023 22:48
Done by this commant on the `Mathlib` directory:
```
find . -type f -name '*.lean' -exec sed -i -E 's/(\[|, )←([A-Za-z])/\1← \2/g' {} +
```
find . -type f -name '*.lean' -exec sed -i -E 's/^( +)←([A-Za-z])/\1← \2/g' {} +
@mo271 mo271 added the WIP Work in progress label Nov 4, 2023
@mo271 mo271 force-pushed the mo271/left_arrow_space branch from b5e744b to 3b1a427 Compare November 4, 2023 12:11
@mo271 mo271 added awaiting-review and removed WIP Work in progress labels Nov 4, 2023
@ghost ghost added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Nov 4, 2023
@mo271
Copy link
Copy Markdown
Collaborator Author

mo271 commented Nov 4, 2023

During the merge I removed one of two section CommRing, because it looked like it was added erroneously.

mo271 referenced this pull request Nov 5, 2023
…` and `Int` too (#7866)

Instead of providing `instance : Pow ℤˣ (ZMod 2)`, this now provides `instance [Module R (Additive ℤˣ)] : Pow ℤˣ R`.
It turns out that this instance already exists for `ℕ` and `ℤ`, so all we need to do is create `instance : Module (ZMod 2) (Additive ℤˣ)` and we obtain new definitions that generalize over all three types.

As a result of the generalization, `z₂pow` has been renamed in lemmas to `uzpow` (`u`nits of `ℤ`).

The motivation here is that I need $(-1) ^ i$ to make sense (and be lawful) for `ZMod 2` (on clifford algebras) and `ℕ` (on exterior algebras).

[Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/116395-maths/topic/Powers.20of.20.60.E2.84.A4.CB.A3.60.20by.20.60ZMod.202.60/near/397569279)
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 8, 2023
@mo271 mo271 force-pushed the mo271/left_arrow_space branch from 964d90c to 50cc446 Compare November 17, 2023 12:06
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 17, 2023
@mo271
Copy link
Copy Markdown
Collaborator Author

mo271 commented Nov 17, 2023

@YaelDillies
Copy link
Copy Markdown
Contributor

I don't think we should merge this given that there is no guideline and the idiom is mostly a result of mathport (or at least indistinguishable from a mathportism).

@ghost ghost added merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Nov 19, 2023
@mo271 mo271 force-pushed the mo271/left_arrow_space branch from 12dc965 to f8e0686 Compare December 2, 2023 13:07
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Dec 2, 2023
@YaelDillies
Copy link
Copy Markdown
Contributor

Can we stop wasting time on this and worry about more important things?

@mo271
Copy link
Copy Markdown
Collaborator Author

mo271 commented Dec 2, 2023

Can we stop wasting time on this and worry about more important things?

The hope is to save everybody's time by agreeing on one style and use that.

@sgouezel
Copy link
Copy Markdown
Contributor

sgouezel commented Dec 2, 2023

bors r+
Thanks!

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Dec 2, 2023
mathlib-bors bot pushed a commit that referenced this pull request Dec 2, 2023
Co-authored-by: Moritz Firsching <firsching@google.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Dec 2, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: space after [Merged by Bors] - chore: space after Dec 2, 2023
@mathlib-bors mathlib-bors bot closed this Dec 2, 2023
@mathlib-bors mathlib-bors bot deleted the mo271/left_arrow_space branch December 2, 2023 16:31
awueth pushed a commit that referenced this pull request Dec 19, 2023
Co-authored-by: Moritz Firsching <firsching@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants