File tree Expand file tree Collapse file tree
Mathlib/RingTheory/Algebraic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,18 +62,21 @@ theorem transcendental_iff {x : A} :
6262protected def Subalgebra.IsAlgebraic (S : Subalgebra R A) : Prop :=
6363 ∀ x ∈ S, IsAlgebraic R x
6464
65- variable (R A)
66-
65+ variable (R A) in
6766/-- An algebra is algebraic if all its elements are algebraic. -/
6867@ [stacks 09GC "Algebraic extensions" ]
6968protected class Algebra.IsAlgebraic : Prop where
7069 isAlgebraic : ∀ x : A, IsAlgebraic R x
7170
71+ variable (R A) in
7272/-- An algebra is transcendental if some element is transcendental. -/
7373protected class Algebra.Transcendental : Prop where
7474 transcendental : ∃ x : A, Transcendental R x
7575
76- variable {R A}
76+ variable (R A) in
77+ lemma Algebra.nontrivial_of_isAlgebraic [Algebra.IsAlgebraic R A] : Nontrivial R := by
78+ obtain ⟨p, hp, -⟩ := Algebra.IsAlgebraic.isAlgebraic (R := R) (0 : A)
79+ exact .of_polynomial_ne hp
7780
7881lemma Algebra.isAlgebraic_def : Algebra.IsAlgebraic R A ↔ ∀ x : A, IsAlgebraic R x :=
7982 ⟨fun ⟨h⟩ ↦ h, fun h ↦ ⟨h⟩⟩
You can’t perform that action at this time.
0 commit comments