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.Divisors.LineBundles.Graph.SpecializationPointCodimension |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.ProjectionComponentCycle |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Chow |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.CycleSet |
| 5 | |
| 6 | /-! # Specialization Cycle Codimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.SpecializationCycleCodimension.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Specialization of the full graph-projection cycle is supported in |
| 13 | the prescribed codimension, with every fiber component retained. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) (p : ℕ) |
| 18 | |
| 19 | def graphConeCodimensionPart : |
| 20 | (Global.SpecialFiber.BundleCycles.globalSpecialFiber (OpenAmbient.BundleCycles.graph f).ker →₀ ℚ) →ₗ[ℚ] (Global.SpecialFiber.BundleCycles.globalSpecialFiber (OpenAmbient.BundleCycles.graph f).ker →₀ ℚ) := |
| 21 | Point.CycleSet.BundleCycles.pointCycleSetPart {y | SpecializationPointCodimension.BundleCycles.GraphConePointHasCodimension f p y} |
| 22 | |
| 23 | theorem graphProjectionSpecialization_cycle_off_codimension (z : Y.RationalDimensionCycle p) |
| 24 | (y : Global.SpecialFiber.BundleCycles.globalSpecialFiber (OpenAmbient.BundleCycles.graph f).ker) (hy : ¬ SpecializationPointCodimension.BundleCycles.GraphConePointHasCodimension f p y) : |
| 25 | Global.CycleSpecialization.BundleCycles.globalCycleSpecialization (OpenAmbient.BundleCycles.graph f).ker (Chow.BundleCycles.graphProjectionPointPullback f (Chow.BundleCycles.pointCycle Y p z)) y = 0 := by |
| 26 | classical |
| 27 | rw [← Chow.BundleCycles.projectiveCyclePointMap_apply] |
| 28 | induction z using Finsupp.induction_linear with |
| 29 | | zero => simp only [map_zero, Finsupp.coe_zero, Pi.zero_apply] |
| 30 | | add z w hz hw => simp only [map_add, Finsupp.add_apply, hz, hw, add_zero] |
| 31 | | single Z a => |
| 32 | change Global.CycleSpecialization.BundleCycles.globalCycleSpecialization (OpenAmbient.BundleCycles.graph f).ker |
| 33 | (Chow.BundleCycles.graphProjectionPointPullback f (Finsupp.mapDomain (Chow.BundleCycles.cyclePointEmbedding Y p) (Finsupp.single Z a))) y = 0 |
| 34 | rw [Finsupp.mapDomain_single, ProjectionComponentCycle.BundleCycles.graphProjectionPointPullback_single, map_sum, Finsupp.finsetSum_apply] |
| 35 | apply Finset.sum_eq_zero |
| 36 | intro C _ |
| 37 | rw [Global.CycleSpecialization.BundleCycles.globalCycleSpecialization_single, Finsupp.smul_apply] |
| 38 | have hz : Global.CycleSpecialization.BundleCycles.globalPrimeSpecializationQ (OpenAmbient.BundleCycles.graph f).ker |
| 39 | (ProjectionComponentPoint.BundleCycles.graphProjectionComponentPoint f C (Chow.BundleCycles.cyclePointEmbedding Y p Z)) y = 0 := by |
| 40 | by_contra hn |
| 41 | have H := SpecializationPointCodimension.BundleCycles.graphProjectionSpecialization_point_codimension f C (Chow.BundleCycles.cyclePointEmbedding Y p Z) y hn |
| 42 | have hp : Y.supportCodimension (irreducibleSetEquivPoints.symm (Chow.BundleCycles.cyclePointEmbedding Y p Z)) = p := by |
| 43 | change Y.supportCodimension (irreducibleSetEquivPoints.symm (irreducibleSetEquivPoints Z.val)) = p |
| 44 | rw [irreducibleSetEquivPoints.symm_apply_apply] |
| 45 | exact Z.property |
| 46 | exact hy (hp ▸ H) |
| 47 | rw [hz, smul_zero] |
| 48 | |
| 49 | theorem graphProjectionSpecialization_cycle_codimension (z : Y.RationalDimensionCycle p) : |
| 50 | graphConeCodimensionPart f p |
| 51 | (Global.CycleSpecialization.BundleCycles.globalCycleSpecialization (OpenAmbient.BundleCycles.graph f).ker (Chow.BundleCycles.graphProjectionPointPullback f (Chow.BundleCycles.pointCycle Y p z))) = |
| 52 | Global.CycleSpecialization.BundleCycles.globalCycleSpecialization (OpenAmbient.BundleCycles.graph f).ker (Chow.BundleCycles.graphProjectionPointPullback f (Chow.BundleCycles.pointCycle Y p z)) := by |
| 53 | ext y |
| 54 | by_cases hy : SpecializationPointCodimension.BundleCycles.GraphConePointHasCodimension f p y |
| 55 | · exact Point.CycleSet.BundleCycles.pointCycleSetPart_apply_mem _ _ y hy |
| 56 | · exact (Point.CycleSet.BundleCycles.pointCycleSetPart_apply_notMem _ _ y hy).trans |
| 57 | (graphProjectionSpecialization_cycle_off_codimension f p z y hy).symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.SpecializationCycleCodimension.BundleCycles |