Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import Mathlib.RingTheory.Etale.StandardEtale |
| 2 | |
| 3 | /-! # Section Kernel -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.SectionKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A section of an étale algebra is isolated by an actual principal |
| 10 | open. The chosen element maps to one and annihilates the section kernel. -/ |
| 11 | |
| 12 | universe u v |
| 13 | variable {R : Type u} [CommRing R] {A : Type v} [CommRing A] [Algebra R A] |
| 14 | [Algebra.Etale R A] (ε : A →ₐ[R] R) |
| 15 | |
| 16 | theorem exists_annihilator : |
| 17 | ∃ s : A, ε s = 1 ∧ ∀ x, ε x = 0 → s * x = 0 := by |
| 18 | have hsurj : Function.Surjective ε := fun r => ⟨algebraMap R A r, ε.commutes r⟩ |
| 19 | let : Algebra A R := ε.toAlgebra |
| 20 | let : IsScalarTower R A R := .of_algebraMap_eq' ε.comp_algebraMap.symm |
| 21 | have hform : Algebra.FormallyEtale A R := .of_restrictScalars (R := R) |
| 22 | have hid : IsIdempotentElem (RingHom.ker ε.toRingHom) := |
| 23 | (Algebra.FormallyEtale.iff_of_surjective (show Function.Surjective (algebraMap A R) from hsurj)).mp hform |
| 24 | obtain ⟨e, he, hker⟩ := |
| 25 | (Ideal.isIdempotentElem_iff_of_fg (RingHom.ker ε.toRingHom) |
| 26 | (Algebra.FinitePresentation.ker_fG_of_surjective ε hsurj)).mp hid |
| 27 | have hker' : RingHom.ker ε.toRingHom = Ideal.span {e} := hker |
| 28 | have heval : ε e = 0 := by |
| 29 | change e ∈ RingHom.ker ε.toRingHom |
| 30 | rw [hker'] |
| 31 | exact Ideal.subset_span (Set.mem_singleton e) |
| 32 | refine ⟨1 - e, by simp only [map_sub, map_one, heval, sub_zero], ?_⟩ |
| 33 | intro x hx |
| 34 | have hmem : x ∈ Ideal.span {e} := by |
| 35 | rw [← hker'] |
| 36 | exact hx |
| 37 | obtain ⟨a, rfl⟩ := Ideal.mem_span_singleton'.mp hmem |
| 38 | calc |
| 39 | (1 - e) * (a * e) = a * ((1 - e) * e) := by ring |
| 40 | _ = 0 := by rw [sub_mul, one_mul, he.eq, sub_self, mul_zero] |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.SectionKernel |