Subfields #
Let K be a division ring, for example a field.
This file concerns the "bundled" subfield type Subfield K, a type
whose terms correspond to subfields of K. Note we do not require the "subfields" to be
commutative, so they are really sub-division rings / skew fields. This is the preferred way to talk
about subfields in mathlib. Unbundled subfields (s : Set K and IsSubfield s)
are not in this file, and they will ultimately be deprecated.
We prove that subfields are a complete lattice, and that you can map (pushforward) and
comap (pull back) them along ring homomorphisms.
We define the closure construction from Set K to Subfield K, sending a subset of K
to the subfield it generates, and prove that it is a Galois insertion.
Main definitions #
Notation used here:
(K : Type u) [DivisionRing K] (L : Type u) [DivisionRing L] (f g : K →+* L)
(A : Subfield K) (B : Subfield L) (s : Set K)
instance : CompleteLattice (Subfield K): the complete lattice structure on the subfields.Subfield.closure: subfield closure of a set, i.e., the smallest subfield that includes the set.Subfield.gi:closure : Set M → Subfield Mand coercion(↑) : Subfield M → Set Mform aGaloisInsertion.comap f B : Subfield K: the preimage of a subfieldBalong the ring homomorphismfmap f A : Subfield L: the image of a subfieldAalong the ring homomorphismf.f.fieldRange : Subfield L: the range of the ring homomorphismf.eqLocusField f g : Subfield K: given ring homomorphismsf g : K →+* R, the subfield ofKwheref x = g x
Implementation notes #
A subfield is implemented as a subring which is closed under ⁻¹.
Lattice inclusion (e.g. ≤ and ⊓) is used rather than set notation (⊆ and ∩), although
∈ is defined as membership of a subfield's underlying set.
Tags #
subfield, subfields
Product of a list of elements in a subfield is in the subfield.
Sum of a list of elements in a subfield is in the subfield.
top #
The subfield of K containing all elements of K.
Equations
- Subfield.instInhabited = { default := ⊤ }
comap #
The preimage of a subfield along a ring homomorphism is a subfield.
Equations
- Subfield.comap f s = { toSubring := Subring.comap f s.toSubring, inv_mem' := ⋯ }
Instances For
map #
The image of a subfield along a ring homomorphism is a subfield.
Equations
- Subfield.map f s = { toSubring := Subring.map f s.toSubring, inv_mem' := ⋯ }
Instances For
range #
The range of a ring homomorphism, as a subfield of the target. See Note [range copy pattern].
Equations
- f.fieldRange = (Subfield.map f ⊤).copy (Set.range ⇑f) ⋯
Instances For
The range of a morphism of fields is a fintype, if the domain is a fintype.
Note that this instance can cause a diamond with Subtype.Fintype if L is also a fintype.
Equations
inf #
The inf of two subfields is their intersection.
Subfields of a ring form a complete lattice.
Equations
- One or more equations did not get rendered due to their size.
subfield closure of a subset #
The subfield generated by a set includes the set.
Alias of Subfield.notMem_of_notMem_closure.
An induction principle for closure membership. If p holds for 1, and all elements
of s, and is preserved under addition, negation, and multiplication, then p holds for all
elements of the closure of s.
closure forms a Galois insertion with the coercion to set.
Equations
- Subfield.gi K = { choice := fun (s : Set K) (x : ↑(Subfield.closure s) ≤ s) => Subfield.closure s, gc := ⋯, le_l_u := ⋯, choice_eq := ⋯ }
Instances For
Closure of a subfield S equals S.
The underlying set of a non-empty directed sSup of subfields is just a union of the subfields. Note that this fails without the directedness assumption (the union of two subfields is typically not a subfield)
Restriction of a ring homomorphism to its range interpreted as a subfield.
Equations
Instances For
RingHom.rangeRestrictField as a RingEquiv.
Equations
Instances For
The subfield of elements x : R such that f x = g x, i.e.,
the equalizer of f and g as a subfield of R
Equations
Instances For
If two ring homomorphisms are equal on a set, then they are equal on its subfield closure.
The image under a ring homomorphism of the subfield generated by a set equals the subfield generated by the image of the set.
The ring homomorphism associated to an inclusion of subfields.
Equations
- Subfield.inclusion h = S.subtype.codRestrict T ⋯
Instances For
Makes the identity isomorphism from a proof two subfields of a multiplicative monoid are equal.
Equations
- RingEquiv.subfieldCongr h = { toEquiv := Equiv.setCongr ⋯, map_mul' := ⋯, map_add' := ⋯ }
Instances For
Actions by Subfields #
These are just copies of the definitions about Subsemiring starting from
Subsemiring.MulAction.
The action by a subfield is the action by the underlying field.
Equations
- F.instSMulSubtypeMem = inferInstanceAs (SMul (↥F.toSubsemiring) X)
Note that this provides IsScalarTower F K K which is needed by smul_mul_assoc.
The action by a subfield is the action by the underlying field.
Equations
The action by a subfield is the action by the underlying field.
Equations
The action by a subfield is the action by the underlying field.
Equations
The action by a subfield is the action by the underlying field.
Equations
The action by a subfield is the action by the underlying field.
Equations
The action by a subfield is the action by the underlying field.
Equations
- F.instModuleSubtypeMem = inferInstanceAs (Module (↥F.toSubsemiring) X)
The action by a subfield is the action by the underlying field.