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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 2 | import Mathlib.CategoryTheory.EffectiveEpi.Basic |
| 3 | |
| 4 | /-! # Over Effective Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.OverEffectiveDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Descending a morphism over the base along an underlying effective epimorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem over_factor_of_effectiveEpi {S : Scheme.{u}} {X Y Z : Over S} |
| 17 | (f : X ⟶ Y) [EffectiveEpi f.left] (m : X ⟶ Z) |
| 18 | (h : ∀ {T : Over S} (a b : T ⟶ X), a ≫ f = b ≫ f → a ≫ m = b ≫ m) : |
| 19 | ∃! d : Y ⟶ Z, f ≫ d = m := by |
| 20 | have hs {T : Scheme.{u}} (a b : T ⟶ X.left) (hab : a ≫ f.left = b ≫ f.left) : |
| 21 | a ≫ m.left = b ≫ m.left := by |
| 22 | let V : Over S := Over.mk (a ≫ X.hom) |
| 23 | let a' : V ⟶ X := Over.homMk a rfl |
| 24 | have hb : b ≫ X.hom = a ≫ X.hom := by |
| 25 | have he := congrArg (fun v : T ⟶ Y.left => v ≫ Y.hom) hab |
| 26 | simpa only [Category.assoc, f.w] using he.symm |
| 27 | let b' : V ⟶ X := Over.homMk b hb |
| 28 | exact congrArg (fun v : V ⟶ Z => v.left) (h a' b' (Over.OverMorphism.ext hab)) |
| 29 | let d := EffectiveEpi.desc f.left m.left hs |
| 30 | have hd : f.left ≫ d = m.left := EffectiveEpi.fac f.left m.left hs |
| 31 | have hw : d ≫ Z.hom = Y.hom := by |
| 32 | apply (cancel_epi f.left).mp |
| 33 | rw [← Category.assoc, hd, m.w, f.w] |
| 34 | refine ⟨Over.homMk d hw, Over.OverMorphism.ext hd, ?_⟩ |
| 35 | intro e he |
| 36 | apply Over.OverMorphism.ext |
| 37 | exact EffectiveEpi.uniq f.left m.left hs e.left |
| 38 | (congrArg (fun v : X ⟶ Z => v.left) he) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.OverEffectiveDescent |