The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Field.Subfield.Basic

128 declarations. Mathlib docs · Source

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 M and coercion (↑) : Subfield M → Set M form a GaloisInsertion.

  • comap f B : Subfield K : the preimage of a subfield B along the ring homomorphism f

  • map f A : Subfield L : the image of a subfield A along the ring homomorphism f.

  • f.fieldRange : Subfield L : the range of the ring homomorphism f.

  • eqLocusField f g : Subfield K : given ring homomorphisms f g : K →+* R, the subfield of K where f 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

top

comap

map

range

inf

subfield closure of a subset

Actions by Subfields

These are just copies of the definitions about Subsemiring starting from Subsemiring.MulAction.

theorem Subfield.mk.congr_simp E1 #

∀ {K : Type u} [inst : DivisionRing K] (toSubring toSubring_1 : Subring K) (e_toSubring : toSubring = toSubring_1)
  (inv_mem' : ∀ x ∈ toSubring.carrier, x⁻¹ ∈ toSubring.carrier),
  { toSubring := toSubring, inv_mem' := inv_mem' } = { toSubring := toSubring_1, inv_mem' := ⋯ }

theorem Subfield.list_prod_mem E1 #

∀ {K : Type u} [inst : DivisionRing K] (s : Subfield K) {l : List K}, (∀ x ∈ l, x ∈ s) → l.prod ∈ s

Product of a list of elements in a subfield is in the subfield.

theorem Subfield.list_sum_mem E1 #

∀ {K : Type u} [inst : DivisionRing K] (s : Subfield K) {l : List K}, (∀ x ∈ l, x ∈ s) → l.sum ∈ s

Sum of a list of elements in a subfield is in the subfield.

theorem Subfield.multiset_sum_mem E1 #

∀ {K : Type u} [inst : DivisionRing K] (s : Subfield K) (m : Multiset K), (∀ a ∈ m, a ∈ s) → m.sum ∈ s

Sum of a multiset of elements in a Subfield is in the Subfield.

theorem Subfield.sum_mem E1 #

∀ {K : Type u} [inst : DivisionRing K] (s : Subfield K) {ι : Type u_1} {t : Finset ι} {f : ι → K},
  (∀ c ∈ t, f c ∈ s) → ∑ i ∈ t, f i ∈ s

Sum of elements in a Subfield indexed by a Finset is in the Subfield.

instance Subfield.instTop E0 #

{K : Type u} → [inst : DivisionRing K] → Top (Subfield K)

The subfield of K containing all elements of K.

instance Subfield.instInhabited E0 #

{K : Type u} → [inst : DivisionRing K] → Inhabited (Subfield K)

theorem Subfield.mem_top E0 #

∀ {K : Type u} [inst : DivisionRing K] (x : K), x ∈ ⊤

theorem Subfield.coe_top E0 #

∀ {K : Type u} [inst : DivisionRing K], ↑⊤ = Set.univ

def Subfield.topEquiv E1 #

{K : Type u} → [inst : DivisionRing K] → ↥⊤ ≃+* K

The ring equiv between the top element of Subfield K and K.

def Subfield.comap E1 #

{K : Type u} → {L : Type v} → [inst : DivisionRing K] → [inst_1 : DivisionRing L] → (K →+* L) → Subfield L → Subfield K

The preimage of a subfield along a ring homomorphism is a subfield.

theorem Subfield.coe_comap E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (s : Subfield L),
  ↑(Subfield.comap f s) = ⇑f ⁻¹' ↑s

theorem Subfield.mem_comap E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {s : Subfield L} {f : K →+* L} {x : K},
  x ∈ Subfield.comap f s ↔ f x ∈ s

theorem Subfield.comap_comap E1 #

∀ {K : Type u} {L : Type v} {M : Type w} [inst : DivisionRing K] [inst_1 : DivisionRing L] [inst_2 : DivisionRing M]
  (s : Subfield M) (g : L →+* M) (f : K →+* L), Subfield.comap f (Subfield.comap g s) = Subfield.comap (g.comp f) s

def Subfield.map E1 #

{K : Type u} → {L : Type v} → [inst : DivisionRing K] → [inst_1 : DivisionRing L] → (K →+* L) → Subfield K → Subfield L

The image of a subfield along a ring homomorphism is a subfield.

theorem Subfield.coe_map E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (s : Subfield K) (f : K →+* L),
  ↑(Subfield.map f s) = ⇑f '' ↑s

theorem Subfield.mem_map E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {f : K →+* L} {s : Subfield K} {y : L},
  y ∈ Subfield.map f s ↔ ∃ x ∈ s, f x = y

theorem Subfield.map_mem_map E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) {s : Subfield K} {x : K},
  f x ∈ Subfield.map f s ↔ x ∈ s

theorem Subfield.map_map E0 #

∀ {K : Type u} {L : Type v} {M : Type w} [inst : DivisionRing K] [inst_1 : DivisionRing L] [inst_2 : DivisionRing M]
  (s : Subfield K) (g : L →+* M) (f : K →+* L), Subfield.map g (Subfield.map f s) = Subfield.map (g.comp f) s

theorem Subfield.map_le_iff_le_comap E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {f : K →+* L} {s : Subfield K}
  {t : Subfield L}, Subfield.map f s ≤ t ↔ s ≤ Subfield.comap f t

theorem Subfield.gc_map_comap E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L),
  GaloisConnection (Subfield.map f) (Subfield.comap f)

