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.HodgeConjecture.HeckeCycles.BaseChangeEvaluation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecializedPointFormula |
| 4 | |
| 5 | /-! # Evaluated Neighbor Specialization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluatedNeighborSpecialization.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Specialize a generic-fiber point formula through a commuting valued |
| 12 | base diagram. The evaluated and reduced points are constructed from the |
| 13 | pullback adjunction and properness, retaining the entire neighbor multiset. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupBaseChange.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeEvaluation.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM |
| 20 | |
| 21 | variable {R L : Type} [CommRing R] [IsDomain R] [ValuationRing R] |
| 22 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 23 | {S S' : Scheme} (d : S' ⟶ S) (bR : Spec (.of R) ⟶ S) (c : Spec (.of L) ⟶ S') |
| 24 | (w : c ≫ d = ValuativePoints.CM.genericBase (R := R) (L := L) ≫ bR) |
| 25 | |
| 26 | def evaluatedTestMap : ValuativePoints.CM.genericTest (L := L) bR ⟶ (Over.map d).obj (Over.mk c) := |
| 27 | Over.homMk (𝟙 _) ((Category.id_comp (c ≫ d)).trans w) |
| 28 | |
| 29 | def evaluatedPoint (X : Over S) (x : Over.mk c ⟶ (Over.pullback d).obj X) : |
| 30 | ValuativePoints.CM.genericTest (L := L) bR ⟶ X := |
| 31 | evaluatedTestMap d bR c w ≫ BaseChangeEvaluation.CM.pointsEquiv d (Over.mk c) X x |
| 32 | |
| 33 | variable {k : Type} [Field k] (res : R →+* k) |
| 34 | (G : CommGrp (Over S)) [IsProper G.X.hom] |
| 35 | {X : Over S} [IsProper X.hom] (a : X ⟶ G.X) |
| 36 | |
| 37 | def reducedPoint (x : Over.mk c ⟶ (Over.pullback d).obj X) : ValuativePoints.CM.specialTest bR res ⟶ X := |
| 38 | ValuativePoints.CM.specializePoint bR res X (evaluatedPoint d bR c w X x) |
| 39 | |
| 40 | theorem reduced_neighbor_formula (f : AbelianScheme.TateComparison.End.IntegralEnd G.X) |
| 41 | (x y : Over.mk c ⟶ (Over.pullback d).obj X) |
| 42 | (Nx Ny : Multiset (Over.mk c ⟶ (Over.pullback d).obj X)) |
| 43 | (h : PointSpecializationFormula.CM.Points.evaluateAt (GroupBaseChange.CM.changedGroup G d) (Over.mk c) (AbelianScheme.TateComparison.BaseChange.endBaseChange G.X d f) |
| 44 | (BaseChangeEvaluation.CM.groupPoint d (Over.mk c) G a x - BaseChangeEvaluation.CM.groupPoint d (Over.mk c) G a y) = |
| 45 | (Nx.map (BaseChangeEvaluation.CM.groupPoint d (Over.mk c) G a)).sum - |
| 46 | (Ny.map (BaseChangeEvaluation.CM.groupPoint d (Over.mk c) G a)).sum) : |
| 47 | PointSpecializationFormula.CM.Points.evaluateAt G (ValuativePoints.CM.specialTest bR res) f |
| 48 | (Additive.ofMul (reducedPoint d bR c w res x ≫ a) - |
| 49 | Additive.ofMul (reducedPoint d bR c w res y ≫ a)) = |
| 50 | (Nx.map (fun z => Additive.ofMul (reducedPoint d bR c w res z ≫ a))).sum - |
| 51 | (Ny.map (fun z => Additive.ofMul (reducedPoint d bR c w res z ≫ a))).sum := by |
| 52 | let px := BaseChangeEvaluation.CM.pointsEquiv d (Over.mk c) X |
| 53 | let py := evaluatedPoint d bR c w X |
| 54 | have h0 := BaseChangeEvaluation.CM.FormulaDescent.original_neighbor_formula d (Over.mk c) G a f x y Nx Ny h |
| 55 | have h1 := PointSpecializationFormula.CM.Test.neighbor_formula G (evaluatedTestMap d bR c w) a f |
| 56 | (px x) (px y) (Nx.map px) (Ny.map px) |
| 57 | (by simpa only [Multiset.map_map, Function.comp_def, px] using h0) |
| 58 | have h2 : PointSpecializationFormula.CM.Points.evaluateAt G (ValuativePoints.CM.genericTest bR) f |
| 59 | (Additive.ofMul (py x ≫ a) - Additive.ofMul (py y ≫ a)) = |
| 60 | ((Nx.map py).map (fun z => Additive.ofMul (z ≫ a))).sum - |
| 61 | ((Ny.map py).map (fun z => Additive.ofMul (z ≫ a))).sum := by |
| 62 | simpa only [Multiset.map_map, Function.comp_def, px, py, evaluatedPoint] using h1 |
| 63 | have h3 := SpecializedPointFormula.CM.specialized_neighbor_formula bR G res a f |
| 64 | (py x) (py y) (Nx.map py) (Ny.map py) h2 |
| 65 | simpa only [Multiset.map_map, Function.comp_def, reducedPoint, py] using h3 |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluatedNeighborSpecialization.CM |