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.IntegralComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientGraphs |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Prescribed |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.TorsionTower |
| 6 | |
| 7 | /-! # Target Reduction -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TargetReduction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | Identify the reduction of an actual generic neighbor target with the |
| 15 | quotient by its integral closed kernel. The generic quotient comparison |
| 16 | is constructed by descent and extended by HomExtension. Specialization is then |
| 17 | the genuine base change of the quotient isomorphism. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open _root_.CategoryTheory.MonoidalCategory |
| 22 | open scoped _root_.CategoryTheory.MonObj |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison |
| 27 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientGraphs |
| 28 | |
| 29 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 30 | |
| 31 | variable {R K : Type u} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 32 | variable [Field K] [Algebra R K] [IsFractionRing R K] |
| 33 | variable {d : ℕ} {A Q B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of R))} |
| 34 | |
| 35 | /-- A good model of the generic neighbor agrees with the integral quotient |
| 36 | when the generic kernels agree. The comparison is constructed, not supplied. -/ |
| 37 | def goodTargetComparison |
| 38 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) |
| 39 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 40 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 41 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) : |
| 42 | Q.scheme ≅ B.scheme := |
| 43 | IntegralComparison.extendIso Q B (QuotientComparison.quotientIso (p.pullback (IntegralComparison.genericMap (K := K))) g hgenericKernel) |
| 44 | |
| 45 | instance goodTargetComparison_isMonHom |
| 46 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) |
| 47 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 48 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 49 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) : |
| 50 | IsMonHom (goodTargetComparison p g hgenericKernel).hom := |
| 51 | inferInstanceAs (IsMonHom |
| 52 | (IntegralComparison.extendIso Q B (QuotientComparison.quotientIso (p.pullback (IntegralComparison.genericMap (K := K))) g hgenericKernel)).hom) |
| 53 | |
| 54 | local instance goodTargetComparison_left_isIso |
| 55 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) |
| 56 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 57 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 58 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) : |
| 59 | IsIso (goodTargetComparison p g hgenericKernel).hom.left := |
| 60 | inferInstanceAs (IsIso ((Over.forget (Spec (.of R))).map |
| 61 | (goodTargetComparison p g hgenericKernel).hom)) |
| 62 | |
| 63 | theorem goodTargetComparison_generic_projection |
| 64 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) |
| 65 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 66 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 67 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) : |
| 68 | (Over.pullback (IntegralComparison.genericMap (K := K))).map |
| 69 | (p.hom ≫ (goodTargetComparison p g hgenericKernel).hom) = g.hom := by |
| 70 | rw [Functor.map_comp] |
| 71 | change (p.pullback (IntegralComparison.genericMap (K := K))).hom ≫ |
| 72 | (Over.pullback (IntegralComparison.genericMap (K := K))).map |
| 73 | (IntegralComparison.extendHom Q B (QuotientComparison.quotientIso (p.pullback (IntegralComparison.genericMap (K := K))) g hgenericKernel).hom) = _ |
| 74 | rw [IntegralComparison.extendHom_generic] |
| 75 | exact QuotientComparison.quotientIso_projection _ _ _ |
| 76 | |
| 77 | /-- The Neron extension of the generic neighbor map is an isogeny: |
| 78 | it is the constructed finite flat quotient followed by an integral isomorphism. -/ |
| 79 | def extendedNeighborIsogeny |
| 80 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) |
| 81 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 82 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 83 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) : |
| 84 | AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B where |
| 85 | hom := p.hom ≫ (goodTargetComparison p g hgenericKernel).hom |
| 86 | preservesGroup := inferInstance |
| 87 | finite := inferInstanceAs |
| 88 | (IsFinite (p.hom.left ≫ (goodTargetComparison p g hgenericKernel).hom.left)) |
| 89 | flat := inferInstanceAs |
| 90 | (Flat (p.hom.left ≫ (goodTargetComparison p g hgenericKernel).hom.left)) |
| 91 | surjective := inferInstanceAs |
| 92 | (Surjective (p.hom.left ≫ (goodTargetComparison p g hgenericKernel).hom.left)) |
| 93 | |
| 94 | theorem extendedNeighborIsogeny_eq_neron |
| 95 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) |
| 96 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 97 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 98 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) : |
| 99 | (extendedNeighborIsogeny p g hgenericKernel).hom = IntegralComparison.extendHom A B g.hom := by |
| 100 | apply AbelianScheme.HomExtension.generic_fiber_map_injective (K := K) A.scheme B.scheme |
| 101 | exact (goodTargetComparison_generic_projection p g hgenericKernel).trans |
| 102 | (IntegralComparison.extendHom_generic A B g.hom).symm |
| 103 | |
| 104 | /-- The reduced target of the independently evaluated generic neighbor |
| 105 | is the quotient by the actual specialized closed subgroup scheme. -/ |
| 106 | theorem goodTarget_reduction_is_kernel_quotient |
| 107 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) [LocallyOfFinitePresentation p.hom.left] |
| 108 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 109 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 110 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) |
| 111 | {H : Over (Spec (.of R))} (i : H ⟶ A.scheme) [Mono i] |
| 112 | (hkernel : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel p.hom i) |
| 113 | {T : Scheme.{u}} (s : T ⟶ Spec (.of R)) : |
| 114 | QuotientGraphs.reducedQuotientTarget s i = |
| 115 | Quotient.mk _ ((AbelianScheme.FrobeniusKernel.BaseChange.Construction.fppfPoints T).obj (B.pullback s).scheme) := by |
| 116 | apply Quotient.sound |
| 117 | exact ⟨(AbelianScheme.FrobeniusKernel.BaseChange.Construction.fppfBaseChange s).mapIso |
| 118 | (AbelianScheme.FrobeniusKernel.Prescribed.Construction.prescribedFrobeniusQuotientIsoOfHomomorphisms p.hom i hkernel |
| 119 | (Picard.Homomorphisms.Quotient.Construction.isFppfQuotientByKernel_of_fppf p.hom) ≪≫ |
| 120 | (AbelianScheme.FrobeniusKernel.BaseChange.Construction.fppfPoints _).mapIso (goodTargetComparison p g hgenericKernel)) ≪≫ |
| 121 | AbelianScheme.FrobeniusKernel.BaseChange.Construction.fppfBaseChangePointsIso s B.scheme⟩ |
| 122 | |
| 123 | /-- Ordinary source torsion supplies division of every kernel point. |
| 124 | Thus the actual reduced neighbor has the same maximal q-rank. -/ |
| 125 | theorem goodTarget_is_ordinary |
| 126 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A Q) |
| 127 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (IntegralComparison.genericMap (K := K))) |
| 128 | (B.pullback (IntegralComparison.genericMap (K := K)))) |
| 129 | (hgenericKernel : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (K := K))) g) |
| 130 | {k : Type u} [Field k] [IsAlgClosed k] (s : Spec (.of k) ⟶ Spec (.of R)) |
| 131 | (q i : ℕ) (tower : AbelianScheme.FrobeniusKernel.TorsionTower.Construction.GeometricEtaleTorsionTower (A.Points (Over.mk s)) q d) |
| 132 | (hkernel : ∀ (T : Over (Spec (.of R))) (a : T ⟶ A.scheme), |
| 133 | a ≫ p.hom = 1 → a ^ (q ^ i) = 1) |
| 134 | (hordinary : Nat.card (A.torsionPoints q (Over.mk s)) = q ^ d) : |
| 135 | Nat.card (B.torsionPoints q (Over.mk s)) = q ^ d := by |
| 136 | let f := extendedNeighborIsogeny p g hgenericKernel |
| 137 | have hk (x : f.kernelAt (Over.mk s)) : x.val ^ (q ^ i) = 1 := by |
| 138 | apply hkernel (Over.mk s) x.val |
| 139 | apply (cancel_mono (goodTargetComparison p g hgenericKernel).hom).mp |
| 140 | rw [MonObj.one_comp] |
| 141 | change (x.val ≫ p.hom) ≫ (goodTargetComparison p g hgenericKernel).hom = 1 |
| 142 | exact (Category.assoc _ _ _).trans x.property |
| 143 | exact (AbelianScheme.FrobeniusKernel.TorsionTower.Construction.isogeny_qRank_preserved_of_ordinary_tower f s q i d tower hk).symm.trans hordinary |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TargetReduction |