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.PELIsogenySpecialization |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TargetReduction |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PrescribedKernelBaseChange |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PELTargetComparison |
| 5 | |
| 6 | /-! # PEL Quotient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PELQuotient |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The independent generic PEL target specializes to a full PEL |
| 13 | quotient by the specialized complete integral kernel. The good-model |
| 14 | comparison and every PEL compatibility are constructed. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PrescribedKernelBaseChange.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IntegralComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TargetReduction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PELIsogenySpecialization |
| 21 | |
| 22 | variable {R K O : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 23 | variable [Field K] [Algebra R K] [IsFractionRing R K] [CommRing O] |
| 24 | variable {d N n : ℕ} {A B : AbelianScheme.TateComparison.PEL.PELFamilyData O d N (Spec (.of R))} |
| 25 | variable {Q : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of R))} |
| 26 | variable (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A.abelian Q) |
| 27 | variable (g : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny (A.pullback (IntegralComparison.genericMap (R := R) (K := K))) |
| 28 | (B.pullback (IntegralComparison.genericMap (R := R) (K := K))) n) |
| 29 | variable (hk : QuotientComparison.SameKernel (p.pullback (IntegralComparison.genericMap (R := R) (K := K))) g.isogeny) |
| 30 | |
| 31 | theorem extendedNeighbor_sameKernel : |
| 32 | QuotientComparison.SameKernel p (TargetReduction.extendedNeighborIsogeny p g.isogeny hk) := by |
| 33 | intro T a |
| 34 | change a ≫ p.hom = 1 ↔ a ≫ (p.hom ≫ (TargetReduction.goodTargetComparison p g.isogeny hk).hom) = 1 |
| 35 | rw [← Category.assoc, ← MonObj.one_comp (TargetReduction.goodTargetComparison p g.isogeny hk).hom, |
| 36 | cancel_mono] |
| 37 | |
| 38 | theorem extendedNeighbor_prescribedKernel {H : Over (Spec (.of R))} |
| 39 | (i : H ⟶ A.abelian.scheme) (hi : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel p.hom i) : |
| 40 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel (TargetReduction.extendedNeighborIsogeny p g.isogeny hk).hom i := |
| 41 | fun T a => ((extendedNeighbor_sameKernel p g hk T a).symm).trans (hi T a) |
| 42 | |
| 43 | variable (hnN : Nat.Coprime n N) |
| 44 | variable (hkernel : ∀ (T : Over (Spec (.of R))) (a : T ⟶ A.abelian.scheme), |
| 45 | a ≫ p.hom = 1 → a ^ n = 1) |
| 46 | variable {k : Type} [Field k] [IsAlgClosed k] (s : Spec (.of k) ⟶ Spec (.of R)) |
| 47 | |
| 48 | def evaluatedSpecialPELIsogeny : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny (A.pullback s) (B.pullback s) n := |
| 49 | PELIsogenySpecialization.specialPELIsogeny (TargetReduction.extendedNeighborIsogeny p g.isogeny hk) g |
| 50 | (TargetReduction.goodTargetComparison_generic_projection p g.isogeny hk) hnN |
| 51 | (fun T a ha => hkernel T a ((extendedNeighbor_sameKernel p g hk T a).mpr ha)) s |
| 52 | |
| 53 | /-- The full special scheme kernel, including every opposite and compact |
| 54 | block present in the original integral subgroup, is preserved exactly. -/ |
| 55 | theorem evaluatedSpecialPELIsogeny_kernel {H : Over (Spec (.of R))} |
| 56 | (i : H ⟶ A.abelian.scheme) (hi : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel p.hom i) : |
| 57 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel (evaluatedSpecialPELIsogeny p g hk hnN hkernel s).isogeny.hom |
| 58 | ((Over.pullback s).map i) := |
| 59 | AbelianScheme.FrobeniusKernel.PrescribedKernelBaseChange.Construction.prescribedKernel_baseChange s (TargetReduction.extendedNeighborIsogeny p g.isogeny hk).hom i |
| 60 | (extendedNeighbor_prescribedKernel p g hk i hi) |
| 61 | |
| 62 | /-- An independently constructed PEL quotient of the specialized full |
| 63 | kernel agrees with the reduced generic target in all its PEL data. -/ |
| 64 | def independentSpecialPELTargetIso {C : AbelianScheme.TateComparison.PEL.PELFamilyData O d N (Spec (.of k))} |
| 65 | (h : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny (A.pullback s) C n) |
| 66 | {H : Over (Spec (.of R))} (i : H ⟶ A.abelian.scheme) |
| 67 | (hi : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel p.hom i) |
| 68 | (hh : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel h.isogeny.hom ((Over.pullback s).map i)) : |
| 69 | AbelianScheme.TateComparison.PELModuli.PELFamilyIso (B.pullback s) C := |
| 70 | PELTargetComparison.quotientPELIso |
| 71 | (evaluatedSpecialPELIsogeny p g hk hnN hkernel s) h |
| 72 | (fun T a => (evaluatedSpecialPELIsogeny_kernel p g hk hnN hkernel s i hi T a).trans |
| 73 | (hh T a).symm) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PELQuotient |