def Subfield.gciMapComap E1 #

{K : Type u} →
  {L : Type v} →
    [inst : DivisionRing K] →
      [inst_1 : DivisionRing L] → (f : K →+* L) → GaloisCoinsertion (Subfield.map f) (Subfield.comap f)

map f and comap f form a GaloisCoinsertion, since a ring homomorphism out of a field is injective.

def RingHom.fieldRange E1 #

{K : Type u} → {L : Type v} → [inst : DivisionRing K] → [inst_1 : DivisionRing L] → (K →+* L) → Subfield L

The range of a ring homomorphism, as a subfield of the target. See Note [range copy pattern].

theorem RingHom.coe_fieldRange E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L),
  ↑f.fieldRange = Set.range ⇑f

theorem RingHom.mem_fieldRange E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {f : K →+* L} {y : L},
  y ∈ f.fieldRange ↔ ∃ x, f x = y

theorem RingHom.fieldRange_eq_map E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L),
  f.fieldRange = Subfield.map f ⊤

theorem Subfield.map_top E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L),
  Subfield.map f ⊤ = f.fieldRange

The image of ⊤ under a ring homomorphism is its field range.

theorem RingHom.map_fieldRange E0 #

∀ {K : Type u} {L : Type v} {M : Type w} [inst : DivisionRing K] [inst_1 : DivisionRing L] [inst_2 : DivisionRing M]
  (g : L →+* M) (f : K →+* L), Subfield.map g f.fieldRange = (g.comp f).fieldRange

theorem RingHom.mem_fieldRange_self E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (x : K), f x ∈ f.fieldRange

theorem RingHom.fieldRange_eq_top_iff E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {f : K →+* L},
  f.fieldRange = ⊤ ↔ Function.Surjective ⇑f

instance RingHom.fintypeFieldRange E0 #

{K : Type u} →
  {L : Type v} →
    [inst : DivisionRing K] →
      [inst_1 : DivisionRing L] → [Fintype K] → [DecidableEq L] → (f : K →+* L) → Fintype ↥f.fieldRange

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.

instance Subfield.instMin E0 #

{K : Type u} → [inst : DivisionRing K] → Min (Subfield K)

The inf of two subfields is their intersection.

theorem Subfield.coe_inf E0 #

∀ {K : Type u} [inst : DivisionRing K] (p p' : Subfield K), ↑(p ⊓ p') = p.carrier ∩ p'.carrier

theorem Subfield.mem_inf E0 #

∀ {K : Type u} [inst : DivisionRing K] {p p' : Subfield K} {x : K}, x ∈ p ⊓ p' ↔ x ∈ p ∧ x ∈ p'

instance Subfield.instInfSet E0 #

{K : Type u} → [inst : DivisionRing K] → InfSet (Subfield K)

theorem Subfield.coe_sInf E0 #

∀ {K : Type u} [inst : DivisionRing K] (S : Set (Subfield K)), ↑(sInf S) = ⋂ s ∈ S, ↑s

theorem Subfield.mem_sInf E0 #

∀ {K : Type u} [inst : DivisionRing K] {S : Set (Subfield K)} {x : K}, x ∈ sInf S ↔ ∀ p ∈ S, x ∈ p

theorem Subfield.coe_iInf E0 #

∀ {K : Type u} [inst : DivisionRing K] {ι : Sort u_1} {S : ι → Subfield K}, ↑(⨅ i, S i) = ⋂ i, ↑(S i)

theorem Subfield.mem_iInf E0 #

∀ {K : Type u} [inst : DivisionRing K] {ι : Sort u_1} {S : ι → Subfield K} {x : K}, x ∈ ⨅ i, S i ↔ ∀ (i : ι), x ∈ S i

theorem Subfield.sInf_toSubring E0 #

∀ {K : Type u} [inst : DivisionRing K] (s : Set (Subfield K)), (sInf s).toSubring = ⨅ t ∈ s, t.toSubring

theorem Subfield.isGLB_sInf E1 #

∀ {K : Type u} [inst : DivisionRing K] (S : Set (Subfield K)), IsGLB S (sInf S)

instance Subfield.instCompleteLattice E0 #

{K : Type u} → [inst : DivisionRing K] → CompleteLattice (Subfield K)

Subfields of a ring form a complete lattice.

def Subfield.closure E3 #

{K : Type u} → [inst : DivisionRing K] → Set K → Subfield K

The Subfield generated by a set.

theorem Subfield.mem_closure E0 #

∀ {K : Type u} [inst : DivisionRing K] {x : K} {s : Set K}, x ∈ Subfield.closure s ↔ ∀ (S : Subfield K), s ⊆ ↑S → x ∈ S

theorem Subfield.subset_closure E0 #

∀ {K : Type u} [inst : DivisionRing K] {s : Set K}, s ⊆ ↑(Subfield.closure s)

The subfield generated by a set includes the set.

theorem Subfield.mem_closure_of_mem E0 #

∀ {K : Type u} [inst : DivisionRing K] {s : Set K} {x : K}, x ∈ s → x ∈ Subfield.closure s

theorem Subfield.subring_closure_le E1 #

∀ {K : Type u} [inst : DivisionRing K] (s : Set K), Subring.closure s ≤ (Subfield.closure s).toSubring

theorem Subfield.notMem_of_notMem_closure E1 #

∀ {K : Type u} [inst : DivisionRing K] {s : Set K} {P : K}, P ∉ Subfield.closure s → P ∉ s

theorem Subfield.closure_le E0 #

∀ {K : Type u} [inst : DivisionRing K] {s : Set K} {t : Subfield K}, Subfield.closure s ≤ t ↔ s ⊆ ↑t

A subfield t includes closure s if and only if it includes s.

theorem Subfield.closure_mono E1 #

∀ {K : Type u} [inst : DivisionRing K] ⦃s t : Set K⦄, s ⊆ t → Subfield.closure s ≤ Subfield.closure t

Subfield closure of a set is monotone in its argument: if s ⊆ t, then closure s ≤ closure t.

theorem Subfield.closure_eq_of_le E1 #

∀ {K : Type u} [inst : DivisionRing K] {s : Set K} {t : Subfield K},
  s ⊆ ↑t → t ≤ Subfield.closure s → Subfield.closure s = t

theorem Subfield.closure_induction E1 #

∀ {K : Type u} [inst : DivisionRing K] {s : Set K} {motive : (x : K) → x ∈ Subfield.closure s → Prop},
  (∀ (x : K) (hx : x ∈ s), motive x ⋯) →
    motive 1 ⋯ →
      (∀ (x y : K) (hx : x ∈ Subfield.closure s) (hy : y ∈ Subfield.closure s),
          motive x hx → motive y hy → motive (x + y) ⋯) →
        (∀ (x : K) (hx : x ∈ Subfield.closure s), motive x hx → motive (-x) ⋯) →
          (∀ (x : K) (hx : x ∈ Subfield.closure s), motive x hx → motive x⁻¹ ⋯) →
            (∀ (x y : K) (hx : x ∈ Subfield.closure s) (hy : y ∈ Subfield.closure s),
                motive x hx → motive y hy → motive (x * y) ⋯) →
              ∀ {x : K} (h : x ∈ Subfield.closure s), motive x h

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.

def Subfield.gi E3 #

(K : Type u) → [inst : DivisionRing K] → GaloisInsertion Subfield.closure SetLike.coe

closure forms a Galois insertion with the coercion to set.

theorem Subfield.closure_eq E0 #

∀ {K : Type u} [inst : DivisionRing K] (s : Subfield K), Subfield.closure ↑s = s

Closure of a subfield S equals S.

theorem Subfield.closure_empty E0 #

∀ {K : Type u} [inst : DivisionRing K], Subfield.closure ∅ = ⊥

theorem Subfield.closure_univ E0 #

∀ {K : Type u} [inst : DivisionRing K], Subfield.closure Set.univ = ⊤

theorem Subfield.closure_union E1 #

∀ {K : Type u} [inst : DivisionRing K] (s t : Set K), Subfield.closure (s ∪ t) = Subfield.closure s ⊔ Subfield.closure t

theorem Subfield.closure_iUnion E1 #

∀ {K : Type u} [inst : DivisionRing K] {ι : Sort u_1} (s : ι → Set K),
  Subfield.closure (⋃ i, s i) = ⨆ i, Subfield.closure (s i)

theorem Subfield.closure_sUnion E1 #

∀ {K : Type u} [inst : DivisionRing K] (s : Set (Set K)), Subfield.closure (⋃₀ s) = ⨆ t ∈ s, Subfield.closure t

theorem Subfield.map_sup E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (s t : Subfield K) (f : K →+* L),
  Subfield.map f (s ⊔ t) = Subfield.map f s ⊔ Subfield.map f t

theorem Subfield.map_iSup E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {ι : Sort u_1} (f : K →+* L)
  (s : ι → Subfield K), Subfield.map f (iSup s) = ⨆ i, Subfield.map f (s i)

theorem Subfield.map_inf E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (s t : Subfield K) (f : K →+* L),
  Subfield.map f (s ⊓ t) = Subfield.map f s ⊓ Subfield.map f t

theorem Subfield.map_iInf E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {ι : Sort u_1} [Nonempty ι] (f : K →+* L)
  (s : ι → Subfield K), Subfield.map f (iInf s) = ⨅ i, Subfield.map f (s i)

theorem Subfield.comap_inf E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (s t : Subfield L) (f : K →+* L),
  Subfield.comap f (s ⊓ t) = Subfield.comap f s ⊓ Subfield.comap f t

theorem Subfield.comap_iInf E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {ι : Sort u_1} (f : K →+* L)
  (s : ι → Subfield L), Subfield.comap f (iInf s) = ⨅ i, Subfield.comap f (s i)

theorem Subfield.map_bot E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L), Subfield.map f ⊥ = ⊥

