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.Intrinsic.DualIdentification |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PolarizedComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli |
| 4 | |
| 5 | /-! # PEL Target Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PELTargetComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equal complete scheme kernels determine the entire independently |
| 12 | specified PEL target. The comparison includes the actual normalized |
| 13 | Poincare bundle, polarization, integral action, and ordered marking. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PolarizedComparison |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Dual OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.DualIdentification |
| 23 | |
| 24 | variable {k R : Type u} [Field k] [IsAlgClosed k] [CommRing R] {d N n : ℕ} |
| 25 | variable {A B C : AbelianScheme.TateComparison.PEL.PELFamilyData R d N (Spec (.of k))} |
| 26 | variable (f : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny A B n) (g : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny A C n) |
| 27 | variable (hk : QuotientComparison.SameKernel f.isogeny g.isogeny) |
| 28 | |
| 29 | theorem pel_dual_finite : IsFinite f.dualHom.left := by |
| 30 | rw [PolarizedComparison.pel_dualMap] |
| 31 | exact Intrinsic.DualIdentification.dualMap_finite A.dual B.dual f.isogeny |
| 32 | |
| 33 | theorem quotient_polarization : |
| 34 | B.polarizationMap.hom = (QuotientComparison.quotientIso f.isogeny g.isogeny hk).hom ≫ |
| 35 | C.polarizationMap.hom ≫ DualComparison.dualMap B.dual C.dual (QuotientComparison.quotientIso f.isogeny g.isogeny hk).hom := by |
| 36 | have : IsFinite f.dualHom.left := pel_dual_finite f |
| 37 | exact PolarizedComparison.quotientIso_preserves_polarization_of_finite_dual f g hk |
| 38 | |
| 39 | /-- The dual isomorphism is constructed from Picard pullback. Every |
| 40 | compatibility in this native PEL isomorphism is a proved conclusion. -/ |
| 41 | def quotientPELIso : AbelianScheme.TateComparison.PELModuli.PELFamilyIso B C where |
| 42 | abelian := QuotientComparison.quotientIso f.isogeny g.isogeny hk |
| 43 | dual := (DualComparison.dualIso B.dual C.dual (QuotientComparison.quotientIso f.isogeny g.isogeny hk)).symm |
| 44 | abelianGroup := inferInstance |
| 45 | dualGroup := Dual.dualMap_isMonHom C.dual B.dual (QuotientComparison.quotientIso f.isogeny g.isogeny hk).inv |
| 46 | polarization := by |
| 47 | let e := QuotientComparison.quotientIso f.isogeny g.isogeny hk |
| 48 | let d := DualComparison.dualIso B.dual C.dual e |
| 49 | change B.polarizationMap.hom ≫ d.inv = e.hom ≫ C.polarizationMap.hom |
| 50 | have h : B.polarizationMap.hom = e.hom ≫ C.polarizationMap.hom ≫ d.hom := |
| 51 | quotient_polarization f g hk |
| 52 | rw [h, Category.assoc, Category.assoc, d.hom_inv_id, Category.comp_id] |
| 53 | poincare := Intrinsic.DualIdentification.dualIso_poincare B.dual C.dual (QuotientComparison.quotientIso f.isogeny g.isogeny hk) |
| 54 | equivariant := PolarizedComparison.quotientIso_preserves_pelAction f g hk |
| 55 | marking := PolarizedComparison.quotientIso_preserves_pelMarking f g hk |
| 56 | |
| 57 | theorem quotientPELIso_projection : |
| 58 | f.isogeny.hom ≫ (quotientPELIso f g hk).abelian.hom = g.isogeny.hom := |
| 59 | QuotientComparison.quotientIso_projection f.isogeny g.isogeny hk |
| 60 | |
| 61 | include f g hk in |
| 62 | theorem quotientPELClass_eq : |
| 63 | (Quotient.mk (AbelianScheme.TateComparison.PELModuli.pelFamilySetoid R d N (Spec (.of k))) B) = Quotient.mk _ C := |
| 64 | Quotient.sound ⟨quotientPELIso f g hk⟩ |
| 65 | |
| 66 | /-- On the positive PEL locus this is an HilbertConstruction isomorphism between the |
| 67 | original polarized families, retaining their supplied positivity proofs. -/ |
| 68 | def quotientPolarizedIso {δ : Fin d → ℕ} {c : R →+* R} |
| 69 | (hB : B.IsPEL δ c) (hC : C.IsPEL δ c) : |
| 70 | AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (B.toPolarized hB) (C.toPolarized hC) where |
| 71 | abelian := (quotientPELIso f g hk).abelian |
| 72 | dual := (quotientPELIso f g hk).dual |
| 73 | abelianGroup := (quotientPELIso f g hk).abelianGroup |
| 74 | dualGroup := (quotientPELIso f g hk).dualGroup |
| 75 | polarization := (quotientPELIso f g hk).polarization |
| 76 | poincare := (quotientPELIso f g hk).poincare |
| 77 | level := (quotientPELIso f g hk).marking |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PELTargetComparison |