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.GraphPullbackReconstruction |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.FiberGraphSection |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowInnerSwap |
| 4 | |
| 5 | /-! # Target Graph Product -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.TargetGraphProduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! For an integral target, graph pushforward identifies the product |
| 12 | with a pulled-back class with intersection on the ambient product. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.GeneralChowIntersection OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowPushforwardMap |
| 20 | |
| 21 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral Y.carrier] |
| 22 | (P : ProperCycleLinearity.ProductPresentation X Y) (f : X.toOver ⟶ Y.toOver) |
| 23 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 24 | |
| 25 | local instance : SmoothOfRelativeDimension (m + n) P.space.structureMap := |
| 26 | ProductDimension.relativeDimension P m n |
| 27 | |
| 28 | local instance : Smooth P.fst.left := by |
| 29 | exact MorphismProperty.of_isPullback |
| 30 | (Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk P.fst P.snd) P.isLimit).flip |
| 31 | (inferInstance : Smooth Y.structureMap) |
| 32 | |
| 33 | local instance : GeometricallyIntegral (show P.space.carrier ⟶ X.carrier from P.fst.left) := by |
| 34 | let : GeometricallyIntegral Y.structureMap := |
| 35 | ClosedGeometricIntegral.geometricallyIntegral Y.structureMap |
| 36 | exact MorphismProperty.of_isPullback |
| 37 | (Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk P.fst P.snd) P.isLimit).flip |
| 38 | (inferInstance : GeometricallyIntegral Y.structureMap) |
| 39 | |
| 40 | omit [IsIntegral Y.carrier] in |
| 41 | theorem graph_pull (p : ℕ) (a : Y.RationalDimensionCycle p) : |
| 42 | ChowPushforwardMap.map (P.graph f) m (m + n) p (p + n) (by omega) |
| 43 | (General.ChowPullback.pull P f m n p (ProperCycleLinearity.cycleToChowQ Y p a)) = |
| 44 | General.GeneralChowIntersection.chowMap P.space (m + n) p n (ProperCycleLinearity.cycleToChowQ P.space p (P.secondPullbackCycle p a)) |
| 45 | (ProperCycleLinearity.cycleToChowQ P.space n (P.graphCycle f n)) := by |
| 46 | have h := congrArg (DegreeCast.chow P.space (Nat.add_comm n p)) |
| 47 | (GraphPullbackReconstruction.graph_push_pull P f m n p a) |
| 48 | rw [ChowPushforwardCast.target, General.ChowAssociativity.comm] at h |
| 49 | exact h |
| 50 | |
| 51 | theorem product (p q : ℕ) (a : Y.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) : |
| 52 | ChowPushforwardMap.map (P.graph f) m (m + n) (p + q) (p + (q + n)) (by omega) |
| 53 | (General.GeneralChowIntersection.chowMap X m p q (General.ChowPullback.pull P f m n p (ProperCycleLinearity.cycleToChowQ Y p a)) |
| 54 | (ProperCycleLinearity.cycleToChowQ X q b)) = |
| 55 | General.GeneralChowIntersection.chowMap P.space (m + n) p (q + n) (ProperCycleLinearity.cycleToChowQ P.space p (P.secondPullbackCycle p a)) |
| 56 | (ChowPushforwardMap.map (P.graph f) m (m + n) q (q + n) (by omega) (ProperCycleLinearity.cycleToChowQ X q b)) := by |
| 57 | let α := General.ChowPullback.pull P f m n p (ProperCycleLinearity.cycleToChowQ Y p a) |
| 58 | let β := ProperCycleLinearity.cycleToChowQ X q b |
| 59 | let A := ProperCycleLinearity.cycleToChowQ P.space p (P.secondPullbackCycle p a) |
| 60 | let B := ProperCycleLinearity.cycleToChowQ P.space q (ProjectionFormula.Smooth.Cycle.flatMap P.fst q b) |
| 61 | let G := ProperCycleLinearity.cycleToChowQ P.space n (P.graphCycle f n) |
| 62 | obtain ⟨d, hd⟩ := ProperCycleLinearity.cycleToChowQ_surjective X p α |
| 63 | have hs : General.GeneralChowIntersection.chowMap P.space (m + n) q (p + n) B |
| 64 | (ChowPushforwardMap.map (P.graph f) m (m + n) p (p + n) (by omega) α) = |
| 65 | ChowPushforwardMap.map (P.graph f) m (m + n) (q + p) (q + (p + n)) (by omega) (General.GeneralChowIntersection.chowMap X m q p β α) := by |
| 66 | have h := ProjectionFormula.Smooth.SectionChow.chow (P.graph f) P.fst (P.graph_fst f) |
| 67 | (m + n) m n rfl q p b d |
| 68 | rw [hd] at h |
| 69 | exact h |
| 70 | have hg : ChowPushforwardMap.map (P.graph f) m (m + n) p (p + n) (by omega) α = General.GeneralChowIntersection.chowMap P.space (m + n) p n A G := |
| 71 | graph_pull P f m n p a |
| 72 | have hb : General.GeneralChowIntersection.chowMap P.space (m + n) q n B G = |
| 73 | ChowPushforwardMap.map (P.graph f) m (m + n) q (q + n) (by omega) β := FiberGraphSection.chow P f m n q b |
| 74 | let e : q + (p + n) = p + (q + n) := by omega |
| 75 | calc |
| 76 | _ = ChowPushforwardMap.map (P.graph f) m (m + n) (p + q) (p + (q + n)) (by omega) |
| 77 | (DegreeCast.chow X (Nat.add_comm q p) (General.GeneralChowIntersection.chowMap X m q p β α)) := by |
| 78 | rw [General.ChowAssociativity.comm] |
| 79 | _ = ChowPushforwardMap.map (P.graph f) m (m + n) (q + p) (p + (q + n)) (by omega) (General.GeneralChowIntersection.chowMap X m q p β α) := |
| 80 | ChowPushforwardCast.source (P.graph f) m (m + n) (q + p) (p + q) (p + (q + n)) |
| 81 | (Nat.add_comm q p) (by omega) (by omega) _ |
| 82 | _ = DegreeCast.chow P.space e |
| 83 | (ChowPushforwardMap.map (P.graph f) m (m + n) (q + p) (q + (p + n)) (by omega) (General.GeneralChowIntersection.chowMap X m q p β α)) := |
| 84 | (ChowPushforwardCast.target (P.graph f) m (m + n) (q + p) (q + (p + n)) (p + (q + n)) |
| 85 | e (by omega) (by omega) _).symm |
| 86 | _ = DegreeCast.chow P.space e |
| 87 | (General.GeneralChowIntersection.chowMap P.space (m + n) q (p + n) B (General.GeneralChowIntersection.chowMap P.space (m + n) p n A G)) := by rw [← hs, hg] |
| 88 | _ = _ := by rw [ChowInnerSwap.swap, hb] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.TargetGraphProduct |