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.RationalCompletion |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SplitAction |
| 3 | |
| 4 | /-! # Integral Residues -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralResidues.SphericalPELAlbaneseData |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Complete splitting produces integral elements with arbitrary prescribed |
| 11 | finite local residues. In particular the split finite-level projectors are |
| 12 | realized by actual integral PEL endomorphisms, without a second q-adic choice. -/ |
| 13 | |
| 14 | open scoped TensorProduct Classical |
| 15 | |
| 16 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 17 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 18 | (D : Data.SphericalPELAlbaneseData E K s q) (n : ℕ) |
| 19 | |
| 20 | local instance : NeZero (q ^ n) := ⟨pow_ne_zero n (Fact.out : q.Prime).ne_zero⟩ |
| 21 | |
| 22 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.localResidueMap : NumberField.RingOfIntegers E →+* (Fin s × Bool → ZMod (q ^ n)) := |
| 23 | RingHom.pi fun v => (PadicInt.toZModPow n).comp (D.localCharacter v) |
| 24 | |
| 25 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.localResidueMap_apply (a : NumberField.RingOfIntegers E) (v : Fin s × Bool) : |
| 26 | D.localResidueMap n a v = PadicInt.toZModPow n (D.localCharacter v a) := rfl |
| 27 | |
| 28 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.completion_residue_has_integral_representative |
| 29 | (t : ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) : |
| 30 | ∃ a : NumberField.RingOfIntegers E, ∀ v, |
| 31 | PadicInt.toZModPow n (D.localCompletionMap t v) = D.localResidueMap n a v := by |
| 32 | induction t using TensorProduct.inductionOn with |
| 33 | | add t u ht hu => |
| 34 | obtain ⟨a, ha⟩ := ht |
| 35 | obtain ⟨b, hb⟩ := hu |
| 36 | exact ⟨a + b, by intro v; simp only [map_add, Pi.add_apply, ha v, hb v]⟩ |
| 37 | | tmul z a => |
| 38 | refine ⟨(PadicInt.toZModPow n z).val • a, ?_⟩ |
| 39 | intro v |
| 40 | simp only [Data.SphericalPELAlbaneseData.localCompletionMap_tmul, Data.SphericalPELAlbaneseData.localResidueMap_apply, |
| 41 | nsmul_eq_mul, map_mul, map_natCast, ZMod.natCast_zmod_val] |
| 42 | |
| 43 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.localResidueMap_surjective (hg : D.IsGoodCompletelySplitPrime) : |
| 44 | Function.Surjective (D.localResidueMap n) := by |
| 45 | intro a |
| 46 | obtain ⟨t, ht⟩ := hg.1.2 (fun v => ((a v).val : ℤ_[q])) |
| 47 | obtain ⟨r, hr⟩ := D.completion_residue_has_integral_representative n t |
| 48 | refine ⟨r, ?_⟩ |
| 49 | funext v |
| 50 | rw [← hr v, ht, map_natCast, ZMod.natCast_zmod_val] |
| 51 | |
| 52 | /-- An actual element of O_E realizing the v-th projector modulo q^n. -/ |
| 53 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.integralResidueProjector (hg : D.IsGoodCompletelySplitPrime) (v : Fin s × Bool) : |
| 54 | NumberField.RingOfIntegers E := |
| 55 | (D.localResidueMap_surjective n hg (Pi.single v 1)).choose |
| 56 | |
| 57 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.integralResidueProjector_residues (hg : D.IsGoodCompletelySplitPrime) (v w : Fin s × Bool) : |
| 58 | PadicInt.toZModPow n (D.localCharacter w (D.integralResidueProjector n hg v)) = |
| 59 | (Pi.single v 1 : Fin s × Bool → ZMod (q ^ n)) w := |
| 60 | congrFun (D.localResidueMap_surjective n hg (Pi.single v 1)).choose_spec w |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralResidues.SphericalPELAlbaneseData |