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.Divisors.LineBundles.Graph.SpecializationCycleCodimension |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LocallyConstantDimension |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.ComponentDimensionLocallyConstant |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineBundle.FiberRank |
| 5 | |
| 6 | /-! # Cone Codimension Chow -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.ConeCodimensionChow.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Codimension selection on the actual graph normal cone preserves |
| 13 | Chow equality; its geometric dimension label is locally constant. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 18 | |
| 19 | def graphConeComponentDimension (y : Global.SpecialFiber.BundleCycles.globalSpecialFiber (OpenAmbient.BundleCycles.graph f).ker) : ℕ := |
| 20 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension |
| 21 | (X.componentVariety (X.supportComponent (irreducibleSetEquivPoints.symm (Chow.BundleCycles.graphNormalProjection f y)))).structureMap + |
| 22 | AffineBundle.FiberRank.Cycles.affineBundleFiberRank (Chow.BundleCycles.graphNormalProjection f) X.structureMap (Chow.BundleCycles.graphNormalProjection f y) |
| 23 | |
| 24 | theorem graphConeComponentDimension_locallyConstant : IsLocallyConstant (graphConeComponentDimension f) := |
| 25 | ((Projective.ComponentDimensionLocallyConstant.BundleCycles.projectivePointComponentDimension_locallyConstant X).comp_continuous (Chow.BundleCycles.graphNormalProjection f).continuous).comp₂ |
| 26 | ((AffineBundle.FiberRank.Cycles.affineBundleFiberRank_locallyConstant (Chow.BundleCycles.graphNormalProjection f) X.structureMap |
| 27 | (Affine.SpaceChartBaseChange.BundleCycles.graphNormalCone_hasAffineSpaceCharts f)).comp_continuous (Chow.BundleCycles.graphNormalProjection f).continuous) (· + ·) |
| 28 | |
| 29 | theorem graphConeCodimensionPart_chow_eq (p d : ℕ) |
| 30 | (z w : Global.SpecialFiber.BundleCycles.globalSpecialFiber (OpenAmbient.BundleCycles.graph f).ker →₀ ℚ) |
| 31 | (hzw : Point.CycleChow.BundleCycles.pointCycleToChowQ (Chow.BundleCycles.graphConeStructureMap f) d z = Point.CycleChow.BundleCycles.pointCycleToChowQ (Chow.BundleCycles.graphConeStructureMap f) d w) : |
| 32 | Point.CycleChow.BundleCycles.pointCycleToChowQ (Chow.BundleCycles.graphConeStructureMap f) d (SpecializationCycleCodimension.BundleCycles.graphConeCodimensionPart f p z) = |
| 33 | Point.CycleChow.BundleCycles.pointCycleToChowQ (Chow.BundleCycles.graphConeStructureMap f) d (SpecializationCycleCodimension.BundleCycles.graphConeCodimensionPart f p w) := |
| 34 | LocallyConstantDimension.BundleCycles.locallyConstantDimensionPart_chow_eq (Chow.BundleCycles.graphConeStructureMap f) d (graphConeComponentDimension f) |
| 35 | (graphConeComponentDimension_locallyConstant f) p z w hzw |
| 36 | |
| 37 | theorem graphNormal_genericPoint_codimension_iff (p : ℕ) (x : X.carrier) : |
| 38 | SpecializationPointCodimension.BundleCycles.GraphConePointHasCodimension f p (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint (Chow.BundleCycles.graphNormalProjection f) x) ↔ |
| 39 | X.supportCodimension (irreducibleSetEquivPoints.symm x) = p := by |
| 40 | have hd := AffineBundle.FiberRank.Cycles.affineBundleFiberGenericPoint_dimension_varying (Chow.BundleCycles.graphNormalProjection f) X.structureMap |
| 41 | (Affine.SpaceChartBaseChange.BundleCycles.graphNormalCone_hasAffineSpaceCharts f) x |
| 42 | rw [Chow.BundleCycles.graphConeStructureMap_normal] at hd |
| 43 | have hc := Projective.PointComponentDimension.BundleCycles.projectiveSupport_dimension_add_codimension X (irreducibleSetEquivPoints.symm x) |
| 44 | have he := congrArg (fun u : X.carrier => |
| 45 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (X.componentVariety (X.supportComponent (irreducibleSetEquivPoints.symm u))).structureMap + |
| 46 | AffineBundle.FiberRank.Cycles.affineBundleFiberRank (Chow.BundleCycles.graphNormalProjection f) X.structureMap u) |
| 47 | (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint_projection (Chow.BundleCycles.graphNormalProjection f) x) |
| 48 | unfold SpecializationPointCodimension.BundleCycles.GraphConePointHasCodimension |
| 49 | rw [he, hd] |
| 50 | omega |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.ConeCodimensionChow.BundleCycles |