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.AbelianModuli.ReferenceFamily.Principal.LatticeActionCompactness |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.AnisotropicCompactness |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.LatticeStabilizers |
| 4 | |
| 5 | /-! # Lattice Compactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Principal.LatticeCompactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Principal congruence on an actual full lattice is commensurable with |
| 12 | its stabilizer. The anisotropic arithmetic theorem therefore applies to |
| 13 | the same subgroup in the full archimedean product. -/ |
| 14 | |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | section LatticeAction |
| 18 | |
| 19 | variable {G V : Type*} [Group G] [AddCommGroup V] |
| 20 | (ρ : G →* (V ≃ₗ[ℤ] V)) (L : AddSubgroup V) |
| 21 | (Γ : Subgroup G) (hΓ : ∀ g, g ∈ Γ ↔ ∀ v, ρ g v ∈ L ↔ v ∈ L) |
| 22 | |
| 23 | include hΓ in |
| 24 | theorem principalAction_le_stabilizer (N : ℕ) : |
| 25 | (Groups.principalLatticeSubgroup L N).comap ρ ≤ Γ := by |
| 26 | intro g hg |
| 27 | exact (hΓ g).mpr fun v => (hg.1 v).symm |
| 28 | |
| 29 | include hΓ in |
| 30 | theorem principalAction_commensurable [AddGroup.FG L] (N : ℕ) (hN : N ≠ 0) : |
| 31 | ((Groups.principalLatticeSubgroup L N).comap ρ).Commensurable Γ := by |
| 32 | refine ⟨LatticeActionCompactness.principalAction_finiteRelIndex ρ L Γ hΓ N hN, ⟨?_⟩⟩ |
| 33 | rw [Subgroup.relIndex_eq_one.mpr (principalAction_le_stabilizer ρ L Γ hΓ N)] |
| 34 | exact one_ne_zero |
| 35 | |
| 36 | end LatticeAction |
| 37 | |
| 38 | theorem principalAction_linearSubgroup_map |
| 39 | {R V : Type*} [Field R] [AddCommGroup V] [Module R V] |
| 40 | (S : Subgroup (V ≃ₗ[R] V)) (L : AddSubgroup V) (N : ℕ) : |
| 41 | (((Groups.principalLatticeSubgroup (R := ℤ) L N).comap |
| 42 | (NumberTheory.ArithmeticGroups.Lattices.LatticeStabilizers.Construction.restrictScalarsAutomorphismHom.comp S.subtype)).map S.subtype) = |
| 43 | Groups.principalLatticeSubgroup (R := R) L N ⊓ S := by |
| 44 | ext g |
| 45 | constructor |
| 46 | · rintro ⟨h, hh, rfl⟩ |
| 47 | exact ⟨hh, h.property⟩ |
| 48 | · rintro ⟨hg, hs⟩ |
| 49 | exact ⟨⟨g, hs⟩, hg, rfl⟩ |
| 50 | |
| 51 | theorem latticeAction_map_stabilizer |
| 52 | {k Gk V : Type} [Field k] [NumberField k] [Group Gk] [AddCommGroup V] |
| 53 | {n : ℕ} (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 54 | (ρ : Gk →* (V ≃ₗ[ℤ] V)) (L : AddSubgroup V) |
| 55 | (Γ₀ : Subgroup Gk) (hΓ₀ : ∀ g, g ∈ Γ₀ ↔ ∀ v, ρ g v ∈ L ↔ v ∈ L) |
| 56 | (Λ : NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice k n) (r : Gk ≃* G.RationalPoints) (e : V ≃+ (Fin n → k)) |
| 57 | (hact : ∀ g v, e (ρ g v) = G.representation (r g) (e v)) |
| 58 | (hmem : ∀ v, e v ∈ Λ.module ↔ v ∈ L) : |
| 59 | Γ₀.map r.toMonoidHom = G.latticeStabilizer Λ := by |
| 60 | ext g |
| 61 | obtain ⟨g, rfl⟩ := r.surjective g |
| 62 | rw [Subgroup.mem_map_equiv, MulEquiv.symm_apply_apply, hΓ₀] |
| 63 | change (∀ v, ρ g v ∈ L ↔ v ∈ L) ↔ |
| 64 | ∀ w, G.representation (r g) w ∈ Λ.module ↔ w ∈ Λ.module |
| 65 | constructor |
| 66 | · intro h w |
| 67 | obtain ⟨v, rfl⟩ := e.surjective w |
| 68 | rw [← hact, hmem, hmem] |
| 69 | exact h v |
| 70 | · intro h v |
| 71 | have hw := h (e v) |
| 72 | rw [← hact, hmem, hmem] at hw |
| 73 | exact hw |
| 74 | |
| 75 | theorem arithmeticPresentation_of_latticeAction_coordinates |
| 76 | {k Gk V : Type} [Field k] [NumberField k] [Group Gk] [AddCommGroup V] |
| 77 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.ConnectedSemisimpleKGroup k) |
| 78 | (ρ : Gk →* (V ≃ₗ[ℤ] V)) (L : AddSubgroup V) |
| 79 | (Γ₀ : Subgroup Gk) (hΓ₀ : ∀ g, g ∈ Γ₀ ↔ ∀ v, ρ g v ∈ L ↔ v ∈ L) |
| 80 | (Λ : NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice k G.dimension) (r : Gk ≃* G.matrixGroup.RationalPoints) |
| 81 | (e : V ≃+ (Fin G.dimension → k)) |
| 82 | (hact : ∀ g v, e (ρ g v) = G.matrixGroup.representation (r g) (e v)) |
| 83 | (hmem : ∀ v, e v ∈ Λ.module ↔ v ∈ L) : |
| 84 | NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.IsArithmeticPresentation G ((G.matrixGroup.diagonal Set.univ).comp r.toMonoidHom) Γ₀ := by |
| 85 | refine ⟨Λ, r, Set.univ, ContinuousMulEquiv.refl _, ?_, ?_, ?_⟩ |
| 86 | · intro v hv |
| 87 | exact (hv (Set.mem_univ v)).elim |
| 88 | · exact latticeAction_map_stabilizer G.matrixGroup ρ L Γ₀ hΓ₀ Λ r e hact hmem |
| 89 | · intro g |
| 90 | rfl |
| 91 | |
| 92 | theorem principalAction_arithmetic_compact |
| 93 | {k Gk GInf V : Type} [Field k] [NumberField k] [Group Gk] [Group GInf] |
| 94 | [TopologicalSpace GInf] [AddCommGroup V] |
| 95 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.ConnectedSemisimpleKGroup k) (δ : Gk →* GInf) |
| 96 | (ρ : Gk →* (V ≃ₗ[ℤ] V)) (L : AddSubgroup V) [AddGroup.FG L] |
| 97 | (Γ₀ : Subgroup Gk) (hΓ₀ : ∀ g, g ∈ Γ₀ ↔ ∀ v, ρ g v ∈ L ↔ v ∈ L) |
| 98 | (hmodel : NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.IsArithmeticPresentation G δ Γ₀) (han : NumberTheory.ArithmeticGroups.Lattices.Algebraic.IsAnisotropic G) |
| 99 | (N : ℕ) (hN : N ≠ 0) : |
| 100 | CompactSpace (GInf ⧸ ((Groups.principalLatticeSubgroup L N).comap ρ).map δ) := |
| 101 | NumberTheory.ArithmeticGroups.Lattices.AnisotropicCompactness.Construction.arithmetic_compact_of_anisotropic G δ Γ₀ _ hmodel |
| 102 | (principalAction_commensurable ρ L Γ₀ hΓ₀ N hN) han |
| 103 | |
| 104 | theorem principalAction_arithmetic_discrete |
| 105 | {k Gk GInf V : Type} [Field k] [NumberField k] [Group Gk] [Group GInf] |
| 106 | [TopologicalSpace GInf] [IsTopologicalGroup GInf] [T2Space GInf] |
| 107 | [AddCommGroup V] |
| 108 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.ConnectedSemisimpleKGroup k) (δ : Gk →* GInf) |
| 109 | (ρ : Gk →* (V ≃ₗ[ℤ] V)) (L : AddSubgroup V) [AddGroup.FG L] |
| 110 | (Γ₀ : Subgroup Gk) (hΓ₀ : ∀ g, g ∈ Γ₀ ↔ ∀ v, ρ g v ∈ L ↔ v ∈ L) |
| 111 | (hmodel : NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.IsArithmeticPresentation G δ Γ₀) (N : ℕ) (hN : N ≠ 0) : |
| 112 | DiscreteTopology (((Groups.principalLatticeSubgroup L N).comap ρ).map δ) := |
| 113 | NumberTheory.ArithmeticGroups.Lattices.Discrete.Construction.arithmetic_subgroup_discrete G δ Γ₀ _ hmodel |
| 114 | (principalAction_commensurable ρ L Γ₀ hΓ₀ N hN) |
| 115 | |
| 116 | def fullLatticeIntegralAction |
| 117 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 118 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) : |
| 119 | G.RationalPoints →* ((Fin n → k) ≃ₗ[ℤ] (Fin n → k)) := |
| 120 | NumberTheory.ArithmeticGroups.Lattices.LatticeStabilizers.Construction.restrictScalarsAutomorphismHom.comp G.representation |
| 121 | |
| 122 | @[simp] theorem fullLatticeIntegralAction_apply |
| 123 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 124 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (g : G.RationalPoints) (v : Fin n → k) : |
| 125 | fullLatticeIntegralAction G g v = Matrix.SpecialLinearGroup.toLin' g.val v := rfl |
| 126 | |
| 127 | def fullLatticePrincipalSubgroup |
| 128 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 129 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (Λ : NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice k n) (N : ℕ) : |
| 130 | Subgroup G.RationalPoints := |
| 131 | (Groups.principalLatticeSubgroup Λ.module.toAddSubgroup N).comap (fullLatticeIntegralAction G) |
| 132 | |
| 133 | theorem fullLatticePrincipalSubgroup_commensurable |
| 134 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 135 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (Λ : NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice k n) (N : ℕ) (hN : N ≠ 0) : |
| 136 | (fullLatticePrincipalSubgroup G Λ N).Commensurable (G.latticeStabilizer Λ) := by |
| 137 | let : Module.Finite (𝓞 k) Λ.module := Module.Finite.iff_fg.mpr Λ.finite |
| 138 | let : Module.Finite ℤ Λ.module := Module.Finite.trans (𝓞 k) Λ.module |
| 139 | let : AddGroup.FG Λ.module.toAddSubgroup := Module.Finite.iff_addGroup_fg.mp inferInstance |
| 140 | exact principalAction_commensurable (fullLatticeIntegralAction G) Λ.module.toAddSubgroup |
| 141 | (G.latticeStabilizer Λ) (fun _ => Iff.rfl) N hN |
| 142 | |
| 143 | theorem fullLatticePrincipalSubgroup_compact |
| 144 | {k : Type} [Field k] [NumberField k] |
| 145 | (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.ConnectedSemisimpleKGroup k) (Λ : NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice k G.dimension) |
| 146 | (han : NumberTheory.ArithmeticGroups.Lattices.Algebraic.IsAnisotropic G) (N : ℕ) (hN : N ≠ 0) : |
| 147 | CompactSpace (G.matrixGroup.ArchimedeanProduct Set.univ ⧸ |
| 148 | (fullLatticePrincipalSubgroup G.matrixGroup Λ N).map |
| 149 | (G.matrixGroup.diagonal Set.univ)) := |
| 150 | NumberTheory.ArithmeticGroups.Lattices.AnisotropicCompactness.Construction.arithmetic_compact_of_anisotropic G _ _ _ |
| 151 | (NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.canonical_arithmetic_presentation G Λ) |
| 152 | (fullLatticePrincipalSubgroup_commensurable G.matrixGroup Λ N hN) han |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Principal.LatticeCompactness |