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(algebra/ring): the codomain of a ring hom is trivial iff ... #3676

Closed
wants to merge 6 commits into from

Conversation

Vierkantor
Copy link
Collaborator

In the discussion of #3488, Johan (currently on vacation, so I'm not pinging him) noted that we were missing the lemma "if f is a ring homomorphism, ∀ x, f x = 0 implies that the codomain is trivial". This PR adds a couple of ways to derive from homomorphisms that rings are trivial.

I used 0 = 1 to express that the ring is trivial because that seems to be the one that is used in practice.


@Vierkantor Vierkantor added the awaiting-review The author would like community review of the PR label Aug 3, 2020
@ChrisHughes24
Copy link
Member

bors merge

@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-review The author would like community review of the PR labels Aug 3, 2020
λ h x, set.mem_singleton_iff.mp (h ▸ set.mem_range_self x)⟩

/-- `f : R →+* S` doesn't map `1` to `0` if `S` is nontrivial -/
lemma map_one_ne_zero_of_nontrivial [nontrivial β] : f 1 ≠ 0 :=
Copy link
Member

Choose a reason for hiding this comment

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

I don't think that we should mention of_nontrivial in lemma names. E.g., we avoid it in zero_ne_one. Why should we mention it in ring_hom.map_one_ne_zero? Same for map_monic_ne_zero.

Otherwise LGTM.

@Vierkantor
Copy link
Collaborator Author

Vierkantor commented Aug 3, 2020

I'll fix @urkud 's suggestion.

bors r-

@bors
Copy link

bors bot commented Aug 3, 2020

Canceled.

@urkud
Copy link
Member

urkud commented Aug 3, 2020

Forgot to say: clearly,
bors d+

@bors
Copy link

bors bot commented Aug 3, 2020

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

@urkud urkud added delegated The PR author may merge after reviewing final suggestions. and removed ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) labels Aug 3, 2020
Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
@Vierkantor
Copy link
Collaborator Author

bors r+

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Aug 3, 2020
bors bot pushed a commit that referenced this pull request Aug 3, 2020
)

In the discussion of #3488, Johan (currently on vacation, so I'm not pinging him) noted that we were missing the lemma "if `f` is a ring homomorphism, `∀ x, f x = 0` implies that the codomain is trivial". This PR adds a couple of ways to derive from homomorphisms that rings are trivial.

I used `0 = 1` to express that the ring is trivial because that seems to be the one that is used in practice.



Co-authored-by: Vierkantor <vierkantor@vierkantor.com>
@bors
Copy link

bors bot commented Aug 3, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/ring): the codomain of a ring hom is trivial iff ... [Merged by Bors] - feat(algebra/ring): the codomain of a ring hom is trivial iff ... Aug 3, 2020
@bors bors bot closed this Aug 3, 2020
@bors bors bot deleted the ring_hom_codomain_trivial branch August 3, 2020 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. 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