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.NeronSpecialization |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberGeneration |
| 3 | |
| 4 | /-! # Point Specialization Formula -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 11 | |
| 12 | /-! Evaluation and base change commute for the actual functor of points. |
| 13 | Together with HomExtension this proves compatibility of specialization with |
| 14 | endomorphism evaluation on integral points. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupBaseChange.CM |
| 19 | |
| 20 | variable {S S' : Scheme} (G : CommGrp (Over S)) |
| 21 | |
| 22 | def evaluateAt (T : Over S) : AbelianScheme.TateComparison.End.IntegralEnd G.X →+* AddMonoid.End (Additive (T ⟶ G.X)) where |
| 23 | toFun f := (f.app (.op T)).hom |
| 24 | map_zero' := rfl |
| 25 | map_one' := rfl |
| 26 | map_add' _ _ := rfl |
| 27 | map_mul' _ _ := rfl |
| 28 | |
| 29 | def pointBaseChange (b : S' ⟶ S) (T : Over S) : |
| 30 | Additive (T ⟶ G.X) →+ Additive ((Over.pullback b).obj T ⟶ (GroupBaseChange.CM.changedGroup G b).X) where |
| 31 | toFun x := Additive.ofMul ((Over.pullback b).map x.toMul) |
| 32 | map_zero' := (Over.pullback b).map_one |
| 33 | map_add' x y := (Over.pullback b).map_mul x.toMul y.toMul |
| 34 | |
| 35 | theorem pointBaseChange_evaluate (b : S' ⟶ S) (T : Over S) |
| 36 | (f : AbelianScheme.TateComparison.End.IntegralEnd G.X) (x : Additive (T ⟶ G.X)) : |
| 37 | pointBaseChange G b T (evaluateAt G T f x) = |
| 38 | evaluateAt (GroupBaseChange.CM.changedGroup G b) ((Over.pullback b).obj T) (AbelianScheme.TateComparison.BaseChange.endBaseChange G.X b f) |
| 39 | (pointBaseChange G b T x) := by |
| 40 | let : GrpObj (GroupBaseChange.CM.changedGroup G b).X := (GroupBaseChange.CM.changedGroup G b).grp |
| 41 | let : IsCommMonObj (GroupBaseChange.CM.changedGroup G b).X := (GroupBaseChange.CM.changedGroup G b).comm |
| 42 | apply Additive.toMul.injective |
| 43 | change (Over.pullback b).map (((f.app (.op T)).hom x).toMul) = |
| 44 | (((AbelianScheme.TateComparison.BaseChange.endBaseChange G.X b f).app (.op ((Over.pullback b).obj T))).hom |
| 45 | (Additive.ofMul ((Over.pullback b).map x.toMul))).toMul |
| 46 | exact (congrArg (Over.pullback b).map (AbelianScheme.TateComparison.End.endSchemeMap_points G.X f T x.toMul)).trans |
| 47 | (((Over.pullback b).map_comp x.toMul (AbelianScheme.TateComparison.End.endSchemeMap G.X f)).trans |
| 48 | ((congrArg ((Over.pullback b).map x.toMul ≫ ·) |
| 49 | (AbelianScheme.TateComparison.BaseChange.endBaseChange_schemeMap G.X b f).symm).trans |
| 50 | (@AbelianScheme.TateComparison.End.endSchemeMap_points S' (GroupBaseChange.CM.changedGroup G b).X |
| 51 | (GroupBaseChange.CM.changedGroup G b).grp (GroupBaseChange.CM.changedGroup G b).comm (AbelianScheme.TateComparison.BaseChange.endBaseChange G.X b f) |
| 52 | ((Over.pullback b).obj T) ((Over.pullback b).map x.toMul)).symm)) |
| 53 | |
| 54 | theorem evaluate_precomp {T U : Over S} (p : T ⟶ U) |
| 55 | (f : AbelianScheme.TateComparison.End.IntegralEnd G.X) (x : Additive (U ⟶ G.X)) : |
| 56 | evaluateAt G T f (Additive.ofMul (p ≫ x.toMul)) = |
| 57 | Additive.ofMul (p ≫ (evaluateAt G U f x).toMul) := by |
| 58 | apply Additive.toMul.injective |
| 59 | change ((f.app (.op T)).hom (Additive.ofMul (p ≫ x.toMul))).toMul = |
| 60 | p ≫ ((f.app (.op U)).hom x).toMul |
| 61 | exact (AbelianScheme.TateComparison.End.endSchemeMap_points G.X f T (p ≫ x.toMul)).trans |
| 62 | ((Category.assoc p x.toMul (AbelianScheme.TateComparison.End.endSchemeMap G.X f)).trans |
| 63 | (congrArg (p ≫ ·) (AbelianScheme.TateComparison.End.endSchemeMap_points G.X f U x.toMul).symm)) |
| 64 | |
| 65 | variable {R K : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 66 | [Field K] [Algebra R K] [IsFractionRing R K] |
| 67 | (A : CommGrp (Over (Spec (.of R)))) |
| 68 | [Smooth A.X.hom] [IsProper A.X.hom] [GeometricallyConnected A.X.hom] |
| 69 | |
| 70 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NeronSpecialization.CM |
| 71 | |
| 72 | def genericActionOnIntegralPoints (T : Over (Spec (.of R))) : |
| 73 | AbelianScheme.TateComparison.End.IntegralEnd (GroupBaseChange.CM.changedGroup A (NeronSpecialization.CM.genericBase (R := R) (K := K))).X →+* |
| 74 | AddMonoid.End (Additive (T ⟶ A.X)) := |
| 75 | (evaluateAt A T).comp (NeronSpecialization.CM.genericEndEquiv A).symm.toRingHom |
| 76 | |
| 77 | theorem specialization_evaluation {k : Type} [Field k] (res : R →+* k) |
| 78 | (T : Over (Spec (.of R))) |
| 79 | (f : AbelianScheme.TateComparison.End.IntegralEnd (GroupBaseChange.CM.changedGroup A (NeronSpecialization.CM.genericBase (R := R) (K := K))).X) |
| 80 | (x : Additive (T ⟶ A.X)) : |
| 81 | pointBaseChange A (Spec.map (CommRingCat.ofHom res)) T |
| 82 | (genericActionOnIntegralPoints A T f x) = |
| 83 | evaluateAt (GroupBaseChange.CM.changedGroup A (Spec.map (CommRingCat.ofHom res))) |
| 84 | ((Over.pullback (Spec.map (CommRingCat.ofHom res))).obj T) |
| 85 | (NeronSpecialization.CM.specialization A res f) |
| 86 | (pointBaseChange A (Spec.map (CommRingCat.ofHom res)) T x) := |
| 87 | pointBaseChange_evaluate A (Spec.map (CommRingCat.ofHom res)) T |
| 88 | ((NeronSpecialization.CM.genericEndEquiv A).symm f) x |
| 89 | |
| 90 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 91 | |
| 92 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Test |
| 93 | |
| 94 | /-! Pointwise endomorphism and multiset identities are natural in the |
| 95 | test scheme. This retains all terms when identifying evaluated generic bases. -/ |
| 96 | |
| 97 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 98 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 99 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 100 | |
| 101 | variable {S : Scheme} (G : CommGrp (Over S)) {T U : Over S} (p : U ⟶ T) |
| 102 | |
| 103 | def precompose : Additive (T ⟶ G.X) →+ Additive (U ⟶ G.X) where |
| 104 | toFun x := Additive.ofMul (p ≫ x.toMul) |
| 105 | map_zero' := MonObj.comp_one p |
| 106 | map_add' x y := MonObj.comp_mul p x.toMul y.toMul |
| 107 | |
| 108 | theorem precompose_apply (x : T ⟶ G.X) : |
| 109 | precompose G p (Additive.ofMul x) = Additive.ofMul (p ≫ x) := rfl |
| 110 | |
| 111 | theorem precompose_evaluate (f : AbelianScheme.TateComparison.End.IntegralEnd G.X) (x : Additive (T ⟶ G.X)) : |
| 112 | precompose G p (Points.evaluateAt G T f x) = Points.evaluateAt G U f (precompose G p x) := |
| 113 | (Points.evaluate_precomp G p f x).symm |
| 114 | |
| 115 | theorem neighbor_formula {X : Over S} (a : X ⟶ G.X) (f : AbelianScheme.TateComparison.End.IntegralEnd G.X) |
| 116 | (x y : T ⟶ X) (Nx Ny : Multiset (T ⟶ X)) |
| 117 | (h : Points.evaluateAt G T f (Additive.ofMul (x ≫ a) - Additive.ofMul (y ≫ a)) = |
| 118 | (Nx.map (fun z => Additive.ofMul (z ≫ a))).sum - |
| 119 | (Ny.map (fun z => Additive.ofMul (z ≫ a))).sum) : |
| 120 | Points.evaluateAt G U f (Additive.ofMul ((p ≫ x) ≫ a) - Additive.ofMul ((p ≫ y) ≫ a)) = |
| 121 | (Nx.map (fun z => Additive.ofMul ((p ≫ z) ≫ a))).sum - |
| 122 | (Ny.map (fun z => Additive.ofMul ((p ≫ z) ≫ a))).sum := by |
| 123 | have hp := congrArg (precompose G p) h |
| 124 | rw [precompose_evaluate] at hp |
| 125 | simpa only [map_sub, map_multiset_sum, Multiset.map_map, Function.comp_def, |
| 126 | precompose_apply, Category.assoc] using hp |
| 127 | |
| 128 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Test |
| 129 | |
| 130 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Descent |
| 131 | |
| 132 | /-! An actual point equation descends along an epimorphism of test |
| 133 | schemes. This permits finite evaluation before proper specialization. -/ |
| 134 | |
| 135 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 136 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 137 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 138 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Test |
| 139 | |
| 140 | variable {S : Scheme} (G : CommGrp (Over S)) {T U : Over S} (p : U ⟶ T) [Epi p] |
| 141 | |
| 142 | theorem precompose_injective : Function.Injective (Test.precompose G p) := by |
| 143 | intro x y h |
| 144 | apply Additive.toMul.injective |
| 145 | exact (cancel_epi p).mp (congrArg Additive.toMul h) |
| 146 | |
| 147 | theorem neighbor_formula_of_precompose {X : Over S} (a : X ⟶ G.X) (f : AbelianScheme.TateComparison.End.IntegralEnd G.X) |
| 148 | (x y : T ⟶ X) (Nx Ny : Multiset (T ⟶ X)) |
| 149 | (h : Points.evaluateAt G U f |
| 150 | (Additive.ofMul ((p ≫ x) ≫ a) - Additive.ofMul ((p ≫ y) ≫ a)) = |
| 151 | (Nx.map (fun z => Additive.ofMul ((p ≫ z) ≫ a))).sum - |
| 152 | (Ny.map (fun z => Additive.ofMul ((p ≫ z) ≫ a))).sum) : |
| 153 | Points.evaluateAt G T f (Additive.ofMul (x ≫ a) - Additive.ofMul (y ≫ a)) = |
| 154 | (Nx.map (fun z => Additive.ofMul (z ≫ a))).sum - |
| 155 | (Ny.map (fun z => Additive.ofMul (z ≫ a))).sum := by |
| 156 | apply precompose_injective G p |
| 157 | rw [Test.precompose_evaluate] |
| 158 | simp only [map_sub, map_multiset_sum, Multiset.map_map, Function.comp_def, |
| 159 | Test.precompose_apply] |
| 160 | simpa only [Category.assoc, map_sub] using h |
| 161 | |
| 162 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Descent |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI |