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.NormalizedIntegralQuotientKernel |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.EvaluatedIntrinsicKernel |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralQuotientKernel |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntrinsicNeighbors |
| 5 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.IntrinsicKernel |
| 6 | |
| 7 | /-! # Intrinsic Kernel Comparison -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntrinsicKernelComparison.ReferenceIntrinsic |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Compare the genuine generic kernels of the original integral |
| 14 | quotient and the independently constructed positive evaluated neighbor. |
| 15 | The complete-kernel identity supplies every compact and opposite block. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralActiveKernels |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralQuotientKernel OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntrinsicNeighbors.ReferenceIntrinsic OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.IntrinsicKernel.Intrinsic |
| 24 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.GenericComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.SourceGroupIso OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 25 | |
| 26 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 27 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 28 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 29 | {iota : E →+* K} {κ : K →+* ℂ} |
| 30 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 31 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 32 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 33 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 34 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 35 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 36 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 37 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 38 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 39 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 40 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 41 | |
| 42 | local instance finalNeighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 43 | IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 44 | (l.genericAction (L := L)).preservesGroup |
| 45 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 46 | |
| 47 | variable (a : ConstructedActiveEvaluation.LiftedActiveEvaluation (L := L) j hsplit labels O l hTorsionQuotient) |
| 48 | |
| 49 | variable (hlabels : ∀ v : Fin (s + 1), |
| 50 | labels (v, true) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, false)) |
| 51 | (i : Fin 3) (p : ULift (Fin (a.evaluation.count (some i)))) |
| 52 | |
| 53 | variable (hgood : D.IsGoodCompletelySplitReduction) |
| 54 | |
| 55 | attribute [local irreducible] Kernel.Base.fullKernel AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 56 | AbelianScheme.IsogenyQuotient.ReducedPolarizationAdapter.Construction.reducedBaseNativePolarizationPairing AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion |
| 57 | CoordinateSubspaces.originalCoordinateKernelParameters Joint.KernelParameters.jointKernelParameters |
| 58 | Evaluated.ActiveParameterFamily.SourceFamilies.evaluatedIntegralActiveSourceFamily |
| 59 | |
| 60 | def originalIntegralGenericNormalizedKernelIdentity := |
| 61 | letI := a.evaluation.scalarAlgebra R |
| 62 | letI := a.evaluation.scalarTower R |
| 63 | let v := ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a |
| 64 | NormalizedIntegralQuotientKernel.integralCanonicalQuotient_normalizedKernelIdentity |
| 65 | j iota hsplit (l.overEvaluationDVR v).polarized (l.overEvaluationDVR v).action |
| 66 | (l.overEvaluationDVR v).rosati |
| 67 | ((Nat.coprime_pow_right_iff (by decide : 0 < 2) q _).mp D.polarizationPrimeToQ) |
| 68 | (Intrinsic.KernelLabels.nativeKernelLabels labels) hlabels (HeckeExponents.neighborLevel i) (Nat.succ_le_succ (Nat.zero_le i.val)) |
| 69 | 0 (Fin.cases false (O.compact x)) (IntegralActiveKernels.originalIntegralActiveKernel j hsplit labels O l hTorsionQuotient a i p) |
| 70 | (Spec.map (CommRingCat.ofHom (algebraMap v.carrier a.evaluation.carrier))) |
| 71 | |
| 72 | def originalIntegralKernelPullbackIdentity := |
| 73 | letI := a.evaluation.scalarAlgebra R |
| 74 | letI := a.evaluation.scalarTower R |
| 75 | let v := ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a |
| 76 | NormalizedIntegralQuotientKernel.integralCanonicalQuotient_pulledKernelIdentity |
| 77 | j iota hsplit (l.overEvaluationDVR v).polarized (l.overEvaluationDVR v).action |
| 78 | (l.overEvaluationDVR v).rosati |
| 79 | ((Nat.coprime_pow_right_iff (by decide : 0 < 2) q _).mp D.polarizationPrimeToQ) |
| 80 | (Intrinsic.KernelLabels.nativeKernelLabels labels) hlabels (HeckeExponents.neighborLevel i) (Nat.succ_le_succ (Nat.zero_le i.val)) |
| 81 | 0 (Fin.cases false (O.compact x)) (IntegralActiveKernels.originalIntegralActiveKernel j hsplit labels O l hTorsionQuotient a i p) |
| 82 | (Spec.map (CommRingCat.ofHom (algebraMap v.carrier a.evaluation.carrier))) |
| 83 | (Evaluated.SourceGroupIso.evaluatedLiftGenericSourceGroupIso (F := L) l v).hom |
| 84 | |
| 85 | def originalConstructedEvaluatedKernelIdentity := |
| 86 | letI := a.evaluation.scalarAlgebra R |
| 87 | letI := a.evaluation.scalarTower R |
| 88 | EvaluatedIntrinsicKernel.ReferenceIntrinsicComparison.originalEvaluatedNativeKernelIdentity j hsplit labels O l hTorsionQuotient a i p |
| 89 | (IntrinsicNeighbors.ReferenceIntrinsic.originalNativeNeighbor j hsplit labels O l hTorsionQuotient a hlabels i p hgood) |
| 90 | |
| 91 | def originalNativeKernelIdentity := by |
| 92 | have hk := (originalIntegralKernelPullbackIdentity j hsplit labels O l hTorsionQuotient a hlabels i p).down |
| 93 | have hc := (originalConstructedEvaluatedKernelIdentity j hsplit labels O l hTorsionQuotient a hlabels i p hgood).down |
| 94 | exact PLift.up (hk.trans hc) |
| 95 | |
| 96 | theorem originalNativeKernel_eq : |
| 97 | type_of% (originalNativeKernelIdentity j hsplit labels O l hTorsionQuotient a hlabels i p hgood).down := |
| 98 | (originalNativeKernelIdentity j hsplit labels O l hTorsionQuotient a hlabels i p hgood).down |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntrinsicKernelComparison.ReferenceIntrinsic |