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.Chow |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.TargetGraphProduct |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowPushforwardComposition |
| 4 | |
| 5 | /-! # Chow -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.Chow |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The graph factorization and smooth projection give the full |
| 12 | Chow projection formula between integral smooth projective schemes. -/ |
| 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 | namespace Projection |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.GeneralChowIntersection OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowPushforwardMap |
| 22 | |
| 23 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] [IsIntegral Y.carrier] |
| 24 | (P : ProperCycleLinearity.ProductPresentation X Y) (f : X.toOver ⟶ Y.toOver) |
| 25 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 26 | |
| 27 | local instance : SmoothOfRelativeDimension (m + n) P.space.structureMap := |
| 28 | ProductDimension.relativeDimension P m n |
| 29 | |
| 30 | local instance : Smooth P.snd.left := ProductDivisorPullback.snd_smooth P |
| 31 | |
| 32 | local instance : GeometricallyIntegral (show P.space.carrier ⟶ Y.carrier from P.snd.left) := by |
| 33 | let : GeometricallyIntegral X.structureMap := ClosedGeometricIntegral.geometricallyIntegral X.structureMap |
| 34 | exact MorphismProperty.of_isPullback |
| 35 | (Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk P.fst P.snd) P.isLimit) |
| 36 | (inferInstance : GeometricallyIntegral X.structureMap) |
| 37 | |
| 38 | theorem chow (p q s : ℕ) (hd : q + n = s + m) (a : ProperCycleLinearity.ChowQ Y p) (b : ProperCycleLinearity.ChowQ X q) : |
| 39 | ChowPushforwardMap.map f m n (p + q) (p + s) (by omega) |
| 40 | (General.GeneralChowIntersection.chowMap X m p q (General.ChowPullback.pull P f m n p a) b) = |
| 41 | General.GeneralChowIntersection.chowMap Y n p s a (ChowPushforwardMap.map f m n q s hd b) := by |
| 42 | obtain ⟨a, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective Y p a |
| 43 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X q b |
| 44 | let A := ProperCycleLinearity.cycleToChowQ P.space p (P.secondPullbackCycle p a) |
| 45 | let B := ChowPushforwardMap.map (P.graph f) m (m + n) q (q + n) (by omega) (ProperCycleLinearity.cycleToChowQ X q b) |
| 46 | have hs : ChowPushforwardMap.map P.snd (m + n) n (p + (q + n)) (p + s) (by omega) |
| 47 | (General.GeneralChowIntersection.chowMap P.space (m + n) p (q + n) A B) = |
| 48 | General.GeneralChowIntersection.chowMap Y n p s (ProperCycleLinearity.cycleToChowQ Y p a) |
| 49 | (ChowPushforwardMap.map P.snd (m + n) n (q + n) s (by omega) B) := by |
| 50 | dsimp only [A, B] |
| 51 | rw [ChowPushforwardMap.map_mk, General.ProductPullback.secondPullback_eq_flatMap P m n p] |
| 52 | exact ProjectionFormula.Smooth.Chow.Projection.chow P.snd (m + n) n p (q + n) s (by omega) a |
| 53 | (ProperCycleLinearity.cyclePushforward (P.graph f) q (q + n) b) |
| 54 | calc |
| 55 | _ = ChowPushforwardMap.map P.snd (m + n) n (p + (q + n)) (p + s) (by omega) |
| 56 | (ChowPushforwardMap.map (P.graph f) m (m + n) (p + q) (p + (q + n)) (by omega) |
| 57 | (General.GeneralChowIntersection.chowMap X m p q (General.ChowPullback.pull P f m n p (ProperCycleLinearity.cycleToChowQ Y p a)) |
| 58 | (ProperCycleLinearity.cycleToChowQ X q b))) := by |
| 59 | rw [ChowPushforwardComposition.comp, P.graph_snd] |
| 60 | _ = ChowPushforwardMap.map P.snd (m + n) n (p + (q + n)) (p + s) (by omega) |
| 61 | (General.GeneralChowIntersection.chowMap P.space (m + n) p (q + n) A B) := |
| 62 | congrArg (ChowPushforwardMap.map P.snd (m + n) n (p + (q + n)) (p + s) (by omega)) |
| 63 | (TargetGraphProduct.product P f m n p q a b) |
| 64 | _ = General.GeneralChowIntersection.chowMap Y n p s (ProperCycleLinearity.cycleToChowQ Y p a) |
| 65 | (ChowPushforwardMap.map P.snd (m + n) n (q + n) s (by omega) B) := hs |
| 66 | _ = _ := by |
| 67 | dsimp only [B] |
| 68 | rw [ChowPushforwardComposition.comp, P.graph_snd] |
| 69 | |
| 70 | end Projection |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.Chow |