theorem Subfield.comap_top E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L), Subfield.comap f ⊤ = ⊤

theorem Subfield.map_comap_eq E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (s : Subfield L),
  Subfield.map f (Subfield.comap f s) = s ⊓ f.fieldRange

theorem Subfield.map_comap_eq_self E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {f : K →+* L} {s : Subfield L},
  s ≤ f.fieldRange → Subfield.map f (Subfield.comap f s) = s

theorem Subfield.map_comap_eq_self_of_surjective E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {f : K →+* L},
  Function.Surjective ⇑f → ∀ (s : Subfield L), Subfield.map f (Subfield.comap f s) = s

theorem Subfield.comap_map E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (s : Subfield K),
  Subfield.comap f (Subfield.map f s) = s

theorem Subfield.comap_surjective E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L),
  Function.Surjective (Subfield.comap f)

theorem Subfield.map_injective E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L),
  Function.Injective (Subfield.map f)

theorem Subfield.comap_inf_map E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (S T : Subfield K),
  Subfield.comap f (Subfield.map f S ⊓ Subfield.map f T) = S ⊓ T

theorem Subfield.comap_iInf_map E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {ι : Sort u_1} (f : K →+* L)
  (S : ι → Subfield K), Subfield.comap f (⨅ i, Subfield.map f (S i)) = ⨅ i, S i

theorem Subfield.comap_sup_map E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (S T : Subfield K),
  Subfield.comap f (Subfield.map f S ⊔ Subfield.map f T) = S ⊔ T

theorem Subfield.comap_iSup_map E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {ι : Sort u_1} (f : K →+* L)
  (S : ι → Subfield K), Subfield.comap f (⨆ i, Subfield.map f (S i)) = ⨆ i, S i

theorem Subfield.map_le_map_iff E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) {S T : Subfield K},
  Subfield.map f S ≤ Subfield.map f T ↔ S ≤ T

