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.CentralAction.SideResidues |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.IdealConjugation |
| 3 | |
| 4 | /-! # Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Generators.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Apply the explicit Finiteness input to the actual one-side-per-pair ideal. |
| 11 | The generator has the exact norm and fixes the actual finite level ring. -/ |
| 12 | |
| 13 | open _root_.NumberField |
| 14 | open scoped nonZeroDivisors |
| 15 | |
| 16 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 17 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 18 | |
| 19 | theorem sideIdeal_polarized (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 20 | (hgood : D.IsGoodCompletelySplitPrime) |
| 21 | (hdegree : Module.finrank ℚ E = 2 * s) (side : Fin s → Bool) : |
| 22 | (SideResidues.Construction.sideIdeal D side : Arithmetic.Construction.FI E) * Arithmetic.Construction.conjugateIdeal (SideResidues.Construction.sideIdeal D side : Arithmetic.Construction.FI E) = |
| 23 | FractionalIdeal.spanSingleton (𝓞 E)⁰ (q : E) := by |
| 24 | rw [IdealConjugation.Construction.conjugateIdeal_coe, SideResidues.Construction.sideIdeal_conjugate D hgood, |
| 25 | ← FractionalIdeal.coeIdeal_mul, SideResidues.Construction.sideIdeal_mul_opposite D hgood hdegree, |
| 26 | SideResidues.Construction.qPowerIdeal, FractionalIdeal.coeIdeal_span_singleton] |
| 27 | simp only [pow_one, map_natCast] |
| 28 | |
| 29 | /-- A positive power of the selected-side ideal is generated by a marked |
| 30 | scalar of exactly the required rational norm. -/ |
| 31 | theorem marked_side_generator (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 32 | (hgood : D.IsGoodCompletelySplitPrime) (hlevel : 0 < D.level) |
| 33 | (hdegree : Module.finrank ℚ E = 2 * s) |
| 34 | (hFiniteness : Arithmetic.Construction.PrincipalizationInput E) (side : Fin s → Bool) : |
| 35 | ∃ (n : ℕ) (b : 𝓞 E), 0 < n ∧ b ≠ 0 ∧ |
| 36 | (SideResidues.Construction.sideIdeal D side) ^ n = Ideal.span {b} ∧ |
| 37 | (b : E) * IsCMField.complexConj E (b : E) = (q : E) ^ n ∧ |
| 38 | Marking.Construction.levelReduction E D.level b = 1 := by |
| 39 | let : Finite (Marking.Construction.LevelRing E D.level) := Marking.Construction.finite_level_ring E D.level hlevel |
| 40 | have hI : (SideResidues.Construction.sideIdeal D side : Arithmetic.Construction.FI E) ≠ 0 := |
| 41 | FractionalIdeal.coeIdeal_ne_zero.mpr (SideResidues.Construction.sideIdeal_ne_bot D side) |
| 42 | have hpol : (SideResidues.Construction.sideIdeal D side : Arithmetic.Construction.FI E) * Arithmetic.Construction.conjugateIdeal (SideResidues.Construction.sideIdeal D side : Arithmetic.Construction.FI E) = |
| 43 | FractionalIdeal.spanSingleton (𝓞 E)⁰ ((q : E) ^ 1) := by |
| 44 | simpa only [pow_one] using sideIdeal_polarized D hgood hdegree side |
| 45 | obtain ⟨n, b, hn, hb, hprincipal, hnorm, hmark⟩ := |
| 46 | Arithmetic.Construction.marked_integral_principalization hFiniteness (SideResidues.Construction.sideIdeal D side : Arithmetic.Construction.FI E) hI |
| 47 | FractionalIdeal.coeIdeal_le_one q 1 (Fact.out : q.Prime).ne_zero hpol |
| 48 | (Marking.Construction.levelReduction E D.level) (Marking.Construction.level_prime_unit E D.level q hgood.2.2.1) |
| 49 | refine ⟨n, b, hn, hb, ?_, ?_, hmark⟩ |
| 50 | · apply FractionalIdeal.coeIdeal_injective (K := E) |
| 51 | change (((SideResidues.Construction.sideIdeal D side) ^ n : Ideal (𝓞 E)) : Arithmetic.Construction.FI E) = |
| 52 | ((Ideal.span {b} : Ideal (𝓞 E)) : Arithmetic.Construction.FI E) |
| 53 | rw [FractionalIdeal.coeIdeal_pow, FractionalIdeal.coeIdeal_span_singleton] |
| 54 | exact hprincipal |
| 55 | · simpa only [one_mul] using hnorm |
| 56 | |
| 57 | /-- Equality of the principal ideal gives the exact q-adic exponents, |
| 58 | up to a unit, at every chosen and opposite coordinate. -/ |
| 59 | theorem side_generator_local_exponents (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 60 | (hgood : D.IsGoodCompletelySplitPrime) (side : Fin s → Bool) |
| 61 | (n : ℕ) (b : 𝓞 E) (hprincipal : (SideResidues.Construction.sideIdeal D side) ^ n = Ideal.span {b}) |
| 62 | (v : Fin s) (w : Bool) : |
| 63 | ∃ u : ℤ_[q]ˣ, D.localCharacter (v, w) b = |
| 64 | (q : ℤ_[q]) ^ (if w = side v then n else 0) * u := by |
| 65 | classical |
| 66 | have hm := congrArg (Ideal.map (D.localCharacter (v, w))) hprincipal |
| 67 | rw [Ideal.map_pow, Ideal.map_span, Set.image_singleton] at hm |
| 68 | have he : Ideal.span {(q : ℤ_[q]) ^ (if w = side v then n else 0)} = |
| 69 | Ideal.span {D.localCharacter (v, w) b} := by |
| 70 | by_cases hw : w = side v |
| 71 | · subst w |
| 72 | rw [SideResidues.Construction.sideIdeal_map_selected, Ideal.span_singleton_pow] at hm |
| 73 | simpa only [ite_true] using hm |
| 74 | · rw [SideResidues.Construction.sideIdeal_map_unselected D hgood side v w hw] at hm |
| 75 | simpa only [ite_eq_right hw, pow_zero, Ideal.span_singleton_one, Ideal.top_pow] using hm |
| 76 | obtain ⟨u, hu⟩ := Ideal.span_singleton_eq_span_singleton.mp he |
| 77 | exact ⟨u, hu.symm⟩ |
| 78 | |
| 79 | /-- Principalization with every equation needed by the geometric scalar |
| 80 | construction, in the integral ring on which the PEL family acts. -/ |
| 81 | theorem marked_side_generator_local (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 82 | (hgood : D.IsGoodCompletelySplitPrime) (hlevel : 0 < D.level) |
| 83 | (hdegree : Module.finrank ℚ E = 2 * s) |
| 84 | (hFiniteness : Arithmetic.Construction.PrincipalizationInput E) (side : Fin s → Bool) : |
| 85 | ∃ (n : ℕ) (b : 𝓞 E), 0 < n ∧ b ≠ 0 ∧ |
| 86 | b * IsCMField.ringOfIntegersComplexConj E b = (q : 𝓞 E) ^ n ∧ |
| 87 | Marking.Construction.levelReduction E D.level b = 1 ∧ |
| 88 | ∀ (v : Fin s) (w : Bool), ∃ u : ℤ_[q]ˣ, |
| 89 | D.localCharacter (v, w) b = |
| 90 | (q : ℤ_[q]) ^ (if w = side v then n else 0) * u := by |
| 91 | obtain ⟨n, b, hn, hb, hp, hnorm, hmark⟩ := |
| 92 | marked_side_generator D hgood hlevel hdegree hFiniteness side |
| 93 | refine ⟨n, b, hn, hb, ?_, hmark, side_generator_local_exponents D hgood side n b hp⟩ |
| 94 | apply Subtype.val_injective |
| 95 | exact hnorm |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Generators.Construction |