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.PELModuli.IntegralModel.PEL.Has |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.BaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.BaseChange |
| 4 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 5 | |
| 6 | /-! # Integral -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Integral.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The integral and special-fiber objects underlying FrobeniusKernel. The coefficient |
| 14 | splittings are actual ring isomorphisms for O_E/(q^n), and the PEL family |
| 15 | comes from IntegralModel's actual integral spread, including its generic-fiber |
| 16 | identification. No kernel-operator or Frobenius conclusion is a field. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 23 | variable {s N : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 24 | variable (iota : E →+* K) (κ : K →+* ℂ) |
| 25 | variable (M : Over (Spec (.of K))) (U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M) |
| 26 | variable (B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ) |
| 27 | variable (q : ℕ) [Fact q.Prime] |
| 28 | |
| 29 | /-- Native integral PEL data at the chosen completely split prime. |
| 30 | The local coefficient isomorphisms specify the chosen split places, rather |
| 31 | than replacing finite flat subgroup schemes by constant groups. -/ |
| 32 | structure SplitPELReduction where |
| 33 | integral : PELModuli.IntegralModel.PEL.Has.IntegralPELSpread P iota κ N M U B |
| 34 | residue : B.R →+* ZMod q |
| 35 | smooth : Smooth integral.toOver.hom |
| 36 | proper : IsProper integral.toOver.hom |
| 37 | levelPrimeToQ : Nat.Coprime q N |
| 38 | polarizationPrimeToQ : Nat.Coprime q ((∏ i, P.polarizationType i) ^ 2) |
| 39 | active : Fin s |
| 40 | splitCoefficients : ∀ n : ℕ, |
| 41 | (NumberField.RingOfIntegers E ⧸ |
| 42 | Ideal.span ({(q ^ n : NumberField.RingOfIntegers E)} : |
| 43 | Set (NumberField.RingOfIntegers E))) ≃+* |
| 44 | ((Fin s × Bool) → ZMod (q ^ n)) |
| 45 | compatible : ∀ (n : ℕ) (a : NumberField.RingOfIntegers E) (v : Fin s × Bool), |
| 46 | ZMod.castHom (show q ^ n ∣ q ^ (n + 1) by |
| 47 | rw [pow_succ] |
| 48 | exact dvd_mul_right _ _) (ZMod (q ^ n)) |
| 49 | (splitCoefficients (n + 1) (Ideal.Quotient.mk _ a) v) = |
| 50 | splitCoefficients n (Ideal.Quotient.mk _ a) v |
| 51 | conjugation : ∀ (n : ℕ) (a : NumberField.RingOfIntegers E) (v : Fin s) (b : Bool), |
| 52 | splitCoefficients n (Ideal.Quotient.mk _ |
| 53 | (NumberField.IsCMField.ringOfIntegersComplexConj E a)) (v, b) = |
| 54 | splitCoefficients n (Ideal.Quotient.mk _ a) (v, !b) |
| 55 | |
| 56 | attribute [instance] SplitPELReduction.smooth SplitPELReduction.proper |
| 57 | |
| 58 | namespace SplitPELReduction |
| 59 | |
| 60 | variable {P iota κ M U B q} |
| 61 | variable (D : SplitPELReduction P iota κ M U B q) |
| 62 | |
| 63 | /-- The residue-field morphism from the literal integral coefficient ring. -/ |
| 64 | def specialBase : Spec (.of (ZMod q)) ⟶ B.base := |
| 65 | Spec.map (CommRingCat.ofHom D.residue) |
| 66 | |
| 67 | /-- Reduction of the actual moduli scheme. -/ |
| 68 | def specialFiber : Over (Spec (.of (ZMod q))) := |
| 69 | (Over.pullback D.specialBase).obj D.integral.toOver |
| 70 | |
| 71 | def specialProjection : D.specialFiber.left ⟶ D.integral.toOver.left := |
| 72 | pullback.fst D.integral.toOver.hom D.specialBase |
| 73 | |
| 74 | theorem specialFiber_square : |
| 75 | IsPullback D.specialProjection D.specialFiber.hom |
| 76 | D.integral.toOver.hom D.specialBase := |
| 77 | IsPullback.of_hasPullback _ _ |
| 78 | |
| 79 | instance specialFiber_smooth : Smooth D.specialFiber.hom := |
| 80 | inferInstanceAs (Smooth (pullback.snd D.integral.toOver.hom D.specialBase)) |
| 81 | |
| 82 | instance specialFiber_proper : IsProper D.specialFiber.hom := |
| 83 | inferInstanceAs (IsProper (pullback.snd D.integral.toOver.hom D.specialBase)) |
| 84 | |
| 85 | /-- The special-fiber abelian scheme is constructed by base change. -/ |
| 86 | def abelian : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (3 * s) D.specialFiber.left := |
| 87 | D.integral.universal.data.polarized.abelian.pullback D.specialProjection |
| 88 | |
| 89 | /-- The complete polarized and marked family is actually reduced, including |
| 90 | the dual abelian scheme and the Poincare data defining its polarization. -/ |
| 91 | def polarized : |
| 92 | AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel (3 * s) P.polarizationType N D.specialFiber.left := |
| 93 | D.integral.universal.data.polarized.pullback D.specialProjection |
| 94 | |
| 95 | /-- The reduced integral O_E action is also constructed by base change. -/ |
| 96 | def action : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) D.abelian := |
| 97 | D.integral.universal.data.action.pullback D.specialProjection |
| 98 | |
| 99 | /-- Prime-to-q level markings are transported on all test schemes. -/ |
| 100 | def level : D.abelian.FullLevel N := |
| 101 | D.integral.universal.data.polarized.level.pullback D.specialProjection |
| 102 | |
| 103 | /-- Actual finite flat kernels are reduced by pulling back their embedding. |
| 104 | The result is not required to be reduced or etale. -/ |
| 105 | def specializeSubgroup {H : Over D.integral.toOver.left} |
| 106 | (i : H ⟶ D.integral.universal.data.polarized.abelian.scheme) : |
| 107 | (Over.pullback D.specialProjection).obj H ⟶ D.abelian.scheme := |
| 108 | (Over.pullback D.specialProjection).map i |
| 109 | |
| 110 | theorem specializeSubgroup_finiteLocallyFree |
| 111 | (H : Over D.integral.toOver.left) |
| 112 | [IsFinite H.hom] [Flat H.hom] [LocallyOfFinitePresentation H.hom] : |
| 113 | IsFinite ((Over.pullback D.specialProjection).obj H).hom ∧ |
| 114 | Flat ((Over.pullback D.specialProjection).obj H).hom ∧ |
| 115 | LocallyOfFinitePresentation ((Over.pullback D.specialProjection).obj H).hom := by |
| 116 | change IsFinite (pullback.snd H.hom D.specialProjection) ∧ |
| 117 | Flat (pullback.snd H.hom D.specialProjection) ∧ |
| 118 | LocallyOfFinitePresentation (pullback.snd H.hom D.specialProjection) |
| 119 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 120 | |
| 121 | theorem specializeSubgroup_closed |
| 122 | {H : Over D.integral.toOver.left} |
| 123 | (i : H ⟶ D.integral.universal.data.polarized.abelian.scheme) |
| 124 | [IsClosedImmersion i.left] : IsClosedImmersion (D.specializeSubgroup i).left := by |
| 125 | exact MorphismProperty.of_isPullback (P := @IsClosedImmersion) |
| 126 | (PELModuli.IntegralModel.Specialization.base_change_square D.specialProjection i) inferInstance |
| 127 | |
| 128 | /-- The generic fiber of the integral PEL model retains IntegralModel's actual |
| 129 | identification with the characteristic-zero moduli scheme. -/ |
| 130 | def genericComparison : |
| 131 | (Over.pullback B.generic).obj D.integral.toOver ≅ |
| 132 | (Over.pullback B.fieldExtension).obj (PELModuli.IntegralModel.Reduction.reduction M) := |
| 133 | D.integral.genericIso |
| 134 | |
| 135 | /-- The quotient-sheaf construction commutes with specialization of the |
| 136 | integral family, with no invertibility assumption on the kernel order. -/ |
| 137 | def specializeQuotient |
| 138 | {R A : Over D.integral.toOver.left} (r₁ r₂ : R ⟶ A) := |
| 139 | BaseChange.Construction.relationQuotientSpecialization D.specialProjection r₁ r₂ |
| 140 | |
| 141 | end SplitPELReduction |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Integral.Construction |