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.EndTransportCM |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry |
| 5 | |
| 6 | /-! # Comparison Specialization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ComparisonSpecialization.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Construct a single specialization ring map for GeometricComparison's actual model. |
| 13 | Its generic identification and the proved Neron extension determine the |
| 14 | map; an extending endomorphism specializes by its given integral extension. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | open OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupBaseChange.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NeronSpecialization.CM |
| 20 | open 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 | |
| 25 | def integralGroup : CommGrp (Over (Spec (.of ℤ_[q]))) := CommGrp.mk A.integral.scheme |
| 26 | def varietyGroup : CommGrp (Over (Spec (.of K))) := CommGrp.mk A.variety.scheme |
| 27 | |
| 28 | instance integralGroup_smooth : Smooth (integralGroup A).X.hom := |
| 29 | inferInstanceAs (Smooth A.integral.scheme.hom) |
| 30 | |
| 31 | instance integralGroup_proper : IsProper (integralGroup A).X.hom := |
| 32 | inferInstanceAs (IsProper A.integral.scheme.hom) |
| 33 | |
| 34 | instance integralGroup_connected : GeometricallyConnected (integralGroup A).X.hom := |
| 35 | inferInstanceAs (GeometricallyConnected A.integral.scheme.hom) |
| 36 | |
| 37 | def localGroup : CommGrp (Over (Spec (.of ℚ_[q]))) := |
| 38 | GroupBaseChange.CM.changedGroup (integralGroup A) (NeronSpecialization.CM.genericBase (R := ℤ_[q]) (K := ℚ_[q])) |
| 39 | |
| 40 | def completedVarietyGroup : CommGrp (Over (Spec (.of ℚ_[q]))) := |
| 41 | GroupBaseChange.CM.changedGroup (varietyGroup A) (Spec.map (CommRingCat.ofHom jq)) |
| 42 | |
| 43 | def genericIdentification : (localGroup A).X ≅ (completedVarietyGroup A).X := A.genericIso |
| 44 | |
| 45 | theorem genericIdentification_group : IsMonHom (genericIdentification A).hom := A.genericIso_group |
| 46 | |
| 47 | theorem genericIdentification_inv_group : IsMonHom (genericIdentification A).symm.hom := by |
| 48 | let : IsMonHom A.genericIso.hom := A.genericIso_group |
| 49 | exact inferInstanceAs (IsMonHom A.genericIso.inv) |
| 50 | |
| 51 | def completedEnd : AbelianScheme.TateComparison.End.IntegralEnd (varietyGroup A).X →+* AbelianScheme.TateComparison.End.IntegralEnd (localGroup A).X := by |
| 52 | let : IsMonHom (genericIdentification A).symm.hom := genericIdentification_inv_group A |
| 53 | exact (EndTransportCM.CM.transport (genericIdentification A).symm).toRingHom.comp |
| 54 | (AbelianScheme.TateComparison.BaseChange.endBaseChange (varietyGroup A).X (Spec.map (CommRingCat.ofHom jq))) |
| 55 | |
| 56 | def specializeEnd : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.variety.scheme →+* FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.specialFiber.scheme := |
| 57 | (EndomorphismComparison.CM.integralEquiv A.specialFiber.scheme).toRingHom.comp |
| 58 | ((NeronSpecialization.CM.specialization (K := ℚ_[q]) (integralGroup A) |
| 59 | (PadicInt.toZMod : ℤ_[q] →+* ZMod q)).comp |
| 60 | ((completedEnd A).comp (EndomorphismComparison.CM.integralEquiv A.variety.scheme).symm.toRingHom)) |
| 61 | |
| 62 | theorem completedEnd_extending (f : A.ExtendingEndomorphism) : |
| 63 | completedEnd A ((EndomorphismComparison.CM.integralEquiv A.variety.scheme).symm f.generic) = |
| 64 | NeronSpecialization.CM.genericRestriction (K := ℚ_[q]) (integralGroup A) |
| 65 | ((EndomorphismComparison.CM.integralEquiv A.integral.scheme).symm f.integral) := by |
| 66 | let : IsMonHom (genericIdentification A).symm.hom := genericIdentification_inv_group A |
| 67 | let fg : AbelianScheme.TateComparison.End.IntegralEnd (varietyGroup A).X := (EndomorphismComparison.CM.integralEquiv A.variety.scheme).symm f.generic |
| 68 | let fi : AbelianScheme.TateComparison.End.IntegralEnd (integralGroup A).X := (EndomorphismComparison.CM.integralEquiv A.integral.scheme).symm f.integral |
| 69 | let fc : AbelianScheme.TateComparison.End.IntegralEnd (completedVarietyGroup A).X := |
| 70 | AbelianScheme.TateComparison.BaseChange.endBaseChange (varietyGroup A).X (Spec.map (CommRingCat.ofHom jq)) fg |
| 71 | let fl : AbelianScheme.TateComparison.End.IntegralEnd (localGroup A).X := |
| 72 | NeronSpecialization.CM.genericRestriction (K := ℚ_[q]) (integralGroup A) fi |
| 73 | have hc : AbelianScheme.TateComparison.End.endSchemeMap (completedVarietyGroup A).X fc = |
| 74 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).map f.generic.toMul.hom.hom := |
| 75 | (AbelianScheme.TateComparison.BaseChange.endBaseChange_schemeMap (varietyGroup A).X (Spec.map (CommRingCat.ofHom jq)) fg).trans |
| 76 | (congrArg (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).map |
| 77 | (AbelianScheme.TateComparison.End.endSchemeMap_ofSchemeMap A.variety.scheme f.generic.toMul.hom.hom)) |
| 78 | have hi : AbelianScheme.TateComparison.End.endSchemeMap (localGroup A).X fl = |
| 79 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).map f.integral.toMul.hom.hom := |
| 80 | (AbelianScheme.TateComparison.BaseChange.endBaseChange_schemeMap (integralGroup A).X (NeronSpecialization.CM.genericBase (R := ℤ_[q]) (K := ℚ_[q])) fi).trans |
| 81 | (congrArg (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).map |
| 82 | (AbelianScheme.TateComparison.End.endSchemeMap_ofSchemeMap A.integral.scheme f.integral.toMul.hom.hom)) |
| 83 | have hw : A.genericIso.hom ≫ |
| 84 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).map f.generic.toMul.hom.hom ≫ A.genericIso.inv = |
| 85 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).map |
| 86 | f.integral.toMul.hom.hom := by |
| 87 | let u := A.localEndomorphism f |
| 88 | let v : (A.variety.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).scheme ⟶ |
| 89 | (A.variety.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).scheme := |
| 90 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).map f.generic.toMul.hom.hom |
| 91 | have hc : u ≫ A.genericIso.hom = A.genericIso.hom ≫ v := f.compatible |
| 92 | exact (Category.assoc A.genericIso.hom v A.genericIso.inv).symm.trans |
| 93 | ((congrArg (· ≫ A.genericIso.inv) hc).symm.trans |
| 94 | ((Category.assoc u A.genericIso.hom A.genericIso.inv).trans |
| 95 | ((congrArg (u ≫ ·) A.genericIso.hom_inv_id).trans (Category.comp_id u)))) |
| 96 | apply AbelianScheme.TateComparison.End.endSchemeMap_injective (localGroup A).X |
| 97 | exact (EndTransportCM.CM.transport_schemeMap (genericIdentification A).symm fc).trans |
| 98 | ((congrArg (fun g => A.genericIso.hom ≫ g ≫ A.genericIso.inv) hc).trans |
| 99 | (hw.trans hi.symm)) |
| 100 | |
| 101 | theorem specializeEnd_extending (f : A.ExtendingEndomorphism) : |
| 102 | (specializeEnd A f.generic).toMul.hom.hom = A.specialEndomorphism f := by |
| 103 | let : GrpObj A.specialFiber.scheme := A.specialFiber.group |
| 104 | let : IsCommMonObj A.specialFiber.scheme := A.specialFiber.commutative |
| 105 | let fi : AbelianScheme.TateComparison.End.IntegralEnd (integralGroup A).X := (EndomorphismComparison.CM.integralEquiv A.integral.scheme).symm f.integral |
| 106 | have h := congrArg |
| 107 | (NeronSpecialization.CM.specialization (K := ℚ_[q]) (integralGroup A) |
| 108 | (PadicInt.toZMod : ℤ_[q] →+* ZMod q)) (completedEnd_extending A f) |
| 109 | have h' := h.trans (NeronSpecialization.CM.specialize_restriction (K := ℚ_[q]) (integralGroup A) |
| 110 | (PadicInt.toZMod : ℤ_[q] →+* ZMod q) fi) |
| 111 | have hs := congrArg |
| 112 | (fun x => (EndomorphismComparison.CM.integralEquiv A.specialFiber.scheme x).toMul.hom.hom) h' |
| 113 | let fs : AbelianScheme.TateComparison.End.IntegralEnd A.specialFiber.scheme := |
| 114 | AbelianScheme.TateComparison.BaseChange.endBaseChange A.integral.scheme |
| 115 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[q] →+* ZMod q))) |
| 116 | ((EndomorphismComparison.CM.integralEquiv A.integral.scheme).symm f.integral) |
| 117 | change (specializeEnd A f.generic).toMul.hom.hom = |
| 118 | AbelianScheme.TateComparison.End.endSchemeMap A.specialFiber.scheme fs at hs |
| 119 | exact hs.trans ((AbelianScheme.TateComparison.BaseChange.endBaseChange_schemeMap A.integral.scheme _ _).trans |
| 120 | (congrArg (Over.pullback |
| 121 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[q] →+* ZMod q)))).map |
| 122 | (AbelianScheme.TateComparison.End.endSchemeMap_ofSchemeMap A.integral.scheme f.integral.toMul.hom.hom))) |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ComparisonSpecialization.CM |