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: port FieldTheory.SplittingField.Construction #4891

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Mathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1741,6 +1741,7 @@ import Mathlib.FieldTheory.PerfectClosure
import Mathlib.FieldTheory.RatFunc
import Mathlib.FieldTheory.Separable
import Mathlib.FieldTheory.SeparableDegree
import Mathlib.FieldTheory.SplittingField.Construction
import Mathlib.FieldTheory.SplittingField.IsSplittingField
import Mathlib.FieldTheory.Subfield
import Mathlib.FieldTheory.Tower
Expand Down
8 changes: 8 additions & 0 deletions Mathlib/Data/MvPolynomial/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ instance isScalarTower' [CommSemiring R] [CommSemiring S₁] [Algebra R S₁] :
IsScalarTower.right
#align mv_polynomial.is_scalar_tower' MvPolynomial.isScalarTower'

--Porting note: new instance
instance isScalarTower_right [CommSemiring R] [CommSemiring S₁] [DistribSMul R S₁]
[IsScalarTower R S₁ S₁] : IsScalarTower R (MvPolynomial σ S₁) (MvPolynomial σ S₁) :=
⟨by
rintro x p q
dsimp [MvPolynomial] at p q ⊢
rw [smul_mul_assoc]⟩
Comment on lines +153 to +159
Copy link
Member

Choose a reason for hiding this comment

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

This is replaced in #5070


/-- If `R` is a subsingleton, then `MvPolynomial σ R` has a unique element -/
instance unique [CommSemiring R] [Subsingleton R] : Unique (MvPolynomial σ R) :=
AddMonoidAlgebra.unique
Expand Down