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.Intrinsic.EquationData |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArithmeticGroupEquation |
| 3 | |
| 4 | /-! # Equation Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationPoints.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Write the actual specialized TateComparison equation using the exact |
| 11 | arithmetic points already identified with the original Witt sources and |
| 12 | NeighborCounting targets. Its operator is the same source specialization used in |
| 13 | the crystalline comparison chain. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.LocalNeighbors.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.NeighborFormula.CM |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 22 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 23 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 24 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 25 | (hcop : Nat.Coprime q D.denominator) |
| 26 | (res : AbelianScheme.TateComparison.Data.modelRing K D.denominator →+* ZMod q) |
| 27 | (hres : res.comp (algebraMap (NumberField.RingOfIntegers K) |
| 28 | (AbelianScheme.TateComparison.Data.modelRing K D.denominator)) = j.residue) |
| 29 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 30 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 31 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 32 | |
| 33 | local notation "A" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D hg j hcop |
| 34 | local notation "M" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM.nativeSource D hg j hcop |
| 35 | local notation "T" => Over.mk (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q)) |
| 36 | local notation "U" => Over.mk (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.originalBase (L := L) j) |
| 37 | local notation "eT" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.testIso (L := L) j |
| 38 | local notation "bR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.integralBase V |
| 39 | local notation "cL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q) |
| 40 | local notation "wL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.generic_square V |
| 41 | local notation "rho" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftedReduction.CM.geometricResidue |
| 42 | (Witt.EvaluationDVR.CM.geometricResidueIso V) |
| 43 | local notation "Uk" => OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q |
| 44 | local notation "eR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.testIso V |
| 45 | local notation "H" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.sourceGroup D res |
| 46 | local notation "cmp" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.comparisonIso D hg j hcop res hres |
| 47 | local notation "redM" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlignedReduction.CM.sourceReduction D hg j hcop res hres |
| 48 | local notation "br" => Spec.map (CommRingCat.ofHom res) |
| 49 | |
| 50 | local instance : IsProper (M).integralSource.hom := |
| 51 | Source.Proper.CM.integralSource_proper D hg j hcop |
| 52 | local instance : IsMonHom (cmp).hom := |
| 53 | ComparisonPolynomial.CM.comparisonIso_group D hg j hcop res hres |
| 54 | |
| 55 | theorem raw_specialization_eq (f : D.EndK) : |
| 56 | @SpecialEndEvaluation.CM.TransportedSpecialization.algebraicSpecialization K _ _ q _ _ A H cmp |
| 57 | (ComparisonPolynomial.CM.comparisonIso_group D hg j hcop res hres) |
| 58 | (Source.LocalNeighbors.CM.rawEnd D hg j hcop f).generic = EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres f := |
| 59 | EquationData.CM.IntrinsicPoints.specialization_eq D hg j hcop res hres f |
| 60 | |
| 61 | def RawEquation (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 62 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) : Prop := |
| 63 | @Source.EquationImages.CM.Equation K _ _ q _ _ A M |
| 64 | (Source.Proper.CM.integralSource_proper D hg j hcop) |
| 65 | V.carrier L _ _ _ _ _ _ bR cL wL (Witt.ArithmeticBase.CM.k (q := q)) _ rho Uk eR H cmp |
| 66 | (ComparisonPolynomial.CM.comparisonIso_group D hg j hcop res hres) _ |
| 67 | (redM).sourceIso ((Over.pullback br).map (AlbaneseMapCompatibility.CM.arithmeticMap D hg)) U (eT).hom |
| 68 | (Source.LocalNeighbors.CM.rawEnd D hg j hcop f) x y Nx Ny |
| 69 | |
| 70 | theorem raw_equation_from_native (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 71 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) |
| 72 | (h : SpecialEquation.CM.IntrinsicTransported.Equation D hg j hcop res hres V f x y Nx Ny) : |
| 73 | RawEquation D hg j hcop res hres V f x y Nx Ny := |
| 74 | @Source.EquationImages.CM.equation_from_transported K _ _ q _ _ A M |
| 75 | (Source.Proper.CM.integralSource_proper D hg j hcop) |
| 76 | V.carrier L _ _ _ _ _ _ bR cL wL (Witt.ArithmeticBase.CM.k (q := q)) _ rho Uk eR H cmp |
| 77 | (ComparisonPolynomial.CM.comparisonIso_group D hg j hcop res hres) _ (redM).sourceIso ((Over.pullback br).map (AlbaneseMapCompatibility.CM.arithmeticMap D hg)) U (eT).hom |
| 78 | (Source.LocalNeighbors.CM.rawEnd D hg j hcop f) x y Nx Ny h |
| 79 | |
| 80 | def rawAction (f : D.EndK) : Additive (Uk ⟶ (H).X) → Additive (Uk ⟶ (H).X) := |
| 81 | @Source.EquationImages.CM.specializedAction K _ _ q _ _ A Uk H cmp |
| 82 | (ComparisonPolynomial.CM.comparisonIso_group D hg j hcop res hres) |
| 83 | (Source.LocalNeighbors.CM.rawEnd D hg j hcop f) |
| 84 | |
| 85 | theorem rawAction_eq (f : D.EndK) : |
| 86 | rawAction D hg j hcop res hres f = |
| 87 | ⇑(PointEvaluation.CM.action H Uk (EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres f)) := |
| 88 | congrArg (fun g => ⇑(PointEvaluation.CM.action H Uk g)) |
| 89 | (raw_specialization_eq D hg j hcop res hres f) |
| 90 | |
| 91 | def RawImageEquation (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 92 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) : Prop := |
| 93 | Source.EquationImages.CM.ImageEquation |
| 94 | (PointEvaluation.CM.action H Uk (EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres f)) |
| 95 | (EquationData.CM.IntrinsicPoints.rawImage D hg j hcop res hres V) x y Nx Ny |
| 96 | |
| 97 | theorem raw_equation_normalized (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 98 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) |
| 99 | (h : RawEquation D hg j hcop res hres V f x y Nx Ny) : |
| 100 | Source.EquationImages.CM.ImageEquation (rawAction D hg j hcop res hres f) |
| 101 | (EquationData.CM.IntrinsicPoints.rawImage D hg j hcop res hres V) x y Nx Ny := h |
| 102 | |
| 103 | theorem raw_image_equation (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 104 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) |
| 105 | (h₀ : RawEquation D hg j hcop res hres V f x y Nx Ny) : |
| 106 | RawImageEquation D hg j hcop res hres V f x y Nx Ny := |
| 107 | Source.EquationImages.CM.imageEquation_congr |
| 108 | (S := U ⟶ (M).genericSource) (G := Additive (Uk ⟶ (H).X)) |
| 109 | (rawAction D hg j hcop res hres f) |
| 110 | (PointEvaluation.CM.action H Uk (EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres f)) |
| 111 | (rawAction_eq D hg j hcop res hres f) |
| 112 | (EquationData.CM.IntrinsicPoints.rawImage D hg j hcop res hres V) (EquationData.CM.IntrinsicPoints.rawImage D hg j hcop res hres V) rfl x y Nx Ny |
| 113 | (raw_equation_normalized D hg j hcop res hres V f x y Nx Ny h₀) |
| 114 | |
| 115 | theorem equation_from_raw_image (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 116 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) |
| 117 | (h : RawImageEquation D hg j hcop res hres V f x y Nx Ny) : |
| 118 | EquationData.CM.IntrinsicPoints.Equation D hg j hcop res hres V f x y Nx Ny := |
| 119 | Source.EquationImages.CM.imageEquation_congr |
| 120 | (PointEvaluation.CM.action H Uk (EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres f)) _ rfl |
| 121 | (EquationData.CM.IntrinsicPoints.rawImage D hg j hcop res hres V) (EquationData.CM.IntrinsicPoints.image D hg j hcop res hres V) |
| 122 | (funext (EquationData.CM.IntrinsicPoints.rawImage_eq D hg j hcop res hres V)) x y Nx Ny h |
| 123 | |
| 124 | theorem equation_from_raw (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 125 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) |
| 126 | (h : RawEquation D hg j hcop res hres V f x y Nx Ny) : |
| 127 | EquationData.CM.IntrinsicPoints.Equation D hg j hcop res hres V f x y Nx Ny := |
| 128 | equation_from_raw_image D hg j hcop res hres V f x y Nx Ny |
| 129 | (raw_image_equation D hg j hcop res hres V f x y Nx Ny h) |
| 130 | |
| 131 | theorem equation_from_native (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 132 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) |
| 133 | (h : SpecialEquation.CM.IntrinsicTransported.Equation D hg j hcop res hres V f x y Nx Ny) : |
| 134 | EquationData.CM.IntrinsicPoints.Equation D hg j hcop res hres V f x y Nx Ny := |
| 135 | equation_from_raw D hg j hcop res hres V f x y Nx Ny |
| 136 | (raw_equation_from_native D hg j hcop res hres V f x y Nx Ny h) |
| 137 | |
| 138 | theorem equation_from_original (f : D.EndK) (x y : U ⟶ (M).genericSource) |
| 139 | (Nx Ny : Multiset (U ⟶ (M).genericSource)) |
| 140 | (h : Source.TestEquation.CM.PointEquation D hg U f x y Nx Ny) : |
| 141 | EquationData.CM.IntrinsicPoints.Equation D hg j hcop res hres V f x y Nx Ny := |
| 142 | equation_from_native D hg j hcop res hres V f x y Nx Ny |
| 143 | (SpecialEquation.CM.IntrinsicTransported.equation_from_original D hg j hcop res hres V f x y Nx Ny h) |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationPoints.CM |