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.PositivePEL |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ClassifiedFieldTarget |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PELKernelTargetTransport |
| 4 | |
| 5 | /-! # Constructed Intrinsic Neighbors -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedIntrinsicNeighbors.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct the exact evaluated native neighbors required by NeighborCounting. |
| 12 | The positive PEL quotient is classified over the original finite |
| 13 | extension; every original complete kernel is retained. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.KernelModels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.AbelianNeighbors |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.CanonicalIsotropy OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModeledFieldPEL OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModeledFieldIntegralPEL |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionFamilyComparison.Family OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PositivePEL |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ClassifiedFieldTarget OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PELKernelTargetTransport |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 26 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 27 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 28 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 29 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 30 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 31 | variable {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 32 | variable {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 33 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 34 | variable {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 35 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 36 | variable (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) (active : Fin s) (multiplicative : Fin s → Bool) |
| 37 | variable (h_TorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) {x : D.GeometricPoint} (l : Lifts.IntegralLift D R b residueIso x) |
| 38 | |
| 39 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 40 | |
| 41 | local instance neighborModule (i : Fin 3) (v : Fin s) : |
| 42 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 43 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) := |
| 44 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 45 | (HeckeExponents.neighborExponents active multiplicative i v) (HeckeExponents.neighborExponents_bound active multiplicative i v) |
| 46 | |
| 47 | local instance chosenProjectorGroup (i : Fin 3) (v : Fin s) : |
| 48 | IsMonHom (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 49 | (l.genericAction (L := L)) labels i v) := |
| 50 | (l.genericAction (L := L)).preservesGroup |
| 51 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inl v))) |
| 52 | |
| 53 | local instance oppositeProjectorGroup (i : Fin 3) (v : Fin s) : |
| 54 | IsMonHom (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 55 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) s labels v) := |
| 56 | (l.genericAction (L := L)).preservesGroup |
| 57 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inr v))) |
| 58 | |
| 59 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 60 | (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q active multiplicative |
| 61 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 62 | (l.genericAction (L := L)) labels) h_TorsionQuotient)) |
| 63 | |
| 64 | variable (hlabels : ∀ v, labels (Sum.swap v) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels v) |
| 65 | |
| 66 | variable [Algebra R d.carrier] [IsScalarTower R L d.carrier] |
| 67 | variable (v : EvaluationDVRLifts.EvaluationDVR R d.carrier) (hgood : D.IsGoodCompletelySplitReduction) |
| 68 | |
| 69 | variable (i : Fin 3) (a : ULift (Fin (d.count (some i)))) |
| 70 | |
| 71 | def evaluatedNeighborArithmeticBase : Spec (.of d.carrier) ⟶ B.base := |
| 72 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom ≫ |
| 73 | (Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ Lifts.dvrBase R b) |
| 74 | |
| 75 | omit [IsFractionRing R L] in |
| 76 | theorem evaluatedNeighborArithmeticBase_eq : |
| 77 | evaluatedNeighborArithmeticBase j hsplit labels active multiplicative h_TorsionQuotient l d = |
| 78 | Spec.map (CommRingCat.ofHom (algebraMap v.carrier d.carrier)) ≫ |
| 79 | Lifts.dvrBase v.carrier ((algebraMap R v.carrier).comp b) := by |
| 80 | change Spec.map (CommRingCat.ofHom (algebraMap L d.carrier)) ≫ |
| 81 | (Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ Spec.map (CommRingCat.ofHom b)) = |
| 82 | Spec.map (CommRingCat.ofHom (algebraMap v.carrier d.carrier)) ≫ |
| 83 | Spec.map (CommRingCat.ofHom ((algebraMap R v.carrier).comp b)) |
| 84 | rw [← Spec.map_comp, ← Spec.map_comp, ← Spec.map_comp] |
| 85 | apply congrArg Spec.map |
| 86 | apply CommRingCat.hom_ext |
| 87 | ext c |
| 88 | exact (IsScalarTower.algebraMap_apply R L d.carrier (b c)).symm.trans |
| 89 | (IsScalarTower.algebraMap_apply R v.carrier d.carrier (b c)) |
| 90 | |
| 91 | def evaluatedNeighborTarget := |
| 92 | ClassifiedFieldTarget.classifiedFieldTarget D v.carrier d.carrier ((algebraMap R v.carrier).comp b) hgood |
| 93 | (evaluatedNeighborArithmeticBase j hsplit labels active multiplicative h_TorsionQuotient l d) |
| 94 | (evaluatedNeighborArithmeticBase_eq j hsplit labels active multiplicative h_TorsionQuotient l d v) |
| 95 | (Evaluated.PositivePEL.evaluatedNeighborIntegralObject j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 96 | |
| 97 | def evaluatedNeighborTargetDataIso := |
| 98 | ClassifiedFieldTarget.classifiedFieldTargetDataIso D v.carrier d.carrier ((algebraMap R v.carrier).comp b) hgood |
| 99 | (evaluatedNeighborArithmeticBase j hsplit labels active multiplicative h_TorsionQuotient l d) |
| 100 | (evaluatedNeighborArithmeticBase_eq j hsplit labels active multiplicative h_TorsionQuotient l d v) |
| 101 | (Evaluated.PositivePEL.evaluatedNeighborIntegralObject j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 102 | |
| 103 | def constructedEvaluatedNativeNeighbor : |
| 104 | Intrinsic.ReductionSpecification.EvaluatedNativeNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d v i a where |
| 105 | target := evaluatedNeighborTarget j hsplit labels active multiplicative h_TorsionQuotient l d hlabels v hgood i a |
| 106 | model := Evaluated.KernelModels.evaluatedCompleteKernelModel j hsplit labels active multiplicative h_TorsionQuotient l d i a |
| 107 | quotient := (Evaluated.PositivePEL.evaluatedNeighborPELIsogeny j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a).transport |
| 108 | (AbelianScheme.TateComparison.PELModuli.PELFamilyIso.refl _) (ActionFamilyComparison.Family.actionIsoToFamilyIso |
| 109 | (evaluatedNeighborTargetDataIso j hsplit labels active multiplicative h_TorsionQuotient l d hlabels v hgood i a).symm) |
| 110 | kernel := PELKernelTargetTransport.prescribedKernel_target_transport |
| 111 | (Evaluated.PositivePEL.evaluatedNeighborPELIsogeny j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 112 | (ActionFamilyComparison.Family.actionIsoToFamilyIso |
| 113 | (evaluatedNeighborTargetDataIso j hsplit labels active multiplicative h_TorsionQuotient l d hlabels v hgood i a).symm) |
| 114 | _ (Evaluated.PositivePEL.evaluatedNeighborPELIsogeny_kernel j hsplit labels active multiplicative h_TorsionQuotient l d hlabels i a) |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedIntrinsicNeighbors.Intrinsic |