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.EmbeddedDivisorDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointPushforwardSupport |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ParameterCycle |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalWeightSupport |
| 5 | |
| 6 | /-! # Horizontal Fiber Dimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFiberDimension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every nonzero horizontal fiber coefficient lies on its scalar |
| 13 | fiber and has point-closure dimension one below its global component. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped _root_.Polynomial |
| 20 | |
| 21 | variable (Z : Scheme) [AlgebraicGeometry.IsNoetherian Z] (C : IrreducibleCloseds Z) |
| 22 | (t : Z ⟶ Spec (.of ℂ[X])) |
| 23 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 24 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 25 | |
| 26 | theorem parameter (a : ℂ) (x : Z) (hx : HorizontalFamilyFiber.Family.cycle Z C t hη a x ≠ 0) : |
| 27 | t x = Affine.ParameterFiber.point ℂ a := by |
| 28 | rw [HorizontalFamilyFiber.Family.apply] at hx |
| 29 | by_contra hn |
| 30 | exact hx (GlobalWeightSupport.outside_fiber Z t x a hn C) |
| 31 | |
| 32 | theorem dimension (f : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 33 | (a : ℂ) (x : Z) (hx : HorizontalFamilyFiber.Family.cycle Z C t hη a x ≠ 0) : |
| 34 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + 1 = |
| 35 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension C f := by |
| 36 | let s := (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine |
| 37 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (s ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 38 | change CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι C) |
| 39 | (Projective.ParameterCycle.cycle s hη a) x ≠ 0 at hx |
| 40 | obtain ⟨y, hy, he⟩ := PointPushforwardSupport.exists_point (CycleClass.Geometric.GenericPoint.reducedSupportι C) _ x hx |
| 41 | have hd := EmbeddedDivisorDimension.positive Z f C |
| 42 | (Projective.LineParameter.pullback s hη - algebraMap ℂ (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField a) y hy |
| 43 | rwa [he] at hd |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFiberDimension |