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.Local.NeighborFormula |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComparisonModel |
| 3 | |
| 4 | /-! # Model Neighbor Formula -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ModelNeighborFormula.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Use the compatibility proved by the source-map constructor directly |
| 11 | when transporting the original generic neighbor formula. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ComparisonSpecialization.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ExtendingPointAction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeEvaluation.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.NeighborFormula.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComparisonModel.CM |
| 18 | |
| 19 | variable {K : Type} [Field K] [NumberField K] |
| 20 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 21 | (M : ComparisonModel.CM.SourceMap A) (T : Over (NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase ℚ_[q])) |
| 22 | |
| 23 | abbrev localSource := (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).obj M.integralSource |
| 24 | abbrev localAlbaneseMap := (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).map M.integralMap |
| 25 | |
| 26 | local notation "X" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ModelNeighborFormula.CM.localSource A M |
| 27 | local notation "a" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ModelNeighborFormula.CM.localAlbaneseMap A M |
| 28 | |
| 29 | theorem source_model_neighbor_formula |
| 30 | (f : A.ExtendingEndomorphism) (x y : T ⟶ X) |
| 31 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) |
| 32 | (h : PointSpecializationFormula.CM.Points.evaluateAt (Geometric.ComparisonSpecialization.CM.varietyGroup A) ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T) (ExtendingPointAction.CM.genericEnd A f) |
| 33 | (Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (x ≫ M.sourceIso.hom) ≫ M.genericMap) - |
| 34 | Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (y ≫ M.sourceIso.hom) ≫ M.genericMap)) = |
| 35 | (Nx.map (fun z => Additive.ofMul (z ≫ M.genericMap))).sum - |
| 36 | (Ny.map (fun z => Additive.ofMul (z ≫ M.genericMap))).sum) : |
| 37 | PointSpecializationFormula.CM.Points.evaluateAt (Geometric.ComparisonSpecialization.CM.localGroup A) T (ExtendingPointAction.CM.localEnd A f) (Additive.ofMul (x ≫ a) - Additive.ofMul (y ≫ a)) = |
| 38 | (Nx.map (fun z => Additive.ofMul (Local.NeighborFormula.CM.liftedNeighbor T M.sourceIso z ≫ a))).sum - |
| 39 | (Ny.map (fun z => Additive.ofMul (Local.NeighborFormula.CM.liftedNeighbor T M.sourceIso z ≫ a))).sum := |
| 40 | Local.NeighborFormula.CM.local_neighbor_formula A T M.sourceIso a M.genericMap M.compatible f x y Nx Ny h |
| 41 | |
| 42 | def GenericEquation (f : A.ExtendingEndomorphism) (x y : T ⟶ X) |
| 43 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) : Prop := |
| 44 | PointSpecializationFormula.CM.Points.evaluateAt (Geometric.ComparisonSpecialization.CM.varietyGroup A) ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T) (ExtendingPointAction.CM.genericEnd A f) |
| 45 | (Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (x ≫ M.sourceIso.hom) ≫ M.genericMap) - |
| 46 | Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (y ≫ M.sourceIso.hom) ≫ M.genericMap)) = |
| 47 | (Nx.map (fun z => Additive.ofMul (z ≫ M.genericMap))).sum - |
| 48 | (Ny.map (fun z => Additive.ofMul (z ≫ M.genericMap))).sum |
| 49 | |
| 50 | def LocalEquation (f : A.ExtendingEndomorphism) (x y : T ⟶ X) |
| 51 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) : Prop := |
| 52 | PointSpecializationFormula.CM.Points.evaluateAt (Geometric.ComparisonSpecialization.CM.localGroup A) T (ExtendingPointAction.CM.localEnd A f) (Additive.ofMul (x ≫ a) - Additive.ofMul (y ≫ a)) = |
| 53 | (Nx.map (fun z => Additive.ofMul (Local.NeighborFormula.CM.liftedNeighbor T M.sourceIso z ≫ a))).sum - |
| 54 | (Ny.map (fun z => Additive.ofMul (Local.NeighborFormula.CM.liftedNeighbor T M.sourceIso z ≫ a))).sum |
| 55 | |
| 56 | theorem genericEquation_of_point_formula (f : A.ExtendingEndomorphism) |
| 57 | (b : M.genericSource ⟶ A.variety.scheme) (hb : M.genericMap = b) |
| 58 | (F : Additive ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ (Geometric.ComparisonSpecialization.CM.varietyGroup A).X) → |
| 59 | Additive ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ (Geometric.ComparisonSpecialization.CM.varietyGroup A).X)) |
| 60 | (hF : ∀ z, PointSpecializationFormula.CM.Points.evaluateAt (Geometric.ComparisonSpecialization.CM.varietyGroup A) ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T) (ExtendingPointAction.CM.genericEnd A f) z = F z) |
| 61 | (x y : T ⟶ X) |
| 62 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) |
| 63 | (h : F |
| 64 | (Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (x ≫ M.sourceIso.hom) ≫ b) - |
| 65 | Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (y ≫ M.sourceIso.hom) ≫ b)) = |
| 66 | (Nx.map (fun z => Additive.ofMul (z ≫ b))).sum - |
| 67 | (Ny.map (fun z => Additive.ofMul (z ≫ b))).sum) : |
| 68 | GenericEquation A M T f x y Nx Ny := by |
| 69 | subst b |
| 70 | exact (hF _).trans h |
| 71 | |
| 72 | def PointEquation |
| 73 | (b : M.genericSource ⟶ A.variety.scheme) |
| 74 | (F : Additive ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ (Geometric.ComparisonSpecialization.CM.varietyGroup A).X) → |
| 75 | Additive ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ (Geometric.ComparisonSpecialization.CM.varietyGroup A).X)) |
| 76 | (x y : T ⟶ X) |
| 77 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) : Prop := |
| 78 | F |
| 79 | (Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (x ≫ M.sourceIso.hom) ≫ b) - |
| 80 | Additive.ofMul (BaseChangeEvaluation.CM.pointsEquiv (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq) T M.genericSource (y ≫ M.sourceIso.hom) ≫ b)) = |
| 81 | (Nx.map (fun z => Additive.ofMul (z ≫ b))).sum - |
| 82 | (Ny.map (fun z => Additive.ofMul (z ≫ b))).sum |
| 83 | |
| 84 | theorem genericEquation_of_named_point_formula (f : A.ExtendingEndomorphism) |
| 85 | (b : M.genericSource ⟶ A.variety.scheme) (hb : M.genericMap = b) |
| 86 | (F : Additive ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ (Geometric.ComparisonSpecialization.CM.varietyGroup A).X) → |
| 87 | Additive ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ (Geometric.ComparisonSpecialization.CM.varietyGroup A).X)) |
| 88 | (hF : ∀ z, PointSpecializationFormula.CM.Points.evaluateAt (Geometric.ComparisonSpecialization.CM.varietyGroup A) ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T) (ExtendingPointAction.CM.genericEnd A f) z = F z) |
| 89 | (x y : T ⟶ X) |
| 90 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) |
| 91 | (h : PointEquation A M T b F x y Nx Ny) : GenericEquation A M T f x y Nx Ny := |
| 92 | genericEquation_of_point_formula A M T f b hb F hF x y Nx Ny h |
| 93 | |
| 94 | theorem localEquation_of_genericEquation (f : A.ExtendingEndomorphism) (x y : T ⟶ X) |
| 95 | (Nx Ny : Multiset ((Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj T ⟶ M.genericSource)) |
| 96 | (h : GenericEquation A M T f x y Nx Ny) : LocalEquation A M T f x y Nx Ny := |
| 97 | source_model_neighbor_formula A M T f x y Nx Ny h |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ModelNeighborFormula.CM |