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.TateComparison.WeilValues |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricWeilNondegeneracy |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PadicPairingPerfection |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricLattice |
| 5 | |
| 6 | /-! # PEL Perfect Pairing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELPerfectPairing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual PEL polarization constructs a perfect integral pairing |
| 13 | on its geometric Tate module at every good prime. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj BigOperators |
| 17 | |
| 18 | theorem padic_first_residue_zero (q : ℕ) [Fact q.Prime] (a : ℤ_[q]) |
| 19 | (ha : PadicInt.toZMod a = 0) : PadicInt.toZModPow 1 a = 0 := by |
| 20 | apply RingHom.mem_ker.mp |
| 21 | rw [PadicInt.ker_toZModPow, pow_one, ← PadicInt.maximalIdeal_eq_span_p, ← PadicInt.ker_toZMod] |
| 22 | exact RingHom.mem_ker.mpr ha |
| 23 | |
| 24 | variable {R k : Type} [CommRing R] [Field k] [CharZero k] [IsAlgClosed k] {g N : ℕ} |
| 25 | (P : PEL.PELFamilyData R g N (Spec (.of k))) |
| 26 | (δ : Fin g → ℕ) (hδ : P.polarizationMap.HasPolarizationType δ) |
| 27 | (q : ℕ) [Fact q.Prime] (hq : Nat.Coprime q (∏ i, δ i)) |
| 28 | |
| 29 | private instance polarization_group : |
| 30 | IsMonHom (show P.abelian.scheme ⟶ (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled P.dual).abelian from P.polarizationMap.hom) := |
| 31 | P.polarizationMap.preservesGroup |
| 32 | |
| 33 | private instance polarization_finite : |
| 34 | IsFinite (show P.abelian.scheme ⟶ (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled P.dual).abelian from P.polarizationMap.hom).left := |
| 35 | P.polarizationMap.finite |
| 36 | |
| 37 | private instance polarization_flat : |
| 38 | Flat (show P.abelian.scheme ⟶ (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled P.dual).abelian from P.polarizationMap.hom).left := |
| 39 | P.polarizationMap.flat |
| 40 | |
| 41 | private instance polarization_surjective : |
| 42 | Surjective (show P.abelian.scheme ⟶ (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled P.dual).abelian from P.polarizationMap.hom).left := |
| 43 | P.polarizationMap.surjective |
| 44 | |
| 45 | include hδ hq in |
| 46 | omit [CharZero k] [IsAlgClosed k] [Fact q.Prime] in |
| 47 | private theorem pelWeilDegree (n : ℕ) (s : Spec (.of k)) : |
| 48 | (q ^ n).Coprime (P.polarizationMap.hom.left.finrank (η[P.dual.abelian.scheme].left s)) := by |
| 49 | rw [hδ.degree] |
| 50 | exact (hq.pow_left n).pow_right 2 |
| 51 | |
| 52 | def pelTateWeilPairing := |
| 53 | WeilValues.isogenyTateWeilPairing P.abelian.scheme (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled P.dual) P.polarizationMap.hom q |
| 54 | (pelWeilDegree P δ hδ q hq) |
| 55 | |
| 56 | theorem pelTateWeilPairing_spec |
| 57 | (v w : Add.schemeTateModule P.abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) (n : ℕ) : |
| 58 | PadicInt.toZModPow n (pelTateWeilPairing P δ hδ q hq v w) = |
| 59 | TorsionPairingCoordinates.tateBicharacterResidues P.abelian.scheme P.abelian.scheme q n |
| 60 | (GeometricTorsionPairing.pelGeometricTorsionPairing P δ hδ q hq n) v w := |
| 61 | WeilValues.isogenyTateWeilPairing_spec P.abelian.scheme (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled P.dual) P.polarizationMap.hom q |
| 62 | (pelWeilDegree P δ hδ q hq) v w n |
| 63 | |
| 64 | namespace SphericalPELAlbaneseData |
| 65 | |
| 66 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 67 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 68 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 69 | (hgeometry : D.HasIntegralModelGeometry) {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 70 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) |
| 71 | |
| 72 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.geometricTateWeilPairing := |
| 73 | pelTateWeilPairing (D.fiberFamily b x) D.reference.polarizationType |
| 74 | (D.fiberPolarizationType hgeometry b x) q hg.2.2.2.2 |
| 75 | |
| 76 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.geometricTateWeilPairing_spec |
| 77 | (v w : Add.schemeTateModule (D.fiberFamily b x).abelian.scheme (Over.mk (𝟙 (Spec (.of k)))) q) (n : ℕ) : |
| 78 | PadicInt.toZModPow n (D.geometricTateWeilPairing hg hgeometry b x v w) = |
| 79 | D.geometricWeilResidues hg hgeometry b x n v w := |
| 80 | pelTateWeilPairing_spec (D.fiberFamily b x) D.reference.polarizationType |
| 81 | (D.fiberPolarizationType hgeometry b x) q hg.2.2.2.2 v w n |
| 82 | |
| 83 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.geometricTateWeilPairing_isPerfect : |
| 84 | (D.geometricTateWeilPairing hg hgeometry b x).IsPerfPair := by |
| 85 | apply PadicPairingPerfection.padic_pairing_perfect_of_reduction_detection q |
| 86 | (GeometricLattice.geometricTateBasis (D.fiberFamily b x).abelian q) (GeometricLattice.geometricTateBasis (D.fiberFamily b x).abelian q) |
| 87 | intro v hv |
| 88 | have he : Evaluation.Tate.evaluate q 1 v = 0 := by |
| 89 | apply D.geometricWeilResidues_detects_evaluation hg hgeometry b x 1 v |
| 90 | intro w |
| 91 | exact (D.geometricTateWeilPairing_spec hg hgeometry b x v w 1).symm.trans |
| 92 | (padic_first_residue_zero q _ (hv w)) |
| 93 | obtain ⟨z, hz⟩ := (Evaluation.Tate.evaluate_eq_zero_iff q 1 v).mp he |
| 94 | exact ⟨z, by simpa only [pow_one] using hz⟩ |
| 95 | |
| 96 | end SphericalPELAlbaneseData |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELPerfectPairing |