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.Lifted.SpecialFactor |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.ActiveIntegralInclusion |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FixedKernelCriterion |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.SpecialActiveFactors |
| 5 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveMultiplicativeNormalization |
| 6 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PointCoordinateCriteria |
| 7 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PointActiveCriteria |
| 8 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinatePresentationFactorTransport |
| 9 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.FactorSquares |
| 10 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PointKernelComparison |
| 11 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Geometric.SourceAction |
| 12 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SpecialKernelPresentations |
| 13 | |
| 14 | /-! # Criterion -/ |
| 15 | |
| 16 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Criterion |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | /-! Transport an actual specialized active-kernel presentation through |
| 21 | the original geometric source comparison to the special PEL point. -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 24 | open scoped _root_.CategoryTheory.MonObj |
| 25 | |
| 26 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionFamilyComparison.Family |
| 27 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.QuotientTargets OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PELQuotient |
| 28 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PointKernelComparison |
| 29 | |
| 30 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 31 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 32 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 33 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 34 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 35 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 36 | variable {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 37 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 38 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 39 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 40 | variable {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 41 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 42 | variable {b : B.R →+* R} |
| 43 | variable {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 44 | variable {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 45 | variable (z : Targets.Lifts.EvaluatedTarget D R L b) (hbase : Lifts.ResidueCompatible D R b residueIso) |
| 46 | |
| 47 | variable {n : ℕ} {Q : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (3 * (s + 1)) (Spec (.of R))} |
| 48 | variable (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (ActionFamilyComparison.Family.actionFamily l.actionData).abelian Q) |
| 49 | variable (g : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny |
| 50 | ((ActionFamilyComparison.Family.actionFamily l.actionData).pullback (IntegralComparison.genericMap (R := R) (K := L))) |
| 51 | ((ActionFamilyComparison.Family.actionFamily z.actionData).pullback (IntegralComparison.genericMap (R := R) (K := L))) n) |
| 52 | variable (hk : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (R := R) (K := L))) g.isogeny) |
| 53 | variable (hnN : Nat.Coprime n N) |
| 54 | variable (hkernel : ∀ (T : Over (Spec (.of R))) (a : T ⟶ (ActionFamilyComparison.Family.actionFamily l.actionData).abelian.scheme), |
| 55 | a ≫ p.hom = 1 → a ^ n = 1) |
| 56 | |
| 57 | attribute [local instance] Classical.propDecidable |
| 58 | attribute [local irreducible] OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel |
| 59 | OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.geometricSpecialKernel OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.geometricLineEquiv |
| 60 | Intrinsic.Neighbors.KernelPresentation.KernelOnFixed PointIsogeny.Lifts.evaluatedPointIsogeny |
| 61 | |
| 62 | theorem evaluatedPointIsogeny_full_criterion (r : NumberField.RingOfIntegers E) |
| 63 | (H : Intrinsic.Neighbors.KernelPresentation ((ActionFamilyComparison.Family.actionFamily l.actionData).pullback |
| 64 | (Quotients.Lifts.geometricClosedBase (residueIso := residueIso))).abelian.scheme) |
| 65 | (hc : ∀ (T : Over (Spec (.of (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q)))) |
| 66 | (a : T ⟶ ((ActionFamilyComparison.Family.actionFamily l.actionData).pullback |
| 67 | (Quotients.Lifts.geometricClosedBase (residueIso := residueIso))).abelian.scheme), |
| 68 | a ≫ (Over.pullback (Quotients.Lifts.geometricClosedBase (residueIso := residueIso))).map (l.action.map r) = a → |
| 69 | (a ≫ (p.pullback (Quotients.Lifts.geometricClosedBase (residueIso := residueIso))).hom = 1 ↔ |
| 70 | ∃ h : T ⟶ H.carrier, h ≫ H.inclusion = a)) |
| 71 | (C : OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel R L q (Lifted.OrdinarySplitting.Ordinary.liftedActiveBlock j hsplit labels l)) |
| 72 | (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) |
| 73 | (hV : J.map (LinearMap.fst (ZMod q) (Fin 2 → ZMod q) (ZMod q)) = ⊤) |
| 74 | (hflag : decide (SubspaceCounts.Construction.identityLine ≤ J) = true) |
| 75 | (hH : H = ((C.finiteFlatKernel R L q _ J).toKernelPresentation.postcomp |
| 76 | (Lifted.ActiveIntegralInclusion.liftedActiveIntegralInclusion j hsplit labels l)).pullback |
| 77 | (Quotients.Lifts.geometricClosedBase (residueIso := residueIso))) : |
| 78 | type_of% (show _ from by |
| 79 | let K0 : Intrinsic.Neighbors.KernelPresentation (Intrinsic.QuotientTargets.geometricFamily (D.pointDatum x.val)).abelian.scheme := |
| 80 | ⟨(AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit (D.pointDatum x.val).data.polarized |
| 81 | (D.pointDatum x.val).data.action (labels (0, false)) 1).X, |
| 82 | AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit (D.pointDatum x.val).data.polarized.abelian |
| 83 | (D.pointDatum x.val).data.action 1 (labels (0, false))⟩ |
| 84 | have h := PointCoordinateCriteria.evaluatedPointIsogeny_coordinate_criterion |
| 85 | l z hbase p g hk hnN hkernel r H hc C |
| 86 | (Lifted.ActiveIntegralInclusion.liftedActiveIntegralInclusion j hsplit labels l) |
| 87 | J ⊤ true hV hflag hH |
| 88 | exact Intrinsic.Neighbors.KernelPresentation.KernelOnFixed.of_factor_iff (L := K0) h (fun T a => |
| 89 | Lifted.SpecialFactor.liftedSpecial_full_factor j hsplit labels l C T a) |
| 90 | ) := by |
| 91 | let K0 : Intrinsic.Neighbors.KernelPresentation (Intrinsic.QuotientTargets.geometricFamily (D.pointDatum x.val)).abelian.scheme := |
| 92 | ⟨(AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit (D.pointDatum x.val).data.polarized |
| 93 | (D.pointDatum x.val).data.action (labels (0, false)) 1).X, |
| 94 | AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit (D.pointDatum x.val).data.polarized.abelian |
| 95 | (D.pointDatum x.val).data.action 1 (labels (0, false))⟩ |
| 96 | have h := PointCoordinateCriteria.evaluatedPointIsogeny_coordinate_criterion |
| 97 | l z hbase p g hk hnN hkernel r H hc C |
| 98 | (Lifted.ActiveIntegralInclusion.liftedActiveIntegralInclusion j hsplit labels l) |
| 99 | J ⊤ true hV hflag hH |
| 100 | exact Intrinsic.Neighbors.KernelPresentation.KernelOnFixed.of_factor_iff (L := K0) h (fun T a => |
| 101 | Lifted.SpecialFactor.liftedSpecial_full_factor j hsplit labels l C T a) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Criterion |