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.RepresentationTheory.Theta.Kernel.IntrinsicSchwartz |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.PositionBasis |
| 3 | |
| 4 | /-! # Intrinsic Integer Support -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicIntegerSupport.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A native Schwartz input is supported on a scaled integer lattice at |
| 11 | rational positions. Integer multiples refine its finite-adelic period. -/ |
| 12 | |
| 13 | open scoped _root_.NumberField Classical |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.Evaluation OAI.RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz |
| 16 | |
| 17 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 18 | |
| 19 | def scaledIntegers (r : 𝓞 F) : (Fin N → 𝓞 F) →ₗ[ℤ] (Fin N → F) where |
| 20 | toFun u i := (algebraMap (𝓞 F) F r)⁻¹ * algebraMap (𝓞 F) F (u i) |
| 21 | map_add' u v := by funext i; simp [mul_add] |
| 22 | map_smul' c u := by funext i; simp [zsmul_eq_mul, mul_left_comm] |
| 23 | |
| 24 | theorem native_support_integer_presentation (f : Adelic.FiniteSchwartz.finiteSchwartz F N) : |
| 25 | ∃ r : 𝓞 F, r ≠ 0 ∧ ∀ x : Fin N → F, |
| 26 | Adelic.Evaluation.finiteSchwartzFunction F N f (Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x) ≠ 0 → |
| 27 | ∃ u : Fin N → 𝓞 F, scaledIntegers F N r u = x := by |
| 28 | obtain ⟨r,hr,hbound⟩ := Weil.AdelicSplitting.IntegralAdeles.Construction.compact_subset_finiteIntegralBox F |
| 29 | (tsupport (Adelic.Evaluation.finiteSchwartzFunction F N f)) (Adelic.CompactSupport.AdelicSchwartz.finiteSchwartzFunction_mem F N f).2 |
| 30 | have hrF : algebraMap (𝓞 F) F r ≠ 0 := |
| 31 | (map_ne_zero_iff _ (IsFractionRing.injective (𝓞 F) F)).mpr hr |
| 32 | refine ⟨r,hr,?_⟩ |
| 33 | intro x hx |
| 34 | have hb := hbound (subset_tsupport _ hx) |
| 35 | have hi (i : Fin N) : ∃ u : 𝓞 F, |
| 36 | algebraMap (𝓞 F) F u = algebraMap (𝓞 F) F r * x i := by |
| 37 | apply (Weil.AdelicSplitting.IntegralAdeles.Construction.rational_mem_finiteIntegral_iff F _).mp |
| 38 | rw [map_mul, ← IsScalarTower.algebraMap_apply] |
| 39 | exact hb i |
| 40 | choose u hu using hi |
| 41 | refine ⟨u,?_⟩ |
| 42 | funext i |
| 43 | change (algebraMap (𝓞 F) F r)⁻¹ * algebraMap (𝓞 F) F (u i) = x i |
| 44 | rw [hu i, ← mul_assoc, inv_mul_cancel₀ hrF, one_mul] |
| 45 | |
| 46 | theorem scaledIntegers_translation (r : 𝓞 F) (hr : r ≠ 0) (m D : ℕ) |
| 47 | (v : Fin N → 𝓞 F) : |
| 48 | scaledIntegers F N r ((2 * (D : ℤ)) • (fun i => r * (m : 𝓞 F) * v i)) = |
| 49 | fun i => (2 * D * m : F) * algebraMap (𝓞 F) F (v i) := by |
| 50 | have hrF : algebraMap (𝓞 F) F r ≠ 0 := |
| 51 | (map_ne_zero_iff _ (IsFractionRing.injective (𝓞 F) F)).mpr hr |
| 52 | funext i |
| 53 | change (algebraMap (𝓞 F) F r)⁻¹ * |
| 54 | algebraMap (𝓞 F) F ((2 * (D : ℤ)) • (r * (m : 𝓞 F) * v i)) = _ |
| 55 | simp only [zsmul_eq_mul, map_mul, map_natCast, map_ofNat, Int.cast_mul, |
| 56 | Int.cast_ofNat, Int.cast_natCast] |
| 57 | field_simp |
| 58 | |
| 59 | theorem lattice_nat_multiple (m n : ℕ) (hm : 0 < m) (hn : 0 < n) (hdiv : m ∣ n) : |
| 60 | Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (ι := Fin N) (n : F) (by exact_mod_cast hn.ne') ≤ |
| 61 | Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (m : F) (by exact_mod_cast hm.ne') := by |
| 62 | let hmF : (m : F) ≠ 0 := by exact_mod_cast hm.ne' |
| 63 | rintro x ⟨v,hv,rfl⟩ |
| 64 | obtain ⟨k,hk⟩ := hdiv |
| 65 | have hx : Weil.AdelicSplitting.FiniteLattices.Construction.finitePositionScale (m : F) v ∈ Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (m : F) hmF := |
| 66 | ⟨v,hv,rfl⟩ |
| 67 | have h := (Weil.AdelicSplitting.FiniteLattices.Construction.finiteAdelicPositionLattice (m : F) hmF).nsmul_mem hx k |
| 68 | change Weil.AdelicSplitting.FiniteLattices.Construction.finitePositionScale (n : F) v ∈ _ |
| 69 | rw [Weil.AdelicSplitting.FiniteLattices.Construction.finitePositionScale_natCast, hk, mul_nsmul] |
| 70 | simpa only [Weil.AdelicSplitting.FiniteLattices.Construction.finitePositionScale_natCast] using h |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicIntegerSupport.Intrinsic |