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.Basic |
| 2 | import Mathlib.RingTheory.Kaehler.JacobiZariski |
| 3 | |
| 4 | /-! # Etale Cotangent Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EtaleCotangentCriterion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A cotangent criterion for formal etaleness over a common smooth base. -/ |
| 11 | |
| 12 | open _root_.Algebra |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable (R : Type u) (S : Type v) (T : Type w) |
| 17 | variable [CommRing R] [CommRing S] [CommRing T] |
| 18 | variable [Algebra R S] [Algebra R T] [Algebra S T] [IsScalarTower R S T] |
| 19 | |
| 20 | theorem formallyEtale_of_cotangent_injective [FormallySmooth R T] [FormallyUnramified S T] |
| 21 | (h : Function.Injective (KaehlerDifferential.mapBaseChange R S T)) : FormallyEtale S T where |
| 22 | subsingleton_kaehlerDifferential := inferInstance |
| 23 | subsingleton_h1Cotangent := by |
| 24 | have hz (x : H1Cotangent S T) : x = 0 := by |
| 25 | have hd : H1Cotangent.δ R S T x = 0 := h |
| 26 | ((H1Cotangent.exact_δ_mapBaseChange R S T).apply_apply_eq_zero x |>.trans (map_zero _).symm) |
| 27 | obtain ⟨y, rfl⟩ := (H1Cotangent.exact_map_δ R S T x).mp hd |
| 28 | rw [Subsingleton.elim y 0, map_zero] |
| 29 | exact ⟨fun x y => (hz x).trans (hz y).symm⟩ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EtaleCotangentCriterion |