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.Intrinsic.ReductionSpecification |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Prerequisites |
| 4 | |
| 5 | /-! # Counting -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Counting.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The neighbor-counting prerequisite packages the ordinary operators, |
| 12 | native evaluated PEL quotient targets, complete kernels, and their |
| 13 | multiplicity identities. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u v |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Prerequisites |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 20 | |
| 21 | def NeighborCountingInput : Prop := ∀ |
| 22 | (_frobeniusKernel : Isogenies.NeighborCounting.Prerequisites.FullFrobeniusKernelInput) (_cmPoints : AbelianScheme.FrobeniusKernel.CMPoints.Construction.CMPointsInput.{0, 0}) |
| 23 | (_cartierDuality : AbelianScheme.FrobeniusKernel.CartierDuality.Construction.FullCartierDualityInput.{0}) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput.{0}) |
| 24 | {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 25 | [IsGalois ℚ E] [NumberField.IsCMField E] [Field K] [NumberField K] |
| 26 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 27 | {iota : E →+* K} {κ : K →+* ℂ} |
| 28 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 29 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 30 | (D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q) |
| 31 | (_hgood : D.IsGoodCompletelySplitReduction) |
| 32 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 33 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 34 | (_hactive : labels (0, false) = PELModuli.CMPoints.Arithmetic.rationalConjugation E) |
| 35 | (_hactiveD : D.active = 0) |
| 36 | (_hlabels : ∀ (w : Fin (s + 1)) (b : Bool), |
| 37 | labels (w, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (w, b)) |
| 38 | (_hcoefficients : ∀ (n : ℕ) (a : NumberField.RingOfIntegers E) (w : Fin (s + 1) × Bool), |
| 39 | D.splitCoefficients n (Ideal.Quotient.mk _ a) w = j.residueCharacter iota (labels w) n a) |
| 40 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 41 | (compactKernel : D.CompactKernelPrescription j iota hsplit labels) |
| 42 | (_hCompactKernel : D.CompactKernelCondition j iota hsplit labels O compactKernel) |
| 43 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 44 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 45 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 46 | (b : B.R →+* R) (residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 47 | (hbase : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R b residueIso), |
| 48 | ∃ (xOperator : D.OrdinaryPoint → D.OrdinaryPoint) |
| 49 | (yQuotient : D.OrdinaryPoint → AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.ActiveEtaleLine q → D.OrdinaryPoint) |
| 50 | (zOperator : D.OrdinaryPoint → D.OrdinaryPoint), |
| 51 | (∀ x, D.CanonicalOrdinaryQuotient x q |
| 52 | (D.prescribedFullXKernel j iota hsplit labels O compactKernel x) (xOperator x)) ∧ |
| 53 | (∀ x L, D.CanonicalOrdinaryQuotient x q |
| 54 | (D.prescribedFullYKernel j iota hsplit labels O compactKernel x L) (yQuotient x L)) ∧ |
| 55 | (∀ x, D.CanonicalOrdinaryQuotient x (q ^ 2) |
| 56 | (D.prescribedFullZKernel j iota hsplit labels O compactKernel x) (zOperator x)) ∧ |
| 57 | (let yOperator : D.OrdinaryPoint → Multiset D.OrdinaryPoint := fun x => AbelianScheme.FrobeniusKernel.OperatorSpecification.Construction.etaleLineMultiset (yQuotient x); |
| 58 | ∀ x : D.OrdinaryPoint, Nonempty (Isogenies.NeighborCounting.Lifts.IntegralLift D R b residueIso x.val) ∧ |
| 59 | ∀ l : Isogenies.NeighborCounting.Lifts.IntegralLift D R b residueIso x.val, |
| 60 | Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.NativeReductionResult (L := L) j hsplit (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) 0 (Fin.cases false (O.compact x)) |
| 61 | hTorsionQuotient hbase xOperator yOperator zOperator x l) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Counting.CM |