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.ArithmeticEquationPoints |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.EquationImages |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionTargetIdentification |
| 4 | |
| 5 | /-! # Arithmetic Group Equation -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArithmeticGroupEquation.CM.ImageCompatibility |
| 12 | |
| 13 | /-! Prove the arithmetic image identity before instantiating the PEL |
| 14 | model. Replacing a proved-equal target comparison preserves the actual |
| 15 | source reduction map, so both formulas use the identical source point. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComparisonModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionComparisonModel.CM |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PullbackSpecialization.CM |
| 21 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 22 | |
| 23 | variable {K : Type} [Field K] [NumberField K] |
| 24 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} |
| 25 | {S : Scheme} {g : ℕ} (G : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 26 | {X : Over S} [IsProper X.hom] (a : X ⟶ G.scheme) |
| 27 | (k : NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase K ⟶ S) (t : NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase ℤ_[q] ⟶ S) |
| 28 | (w : NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]) ≫ t = NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq ≫ k) |
| 29 | (br : NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase (ZMod q) ⟶ S) |
| 30 | (wr : NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q) ≫ t = br) |
| 31 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 32 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 33 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 34 | |
| 35 | local notation "eta" => OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]) |
| 36 | local notation "red" => OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q) |
| 37 | local notation "A" => @OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeSquare.CM.ComparisonModel.model K _ _ q _ jq S g G k t w |
| 38 | local notation "M" => @OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComparisonModel.CM.sourceMap K _ _ q _ jq S g G X a k t w |
| 39 | local notation "redM" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionComparisonModel.CM.reductionMap G a red t br wr |
| 40 | local notation "bR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.integralBase V |
| 41 | local notation "cL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q) |
| 42 | local notation "wL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.generic_square V |
| 43 | local notation "rho" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftedReduction.CM.geometricResidue (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.EvaluationDVR.CM.geometricResidueIso V) |
| 44 | local notation "gk" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.geometricBase (q := q) |
| 45 | local notation "uk" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.residueBase V |
| 46 | local notation "Uk" => Over.mk gk |
| 47 | local notation "eR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.testIso V |
| 48 | |
| 49 | local instance : IsProper (M).integralSource.hom := |
| 50 | inferInstanceAs (IsProper (pullback.snd X.hom t)) |
| 51 | |
| 52 | variable (e : ((G.pullback t).pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))).scheme ≅ |
| 53 | (G.pullback br).scheme) |
| 54 | (he : (ReductionComparisonModel.CM.reductionMap G a (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q)) t br wr).targetIso.hom = e.hom) |
| 55 | (U₀ : Over (NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase K)) |
| 56 | (p : (Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj (Over.mk (EvaluationBaseSquare.CM.fieldBase (L := L) (q := q))) ⟶ U₀) |
| 57 | |
| 58 | local notation "aligned" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionTargetIdentification.CM.replaceTarget G a red t br redM e he |
| 59 | |
| 60 | theorem image_eq (z : U₀ ⟶ (Over.pullback k).obj X) : |
| 61 | Source.EquationImages.CM.image A M bR cL wL rho Uk eR |
| 62 | (CommGrp.mk (G.pullback br).scheme) (aligned).sourceIso ((Over.pullback br).map a) U₀ p z = |
| 63 | Additive.ofMul (ArithmeticEquationPoints.CM.point G a k t w br wr V (p ≫ z) ≫ |
| 64 | (Over.pullback br).map a) := rfl |
| 65 | |
| 66 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArithmeticGroupEquation.CM.ImageCompatibility |
| 67 | |
| 68 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArithmeticGroupEquation.CM |
| 69 | |
| 70 | /-! Arithmetic source reduction with an independently specified target |
| 71 | group. The actual target group and map are retained throughout the |
| 72 | equation; only the arithmetic source points are identified. -/ |
| 73 | |
| 74 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 75 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 76 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComparisonModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionComparisonModel.CM |
| 77 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PullbackSpecialization.CM |
| 78 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 79 | |
| 80 | variable {K : Type} [Field K] [NumberField K] |
| 81 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} |
| 82 | {S : Scheme} {g : ℕ} (G : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 83 | {X : Over S} [IsProper X.hom] (a : X ⟶ G.scheme) |
| 84 | (k : NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase K ⟶ S) (t : NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase ℤ_[q] ⟶ S) |
| 85 | (w : NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]) ≫ t = NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq ≫ k) |
| 86 | (br : NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase (ZMod q) ⟶ S) |
| 87 | (wr : NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q) ≫ t = br) |
| 88 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 89 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 90 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 91 | |
| 92 | local notation "eta" => OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]) |
| 93 | local notation "red" => OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q) |
| 94 | local notation "A" => @OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BaseChangeSquare.CM.ComparisonModel.model K _ _ q _ jq S g G k t w |
| 95 | local notation "M" => @OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComparisonModel.CM.sourceMap K _ _ q _ jq S g G X a k t w |
| 96 | local notation "redM" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionComparisonModel.CM.reductionMap G a red t br wr |
| 97 | local notation "bR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.integralBase V |
| 98 | local notation "cL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q) |
| 99 | local notation "wL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.generic_square V |
| 100 | local notation "rho" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftedReduction.CM.geometricResidue (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.EvaluationDVR.CM.geometricResidueIso V) |
| 101 | local notation "gk" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.geometricBase (q := q) |
| 102 | local notation "uk" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.residueBase V |
| 103 | local notation "Uk" => Over.mk gk |
| 104 | local notation "eR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.testIso V |
| 105 | |
| 106 | local instance : IsProper (M).integralSource.hom := |
| 107 | inferInstanceAs (IsProper (pullback.snd X.hom t)) |
| 108 | |
| 109 | variable (H : CommGrp (Over (NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase (ZMod q)))) |
| 110 | (e : (@BaseChangeSquare.CM.ComparisonModel.model K _ _ q _ jq S g G k t w).specialFiber.scheme ≅ H.X) |
| 111 | [hmon : IsMonHom e.hom] |
| 112 | (b : (Over.pullback br).obj X ⟶ H.X) |
| 113 | (U₀ : Over (NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase K)) |
| 114 | (p : (Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq)).obj (Over.mk (EvaluationBaseSquare.CM.fieldBase (L := L) (q := q))) ⟶ U₀) |
| 115 | |
| 116 | def image (z : U₀ ⟶ (Over.pullback k).obj X) : Additive (Uk ⟶ H.X) := |
| 117 | Additive.ofMul (ArithmeticEquationPoints.CM.point G a k t w br wr V (p ≫ z) ≫ b) |
| 118 | |
| 119 | theorem image_eq (z : U₀ ⟶ (Over.pullback k).obj X) : |
| 120 | Source.EquationImages.CM.image A M bR cL wL rho Uk eR H (redM).sourceIso b U₀ p z = |
| 121 | image G a k t w br wr V H b U₀ p z := rfl |
| 122 | |
| 123 | def Input (f : (A).ExtendingEndomorphism) |
| 124 | (x y : U₀ ⟶ (Over.pullback k).obj X) (Nx Ny : Multiset (U₀ ⟶ (Over.pullback k).obj X)) : Prop := |
| 125 | @Source.EquationImages.CM.Equation K _ _ q _ jq A M _ |
| 126 | V.carrier L _ _ _ _ _ _ bR cL wL (AlgebraicClosure (ZMod q)) _ rho Uk eR |
| 127 | H e hmon _ (redM).sourceIso b U₀ p f x y Nx Ny |
| 128 | |
| 129 | def Output (g' : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd H.X) |
| 130 | (x y : U₀ ⟶ (Over.pullback k).obj X) (Nx Ny : Multiset (U₀ ⟶ (Over.pullback k).obj X)) : Prop := |
| 131 | Source.EquationImages.CM.ImageEquation (PointEvaluation.CM.action H Uk g') |
| 132 | (image G a k t w br wr V H b U₀ p) x y Nx Ny |
| 133 | |
| 134 | theorem equation (f : (A).ExtendingEndomorphism) (g' : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd H.X) |
| 135 | (hf : SpecialEndEvaluation.CM.TransportedSpecialization.algebraicSpecialization A H e f.generic = g') |
| 136 | (x y : U₀ ⟶ (Over.pullback k).obj X) (Nx Ny : Multiset (U₀ ⟶ (Over.pullback k).obj X)) |
| 137 | (h : Input G a k t w br wr V H e b U₀ p f x y Nx Ny) : |
| 138 | Output G a k t w br wr V H b U₀ p g' x y Nx Ny := |
| 139 | @Source.EquationImages.CM.equation_with_images K _ _ q _ jq A M _ |
| 140 | V.carrier L _ _ _ _ _ _ bR cL wL (AlgebraicClosure (ZMod q)) _ rho Uk eR H e hmon _ |
| 141 | (redM).sourceIso b U₀ p f g' hf (image G a k t w br wr V H b U₀ p) |
| 142 | (image_eq G a k t w br wr V H b U₀ p) x y Nx Ny h |
| 143 | |
| 144 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArithmeticGroupEquation.CM |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI |