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.Isogenies.NeighborCounting.Evaluated.PositiveNeighbors |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModeledFieldIntegralPEL |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.IntegralPEL |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntrinsicPoincareBundlePEL |
| 5 | |
| 6 | /-! # Positive PEL -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PositivePEL |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Construct the original evaluated neighbor's integral PEL object and |
| 13 | full PEL isogeny. Its source is the exact original source in the NeighborCounting |
| 14 | specification, with every parameter and full kernel retained. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.KernelModels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.AbelianNeighbors |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.CanonicalIsotropy OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModeledFieldPEL OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModeledFieldIntegralPEL |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionFamilyComparison.Family |
| 24 | |
| 25 | private theorem mapIdentity_comp_identity {C₀ C₁ : Type*} [Category C₀] [Category C₁] |
| 26 | (F : C₀ ⥤ C₁) (X : C₀) {Y : C₁} (f : F.obj X ⟶ Y) : |
| 27 | F.map (𝟙 X) ≫ f ≫ 𝟙 Y = f := by |
| 28 | rw [F.map_id, Category.id_comp, Category.comp_id] |
| 29 | |
| 30 | private theorem prescribedKernel_of_hom_eq {S : Scheme.{0}} {A B H : Over S} [GrpObj B] |
| 31 | (f g : A ⟶ B) (i : H ⟶ A) (h : f = g) (hg : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel g i) : |
| 32 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel f i := h.symm ▸ hg |
| 33 | |
| 34 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 35 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 36 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 37 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 38 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 39 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 40 | variable {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 41 | variable {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 42 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 43 | variable {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 44 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 45 | variable (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) (active : Fin s) (multiplicative : Fin s → Bool) |
| 46 | variable (h_TorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) {x : D.GeometricPoint} (l : Lifts.IntegralLift D R b residueIso x) |
| 47 | |
| 48 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 49 | |
| 50 | local instance neighborModule (i : Fin 3) (v : Fin s) : |
| 51 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 52 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) := |
| 53 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 54 | (HeckeExponents.neighborExponents active multiplicative i v) (HeckeExponents.neighborExponents_bound active multiplicative i v) |
| 55 | |
| 56 | local instance chosenProjectorGroup (i : Fin 3) (v : Fin s) : |
| 57 | IsMonHom (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 58 | (l.genericAction (L := L)) labels i v) := |
| 59 | (l.genericAction (L := L)).preservesGroup |
| 60 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inl v))) |
| 61 | |
| 62 | local instance oppositeProjectorGroup (i : Fin 3) (v : Fin s) : |
| 63 | IsMonHom (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 64 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) s labels v) := |
| 65 | (l.genericAction (L := L)).preservesGroup |
| 66 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inr v))) |
| 67 | |
| 68 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 69 | (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q active multiplicative |
| 70 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 71 | (l.genericAction (L := L)) labels) h_TorsionQuotient)) |
| 72 | |
| 73 | variable (hlabels : ∀ v, labels (Sum.swap v) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels v) |
| 74 | |
| 75 | variable (i : Fin 3) (a : ULift (Fin (d.count (some i)))) |
| 76 | |
| 77 | def evaluatedNeighborIntegralObject := |
| 78 | ModeledFieldIntegralPEL.modeledFieldIntegralPEL (l.genericIntegralObject (L := L)) |
| 79 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom |
| 80 | (Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 81 | (KernelModels.evaluatedCompleteKernelModel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 82 | (q ^ HeckeExponents.neighborLevel i) (pow_pos (Fact.out : q.Prime).pos _) |
| 83 | (AbelianNeighbors.evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 84 | (D.polarizationPrimeToQ.pow_left (HeckeExponents.neighborLevel i)) |
| 85 | (CanonicalIsotropy.evaluatedCompleteKernel_self_annihilating j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 86 | (D.levelPrimeToQ.pow_left (HeckeExponents.neighborLevel i)) |
| 87 | (AbelianNeighbors.evaluatedCompleteKernel_stable j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 88 | |
| 89 | def evaluatedNeighborModelPELIsogeny := |
| 90 | IntrinsicPoincareBundlePEL.ModeledIntrinsic.modeledNativePoincareBundlePELIsogeny (l.genericIntegralObject (L := L)).data |
| 91 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom |
| 92 | (Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 93 | (KernelModels.evaluatedCompleteKernelModel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 94 | q (HeckeExponents.neighborLevel i) (Fact.out : q.Prime) |
| 95 | (AbelianNeighbors.evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 96 | D.polarizationPrimeToQ |
| 97 | (CanonicalIsotropy.evaluatedCompleteKernel_self_annihilating j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 98 | (D.levelPrimeToQ.pow_left (HeckeExponents.neighborLevel i)) |
| 99 | (AbelianNeighbors.evaluatedCompleteKernel_stable j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 100 | |
| 101 | def evaluatedNeighborPELIsogeny : |
| 102 | AbelianScheme.TateComparison.PELIsogenies.PELIsogeny |
| 103 | ((Intrinsic.ReductionSpecification.genericSource (L := L) l).pullback (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom) |
| 104 | (ActionFamilyComparison.Family.actionFamily (evaluatedNeighborIntegralObject j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a).data) |
| 105 | (q ^ HeckeExponents.neighborLevel i) := |
| 106 | (evaluatedNeighborModelPELIsogeny j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a).transport |
| 107 | ((ActionFamilyComparison.Family.actionFamilyPullbackIso l.actionData (Spec.map (CommRingCat.ofHom (algebraMap R L)))).pullback |
| 108 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom) |
| 109 | (AbelianScheme.TateComparison.PELModuli.PELFamilyIso.refl _) |
| 110 | |
| 111 | omit [IsFractionRing R L] in |
| 112 | theorem evaluatedNeighborPELIsogeny_hom : |
| 113 | (evaluatedNeighborPELIsogeny j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a).isogeny.hom = |
| 114 | (AbelianNeighbors.evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a).isogeny.hom := by |
| 115 | have ht := AbelianScheme.TateComparison.PELIsogenies.PELIsogeny.transport_hom |
| 116 | (evaluatedNeighborModelPELIsogeny j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 117 | ((ActionFamilyComparison.Family.actionFamilyPullbackIso l.actionData (Spec.map (CommRingCat.ofHom (algebraMap R L)))).pullback |
| 118 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom) |
| 119 | (AbelianScheme.TateComparison.PELModuli.PELFamilyIso.refl _) |
| 120 | apply ht.trans |
| 121 | change (Over.pullback (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom).map (𝟙 _) ≫ |
| 122 | (AbelianNeighbors.evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a).isogeny.hom ≫ 𝟙 _ = _ |
| 123 | exact mapIdentity_comp_identity |
| 124 | (Over.pullback (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom) _ |
| 125 | (AbelianNeighbors.evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a).isogeny.hom |
| 126 | |
| 127 | omit [IsFractionRing R L] in |
| 128 | theorem evaluatedNeighborPELIsogeny_kernel : |
| 129 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel |
| 130 | (evaluatedNeighborPELIsogeny j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a).isogeny.hom |
| 131 | (AbelianScheme.IsogenyQuotient.Intrinsic.Stability.Construction.nativeSubgroupInclusion (l.genericPolarized (L := L)).abelian |
| 132 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d) |
| 133 | (Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 134 | (KernelModels.evaluatedCompleteKernelModel j hsplit labels active multiplicative h_TorsionQuotient l d i a)) := by |
| 135 | exact prescribedKernel_of_hom_eq _ _ _ |
| 136 | (evaluatedNeighborPELIsogeny_hom j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 137 | (AbelianNeighbors.evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a).kernel |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PositivePEL |