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.AbelianScheme.FrobeniusKernel.Integral |
| 2 | import Mathlib.FieldTheory.Finite.Basic |
| 3 | import Mathlib.SetTheory.Cardinal.Finite |
| 4 | |
| 5 | /-! # Moduli Point -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | Geometric points and ordinary points of the actual integral PEL reduction. |
| 15 | Frobenius is independently defined by the q-power field automorphism. |
| 16 | Ordinarity is maximal geometric q-rank; preservation by Frobenius is proved |
| 17 | by transport of the entire torsion group, not included in the point type. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 21 | |
| 22 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 23 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 24 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 25 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 26 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 27 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} |
| 28 | variable {q : ℕ} [Fact q.Prime] |
| 29 | |
| 30 | abbrev ModuliPoint.Construction.residueClosure (q : ℕ) [Fact q.Prime] := AlgebraicClosure (ZMod q) |
| 31 | |
| 32 | def ModuliPoint.Construction.geometricBase (q : ℕ) [Fact q.Prime] : Over (Spec (.of (ZMod q))) := |
| 33 | Over.mk (Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (ModuliPoint.Construction.residueClosure q)))) |
| 34 | |
| 35 | /-- The q-power automorphism of the algebraic closure, over F_q. -/ |
| 36 | def ModuliPoint.Construction.geometricBaseFrobenius (q : ℕ) [Fact q.Prime] : |
| 37 | ModuliPoint.Construction.geometricBase q ≅ ModuliPoint.Construction.geometricBase q := by |
| 38 | let σ := FiniteField.frobeniusAlgEquiv (ZMod q) (ModuliPoint.Construction.residueClosure q) q |
| 39 | refine Over.isoMk (Scheme.Spec.mapIso σ.toRingEquiv.toCommRingCatIso.op) ?_ |
| 40 | change Spec.map (CommRingCat.ofHom σ.toRingHom) ≫ |
| 41 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (ModuliPoint.Construction.residueClosure q))) = |
| 42 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (ModuliPoint.Construction.residueClosure q))) |
| 43 | rw [← Spec.map_comp] |
| 44 | congr 1 |
| 45 | apply CommRingCat.hom_ext |
| 46 | ext a |
| 47 | exact σ.commutes a |
| 48 | |
| 49 | variable (D : Integral.Construction.SplitPELReduction P iota κ M U B q) |
| 50 | |
| 51 | def Integral.Construction.SplitPELReduction.GeometricPoint := ModuliPoint.Construction.geometricBase q ⟶ D.specialFiber |
| 52 | |
| 53 | /-- The geometric point of the moduli scheme obtained by q-power Frobenius. -/ |
| 54 | def Integral.Construction.SplitPELReduction.frobeniusPoint (x : D.GeometricPoint) : D.GeometricPoint := |
| 55 | (ModuliPoint.Construction.geometricBaseFrobenius q).hom ≫ x |
| 56 | |
| 57 | /-- The actual geometric q-torsion group at a moduli point. -/ |
| 58 | abbrev Integral.Construction.SplitPELReduction.geometricTorsion (x : D.GeometricPoint) := |
| 59 | D.abelian.torsionPoints q (Over.mk x.left) |
| 60 | |
| 61 | /-- Ordinary means maximal geometric q-rank, for an abelian variety of |
| 62 | dimension 3s. No Frobenius-kernel identity is included here. -/ |
| 63 | def Integral.Construction.SplitPELReduction.IsOrdinary (x : D.GeometricPoint) : Prop := |
| 64 | Nat.card (D.geometricTorsion x) = q ^ (3 * s) |
| 65 | |
| 66 | def Integral.Construction.SplitPELReduction.OrdinaryPoint := {x : D.GeometricPoint // D.IsOrdinary x} |
| 67 | |
| 68 | def Integral.Construction.SplitPELReduction.frobeniusTestIso (x : D.GeometricPoint) : |
| 69 | Over.mk (D.frobeniusPoint x).left ≅ Over.mk x.left := |
| 70 | Over.isoMk ((Over.forget _).mapIso (ModuliPoint.Construction.geometricBaseFrobenius q)) rfl |
| 71 | |
| 72 | /-- Transport along the field automorphism preserves geometric torsion. -/ |
| 73 | def Integral.Construction.SplitPELReduction.frobeniusTorsionEquiv (x : D.GeometricPoint) : |
| 74 | D.geometricTorsion x ≃* D.geometricTorsion (D.frobeniusPoint x) := |
| 75 | ((D.abelian.torsionFunctor q).mapIso (D.frobeniusTestIso x).op).groupIsoToMulEquiv |
| 76 | |
| 77 | theorem Integral.Construction.SplitPELReduction.frobenius_preserves_ordinarity (x : D.GeometricPoint) : |
| 78 | D.IsOrdinary (D.frobeniusPoint x) ↔ D.IsOrdinary x := by |
| 79 | unfold Integral.Construction.SplitPELReduction.IsOrdinary |
| 80 | rw [← Nat.card_congr (D.frobeniusTorsionEquiv x).toEquiv] |
| 81 | |
| 82 | def Integral.Construction.SplitPELReduction.ordinaryFrobenius (x : D.OrdinaryPoint) : D.OrdinaryPoint := |
| 83 | ⟨D.frobeniusPoint x.val, (D.frobenius_preserves_ordinarity x.val).mpr x.property⟩ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | /-! |
| 88 | Classifying a constructed polarized integral-action datum on a geometric |
| 89 | special fiber. The good-reduction input is IntegralModel's actual fine-moduli |
| 90 | property on reduced tests. The special-fiber point is constructed by the |
| 91 | scheme pullback adjunction; no classifying map or comparison is assumed. |
| 92 | -/ |
| 93 | |
| 94 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 95 | |
| 96 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 97 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 98 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 99 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 100 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 101 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 102 | |
| 103 | variable (D : Integral.Construction.SplitPELReduction P iota κ M U B q) |
| 104 | |
| 105 | /-- The remaining good-reduction clause: the actual integral family |
| 106 | classifies PEL data on reduced test schemes. Smoothness and split local |
| 107 | coefficients are already in the native reduction data. -/ |
| 108 | def Integral.Construction.SplitPELReduction.IsGoodCompletelySplitReduction : Prop := D.integral.IsReducedPELModuli |
| 109 | |
| 110 | def Integral.Construction.SplitPELReduction.integralGeometricBase : Over B.base := |
| 111 | (Over.map D.specialBase).obj (ModuliPoint.Construction.geometricBase q) |
| 112 | |
| 113 | /-- A complete PEL datum on the geometric special fiber, regarded as an |
| 114 | object over the genuine integral arithmetic base. -/ |
| 115 | abbrev Integral.Construction.SplitPELReduction.GeometricPELDatum := |
| 116 | PELModuli.IntegralModel.PEL.Has.IntegralPELObject P B.R (B.integralEmbedding iota) N D.integralGeometricBase |
| 117 | |
| 118 | /-- The pullback adjunction relates actual points of the special fiber |
| 119 | to integral-base morphisms from the same geometric field. -/ |
| 120 | def Integral.Construction.SplitPELReduction.geometricPointIntegralEquiv : |
| 121 | D.GeometricPoint ≃ (D.integralGeometricBase ⟶ D.integral.toOver) := |
| 122 | ((Over.mapPullbackAdj D.specialBase).homEquiv (ModuliPoint.Construction.geometricBase q) D.integral.toOver).symm |
| 123 | |
| 124 | def Integral.Construction.SplitPELReduction.PointClassifies (x : D.GeometricPoint) (A : D.GeometricPELDatum) : Prop := |
| 125 | Nonempty (PELModuli.IntegralModel.PEL.Has.PulledBackPELDataIso D.integral.universal.data A.data |
| 126 | (D.geometricPointIntegralEquiv x).left (𝟙 D.integralGeometricBase.left)) |
| 127 | |
| 128 | theorem Integral.Construction.SplitPELReduction.existsUnique_classifyingPoint |
| 129 | (hgood : D.IsGoodCompletelySplitReduction) (A : D.GeometricPELDatum) : |
| 130 | ∃! x : D.GeometricPoint, D.PointClassifies x A := by |
| 131 | have : IsReduced D.integralGeometricBase.left := |
| 132 | inferInstanceAs (IsReduced (Spec (.of (ModuliPoint.Construction.residueClosure q)))) |
| 133 | obtain ⟨f, hf, huniq⟩ := hgood D.integralGeometricBase A |
| 134 | refine ⟨D.geometricPointIntegralEquiv.symm f, ?_, ?_⟩ |
| 135 | · change Nonempty (PELModuli.IntegralModel.PEL.Has.PulledBackPELDataIso D.integral.universal.data A.data |
| 136 | (D.geometricPointIntegralEquiv (D.geometricPointIntegralEquiv.symm f)).left |
| 137 | (𝟙 D.integralGeometricBase.left)) |
| 138 | exact (D.geometricPointIntegralEquiv.apply_symm_apply f).symm ▸ hf |
| 139 | · intro x hx |
| 140 | apply D.geometricPointIntegralEquiv.injective |
| 141 | exact (huniq _ hx).trans (D.geometricPointIntegralEquiv.apply_symm_apply f).symm |
| 142 | |
| 143 | /-- Construct a geometric moduli point from the full quotient datum once |
| 144 | the geometric quotient, action, polarization, and signature have been built. -/ |
| 145 | def Integral.Construction.SplitPELReduction.pointOfPEL (hgood : D.IsGoodCompletelySplitReduction) (A : D.GeometricPELDatum) : |
| 146 | D.GeometricPoint := (D.existsUnique_classifyingPoint hgood A).choose |
| 147 | |
| 148 | theorem Integral.Construction.SplitPELReduction.pointOfPEL_classifies (hgood : D.IsGoodCompletelySplitReduction) |
| 149 | (A : D.GeometricPELDatum) : D.PointClassifies (D.pointOfPEL hgood A) A := |
| 150 | (D.existsUnique_classifyingPoint hgood A).choose_spec.1 |
| 151 | |
| 152 | /-- Equality of full classified data determines the geometric moduli point. -/ |
| 153 | theorem Integral.Construction.SplitPELReduction.pointOfPEL_eq_of_classifies (hgood : D.IsGoodCompletelySplitReduction) |
| 154 | (A : D.GeometricPELDatum) (x : D.GeometricPoint) (hx : D.PointClassifies x A) : |
| 155 | D.pointOfPEL hgood A = x := |
| 156 | ((D.existsUnique_classifyingPoint hgood A).choose_spec.2 x hx).symm |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |