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.Clopen.CycleMaps |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.DivisorCycle |
| 3 | |
| 4 | /-! # Smooth Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.SmoothPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth divisor pullback commutes with open restriction of its source. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped Classical |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Cycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.CycleMaps OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveFiberCycle |
| 18 | |
| 19 | theorem restrict_flatMap {V X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 20 | (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] |
| 21 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 22 | (m n : ℕ) [SmoothOfRelativeDimension m V.structureMap] |
| 23 | [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 24 | (a : Y.RationalDimensionCycle 1) : |
| 25 | CycleMaps.restrict i m 1 (CurveFiberCycle.flatMap f a) = CurveFiberCycle.flatMap (i ≫ f) a := by |
| 26 | let : Smooth (i ≫ f).left := by |
| 27 | change Smooth (i.left ≫ f.left) |
| 28 | infer_instance |
| 29 | ext A |
| 30 | rw [CycleMaps.restrict_apply, ProjectionFormula.Smooth.DivisorCycle.flatMap_apply f m n, |
| 31 | ProjectionFormula.Smooth.DivisorCycle.flatMap_apply (i ≫ f) m n] |
| 32 | have he : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (Cycle.supportImage i m 1 A).val) = |
| 33 | (i ≫ f).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) := by |
| 34 | change f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i A.val)) = _ |
| 35 | rw [Cycle.image_point] |
| 36 | rfl |
| 37 | exact congrArg (fun y : Y.carrier => a.sum (fun B r => r * if y = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0)) he |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.SmoothPullback |