theorem Subfield.comap_sup E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) {S T : Subfield L},
  S ≤ f.fieldRange → T ≤ f.fieldRange → Subfield.comap f (S ⊔ T) = Subfield.comap f S ⊔ Subfield.comap f T

comap f preserves the supremum of two subfields lying in the range of f.

theorem Subfield.comap_iSup E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {ι : Sort u_1} (f : K →+* L)
  {S : ι → Subfield L}, (∀ (i : ι), S i ≤ f.fieldRange) → Subfield.comap f (⨆ i, S i) = ⨆ i, Subfield.comap f (S i)

comap f preserves the supremum of a family of subfields lying in the range of f.

theorem Subfield.mem_iSup_of_directed E0 #

∀ {K : Type u} [inst : DivisionRing K] {ι : Sort u_1} [hι : Nonempty ι] {S : ι → Subfield K},
  Directed (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : K}, x ∈ ⨆ i, S i ↔ ∃ i, x ∈ S i

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)

theorem Subfield.coe_iSup_of_directed E0 #

∀ {K : Type u} [inst : DivisionRing K] {ι : Sort u_1} [hι : Nonempty ι] {S : ι → Subfield K},
  Directed (fun x1 x2 ↦ x1 ≤ x2) S → ↑(⨆ i, S i) = ⋃ i, ↑(S i)

theorem Subfield.mem_sSup_of_directedOn E0 #

∀ {K : Type u} [inst : DivisionRing K] {S : Set (Subfield K)},
  S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ∀ {x : K}, x ∈ sSup S ↔ ∃ s ∈ S, x ∈ s

theorem Subfield.coe_sSup_of_directedOn E0 #

∀ {K : Type u} [inst : DivisionRing K] {S : Set (Subfield K)},
  S.Nonempty → DirectedOn (fun x1 x2 ↦ x1 ≤ x2) S → ↑(sSup S) = ⋃ s ∈ S, ↑s

theorem Subfield.coe_iSup_eq_iUnion_finset_coe_biSup E0 #

∀ {K : Type u} [inst : DivisionRing K] {ι : Type u_1} (S : ι → Subfield K), ↑(⨆ i, S i) = ⋃ s, ↑(⨆ i ∈ s, S i)

theorem Subfield.isMulCommutative_closure E1 #

∀ {K : Type u} [inst : DivisionRing K] {s : Set K}, s.Pairwise Commute → IsMulCommutative ↥(Subfield.closure s)

instance Subfield.instIsMulCommutativeSubtypeMemClosureCoe E0 #

∀ {K : Type u} [inst : DivisionRing K] {S : Type u_1} [inst_1 : SetLike S K] [inst_2 : MulMemClass S K] (s : S)
  [IsMulCommutative ↥s], IsMulCommutative ↥(Subfield.closure ↑s)

class Field.FG E1 #

(L : Type v) → [DivisionRing L] → Prop

A field is finitely generated if it is the closure of a finite subset.

theorem Field.fg_iff E0 #

∀ (L : Type v) [inst : DivisionRing L], Field.FG L ↔ ∃ S, Subfield.closure ↑S = ⊤

ctor Field.FG.mk E0 #

∀ {L : Type v} [inst : DivisionRing L], (∃ S, Subfield.closure ↑S = ⊤) → Field.FG L

theorem Field.FG.finitely_generated E1 #

∀ {L : Type v} {inst : DivisionRing L} [self : Field.FG L], ∃ S, Subfield.closure ↑S = ⊤

def RingHom.rangeRestrictField E1 #

{K : Type u} → {L : Type v} → [inst : DivisionRing K] → [inst_1 : DivisionRing L] → (f : K →+* L) → K →+* ↥f.fieldRange

Restriction of a ring homomorphism to its range interpreted as a subfield.

theorem RingHom.coe_rangeRestrictField E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (x : K),
  ↑(f.rangeRestrictField x) = f x

theorem RingHom.rangeRestrictField_bijective E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L),
  Function.Bijective ⇑f.rangeRestrictField

def RingHom.rangeRestrictFieldEquiv E1 #

{K : Type u} → {L : Type v} → [inst : DivisionRing K] → [inst_1 : DivisionRing L] → (f : K →+* L) → K ≃+* ↥f.fieldRange

RingHom.rangeRestrictField as a RingEquiv.

theorem RingHom.rangeRestrictFieldEquiv_apply_coe E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (a : K),
  ↑(f.rangeRestrictFieldEquiv a) = f a

theorem RingHom.rangeRestrictFieldEquiv_apply_symm_apply E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (x : ↥f.fieldRange),
  f (f.rangeRestrictFieldEquiv.symm x) = ↑x

def RingHom.eqLocusField E1 #

{K : Type u} → [inst : DivisionRing K] → {L : Type v} → [inst_1 : Semiring L] → (K →+* L) → (K →+* L) → Subfield K

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

theorem RingHom.mem_eqLocusField E0 #

∀ {K : Type u} [inst : DivisionRing K] {L : Type v} [inst_1 : Semiring L] {f g : K →+* L} {x : K},
  x ∈ f.eqLocusField g ↔ f x = g x

theorem RingHom.eqOn_field_closure E1 #

∀ {K : Type u} [inst : DivisionRing K] {L : Type v} [inst_1 : Semiring L] {f g : K →+* L} {s : Set K},
  Set.EqOn (⇑f) (⇑g) s → Set.EqOn ⇑f ⇑g ↑(Subfield.closure s)

If two ring homomorphisms are equal on a set, then they are equal on its subfield closure.

theorem RingHom.field_closure_preimage_le E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (s : Set L),
  Subfield.closure (⇑f ⁻¹' s) ≤ Subfield.comap f (Subfield.closure s)

theorem RingHom.map_field_closure E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (s : Set K),
  Subfield.map f (Subfield.closure s) = Subfield.closure (⇑f '' s)

The image under a ring homomorphism of the subfield generated by a set equals the subfield generated by the image of the set.

def Subfield.inclusion E1 #

{K : Type u} → [inst : DivisionRing K] → {S T : Subfield K} → S ≤ T → ↥S →+* ↥T

The ring homomorphism associated to an inclusion of subfields.

theorem Subfield.fieldRange_subtype E0 #

∀ {K : Type u} [inst : DivisionRing K] (s : Subfield K), s.subtype.fieldRange = s

def RingEquiv.subfieldCongr E1 #

{K : Type u} → [inst : DivisionRing K] → {s t : Subfield K} → s = t → ↥s ≃+* ↥t

Makes the identity isomorphism from a proof two subfields of a multiplicative monoid are equal.

theorem Subfield.closure_preimage_le E1 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] (f : K →+* L) (s : Set L),
  Subfield.closure (⇑f ⁻¹' s) ≤ Subfield.comap f (Subfield.closure s)

theorem Subfield.multiset_prod_mem E1 #

∀ {K : Type u} [inst : Field K] (s : Subfield K) (m : Multiset K), (∀ a ∈ m, a ∈ s) → m.prod ∈ s

Product of a multiset of elements in a subfield is in the subfield.

theorem Subfield.prod_mem E1 #

∀ {K : Type u} [inst : Field K] (s : Subfield K) {ι : Type u_1} {t : Finset ι} {f : ι → K},
  (∀ c ∈ t, f c ∈ s) → ∏ i ∈ t, f i ∈ s

Product of elements of a subfield indexed by a Finset is in the subfield.

instance Subfield.toAlgebra E0 #

{K : Type u} → [inst : Field K] → (s : Subfield K) → Algebra (↥s) K

theorem Subfield.algebraMap_ofSubfield E1 #

∀ {K : Type u} [inst : Field K] (s : Subfield K), algebraMap (↥s) K = s.subtype

theorem Subfield.mem_closure_iff E0 #

∀ {K : Type u} [inst : Field K] {s : Set K} {x : K},
  x ∈ Subfield.closure s ↔ ∃ y ∈ Subring.closure s, ∃ z ∈ Subring.closure s, y / z = x

theorem Subfield.comap_eq_top_iff E0 #

∀ {K : Type u} {L : Type v} [inst : DivisionRing K] [inst_1 : DivisionRing L] {f : K →+* L} {t : Subfield L},
  Subfield.comap f t = ⊤ ↔ f.fieldRange ≤ t

theorem Subfield.comap_subtype_eq_top E0 #

∀ {K : Type u} [inst : DivisionRing K] {s t : Subfield K}, Subfield.comap s.subtype t = ⊤ ↔ s ≤ t

theorem Subfield.comap_subtype_self E0 #

∀ {K : Type u} [inst : DivisionRing K] (s : Subfield K), Subfield.comap s.subtype s = ⊤

theorem Subfield.map_comap_subtype E0 #

∀ {K : Type u} [inst : DivisionRing K] (s t : Subfield K), Subfield.map s.subtype (Subfield.comap s.subtype t) = s ⊓ t

instance Subfield.instSMulSubtypeMem E0 #

{K : Type u} → [inst : DivisionRing K] → {X : Type u_1} → [SMul K X] → (F : Subfield K) → SMul (↥F) X

The action by a subfield is the action by the underlying field.

theorem Subfield.smul_def E0 #

∀ {K : Type u} [inst : DivisionRing K] {X : Type u_1} [inst_1 : SMul K X] {F : Subfield K} (g : ↥F) (m : X),
  g • m = ↑g • m

instance Subfield.smulCommClass_left E0 #

∀ {K : Type u} [inst : DivisionRing K] {X : Type u_2} {Y : Type u_1} [inst_1 : SMul K Y] [inst_2 : SMul X Y]
  [SMulCommClass K X Y] (F : Subfield K), SMulCommClass (↥F) X Y

instance Subfield.smulCommClass_right E0 #

∀ {K : Type u} [inst : DivisionRing K] {X : Type u_1} {Y : Type u_2} [inst_1 : SMul X Y] [inst_2 : SMul K Y]
  [SMulCommClass X K Y] (F : Subfield K), SMulCommClass X (↥F) Y

instance Subfield.instIsScalarTowerSubtypeMem E0 #

∀ {K : Type u} [inst : DivisionRing K] {X : Type u_1} {Y : Type u_2} [inst_1 : SMul X Y] [inst_2 : SMul K X]
  [inst_3 : SMul K Y] [IsScalarTower K X Y] (F : Subfield K), IsScalarTower (↥F) X Y

Note that this provides IsScalarTower F K K which is needed by smul_mul_assoc.

instance Subfield.instFaithfulSMulSubtypeMem E0 #

∀ {K : Type u} [inst : DivisionRing K] {X : Type u_1} [inst_1 : SMul K X] [FaithfulSMul K X] (F : Subfield K),
  FaithfulSMul (↥F) X

instance Subfield.instMulActionSubtypeMem E0 #

{K : Type u} → [inst : DivisionRing K] → {X : Type u_1} → [MulAction K X] → (F : Subfield K) → MulAction (↥F) X

The action by a subfield is the action by the underlying field.

instance Subfield.instDistribMulActionSubtypeMem E0 #

{K : Type u} →
  [inst : DivisionRing K] →
    {X : Type u_1} → [inst_1 : AddMonoid X] → [DistribMulAction K X] → (F : Subfield K) → DistribMulAction (↥F) X

The action by a subfield is the action by the underlying field.

instance Subfield.instMulDistribMulActionSubtypeMem E0 #

{K : Type u} →
  [inst : DivisionRing K] →
    {X : Type u_1} → [inst_1 : Monoid X] → [MulDistribMulAction K X] → (F : Subfield K) → MulDistribMulAction (↥F) X

The action by a subfield is the action by the underlying field.

instance Subfield.instSMulWithZeroSubtypeMem E0 #

{K : Type u} →
  [inst : DivisionRing K] →
    {X : Type u_1} → [inst_1 : Zero X] → [SMulWithZero K X] → (F : Subfield K) → SMulWithZero (↥F) X

The action by a subfield is the action by the underlying field.

instance Subfield.instMulActionWithZeroSubtypeMem E0 #

{K : Type u} →
  [inst : DivisionRing K] →
    {X : Type u_1} → [inst_1 : Zero X] → [MulActionWithZero K X] → (F : Subfield K) → MulActionWithZero (↥F) X

The action by a subfield is the action by the underlying field.

instance Subfield.instModuleSubtypeMem E0 #

{K : Type u} →
  [inst : DivisionRing K] →
    {X : Type u_1} → [inst_1 : AddCommMonoid X] → [Module K X] → (F : Subfield K) → Module (↥F) X

The action by a subfield is the action by the underlying field.

instance Subfield.instMulSemiringActionSubtypeMem E0 #

{K : Type u} →
  [inst : DivisionRing K] →
    {X : Type u_1} → [inst_1 : Semiring X] → [MulSemiringAction K X] → (F : Subfield K) → MulSemiringAction (↥F) X

The action by a subfield is the action by the underlying field.