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.Smooth.SectionChow |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.ChowUnit |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ClosedGeometricIntegral |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductDimension |
| 5 | |
| 6 | /-! # Fiber Graph Section -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.FiberGraphSection |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The graph-section identity needs only integral fibers of the first |
| 13 | projection. Its source may have several connected components. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 21 | |
| 22 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral Y.carrier] |
| 23 | (P : ProperCycleLinearity.ProductPresentation X Y) (f : X.toOver ⟶ Y.toOver) |
| 24 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 25 | |
| 26 | local instance : SmoothOfRelativeDimension (m + n) P.space.structureMap := |
| 27 | ProductDimension.relativeDimension P m n |
| 28 | |
| 29 | local instance : Smooth P.fst.left := by |
| 30 | exact MorphismProperty.of_isPullback |
| 31 | (Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk P.fst P.snd) P.isLimit).flip |
| 32 | (inferInstance : Smooth Y.structureMap) |
| 33 | |
| 34 | local instance : GeometricallyIntegral (show P.space.carrier ⟶ X.carrier from P.fst.left) := by |
| 35 | let : GeometricallyIntegral Y.structureMap := |
| 36 | ClosedGeometricIntegral.geometricallyIntegral Y.structureMap |
| 37 | exact MorphismProperty.of_isPullback |
| 38 | (Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk P.fst P.snd) P.isLimit).flip |
| 39 | (inferInstance : GeometricallyIntegral Y.structureMap) |
| 40 | |
| 41 | theorem chow (p : ℕ) (b : X.RationalDimensionCycle p) : |
| 42 | General.GeneralChowIntersection.chowMap P.space (m + n) p n |
| 43 | (ProperCycleLinearity.cycleToChowQ P.space p (ProjectionFormula.Smooth.Cycle.flatMap P.fst p b)) |
| 44 | (ProperCycleLinearity.cycleToChowQ P.space n (P.graphCycle f n)) = |
| 45 | ChowPushforwardMap.map (P.graph f) m (m + n) p (p + n) (by omega) (ProperCycleLinearity.cycleToChowQ X p b) := by |
| 46 | have aux (t : ℕ) (ht : 0 + n = t) : |
| 47 | General.GeneralChowIntersection.chowMap P.space (m + n) p t |
| 48 | (ProperCycleLinearity.cycleToChowQ P.space p (ProjectionFormula.Smooth.Cycle.flatMap P.fst p b)) |
| 49 | (ChowPushforwardMap.map (P.graph f) m (m + n) 0 t (by omega) |
| 50 | (ProperCycleLinearity.cycleToChowQ X 0 (ProperCycleLinearity.fundamentalCycle X))) = |
| 51 | ChowPushforwardMap.map (P.graph f) m (m + n) p (p + t) (by omega) |
| 52 | (General.GeneralChowIntersection.chowMap X m p 0 (ProperCycleLinearity.cycleToChowQ X p b) |
| 53 | (ProperCycleLinearity.cycleToChowQ X 0 (ProperCycleLinearity.fundamentalCycle X))) := by |
| 54 | subst t |
| 55 | exact ProjectionFormula.Smooth.SectionChow.chow (P.graph f) P.fst (P.graph_fst f) |
| 56 | (m + n) m n rfl p 0 b (ProperCycleLinearity.fundamentalCycle X) |
| 57 | have h := aux n (Nat.zero_add n) |
| 58 | rw [General.ChowUnit.right, ChowPushforwardMap.map_mk] at h |
| 59 | exact h |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.FiberGraphSection |