Skip to content

[Merged by Bors] - feat(FieldTheory/IsSepClosed): add some results on separable closure and perfect field - #9522

Closed
acmepjz wants to merge 6 commits into
masterfrom
acmepjz_perfect_1
Closed

acmepjz wants to merge 6 commits into
masterfrom
acmepjz_perfect_1

Conversation

@acmepjz

@acmepjz acmepjz commented Jan 7, 2024

Copy link
Copy Markdown
Collaborator
  • IsSepClosure.isAlgClosure_of_perfectField, IsSepClosure.of_isAlgClosure_of_perfectField: if k is a perfect field, then its separable closure coincides with its algebraic closure.
  • IsSepClosed.isAlgClosed_of_perfectField: a separably closed perfect field is also algebraically closed.
  • Algebra.IsAlgebraic.[isSeparable_of_]perfectField: if L / K is an algebraic extension, K is a perfect field, then L / K is separable and L is perfect.

Open in Gitpod

Dicussions: #9488 (comment)

@acmepjz acmepjz added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebra Algebra (groups, rings, fields, etc) labels Jan 7, 2024
@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 Jan 7, 2024
Comment thread Mathlib/FieldTheory/IsSepClosed.lean Resolved
Comment thread Mathlib/FieldTheory/IsSepClosed.lean Resolved
Comment thread Mathlib/FieldTheory/Perfect.lean Outdated
Comment on lines +232 to +234
have h2 := isIntegral_trans halg.isIntegral _ (AdjoinRoot.isIntegral_root h)
have h3 := (AdjoinRoot.minpoly_root h) ▸ minpoly.dvd_map_of_isScalarTower K L (AdjoinRoot.root f)
(PerfectField.separable_of_irreducible (minpoly.irreducible h2)).map |>.of_dvd h3 |>.of_mul_left⟩

@alreadydone alreadydone Jan 7, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you extract the lemma that says if L/K is integral with L a field and K a CommRing, then any irreducible polynomial in L[X] divides some monic irreducible polynomial in K[X]?

(Side comment: I think we can also prove it for an integrally closed domain L if we assume Monic because we have minpoly.isIntegrallyClosed_dvd and IsIntegrallyClosed.minpoly.unique. For L/K free maybe we can use Algebra.norm, but I'm not sure whether every element divides its norm in a general algebra; even though we can factor into irreducibles in a Noetherian domain, we probably need to start with a prime (not just irreducible) polynomial in L[X] in order for it to divide some factor ... there could be a version that assumes IsAlgebraic instead of IsIntegral too. But not for this PR ...)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Sure, let me check later.

@acmepjz acmepjz Jan 8, 2024 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Can you extract the lemma that says if L/K is integral with L a field and K a CommRing, then any irreducible polynomial in L[X] divides some monic irreducible polynomial in K[X]?

Need IsDomain K (used in minpoly.irreducible). Can it be deduced from existing conditions?

[EDIT] If let K' be the image of K in L, then it is a domain, so at least we can find a monic irreducible polynomial in K'[X]. The question is if its preimage in K[X] is still irreducible.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see. There's no obvious way to remove IsDomain as far as I can see. If K is not a domain, it's possible that the minpoly has higher degree factors that become units in L[X].
Let's move this lemma to the file where AdjoinRoot is defined and call it a day!

@acmepjz acmepjz Jan 26, 2024 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Can you extract the lemma that says if L/K is integral with L a field and K a CommRing, then any irreducible polynomial in L[X] divides some monic irreducible polynomial in K[X]?

Need IsDomain K (used in minpoly.irreducible).

This result is incorrect, at least when K is not connected (i.e. can be written as a product of two rings), see https://math.stackexchange.com/a/4849403/235999. In fact, it's easy to prove that for such case, any monic polynomial in K[X] of degree ≥ 1 is NOT irreducible (a non-trivial factorization is obtained by applying Chinese Remainder Theorem on f * 1 and 1 * f).

On the other hand, it's true if K is irreducible (i.e. only one minimal prime ideal), see https://math.stackexchange.com/a/4843432/235999.

@alreadydone

Copy link
Copy Markdown
Contributor

!bench

@leanprover-bot

leanprover-bot commented Jan 7, 2024 •

Copy link
Copy Markdown

Here are the benchmark results for commit f858a9e.
There were significant changes against commit a7c1abf:

  Benchmark                                                           Metric         Change
  =========================================================================================
- ~Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit   instructions    16.4%

(discussion here. This slowed-down file doesn't import any file that is changed. - Junyan)

@alreadydone

Copy link
Copy Markdown
Contributor

Thanks 🎉
maintainer merge

@github-actions

github-actions Bot commented Jan 8, 2024

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by alreadydone.

/-- If `L / K` is an integral extension, `K` is a domain, `L` is a field, then any irreducible
polynomial over `L` divides some monic irreducible polynomial over `K`. -/
theorem Irreducible.exists_dvd_monic_irreducible_of_isIntegral {K L : Type*}
[CommRing K] [IsDomain K] [Field L] [Algebra K L] (H : Algebra.IsIntegral K L) {f : L[X]}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doesn't this imply that $\text{Frac} K$ is integral over $K$, i.e. $K$ is actually a field?

@alreadydone alreadydone Jan 8, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

K to L isn't necessarily injective (K could be L[X] and algebraMap K L could be evaluation at 0, for example). That said, I think this is still true if IsIntegral is replaced by IsAlgebraic ...

@riccardobrasca riccardobrasca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

bors d+

end PerfectField

/-- If `L / K` is an algebraic extension, `K` is a perfect field, then `L / K` is separable. -/
theorem Algebra.IsAlgebraic.isSeparable_of_perfectField {K L : Type*} [Field K] [Field L]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you add this to the docstring at the beginning of the file?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also, can this be an instance?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Can you add this to the docstring at the beginning of the file?

Sure.

Also, can this be an instance?

No, it's not possible I think, since Algebra.IsAlgebraic is not a typeclass, so this condition must be provided manually.

@mathlib-bors

mathlib-bors Bot commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

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

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Jan 8, 2024
@acmepjz

acmepjz commented Jan 8, 2024

Copy link
Copy Markdown
Collaborator Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Jan 8, 2024
…and perfect field (#9522)

- `IsSepClosure.isAlgClosure_of_perfectField`, `IsSepClosure.of_isAlgClosure_of_perfectField`: if `k` is a perfect field, then its separable closure coincides with its algebraic closure.
- `IsSepClosed.isAlgClosed_of_perfectField`: a separably closed perfect field is also algebraically closed.
- `Algebra.IsAlgebraic.[isSeparable_of_]perfectField`: if `L / K` is an algebraic extension, `K` is a perfect field, then `L / K` is separable and `L` is perfect.
@mathlib-bors

mathlib-bors Bot commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(FieldTheory/IsSepClosed): add some results on separable closure and perfect field [Merged by Bors] - feat(FieldTheory/IsSepClosed): add some results on separable closure and perfect field Jan 8, 2024
@mathlib-bors mathlib-bors Bot closed this Jan 8, 2024
@mathlib-bors
mathlib-bors Bot deleted the acmepjz_perfect_1 branch January 8, 2024 15:44
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). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants