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.NumberTheory.ArithmeticGroups.Lattices.IntegralLattice |
| 2 | |
| 3 | /-! # Lattice Comparison -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.LatticeComparison.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Clearing denominators between full integral lattices. -/ |
| 10 | |
| 11 | open scoped Classical nonZeroDivisors _root_.NumberField |
| 12 | open OAI.NumberTheory.ArithmeticGroups.Lattices.IntegralLattice |
| 13 | |
| 14 | section FractionModule |
| 15 | variable {R k V : Type*} [CommRing R] [Field k] |
| 16 | variable [Algebra R k] [IsFractionRing R k] |
| 17 | variable [AddCommGroup V] [Module k V] [Module R V] [IsScalarTower R k V] |
| 18 | |
| 19 | theorem denominator_of_full_submodule (Λ : Submodule R V) |
| 20 | (hΛ : Submodule.span k (Λ : Set V) = ⊤) (x : V) : |
| 21 | ∃ d : R⁰, (d : R) • x ∈ Λ := by |
| 22 | let : IsLocalizedModule R⁰ (LinearMap.id : V →ₗ[R] V) := isLocalizedModule_id R⁰ V k |
| 23 | have hx : x ∈ Λ.localized' k R⁰ (LinearMap.id : V →ₗ[R] V) := by |
| 24 | rw [Submodule.localized'_eq_span] |
| 25 | simpa only [LinearMap.id_coe, Set.image_id, hΛ] using (Submodule.mem_top (x := x)) |
| 26 | obtain ⟨m, hm, d, hd⟩ := (Submodule.mem_localized' _ _ _ _ _).mp hx |
| 27 | refine ⟨d, ?_⟩ |
| 28 | have hmul := IsLocalizedModule.mk'_cancel' (LinearMap.id : V →ₗ[R] V) m d |
| 29 | rw [hd] at hmul |
| 30 | exact hmul ▸ hm |
| 31 | |
| 32 | theorem full_submodule_isLocalized (Λ : Submodule R V) |
| 33 | (hΛ : Submodule.span k (Λ : Set V) = ⊤) : IsLocalizedModule R⁰ Λ.subtype := by |
| 34 | let hid : IsLocalizedModule R⁰ (LinearMap.id : V →ₗ[R] V) := isLocalizedModule_id R⁰ V k |
| 35 | constructor |
| 36 | · exact hid.map_units |
| 37 | · intro x |
| 38 | obtain ⟨d, hd⟩ := denominator_of_full_submodule Λ hΛ x |
| 39 | exact ⟨(⟨(d : R) • x, hd⟩, d), rfl⟩ |
| 40 | · intro x y hxy |
| 41 | exact ⟨1, by simpa using Subtype.val_injective hxy⟩ |
| 42 | |
| 43 | theorem common_denominator_for_fg (Λ Ω : Submodule R V) (hΛ : Λ.FG) |
| 44 | (hΩ : Submodule.span k (Ω : Set V) = ⊤) : |
| 45 | ∃ d : R⁰, ∀ x ∈ Λ, (d : R) • x ∈ Ω := by |
| 46 | let : IsLocalizedModule R⁰ Ω.subtype := full_submodule_isLocalized Ω hΩ |
| 47 | obtain ⟨S, hS⟩ := hΛ |
| 48 | obtain ⟨d, hd⟩ := IsLocalizedModule.exist_integer_multiples_of_finset R⁰ Ω.subtype S |
| 49 | refine ⟨d, fun x hx => ?_⟩ |
| 50 | rw [← hS] at hx |
| 51 | induction hx using Submodule.span_induction with |
| 52 | | mem y hy => |
| 53 | obtain ⟨z, hz⟩ := hd y hy |
| 54 | exact hz ▸ z.property |
| 55 | | zero => simp |
| 56 | | add y z _ _ hy hz => simpa only [smul_add] using Ω.add_mem hy hz |
| 57 | | smul c y _ hy => simpa only [smul_comm (d : R) c y] using Ω.smul_mem c hy |
| 58 | |
| 59 | end FractionModule |
| 60 | |
| 61 | theorem fullLattices_commensurate_denominators |
| 62 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 63 | (Λ Ω : IntegralLattice.FullLattice k n) : |
| 64 | ∃ d : (𝓞 k)⁰, |
| 65 | (∀ x ∈ Λ.module, (d : 𝓞 k) • x ∈ Ω.module) ∧ |
| 66 | (∀ x ∈ Ω.module, (d : 𝓞 k) • x ∈ Λ.module) := by |
| 67 | obtain ⟨a, ha⟩ := common_denominator_for_fg Λ.module Ω.module Λ.finite Ω.full |
| 68 | obtain ⟨b, hb⟩ := common_denominator_for_fg Ω.module Λ.module Ω.finite Λ.full |
| 69 | refine ⟨a * b, ?_, ?_⟩ |
| 70 | · intro x hx |
| 71 | simpa only [Submonoid.coe_mul, mul_smul, smul_comm (a : 𝓞 k) (b : 𝓞 k) x] using |
| 72 | Ω.module.smul_mem (b : 𝓞 k) (ha x hx) |
| 73 | · intro x hx |
| 74 | simpa only [Submonoid.coe_mul, mul_smul] using Λ.module.smul_mem (a : 𝓞 k) (hb x hx) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.ArithmeticGroups.Lattices.LatticeComparison.Construction |