The areas / V11. Fields and Galois theory
Mathlib.FieldTheory.IsRealClosed.Basic
16 declarations. Mathlib docs · Source
Real Closed Field
A field R is real closed if all of the following hold:
Ris real (that is,-1is not a sum of squares inR).- for every
xinR, one ofxor-xis a square. - every odd-degree polynomial over
Rhas a root inR.
A real closed field is an algebraic generalisation of the real numbers.
In this file we define real closed fields and prove some of their properties.
The real numbers are shown to form a real closed field in
Mathlib/Analysis/Polynomial/IsRealClosed.lean.
TODO (Artie Khovanov) : equivalent conditions for a real field to be real closed TODO (Artie Khovanov) : real algebraic numbers, hyperreals form a real closed field
Main Definitions
IsRealClosed Ris the typeclass sayingRis a real closed field.
Tags
real closed, rcf
class IsRealClosed E1 #
(R : Type u_1) → [Field R] → Prop
A field R is real closed if all of the following hold:
Ris real (that is,-1is not a sum of squares inR).- for every
xinR, one ofxor-xis a square. - every odd-degree polynomial over
Rhas a root inR.
instance IsRealClosed.toIsSemireal E0 #
∀ {R : Type u_1} {inst : Field R} [self : IsRealClosed R], IsSemireal R
ctor IsRealClosed.mk E0 #
∀ {R : Type u_1} [inst : Field R] [toIsSemireal : IsSemireal R],
(∀ (x : R), IsSquare x ∨ IsSquare (-x)) → (∀ {f : Polynomial R}, Odd f.natDegree → ∃ x, f.IsRoot x) → IsRealClosed R
theorem IsRealClosed.isSquare_or_isSquare_neg E1 #
∀ {R : Type u_1} {inst : Field R} [self : IsRealClosed R] (x : R), IsSquare x ∨ IsSquare (-x)
theorem IsRealClosed.exists_isRoot_of_odd_natDegree E1 #
∀ {R : Type u_1} {inst : Field R} [self : IsRealClosed R] {f : Polynomial R}, Odd f.natDegree → ∃ x, f.IsRoot x
theorem IsRealClosed.of_linearOrderedField E1 #
∀ {R : Type u} [inst : Field R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R],
(∀ {x : R}, 0 ≤ x → IsSquare x) → (∀ {f : Polynomial R}, Odd f.natDegree → ∃ x, f.IsRoot x) → IsRealClosed R
theorem IsSquare.of_not_isSquare_neg E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] {x : R}, ¬IsSquare (-x) → IsSquare x
theorem IsRealClosed.isSquare_neg_of_not_isSquare E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] {x : R}, ¬IsSquare x → IsSquare (-x)
theorem IsRealClosed.exists_eq_pow_of_odd E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] (x : R) {n : ℕ}, Odd n → ∃ r, x = r ^ n
theorem IsRealClosed.exists_eq_zpow_of_odd E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] (x : R) {k : ℤ}, Odd k → ∃ r, x = r ^ k
theorem IsRealClosed.exists_eq_pow_of_isSquare E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] {x : R}, IsSquare x → ∀ {n : ℕ}, n ≠ 0 → ∃ r, x = r ^ n
theorem IsRealClosed.exists_eq_zpow_of_isSquare E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] {x : R}, IsSquare x → ∀ {k : ℤ}, k ≠ 0 → ∃ r, x = r ^ k
theorem IsRealClosed.nonneg_iff_isSquare E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] [inst_2 : LinearOrder R] [IsStrictOrderedRing R] {x : R},
0 ≤ x ↔ IsSquare x
theorem IsSquare.of_nonneg E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] [inst_2 : LinearOrder R] [IsStrictOrderedRing R] {x : R},
0 ≤ x → IsSquare x
Alias of the forward direction of IsRealClosed.nonneg_iff_isSquare.
theorem IsRealClosed.exists_eq_pow_of_nonneg E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] [inst_2 : LinearOrder R] [IsStrictOrderedRing R] {x : R},
0 ≤ x → ∀ {n : ℕ}, n ≠ 0 → ∃ r, x = r ^ n
theorem IsRealClosed.exists_eq_zpow_of_nonneg E1 #
∀ {R : Type u} [inst : Field R] [IsRealClosed R] [inst_2 : LinearOrder R] [IsStrictOrderedRing R] {x : R},
0 ≤ x → ∀ {k : ℤ}, k ≠ 0 → ∃ r, x = r ^ k