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.Source.EvaluatedFormula |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberFormulaTransfer |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialEndEvaluation |
| 4 | |
| 5 | /-! # Source Special Equation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.SourceSpecialEquation.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The reduced source equation holds on the actual prime-field |
| 12 | special fiber with the identical GeometricComparison specialized endomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ComparisonSpecialization.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComparisonModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ModelNeighborFormula.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.EvaluatedFormula.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ExtendingPointAction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberFormulaTransfer.CM |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialEndEvaluation.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM |
| 21 | |
| 22 | variable {K : Type} [Field K] [NumberField K] |
| 23 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 24 | (M : ComparisonModel.CM.SourceMap A) [IsProper M.integralSource.hom] |
| 25 | {R L : Type} [CommRing R] [IsDomain R] [ValuationRing R] |
| 26 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 27 | (bR : Spec (.of R) ⟶ NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase ℤ_[q]) (c : Spec (.of L) ⟶ NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase ℚ_[q]) |
| 28 | (w : c ≫ NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]) = ValuativePoints.CM.genericBase (R := R) (L := L) ≫ bR) |
| 29 | {k : Type} [Field k] (res : R →+* k) |
| 30 | (U : Over (NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase (ZMod q))) |
| 31 | (e : (Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))).obj U ≅ ValuativePoints.CM.specialTest bR res) |
| 32 | |
| 33 | local notation "red" => OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q) |
| 34 | local notation "T" => Over.mk c |
| 35 | local notation "X" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ModelNeighborFormula.CM.localSource A M |
| 36 | |
| 37 | abbrev specialSource := (Over.pullback red).obj M.integralSource |
| 38 | abbrev specialGroup := GroupBaseChange.CM.changedGroup (Geometric.ComparisonSpecialization.CM.integralGroup A) red |
| 39 | |
| 40 | local instance : GrpObj (specialGroup A).X := (specialGroup A).grp |
| 41 | local instance : IsCommMonObj (specialGroup A).X := (specialGroup A).comm |
| 42 | local instance : GrpObj (Geometric.ComparisonSpecialization.CM.integralGroup A).X := (Geometric.ComparisonSpecialization.CM.integralGroup A).grp |
| 43 | local instance : IsCommMonObj (Geometric.ComparisonSpecialization.CM.integralGroup A).X := (Geometric.ComparisonSpecialization.CM.integralGroup A).comm |
| 44 | |
| 45 | def specialPoint (x : T ⟶ X) : U ⟶ specialSource A M := |
| 46 | FiberFormulaTransfer.CM.fiberPoint red U (ValuativePoints.CM.specialTest bR res) e M.integralSource |
| 47 | (EvaluatedFormula.CM.reducedSourcePoint A M bR c w res x) |
| 48 | |
| 49 | def specialNeighbor (z : (Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource) : |
| 50 | U ⟶ specialSource A M := |
| 51 | FiberFormulaTransfer.CM.fiberPoint red U (ValuativePoints.CM.specialTest bR res) e M.integralSource |
| 52 | (EvaluatedFormula.CM.reducedRawNeighbor A M bR c w res z) |
| 53 | |
| 54 | def SpecialEquation (f : A.ExtendingEndomorphism) (x y : T ⟶ X) |
| 55 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) : Prop := |
| 56 | PointSpecializationFormula.CM.Points.evaluateAt (specialGroup A) U |
| 57 | ((EndomorphismComparison.CM.integralEquiv A.specialFiber.scheme).symm (Geometric.ComparisonSpecialization.CM.specializeEnd A f.generic)) |
| 58 | (Additive.ofMul (specialPoint A M bR c w res U e x ≫ (Over.pullback red).map M.integralMap) - |
| 59 | Additive.ofMul (specialPoint A M bR c w res U e y ≫ (Over.pullback red).map M.integralMap)) = |
| 60 | (Nx.map (fun z => Additive.ofMul |
| 61 | (specialNeighbor A M bR c w res U e z ≫ (Over.pullback red).map M.integralMap))).sum - |
| 62 | (Ny.map (fun z => Additive.ofMul |
| 63 | (specialNeighbor A M bR c w res U e z ≫ (Over.pullback red).map M.integralMap))).sum |
| 64 | |
| 65 | theorem specialEquation_of_reducedEquation (f : A.ExtendingEndomorphism) (x y : T ⟶ X) |
| 66 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) |
| 67 | (h : EvaluatedFormula.CM.ReducedEquation A M bR c w res f x y Nx Ny) : |
| 68 | SpecialEquation A M bR c w res U e f x y Nx Ny := by |
| 69 | let px := EvaluatedFormula.CM.reducedSourcePoint A M bR c w res |
| 70 | let pn := EvaluatedFormula.CM.reducedRawNeighbor A M bR c w res |
| 71 | have he := FiberFormulaTransfer.CM.fiber_neighbor_formula red U (ValuativePoints.CM.specialTest bR res) e |
| 72 | (Geometric.ComparisonSpecialization.CM.integralGroup A) M.integralMap (ExtendingPointAction.CM.integralEnd A f) |
| 73 | (px x) (px y) (Nx.map pn) (Ny.map pn) (by |
| 74 | simp only [EvaluatedFormula.CM.ReducedEquation, Multiset.map_map, Function.comp_def, px, pn] at h ⊢ |
| 75 | exact h) |
| 76 | change PointSpecializationFormula.CM.Points.evaluateAt (specialGroup A) U (SpecialEndEvaluation.CM.specialIntegralEnd A f) _ = _ at he |
| 77 | rw [SpecialEndEvaluation.CM.specialIntegralEnd_eq] at he |
| 78 | simp only [SpecialEquation, Multiset.map_map, Function.comp_def, |
| 79 | BaseChangeEvaluation.CM.groupPoint, specialPoint, specialNeighbor, px, pn] at he ⊢ |
| 80 | exact he |
| 81 | |
| 82 | theorem specialEquation_of_localEquation (f : A.ExtendingEndomorphism) (x y : T ⟶ X) |
| 83 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) |
| 84 | (h : ModelNeighborFormula.CM.LocalEquation A M T f x y Nx Ny) : |
| 85 | SpecialEquation A M bR c w res U e f x y Nx Ny := |
| 86 | specialEquation_of_reducedEquation A M bR c w res U e f x y Nx Ny |
| 87 | (EvaluatedFormula.CM.reducedEquation_of_localEquation A M bR c w res f x y Nx Ny h) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.SourceSpecialEquation.CM |