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.IntersectionTheory.ProjectionFormula.Projective.ParameterGerms |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyIs |
| 3 | |
| 4 | /-! # Compact Support Pencil -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CompactSupportPencil |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every horizontal integral support of the actual compact family |
| 11 | ambient defines a proper rational pencil on the original source. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 18 | (C : IrreducibleCloseds (Projective.FamilyIs.FamilyCompactAmbient.space X)) |
| 19 | |
| 20 | def source : CycleClass.Geometric.GenericPoint.reducedSupportScheme C ⟶ X.carrier := |
| 21 | CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ Projective.FamilyIs.FamilyCompactAmbient.first X |
| 22 | |
| 23 | def parameter : CycleClass.Geometric.GenericPoint.reducedSupportScheme C ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace 1 := |
| 24 | CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ Projective.FamilyIs.FamilyCompactAmbient.second X |
| 25 | |
| 26 | instance proper : IsProper (source X C) := by |
| 27 | unfold source |
| 28 | infer_instance |
| 29 | |
| 30 | instance noetherian : IsNoetherian (CycleClass.Geometric.GenericPoint.reducedSupportScheme C) where |
| 31 | __ := LocallyOfFiniteType.isLocallyNoetherian (source X C) |
| 32 | __ := QuasiCompact.compactSpace_of_compactSpace (source X C) |
| 33 | |
| 34 | theorem over_base : parameter X C ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1 = source X C ≫ X.structureMap := by |
| 35 | change (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ pullback.snd X.structureMap (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1)) ≫ _ = |
| 36 | (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ pullback.fst X.structureMap (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1)) ≫ _ |
| 37 | rw [Category.assoc, Category.assoc, pullback.condition] |
| 38 | |
| 39 | theorem rationallyEquivalent |
| 40 | (hη : parameter X C (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 41 | (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 42 | (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (source X C ≫ X.structureMap) + p = m + 1) (a b : ℂ) : |
| 43 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p |
| 44 | (NormalizedRationalPencil.Proper.fiber X (source X C) p |
| 45 | (Projective.LineParameter.pullback (parameter X C) hη) a) |
| 46 | (NormalizedRationalPencil.Proper.fiber X (source X C) p |
| 47 | (Projective.LineParameter.pullback (parameter X C) hη) b) := |
| 48 | Projective.ParameterGerms.Pencil.rationallyEquivalent (parameter X C) hη X (source X C) |
| 49 | (over_base X C) m p hd a b |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CompactSupportPencil |