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.ProperCycleLinearity |
| 2 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Products |
| 3 | |
| 4 | /-! # Product Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The relative dimensions of the projections and the product are |
| 11 | obtained from the genuine product universal property by base change. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 18 | |
| 19 | theorem fst_relativeDimension {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 20 | (P : ProperCycleLinearity.ProductPresentation X Y) (n : ℕ) [SmoothOfRelativeDimension n Y.structureMap] : |
| 21 | SmoothOfRelativeDimension n P.fst.left := by |
| 22 | let : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension n) := |
| 23 | smoothOfRelativeDimension_isStableUnderBaseChange n |
| 24 | exact MorphismProperty.of_isPullback |
| 25 | (Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk P.fst P.snd) P.isLimit).flip |
| 26 | (inferInstance : SmoothOfRelativeDimension n Y.structureMap) |
| 27 | |
| 28 | theorem relativeDimension {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 29 | (P : ProperCycleLinearity.ProductPresentation X Y) (m n : ℕ) |
| 30 | [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] : |
| 31 | SmoothOfRelativeDimension (m + n) P.space.structureMap := by |
| 32 | let : SmoothOfRelativeDimension n P.fst.left := fst_relativeDimension P n |
| 33 | have h : SmoothOfRelativeDimension (n + m) (P.fst.left ≫ X.structureMap) := |
| 34 | smoothOfRelativeDimension_comp n m P.fst.left X.structureMap |
| 35 | have hw : P.fst.left ≫ X.structureMap = P.space.structureMap := P.fst.w |
| 36 | rw [hw, Nat.add_comm n m] at h |
| 37 | exact h |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductDimension |