{
  "id": "8086",
  "ident": "NS.08086",
  "slug": "wikipedia-koethe",
  "title": "Köthe conjecture",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "The **Köthe conjecture**: In any ring, the sum of two nil left ideals is nil.",
  "subjects": [
    "math.RA",
    "msc:16"
  ],
  "tags": [],
  "collection": "wikipedia",
  "source_url": "https://en.wikipedia.org/wiki/K%C3%B6the_conjecture",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Koethe.KotheConjecture",
  "statement_lean": "theorem KotheConjecture (I J : Ideal R) (hI : IsNil I) (hJ : IsNil J) : IsNil (I + J)",
  "challenge_source": "/-\nCopyright 2025 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Köthe conjecture\n\n*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/K%C3%B6the_conjecture)\n-/\n\n@[expose] public section\n\nopen Ideal TwoSidedIdeal Polynomial\n\nopen Matrix\n\nuniverse u v w\n\nvariable {R : Type*}\n\nvariable [Ring R]\n\nnamespace Koethe\n\n/-- Say a subset `I` of a ring `R` is nilpotent if all its elements are nilpotent. -/\ndef IsNil {S : Type*} [SetLike S R] (I : S) := ∀ i ∈ I, IsNilpotent i\n\n-- TODO(lezeau): add some basic API and already known results for nil ideals\n\nvariable (R) in\n/-- The *Kothe Radical* of a ring `R` is the sum of all (two-sided) nil ideals of `R`.\nTags: Kothe Radical, upper nilradical-/\ndef KotheRadical : TwoSidedIdeal R := sSup {I : TwoSidedIdeal R | IsNil I}\n\n-- This is often denoted `Nil*(R)`\nlocal notation \"Nil* \" R => KotheRadical R\n\n/- ### Basic API for nil ideals -/\n\n/-- A subset of a nil subset is nil. -/\n@[category API, AMS 16]\ntheorem IsNil.mono {S : Type*} [SetLike S R] {I J : S} (h : (I : Set R) ⊆ J) (hJ : IsNil J) :\n    IsNil I :=\n  fun i hi => hJ i (h hi)\n\n/-- The zero two-sided ideal is nil. -/\n@[category API, AMS 16]\ntheorem isNil_bot : IsNil (⊥ : TwoSidedIdeal R) := fun x hx => by\n  rw [TwoSidedIdeal.mem_bot] at hx\n  exact hx ▸ IsNilpotent.zero\n\n/-- The sum of two nil two-sided ideals is nil. -/\n@[category API, AMS 16]\ntheorem IsNil.sup {I J : TwoSidedIdeal R} (hI : IsNil I) (hJ : IsNil J) : IsNil (I ⊔ J) := by\n  intro x hx\n  obtain ⟨a, ha, b, hb, rfl⟩ := TwoSidedIdeal.mem_sup.mp hx\n  obtain ⟨m, hm⟩ := hJ b hb\n  -- Modulo `I`, the element `a + b` is `b`, hence `(a + b) ^ m ∈ I`.\n  have hmem : (a + b) ^ m ∈ I := by\n    have ha' : (a : I.ringCon.Quotient) = 0 := I.ringCon.eq.mpr ha\n    rw [TwoSidedIdeal.mem_iff, ← I.ringCon.eq, RingCon.coe_pow, RingCon.coe_add, ha', zero_add,\n      ← RingCon.coe_pow, hm]\n  obtain ⟨k, hk⟩ := hI _ hmem\n  exact ⟨m * k, by rw [pow_mul, hk]⟩\n\nvariable (R) in\n/-- The Köthe radical is a nil ideal: every element of `Nil* R` is nilpotent. This is a standard\nfact which does not depend on the Köthe conjecture. -/\n@[category API, AMS 16]\ntheorem isNil_kotheRadical : IsNil (Nil* R) := by\n  -- The union of all nil two-sided ideals is itself a nil two-sided ideal.\n  let K : TwoSidedIdeal R := .mk' {x | ∃ I : TwoSidedIdeal R, IsNil I ∧ x ∈ I}\n    ⟨⊥, isNil_bot, TwoSidedIdeal.zero_mem ⊥⟩\n    (by\n      rintro x y ⟨I, hI, hx⟩ ⟨J, hJ, hy⟩\n      exact ⟨I ⊔ J, hI.sup hJ,\n        add_mem (TwoSidedIdeal.mem_sup_left hx) (TwoSidedIdeal.mem_sup_right hy)⟩)\n    (by rintro x ⟨I, hI, hx⟩; exact ⟨I, hI, neg_mem hx⟩)\n    (by rintro x y ⟨I, hI, hy⟩; exact ⟨I, hI, I.mul_mem_left _ _ hy⟩)\n    (by rintro x y ⟨I, hI, hx⟩; exact ⟨I, hI, I.mul_mem_right _ _ hx⟩)\n  have hK : IsNil K := fun x hx => by\n    obtain ⟨I, hI, hx⟩ := (TwoSidedIdeal.mem_mk' _ _ _ _ _ _ x).mp hx\n    exact hI x hx\n  refine hK.mono (TwoSidedIdeal.le_iff.mp (sSup_le fun I hI => ?_))\n  intro x hx\n  exact (TwoSidedIdeal.mem_mk' _ _ _ _ _ _ x).mpr ⟨I, hI, hx⟩\n\n/-- If `L` is a nil left ideal, then so is `L * y` for any `y`. -/\n@[category API, AMS 16]\ntheorem IsNil.map_mulRight {L : Ideal R} (hL : IsNil L) (y : R) :\n    IsNil (Submodule.map (LinearMap.mulRight R y) L) := by\n  intro z hz\n  obtain ⟨x, hx, rfl⟩ := Submodule.mem_map.mp hz\n  obtain ⟨k, hk⟩ := hL _ (L.mul_mem_left y hx)\n  refine ⟨k + 1, ?_⟩\n  rw [LinearMap.mulRight_apply, pow_succ, ← mul_assoc, mul_pow_mul, hk, mul_zero, zero_mul]\n\n/-- The **Köthe conjecture**: In any ring, the sum of two nil left ideals is nil. -/\n@[category research open, AMS 16]\ntheorem KotheConjecture (I J : Ideal R) (hI : IsNil I) (hJ : IsNil J) : IsNil (I + J) := by\n  sorry\n\n/-- The **Köthe conjecture**: every left nil radical is contained in the Köthe radical. -/\n@[category research open, AMS 16]\ntheorem KotherConjecture.variants.le_KotherRadical {I : Ideal R} (hI : IsNil I) :\n    (I : Set R) ⊆ KotheRadical R := by\n  sorry\n\nopen scoped Classical in\n/-- The **Köthe conjecture**: for any nil ideal `I` of `R`, the matrix ideal `M_n(I)` is a nil ideal\nof the matrix ring `M_n(R)`. -/\n@[category research open, AMS 16]\ntheorem KotherConjecture.variants.general_matrix {I : TwoSidedIdeal R} (hI : IsNil I)\n    (n : Type*) [Fintype n] : IsNil (matrix n I) := by\n  sorry\n\n/-- The **Köthe conjecture**: for any nil ideal `I` of `R`, the matrix ideal `M_2(I)` is a nil ideal\nof the matrix ring `M_2(R)`. -/\n@[category research open, AMS 16]\ntheorem KotherConjecture.variants.two_by_two_matrix {I : TwoSidedIdeal R} (hI : IsNil I) :\n    IsNil (matrix (Fin 2) I) := by\n  sorry\n\nopen scoped Classical in\n/-- The **Köthe conjecture**: for any finite index type `n`, the Köthe radical of the matrix\nring `M_n(R)` is the ideal `M_n(Nil*(R))` of matrices with entries in the Köthe radical of `R`. -/\n@[category research open, AMS 16]\ntheorem KotherConjecture.variants.matrixOver_KotherRadical (n : Type*) [Fintype n] :\n    matrix n (Nil* R) = Nil* (Matrix n n R) := by\n  sorry\n\n/-\n### Relations between the different formulations\n\nAll the formulations of the Köthe conjecture above are known to be equivalent (Krempa). We record\nhere the implications that have a short formal proof. In particular each of\n`KotheConjecture`, `KotherConjecture.variants.le_KotherRadical`,\n`KotherConjecture.variants.two_by_two_matrix` and\n`KotherConjecture.variants.matrixOver_KotherRadical` implies\n`KotherConjecture.variants.general_matrix`, so that a counterexample to the latter immediately\nyields counterexamples to all the others.\n\nThe implication `KotherConjecture.variants.general_matrix → KotheConjecture` (also due to Krempa)\nis not formalized here.\n-/\n\nsection ColumnIdeal\n\nvariable {n : Type*} [Fintype n] [DecidableEq n]\n\n/-- The left ideal of `Matrix n n R` consisting of the matrices with entries in `I` which are\nsupported on the `j`-th column. -/\ndef columnIdeal (I : TwoSidedIdeal R) (j : n) : Ideal (Matrix n n R) where\n  carrier := {M | ∀ i k, M i k ∈ I ∧ (k ≠ j → M i k = 0)}\n  zero_mem' _ _ := ⟨I.zero_mem, fun _ => rfl⟩\n  add_mem' hM hN i k :=\n    ⟨add_mem (hM i k).1 (hN i k).1, fun hk => by simp [(hM i k).2 hk, (hN i k).2 hk]⟩\n  smul_mem' B _ hM i k := by\n    simp only [smul_eq_mul, Matrix.mul_apply]\n    refine ⟨sum_mem fun l _ => I.mul_mem_left _ _ (hM l k).1, fun hk => ?_⟩\n    exact Finset.sum_eq_zero fun l _ => by rw [(hM l k).2 hk, mul_zero]\n\n/-- Powers of a matrix supported on the `j`-th column are controlled by the `(j, j)` entry. -/\n@[category API, AMS 16]\ntheorem pow_succ_apply_of_mem_columnIdeal {I : TwoSidedIdeal R} {j : n} {M : Matrix n n R}\n    (hM : M ∈ columnIdeal I j) (m : ℕ) (i k : n) :\n    (M ^ (m + 1)) i k = M i k * M j j ^ m := by\n  induction m generalizing i k with\n  | zero => simp\n  | succ m ih =>\n    rw [pow_succ, Matrix.mul_apply]\n    rcases eq_or_ne k j with hk | hk\n    · rw [hk, Finset.sum_eq_single j (fun l _ hl => by rw [ih, (hM i l).2 hl, zero_mul, zero_mul])\n        (fun h => absurd (Finset.mem_univ _) h), ih, pow_succ, mul_assoc]\n    · rw [(hM i k).2 hk, zero_mul]\n      exact Finset.sum_eq_zero fun l _ => by rw [(hM l k).2 hk, mul_zero]\n\n/-- For a nil ideal `I`, the column ideals `columnIdeal I j` are nil left ideals. -/\n@[category API, AMS 16]\ntheorem isNil_columnIdeal {I : TwoSidedIdeal R} (hI : IsNil I) (j : n) :\n    IsNil (columnIdeal I j) := by\n  intro M hM\n  obtain ⟨m, hm⟩ := hI _ (hM j j).1\n  refine ⟨m + 1, ?_⟩\n  ext i k\n  rw [pow_succ_apply_of_mem_columnIdeal hM m i k, hm, mul_zero, Matrix.zero_apply]\n\n/-- The matrix ideal `M_n(I)` is the sum of the column ideals `columnIdeal I j`. -/\n@[category API, AMS 16]\ntheorem mem_iSup_columnIdeal {I : TwoSidedIdeal R} {M : Matrix n n R}\n    (hM : M ∈ TwoSidedIdeal.matrix n I) :\n    M ∈ ⨆ j, columnIdeal I j := by\n  have : M = ∑ j, Matrix.of fun i k => if k = j then M i k else 0 := by\n    ext i k\n    simp [Matrix.sum_apply]\n  rw [this]\n  refine sum_mem fun j _ => Submodule.mem_iSup_of_mem j fun i k => ?_\n  simp only [Matrix.of_apply]\n  refine ⟨?_, fun hk => if_neg hk⟩\n  split_ifs\n  · exact hM i k\n  · exact I.zero_mem\n\nend ColumnIdeal\n\n/-- If the Köthe conjecture holds (for rings in universe `w`), then a finite sum of nil left\nideals is nil. -/\n@[category API, AMS 16]\ntheorem isNil_iSup_of_kotheConjecture (h : type_of% @KotheConjecture.{w}) {S : Type w} [Ring S]\n    {ι : Type*} [Fintype ι] {L : ι → Ideal S} (hL : ∀ i, IsNil (L i)) :\n    IsNil (⨆ i, L i) := by\n  rw [← Finset.sup_univ_eq_iSup]\n  refine Finset.sup_induction ?_ (fun a ha b hb => h a b ha hb) fun i _ => hL i\n  intro x hx\n  rw [Submodule.mem_bot] at hx\n  exact hx ▸ IsNilpotent.zero\n\n/-- The Köthe conjecture (for rings in universe `max u v`) implies the general matrix\nformulation for rings in universe `u` and index types in universe `v`. -/\n@[category research solved, AMS 16]\ntheorem KotherConjecture.variants.general_matrix_of_KotheConjecture\n    (h : type_of% @KotheConjecture.{max u v}) :\n    type_of% @KotherConjecture.variants.general_matrix.{u, v} := by\n  classical\n  intro R _ I hI n _ M hM\n  exact isNil_iSup_of_kotheConjecture h (fun j => isNil_columnIdeal hI j) M\n    (mem_iSup_columnIdeal hM)\n\n/-- If every nil left ideal is contained in the Köthe radical, then the Köthe conjecture holds. -/\n@[category research solved, AMS 16]\ntheorem KotherConjecture.variants.KotheConjecture_of_le_KotherRadical\n    (h : type_of% @KotherConjecture.variants.le_KotherRadical.{u}) :\n    type_of% @KotheConjecture.{u} := by\n  intro R _ I J hI hJ x hx\n  rw [Submodule.add_eq_sup, Submodule.mem_sup] at hx\n  obtain ⟨y, hy, z, hz, rfl⟩ := hx\n  exact isNil_kotheRadical R _ (add_mem (h hI hy) (h hJ hz))\n\n/-- The Köthe conjecture implies that every nil left ideal is contained in the Köthe radical. -/\n@[category research solved, AMS 16]\ntheorem KotherConjecture.variants.le_KotherRadical_of_KotheConjecture\n    (h : type_of% @KotheConjecture.{u}) :\n    type_of% @KotherConjecture.variants.le_KotherRadical.{u} := by\n  intro R _ I hI\n  -- The union of all nil left ideals is a nil two-sided ideal.\n  let K : TwoSidedIdeal R := .mk' {x | ∃ L : Ideal R, IsNil L ∧ x ∈ L}\n    ⟨⊥, fun x hx => by rw [Ideal.mem_bot] at hx; exact hx ▸ IsNilpotent.zero,\n      Submodule.zero_mem _⟩\n    (by\n      rintro x y ⟨L, hL, hx⟩ ⟨L', hL', hy⟩\n      exact ⟨L + L', h L L' hL hL', Submodule.add_mem_sup hx hy⟩)\n    (by rintro x ⟨L, hL, hx⟩; exact ⟨L, hL, neg_mem hx⟩)\n    (by rintro x y ⟨L, hL, hy⟩; exact ⟨L, hL, L.mul_mem_left _ hy⟩)\n    (by\n      rintro x y ⟨L, hL, hx⟩\n      exact ⟨Submodule.map (LinearMap.mulRight R y) L, hL.map_mulRight y,\n        Submodule.mem_map_of_mem hx⟩)\n  have hK : IsNil K := fun x hx => by\n    obtain ⟨L, hL, hx⟩ := (TwoSidedIdeal.mem_mk' _ _ _ _ _ _ x).mp hx\n    exact hL x hx\n  intro x hx\n  have hxK : x ∈ K := (TwoSidedIdeal.mem_mk' _ _ _ _ _ _ x).mpr ⟨I, hI, hx⟩\n  exact TwoSidedIdeal.le_iff.mp (le_sSup hK) hxK\n\n/-- If every nil left ideal is contained in the Köthe radical (for rings in universe `max u v`),\nthen the general matrix formulation holds. -/\n@[category research solved, AMS 16]\ntheorem KotherConjecture.variants.general_matrix_of_le_KotherRadical\n    (h : type_of% @KotherConjecture.variants.le_KotherRadical.{max u v}) :\n    type_of% @KotherConjecture.variants.general_matrix.{u, v} :=\n  general_matrix_of_KotheConjecture (KotheConjecture_of_le_KotherRadical h)\n\n/-- The general matrix formulation of the Köthe conjecture trivially implies the `2 × 2` one. -/\n@[category test, AMS 16]\ntheorem KotherConjecture.variants.two_by_two_matrix_of_general_matrix\n    (h : type_of% @KotherConjecture.variants.general_matrix.{u, 0}) :\n    type_of% @KotherConjecture.variants.two_by_two_matrix.{u} := by\n  intro R _ I hI\n  convert h hI (Fin 2)\n\nsection MatrixTransfer\n\nvariable {m : Type*} [Fintype m] [DecidableEq m] {n : Type*} [Fintype n] [DecidableEq n]\n\n/-- Nilness of the matrix ideal `M_n(I)` only depends on the cardinality of `n`. -/\n@[category API, AMS 16]\ntheorem isNil_matrix_of_equiv (e : m ≃ n) {I : TwoSidedIdeal R}\n    (h : IsNil (TwoSidedIdeal.matrix m I)) : IsNil (TwoSidedIdeal.matrix n I) := by\n  intro M hM\n  have hM' : (Matrix.reindexRingEquiv R e).symm M ∈ TwoSidedIdeal.matrix m I := fun i j => hM _ _\n  simpa using (h _ hM').map (Matrix.reindexRingEquiv R e)\n\n/-- If `M_{n ⊕ m}(I)` is nil then so is `M_n(I)`, using the block embedding. -/\n@[category API, AMS 16]\ntheorem isNil_matrix_of_sum {I : TwoSidedIdeal R} (h : IsNil (TwoSidedIdeal.matrix (n ⊕ m) I)) :\n    IsNil (TwoSidedIdeal.matrix n I) := by\n  intro M hM\n  have hM' : Matrix.fromBlocks M 0 0 0 ∈ TwoSidedIdeal.matrix (n ⊕ m) I := by\n    rw [TwoSidedIdeal.mem_matrix] at hM ⊢\n    rintro (i | i) (j | j) <;> simp [hM]\n  obtain ⟨k, hk⟩ := h _ hM'\n  have key : ∀ k, (Matrix.fromBlocks M 0 0 0 : Matrix (n ⊕ m) (n ⊕ m) R) ^ (k + 1) =\n      Matrix.fromBlocks (M ^ (k + 1)) 0 0 0 := by\n    intro k\n    induction k with\n    | zero => simp\n    | succ k ih => rw [pow_succ, ih, Matrix.fromBlocks_multiply]; simp [pow_succ]\n  have := key k\n  rw [pow_succ, hk, zero_mul] at this\n  exact ⟨k + 1, (Matrix.fromBlocks_inj.mp (this.symm.trans Matrix.fromBlocks_zero.symm)).1⟩\n\nend MatrixTransfer\n\n/-- If `M_2(J)` is nil for every nil ideal `J` of every ring in universe `u`, then nilness of\n`M_m(I)` implies nilness of `M_{2m}(I)`, using `M_2(M_m(R)) ≃ M_{2m}(R)`. -/\n@[category API, AMS 16]\ntheorem isNil_matrix_prod_of_two_by_two_matrix\n    (h : type_of% @KotherConjecture.variants.two_by_two_matrix.{u}) {R : Type u} [Ring R]\n    {m : Type} [Fintype m] [DecidableEq m] {I : TwoSidedIdeal R}\n    (hm : IsNil (TwoSidedIdeal.matrix m I)) : IsNil (TwoSidedIdeal.matrix (Fin 2 × m) I) := by\n  intro M hM\n  have hM' : (Matrix.compRingEquiv (Fin 2) m R).symm M ∈\n      TwoSidedIdeal.matrix (Fin 2) (TwoSidedIdeal.matrix m I) :=\n    fun a b c d => hM _ _\n  simpa using (h hm _ hM').map (Matrix.compRingEquiv (Fin 2) m R)\n\n/-- The `2 × 2` matrix formulation of the Köthe conjecture (for rings in universe `u`) implies\nthe general matrix formulation (Krempa): one first deduces the case of `2 ^ k × 2 ^ k` matrices\nby induction and then embeds `M_n(R)` in a corner of `M_{2 ^ k}(R)`. -/\n@[category research solved, AMS 16]\ntheorem KotherConjecture.variants.general_matrix_of_two_by_two_matrix\n    (h : type_of% @KotherConjecture.variants.two_by_two_matrix.{u}) :\n    type_of% @KotherConjecture.variants.general_matrix.{u, v} := by\n  classical\n  intro R _ I hI n _\n  have key : ∀ k, IsNil (TwoSidedIdeal.matrix (Fin (k + 1) → Fin 2) I) := by\n    intro k\n    induction k with\n    | zero => exact isNil_matrix_of_equiv (Equiv.funUnique (Fin 1) (Fin 2)).symm (h hI)\n    | succ k ih =>\n      exact isNil_matrix_of_equiv (Fin.consEquiv fun _ => Fin 2)\n        (isNil_matrix_prod_of_two_by_two_matrix h ih)\n  have hle : Fintype.card n ≤ 2 ^ (Fintype.card n + 1) :=\n    Nat.lt_two_pow_self.le.trans (Nat.pow_le_pow_right two_pos (Nat.le_succ _))\n  have e : n ⊕ Fin (2 ^ (Fintype.card n + 1) - Fintype.card n) ≃\n      (Fin (Fintype.card n + 1) → Fin 2) :=\n    Fintype.equivOfCardEq (by simp; omega)\n  exact isNil_matrix_of_sum (isNil_matrix_of_equiv e.symm (key _))\n\n/-- The formulation of the Köthe conjecture in terms of the Köthe radical of matrix rings implies\nthe general matrix formulation. -/\n@[category research solved, AMS 16]\ntheorem KotherConjecture.variants.general_matrix_of_matrixOver_KotherRadical\n    (h : type_of% @KotherConjecture.variants.matrixOver_KotherRadical.{u, v}) :\n    type_of% @KotherConjecture.variants.general_matrix.{u, v} := by\n  classical\n  intro R _ I hI n _\n  refine (isNil_kotheRadical (Matrix n n R)).mono ?_\n  rw [← h n]\n  exact TwoSidedIdeal.le_iff.mp (TwoSidedIdeal.matrix_monotone n (le_sSup hI))\n\n/-- The general matrix formulation of the Köthe conjecture implies the formulation in terms of\nthe Köthe radical of matrix rings. -/\n@[category research solved, AMS 16]\ntheorem KotherConjecture.variants.matrixOver_KotherRadical_of_general_matrix\n    (h : type_of% @KotherConjecture.variants.general_matrix.{u, v}) :\n    type_of% @KotherConjecture.variants.matrixOver_KotherRadical.{u, v} := by\n  classical\n  intro R _ n _\n  refine le_antisymm (le_sSup (h (isNil_kotheRadical R) n)) ?_\n  intro N hN i j\n  have : Nonempty n := ⟨i⟩\n  -- Every two-sided ideal of `Matrix n n R` is of the form `M_n(J)`.\n  obtain ⟨J, hJ⟩ :\n      ∃ J : TwoSidedIdeal R, KotheRadical (Matrix n n R) = TwoSidedIdeal.matrix n J :=\n    ⟨TwoSidedIdeal.equivMatrix.symm _,\n      ((TwoSidedIdeal.equivMatrix (n := n)).apply_symm_apply _).symm⟩\n  have hJnil : IsNil J := by\n    intro r hr\n    have hmem : Matrix.single i i r ∈ Nil* (Matrix n n R) := by\n      rw [hJ, TwoSidedIdeal.mem_matrix]\n      intro a b\n      by_cases hab : i = a ∧ i = b\n      · obtain ⟨rfl, rfl⟩ := hab\n        simpa using hr\n      · rw [Matrix.single_apply_of_ne _ _ _ _ _ hab]\n        exact J.zero_mem\n    obtain ⟨k, hk⟩ := isNil_kotheRadical (Matrix n n R) _ hmem\n    have hpow : ∀ k, Matrix.single i i r ^ (k + 1) = Matrix.single i i (r ^ (k + 1)) := by\n      intro k\n      induction k with\n      | zero => simp\n      | succ k ih => rw [pow_succ, ih, Matrix.single_mul_single_same, ← pow_succ]\n    refine ⟨k + 1, ?_⟩\n    have := congrFun (congrFun (hpow k) i) i\n    rw [pow_succ, hk, zero_mul] at this\n    simpa using this.symm\n  rw [hJ] at hN\n  exact TwoSidedIdeal.le_iff.mp (le_sSup hJnil) (hN i j)\n\n/-\nTODO(lezeau): The two last statements I want to formalize use the (two-sided) Jacobson ideal.\nSanity check that the current mathlib definition is what I want.\n-/\n\n/--\nThe **Amitsur Conjecture**: If `J` is a nil ideal in `R`, then `J[x]` is a nil ideal of the polynomial ring `R[x]`.\nThis is known to be false, see Agata Smoktunowicz, _Polynomial rings over nil rings need not be nil_.\n-/\n@[category research solved, AMS 16]\ntheorem amitsur_conjecture : ¬ ∀ (R : Type) [Ring R] (J : TwoSidedIdeal R), IsNil J →\n    IsNil (TwoSidedIdeal.map (Polynomial.C) J) := by\n  sorry\n\nend Koethe\n",
  "statement_hash": "4288dafae4f3792105602cad97b7f067f7cc3213b5e4c0a675b269e53b5dcac3",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}