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.EvaluationDVROrdinaryCoordinates |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.BlockPointComparison |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 4 | |
| 5 | /-! # Active Coordinate Equiv -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Give the original evaluation-field q-block its constructed linear |
| 12 | coordinates using the actual evaluated ordinary lift. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.OrdinarySplitting.Ordinary |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVROrdinaryCoordinates.Ordinary OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.BlockPointComparison |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveTypedSubspaces |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 26 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 27 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 28 | {iota : E →+* K} {κ : K →+* ℂ} |
| 29 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 30 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 31 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 32 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 33 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 34 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 35 | {R F L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 36 | [Field F] [Field L] [Algebra R F] [Algebra F L] [Algebra R L] |
| 37 | [IsScalarTower R F L] |
| 38 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 39 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 40 | (v : EvaluationDVRLifts.EvaluationDVR R L) |
| 41 | {I : Type} [Finite I] |
| 42 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 43 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap F L)))).obj |
| 44 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ 1) (((l.action).pullback |
| 45 | (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 46 | (j.projector iota hsplit 1 (labels (0, false)))))) |
| 47 | |
| 48 | /-! Package each large equivalence before composing it with the next one. |
| 49 | This keeps the coordinate construction and the two base-change transports as |
| 50 | separate mathematical steps. -/ |
| 51 | |
| 52 | def evaluatedActivePointTransportComparison := |
| 53 | PLift.up |
| 54 | ((Intrinsic.ActiveSubspaces.nativeBlockPointLevelEquiv |
| 55 | (T := Over.mk (Spec.map (CommRingCat.ofHom (algebraMap F L)))) |
| 56 | q (q ^ 1) ((l.action.pullback (Spec.map (CommRingCat.ofHom (algebraMap R F)))).map |
| 57 | (j.projector iota hsplit 1 (labels (0, false)))) (pow_one q).symm).trans |
| 58 | (BlockPointComparison.evaluatedLiftBlockPointEquiv |
| 59 | (F := F) j hsplit l v 1 (labels (0, false))).toAdditive) |
| 60 | |
| 61 | abbrev evaluatedActivePointTransport := |
| 62 | (evaluatedActivePointTransportComparison (F := F) j hsplit labels l v).down |
| 63 | |
| 64 | def evaluatedActiveCoordinateComparison := |
| 65 | let C := EvaluationDVROrdinaryCoordinates.Ordinary.evaluationDVRCoordinateModel j hsplit labels O l v eA |
| 66 | let hk := Lifted.OrdinarySplitting.Ordinary.liftedActiveBlock_killed j hsplit labels (l.overEvaluationDVR v) (Sections.Lifts.genericTest v.carrier L) |
| 67 | letI := GenericPointCoordinates.Lifts.genericPointModule v.carrier L q (Lifted.OrdinarySplitting.Ordinary.liftedActiveBlock j hsplit labels (l.overEvaluationDVR v)).X hk |
| 68 | PLift.up |
| 69 | ((OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.linearCoordinates |
| 70 | (R := v.carrier) (L := L) (q := q) |
| 71 | (A := Lifted.OrdinarySplitting.Ordinary.liftedActiveBlock |
| 72 | j hsplit labels (l.overEvaluationDVR v)) C hk).toAddEquiv) |
| 73 | |
| 74 | abbrev evaluatedActiveCoordinateAddEquiv := |
| 75 | (evaluatedActiveCoordinateComparison j hsplit labels O l v eA).down |
| 76 | |
| 77 | def evaluatedActiveLevelOnePointComparison := |
| 78 | PLift.up |
| 79 | ((BlockPointComparison.evaluatedLiftBlockPointEquiv |
| 80 | (F := F) j hsplit l v 1 (labels (0, false))).toAdditive.trans |
| 81 | (evaluatedActiveCoordinateAddEquiv j hsplit labels O l v eA)) |
| 82 | |
| 83 | abbrev evaluatedActiveLevelOnePointAddEquiv := |
| 84 | (evaluatedActiveLevelOnePointComparison (F := F) j hsplit labels O l v eA).down |
| 85 | |
| 86 | def evaluatedActivePointComparison := |
| 87 | PLift.up |
| 88 | ((evaluatedActivePointTransport |
| 89 | (F := F) j hsplit labels l v).trans |
| 90 | (evaluatedActiveCoordinateAddEquiv j hsplit labels O l v eA)) |
| 91 | |
| 92 | abbrev evaluatedActivePointAddEquiv := |
| 93 | (evaluatedActivePointComparison (F := F) j hsplit labels O l v eA).down |
| 94 | |
| 95 | def evaluatedActivePointLinearComparison := |
| 96 | PLift.up |
| 97 | (ActiveTypedSubspaces.zmodLinearEquiv q |
| 98 | (evaluatedActivePointAddEquiv |
| 99 | (F := F) j hsplit labels O l v eA)) |
| 100 | |
| 101 | abbrev evaluatedActivePointLinearEquiv := |
| 102 | (evaluatedActivePointLinearComparison (F := F) j hsplit labels O l v eA).down |
| 103 | |
| 104 | def evaluatedActiveIntegralKernel (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) : |
| 105 | Kernel.Properties.FiniteFlatKernel (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ 1) |
| 106 | ((l.overEvaluationDVR v).action.map (j.projector iota hsplit 1 (labels (0, false))))) := |
| 107 | let C := EvaluationDVROrdinaryCoordinates.Ordinary.evaluationDVRCoordinateModel j hsplit labels O l v eA |
| 108 | OrdinaryCoordinateLinear.Lifts.OrdinaryCoordinateModel.finiteFlatKernel (R := v.carrier) (L := L) (q := q) (A := _) C J |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |