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(ring_theory/polynomial/basic): Isomorphism between polynomials over a quotient and quotient over polynomials #3847

Closed
wants to merge 4 commits into from

Conversation

dtumad
Copy link
Collaborator

@dtumad dtumad commented Aug 17, 2020

The main statement is polynomial_quotient_equiv_quotient_polynomial, which gives that If I is an ideal of R, then the ring polynomials over the quotient ring I.quotient is isomorphic to the quotient of polynomial R by the ideal map C I.

Also, mem_map_C_iff shows that map C I contains exactly the polynomials whose coefficients all lie in I


I couldn't find this equivalence anywhere in mathlib already. I created quotient_map_C_eq_zero and eval₂_C_mk_eq_zero just so they could be passed to quotient.lift as proofs that functions being defined are well defined. If they don't seem generally useful, I can inline them into the definition of the isomorphism, but the definition got very messy when I originally did that.

@dtumad dtumad added the awaiting-review The author would like community review of the PR label Aug 17, 2020
Comment on lines 245 to 252
left_inv := by {
intro f,
apply polynomial.induction_on' f,
{ simp_intros p q hp hq,
rw [hp, hq] },
{ rintros n ⟨x⟩,
simp [monomial_eq_smul_X, C_mul'] }
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

The style guide recommends using begin ... end for any multiline proof, and also to not put braces on their own line.

Copy link
Collaborator

@semorrison semorrison left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM.

@semorrison
Copy link
Collaborator

Could you fix the formatting suggestion, and then merge?

bors d+

@bors
Copy link

bors bot commented Aug 19, 2020

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

@semorrison semorrison added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Aug 19, 2020
@dtumad
Copy link
Collaborator Author

dtumad commented Aug 19, 2020

bors r+

bors bot pushed a commit that referenced this pull request Aug 19, 2020
…ver a quotient and quotient over polynomials (#3847)

The main statement is `polynomial_quotient_equiv_quotient_polynomial`, which gives that If `I` is an ideal of `R`, then the ring polynomials over the quotient ring `I.quotient` is isomorphic to the quotient of `polynomial R` by the ideal `map C I`.

Also, `mem_map_C_iff` shows that `map C I` contains exactly the polynomials whose coefficients all lie in `I`
@bors
Copy link

bors bot commented Aug 19, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(ring_theory/polynomial/basic): Isomorphism between polynomials over a quotient and quotient over polynomials [Merged by Bors] - feat(ring_theory/polynomial/basic): Isomorphism between polynomials over a quotient and quotient over polynomials Aug 19, 2020
@bors bors bot closed this Aug 19, 2020
@bors bors bot deleted the polynomial_over_quotient branch August 19, 2020 18:24
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants