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.QuasiProjectiveParameterCuts |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | |
| 4 | /-! # Parameter Intersections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ParameterIntersections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two closed parameter loci have an actual intersection with exact compatible pairs of points and a quasi-projective presentation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {M X Y : Over S} (i : X ⟶ M) (j : Y ⟶ M) |
| 17 | |
| 18 | def closedParameterIntersection : Over S := Over.mk (pullback.fst i.left j.left ≫ X.hom) |
| 19 | |
| 20 | def closedParameterIntersectionFst : closedParameterIntersection i j ⟶ X := |
| 21 | Over.homMk (pullback.fst i.left j.left) rfl |
| 22 | |
| 23 | def closedParameterIntersectionSnd : closedParameterIntersection i j ⟶ Y := |
| 24 | Over.homMk (pullback.snd i.left j.left) (by |
| 25 | change pullback.snd i.left j.left ≫ Y.hom = pullback.fst i.left j.left ≫ X.hom |
| 26 | rw [← i.w, ← j.w, ← pullback.condition_assoc]) |
| 27 | |
| 28 | theorem closedParameterIntersection_condition : |
| 29 | closedParameterIntersectionFst i j ≫ i = closedParameterIntersectionSnd i j ≫ j := |
| 30 | Over.OverMorphism.ext (pullback.condition (f := i.left) (g := j.left)) |
| 31 | |
| 32 | instance closedParameterIntersectionFst_closed [IsClosedImmersion j.left] : |
| 33 | IsClosedImmersion (closedParameterIntersectionFst i j).left := |
| 34 | inferInstanceAs (IsClosedImmersion (pullback.fst i.left j.left)) |
| 35 | |
| 36 | def closedParameterIntersectionPointEquiv (T : Over S) : |
| 37 | (T ⟶ closedParameterIntersection i j) ≃ |
| 38 | {p : (T ⟶ X) × (T ⟶ Y) // p.1 ≫ i = p.2 ≫ j} where |
| 39 | toFun a := ⟨(a ≫ closedParameterIntersectionFst i j, a ≫ closedParameterIntersectionSnd i j), by |
| 40 | simp only [Category.assoc, closedParameterIntersection_condition]⟩ |
| 41 | invFun p := Over.homMk (pullback.lift p.val.1.left p.val.2.left (congrArg Over.Hom.left p.property)) (by |
| 42 | change pullback.lift p.val.1.left p.val.2.left _ ≫ (pullback.fst i.left j.left ≫ X.hom) = T.hom |
| 43 | rw [pullback.lift_fst_assoc] |
| 44 | exact p.val.1.w) |
| 45 | left_inv a := by |
| 46 | apply Over.OverMorphism.ext |
| 47 | apply pullback.hom_ext |
| 48 | · exact pullback.lift_fst _ _ _ |
| 49 | · exact pullback.lift_snd _ _ _ |
| 50 | right_inv p := by |
| 51 | apply Subtype.ext |
| 52 | apply Prod.ext |
| 53 | · exact Over.OverMorphism.ext (pullback.lift_fst _ _ _) |
| 54 | · exact Over.OverMorphism.ext (pullback.lift_snd _ _ _) |
| 55 | |
| 56 | def closedParameterIntersectionQuasiProjectivePresentation [IsNoetherian S] |
| 57 | [IsClosedImmersion j.left] (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation X) : |
| 58 | Projective.ProjectivePresentations.QuasiProjectivePresentation (closedParameterIntersection i j) := |
| 59 | Q.ofClosedImmersion (closedParameterIntersectionFst i j) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.ParameterIntersections |