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.Closed.ImmersionFactorization |
| 2 | |
| 3 | /-! # Ideal Parameter -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.IdealParameter |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An ideal on a parameter scheme defines a closed parameter scheme with its exact points on every test scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} (M : Over S) (I : M.left.IdealSheafData) |
| 16 | |
| 17 | def closedIdealParameter : Over S := Over.mk (I.subschemeι ≫ M.hom) |
| 18 | |
| 19 | def closedIdealParameterInclusion : closedIdealParameter M I ⟶ M := |
| 20 | Over.homMk I.subschemeι rfl |
| 21 | |
| 22 | instance closedIdealParameterInclusion_closed : |
| 23 | IsClosedImmersion (closedIdealParameterInclusion M I).left := |
| 24 | inferInstanceAs (IsClosedImmersion I.subschemeι) |
| 25 | |
| 26 | def closedIdealParameterPointEquiv (T : Over S) : |
| 27 | (T ⟶ closedIdealParameter M I) ≃ {c : T ⟶ M // I.comap c.left = ⊥} where |
| 28 | toFun y := ⟨y ≫ closedIdealParameterInclusion M I, by |
| 29 | rw [ConditionIdeals.ideal_comap_eq_bot_iff] |
| 30 | change I ≤ (y.left ≫ I.subschemeι).ker |
| 31 | exact I.ker_subschemeι.symm.le.trans (Scheme.Hom.le_ker_comp _ _)⟩ |
| 32 | invFun c := by |
| 33 | have h : I.subschemeι.ker ≤ c.val.left.ker := |
| 34 | I.ker_subschemeι.le.trans ((ConditionIdeals.ideal_comap_eq_bot_iff I c.val.left).mp c.property) |
| 35 | let l := IsClosedImmersion.lift I.subschemeι c.val.left h |
| 36 | exact Over.homMk l (by |
| 37 | change l ≫ (I.subschemeι ≫ M.hom) = T.hom |
| 38 | rw [← Category.assoc, IsClosedImmersion.lift_fac] |
| 39 | exact c.val.w) |
| 40 | left_inv y := by |
| 41 | apply Over.OverMorphism.ext |
| 42 | apply (cancel_mono I.subschemeι).mp |
| 43 | exact IsClosedImmersion.lift_fac _ _ _ |
| 44 | right_inv c := by |
| 45 | apply Subtype.ext |
| 46 | apply Over.OverMorphism.ext |
| 47 | exact IsClosedImmersion.lift_fac I.subschemeι c.val.left _ |
| 48 | |
| 49 | theorem closedIdealParameterPointEquiv_val (T : Over S) (y : T ⟶ closedIdealParameter M I) : |
| 50 | (closedIdealParameterPointEquiv M I T y).val = y ≫ closedIdealParameterInclusion M I := rfl |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.IdealParameter |