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.LatticeComparison |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.StabilizerRestriction |
| 3 | |
| 4 | /-! # Lattice Stabilizers -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.LatticeStabilizers.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Commensurability of stabilizers for full integral lattices. -/ |
| 11 | |
| 12 | open scoped Classical Pointwise nonZeroDivisors _root_.NumberField |
| 13 | |
| 14 | theorem stabilizer_relIndex_ne_zero_of_denominators |
| 15 | {R V H : Type*} [CommRing R] [IsDomain R] [Ring.HasFiniteQuotients R] |
| 16 | [AddCommGroup V] [Module R V] [Module.IsTorsionFree R V] [Group H] |
| 17 | (ρ : H →* (V ≃ₗ[R] V)) (Λ Ω : Submodule R V) [Module.Finite R Λ] |
| 18 | (d : R) (hd : d ≠ 0) (hΛΩ : d • Λ ≤ Ω) (hΩΛ : d • Ω ≤ Λ) : |
| 19 | (SubmoduleOrbit.Construction.submoduleImageStabilizer ρ Ω).relIndex (SubmoduleOrbit.Construction.submoduleImageStabilizer ρ Λ) ≠ 0 := by |
| 20 | let L : Submodule R Λ := (d • Ω).comap Λ.subtype |
| 21 | have hL : (d ^ 2) • (⊤ : Submodule R Λ) ≤ L := by |
| 22 | intro x hx |
| 23 | obtain ⟨y, _, rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists x (d ^ 2) ⊤).mp hx |
| 24 | change (d ^ 2) • y.val ∈ d • Ω |
| 25 | rw [pow_two, mul_smul] |
| 26 | exact Submodule.smul_mem_pointwise_smul _ _ _ |
| 27 | (hΛΩ (Submodule.smul_mem_pointwise_smul _ _ _ y.property)) |
| 28 | have hindex := SubmoduleOrbit.Construction.submoduleImageStabilizer_finiteIndex (StabilizerRestriction.Construction.stabilizerRestriction ρ Λ) L |
| 29 | (d ^ 2) (pow_ne_zero _ hd) hL |
| 30 | have hsubgroup : SubmoduleOrbit.Construction.submoduleImageStabilizer (StabilizerRestriction.Construction.stabilizerRestriction ρ Λ) L = |
| 31 | (SubmoduleOrbit.Construction.submoduleImageStabilizer ρ Ω).subgroupOf (SubmoduleOrbit.Construction.submoduleImageStabilizer ρ Λ) := by |
| 32 | ext g |
| 33 | change L.map (StabilizerRestriction.Construction.stabilizerRestriction ρ Λ g).toLinearMap = L ↔ |
| 34 | Ω.map (ρ g.val).toLinearMap = Ω |
| 35 | exact (StabilizerRestriction.Construction.restriction_stabilizes_iff ρ Λ (d • Ω) hΩΛ g).trans |
| 36 | (StabilizerRestriction.Construction.stabilizes_scalar_submodule_iff (ρ g.val) Ω d (smul_right_injective V hd)) |
| 37 | rw [hsubgroup] at hindex |
| 38 | exact hindex.index_ne_zero |
| 39 | |
| 40 | def restrictScalarsAutomorphismHom |
| 41 | {R k V : Type*} [CommRing R] [Field k] [Algebra R k] |
| 42 | [AddCommGroup V] [Module k V] [Module R V] [IsScalarTower R k V] : |
| 43 | (V ≃ₗ[k] V) →* (V ≃ₗ[R] V) where |
| 44 | toFun := LinearEquiv.restrictScalars R |
| 45 | map_one' := by ext x; rfl |
| 46 | map_mul' _ _ := by ext x; rfl |
| 47 | |
| 48 | theorem linearLatticeStabilizer_eq_imageStabilizer |
| 49 | {k V H : Type*} [Field k] [NumberField k] |
| 50 | [AddCommGroup V] [Module k V] [Module (𝓞 k) V] [IsScalarTower (𝓞 k) k V] [Group H] |
| 51 | (ρ : H →* (V ≃ₗ[k] V)) (Λ : Submodule (𝓞 k) V) : |
| 52 | IntegralLattice.linearLatticeStabilizer ρ Λ = |
| 53 | SubmoduleOrbit.Construction.submoduleImageStabilizer (restrictScalarsAutomorphismHom.comp ρ) Λ := by |
| 54 | ext g |
| 55 | rw [StabilizerRestriction.Construction.submoduleImageStabilizer_mem_iff] |
| 56 | rfl |
| 57 | |
| 58 | theorem fullLattice_stabilizers_commensurable |
| 59 | {k H : Type} [Field k] [NumberField k] [Group H] {n : ℕ} |
| 60 | (ρ : H →* ((Fin n → k) ≃ₗ[k] (Fin n → k))) (Λ Ω : IntegralLattice.FullLattice k n) : |
| 61 | (IntegralLattice.linearLatticeStabilizer ρ Λ.module).Commensurable |
| 62 | (IntegralLattice.linearLatticeStabilizer ρ Ω.module) := by |
| 63 | let : Module.Finite (𝓞 k) Λ.module := Module.Finite.iff_fg.mpr Λ.finite |
| 64 | let : Module.Finite (𝓞 k) Ω.module := Module.Finite.iff_fg.mpr Ω.finite |
| 65 | let : Ring.HasFiniteQuotients (𝓞 k) := Ring.HasFiniteQuotients.of_module_finite ℤ (𝓞 k) |
| 66 | obtain ⟨d, hΛΩ, hΩΛ⟩ := LatticeComparison.Construction.fullLattices_commensurate_denominators Λ Ω |
| 67 | have hd : (d : 𝓞 k) ≠ 0 := nonZeroDivisors.ne_zero d.property |
| 68 | have hΛΩ' : (d : 𝓞 k) • Λ.module ≤ Ω.module := by |
| 69 | intro y hy |
| 70 | obtain ⟨x, hx, rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists y (d : 𝓞 k) Λ.module).mp hy |
| 71 | exact hΛΩ x hx |
| 72 | have hΩΛ' : (d : 𝓞 k) • Ω.module ≤ Λ.module := by |
| 73 | intro y hy |
| 74 | obtain ⟨x, hx, rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists y (d : 𝓞 k) Ω.module).mp hy |
| 75 | exact hΩΛ x hx |
| 76 | rw [linearLatticeStabilizer_eq_imageStabilizer, linearLatticeStabilizer_eq_imageStabilizer] |
| 77 | exact ⟨⟨stabilizer_relIndex_ne_zero_of_denominators _ Ω.module Λ.module _ hd hΩΛ' hΛΩ'⟩, |
| 78 | ⟨stabilizer_relIndex_ne_zero_of_denominators _ Λ.module Ω.module _ hd hΛΩ' hΩΛ'⟩⟩ |
| 79 | |
| 80 | theorem latticeStabilizer_commensurable_standard |
| 81 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 82 | (G : Algebraic.MatrixAlgebraicGroup k n) (Λ : IntegralLattice.FullLattice k n) : |
| 83 | (G.latticeStabilizer Λ).Commensurable (G.latticeStabilizer (IntegralLattice.FullLattice.standard k n)) := |
| 84 | fullLattice_stabilizers_commensurable G.representation Λ (IntegralLattice.FullLattice.standard k n) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.ArithmeticGroups.Lattices.LatticeStabilizers.Construction |