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.CMPoints.ReductionPoint |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.GeometricSectionLift |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ReductionOrdinaryIs |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.Transport |
| 5 | |
| 6 | /-! # Reduction Ordinary -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The ordinary count on the integral CM section is the actual |
| 13 | geometric-fiber count at its point in the specified PEL reduction. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 19 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 20 | {M : Models.RankThreePELModel E K} {hM : M.HasPrescribedBallPeriods} |
| 21 | {a : M.Family} {t : Fin (M.componentCount a)} {C : M.CMSpreadData hM a t} |
| 22 | (T : C.IntegralComponentData) {q : ℕ} [Fact q.Prime] {j : M.QadicChoice q} |
| 23 | (R : M.GoodIntegralReduction q j) |
| 24 | (jT : Arithmetic.QadicChoice T.base.extension.carrier T.base.embedding q) |
| 25 | (hcop : q.Coprime T.base.denominator) |
| 26 | (hf : (jT.completion.toRingHom.comp (NumberField.FinitePlace.embedding jT.prime)).comp |
| 27 | C.originalFieldEmbedding = j.completion.toRingHom.comp (NumberField.FinitePlace.embedding j.prime)) |
| 28 | |
| 29 | def Models.RankThreePELModel.CMSpreadData.IntegralComponentData.familyFiberComparison (x : R.geom a) |
| 30 | (l : Spec (.of (R.fiberField a x)) ⟶ Spec (.of (AlgebraicClosure (ZMod q)))) |
| 31 | (hl : l ≫ T.familyPoint R jT hcop hf = R.fiberMap a x) : |
| 32 | {e : (R.fiberAbelian a x).scheme ≅ |
| 33 | (T.polarized.abelian.pullback (l ≫ T.geometricBasePoint jT hcop)).scheme // IsMonHom e.hom} := by |
| 34 | let A := (M.integral a).universal.data.polarized.abelian |
| 35 | let f := (M.integralComponentInclusion a t).left |
| 36 | let p := l ≫ T.geometricBasePoint jT hcop |
| 37 | have hp : R.fiberMap a x ≫ R.projection a = (p ≫ T.point) ≫ f := by |
| 38 | rw [← hl, Category.assoc, T.familyPoint_projection] |
| 39 | simp only [p, f, Category.assoc] |
| 40 | let eR := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso A.scheme (R.projection a) (R.fiberMap a x) |
| 41 | ((p ≫ T.point) ≫ f) hp |
| 42 | let e₁ := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso (M.componentPolarized a t).abelian.scheme |
| 43 | T.point p (p ≫ T.point) rfl |
| 44 | let e₂ := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso A.scheme f (p ≫ T.point) ((p ≫ T.point) ≫ f) rfl |
| 45 | let : IsMonHom eR.hom := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_isMonHom _ _ _ _ _ |
| 46 | let : IsMonHom e₁.hom := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_isMonHom _ _ _ _ _ |
| 47 | let : IsMonHom e₂.hom := IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_isMonHom _ _ _ _ _ |
| 48 | refine ⟨eR ≪≫ e₂.symm ≪≫ e₁.symm, ?_⟩ |
| 49 | exact @CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ _ _ |
| 50 | (inferInstanceAs (IsMonHom eR.hom)) |
| 51 | (@CategoryTheory.instIsMonHomComp _ _ _ _ _ _ _ _ _ _ _ |
| 52 | (inferInstanceAs (IsMonHom e₂.inv)) (inferInstanceAs (IsMonHom e₁.inv))) |
| 53 | |
| 54 | theorem Models.RankThreePELModel.CMSpreadData.IntegralComponentData.isOrdinary_of_integral_section_counts |
| 55 | (hcount : ∀ (k : Type) [Field k] [IsAlgClosed k] [CharP k q] |
| 56 | (p : Spec (.of k) ⟶ T.base.base), |
| 57 | Nat.card ((T.polarized.abelian.pullback p).torsionPoints q (Over.mk (𝟙 (Spec (.of k))))) = |
| 58 | q ^ (3 * M.s)) |
| 59 | (x : R.geom a) (hx : x ∈ Set.range (T.familyPoint R jT hcop hf)) : R.IsOrdinary a x := by |
| 60 | obtain ⟨l, hl⟩ := GeometricSectionLift.geometricPoint_lifts_through_field_section (R.geometricFiber a) |
| 61 | (T.familyPoint R jT hcop hf) (T.familyPoint_base R jT hcop hf) x hx |
| 62 | let e := T.familyFiberComparison R jT hcop hf x l hl |
| 63 | let : IsMonHom e.val.hom := e.property |
| 64 | have hc := Nat.card_congr (AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.torsionPointsIso e.val q |
| 65 | (Over.mk (𝟙 (Spec (.of (R.fiberField a x)))))).toEquiv |
| 66 | exact (OrdinaryFiberCount.isOrdinaryAt_iff_geometricFiber_count (R.abelian a) x).mpr |
| 67 | (hc.trans (hcount (R.fiberField a x) (l ≫ T.geometricBasePoint jT hcop))) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.PELModuli.CMPoints |