Download lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularRadical.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.95 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularRadical.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularRadical.lean
-
curl -L -o TriangularRadical.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularRadical.lean
2.95 kB
Lean 4 · 8
declarations statementsfull
theorem diagonal_kernel_square :
(RingHom.ker (diagonal (R := R) (F := F))) ^ 2 = ⊥ := by proof · 12 lines
apply le_antisymm _ bot_le
rw [Submodule.pow_succ, Submodule.pow_one]
apply Ideal.mul_le.mpr
intro a ha b hb
change (a.top, a.bottom) = (0, 0) at ha
change (b.top, b.bottom) = (0, 0) at hb
have ha₁ : a.top = 0 := congrArg Prod.fst ha
have ha₂ : a.bottom = 0 := congrArg Prod.snd ha
have hb₁ : b.top = 0 := congrArg Prod.fst hb
have hb₂ : b.bottom = 0 := congrArg Prod.snd hb
change a * b = 0
ext <;> simp [ha₁, ha₂, hb₁, hb₂]theorem radical_eq_comap :
Ring.jacobson (Triangular R F) = Ideal.comap diagonal (Ring.jacobson (R × R)) := by proof · 5 lines
apply jacobson_eq_comap_of_nil_kernel _ diagonal_surjective
intro a ha
refine ⟨2, ?_⟩
have h := Ideal.pow_mem_pow ha 2
simpa only [diagonal_kernel_square, Ideal.mem_bot] using htheorem mem_jacobson_iff (a : Triangular R F) :
a ∈ Ring.jacobson (Triangular R F) ↔
a.top ∈ Ring.jacobson R ∧ a.bottom ∈ Ring.jacobson R := by proof · 2 lines
rw [radical_eq_comap] exact mem_jacobson_prod_iff (a.top, a.bottom)
def diagonalAlg : Triangular R F →ₐ[k] R × R where body · 4 lines
__ := diagonal
commutes' c := by
simp only [Algebra.algebraMap_eq_smul_one]
rfldef quotientMap (f : R →ₐ[k] S) : Triangular R F →ₐ[k] S × S := body · 1 line
(f.prodMap f).comp (diagonalAlg k)
theorem quotientMap_surjective (f : R →ₐ[k] S) (hf : Function.Surjective f) :
Function.Surjective (quotientMap (F := F) k f) := by proof · 4 lines
rintro ⟨s, t⟩
obtain ⟨r, hr⟩ := hf s
obtain ⟨r', hr'⟩ := hf t
exact ⟨⟨r, r', 0⟩, Prod.ext hr hr'⟩theorem radical_eq_ker_quotientMap (f : R →ₐ[k] S)
(hf : Ring.jacobson R = RingHom.ker f) :
Ring.jacobson (Triangular R F) = RingHom.ker (quotientMap k f) := by proof · 4 lines
ext a
rw [mem_jacobson_iff, hf]
change (f a.top = 0 ∧ f a.bottom = 0) ↔ (f a.top, f a.bottom) = (0, 0)
simp only [Prod.mk.injEq]noncomputable def semisimpleQuotientEquiv (f : R →ₐ[k] S)
(hsurj : Function.Surjective f) (hker : Ring.jacobson R = RingHom.ker f) :
(Triangular R F ⧸ Ring.jacobson (Triangular R F)) ≃ₐ[k] S × S := body · 2 lines
(Ideal.quotientEquivAlgOfEq k (radical_eq_ker_quotientMap k f hker)).trans
(Ideal.quotientKerAlgEquivOfSurjective (quotientMap_surjective k f hsurj))Outline