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.StandardSiegelMatrix |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.LatticeFrameAction |
| 3 | |
| 4 | /-! # Standard Siegel Representatives -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.StandardSiegelRepresentatives.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every invertible real matrix has an integral lattice change of |
| 11 | basis placing it in the fixed standard Siegel matrix region. -/ |
| 12 | |
| 13 | open _root_.Module |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem standard_siegel_lattice_representatives |
| 17 | {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 18 | {n : ℕ} (Λ : Submodule ℤ E) [DiscreteTopology Λ] [IsZLattice ℝ Λ] |
| 19 | (b : Basis (Fin n) ℤ Λ) (b₀ : OrthonormalBasis (Fin n) ℝ E) |
| 20 | (hb : ∀ i, (b i).val = b₀ i) (g : Matrix.GeneralLinearGroup (Fin n) ℝ) : |
| 21 | ∃ γ ∈ SubmoduleOrbit.Construction.submoduleImageStabilizer (LatticeFrameAction.Construction.matrixFrameIntegralAction b₀.toBasis) Λ, |
| 22 | StandardSiegelMatrix.Construction.IsStandardSiegelMatrix (g * γ).val := by |
| 23 | let ρ := LatticeFrameAction.Construction.matrixFrameIntegralAction b₀.toBasis |
| 24 | let e := (LatticeFrameAction.Construction.matrixFrameAction b₀.toBasis g).toContinuousLinearEquiv |
| 25 | let Ω := ZLattice.comap ℝ Λ e.symm.toLinearMap |
| 26 | have hdim : finrank ℝ E = n := by simpa using Module.finrank_eq_card_basis b₀.toBasis |
| 27 | obtain ⟨d⟩ := ReducedLatticeBasisExistence.Construction.exists_reduced_lattice_basis n Ω hdim (IsZLattice.span_top (K := ℝ) (L := Ω)) |
| 28 | let B := d.latticeBasis |
| 29 | let Bℝ := B.ofZLatticeBasis ℝ |
| 30 | have hframe : LinearIndependent ℝ (fun i => (B i).val) ∧ |
| 31 | Submodule.span ℝ (Set.range (fun i => (B i).val)) = ⊤ := by |
| 32 | have he : (fun i => (B i).val) = Bℝ := funext (fun i => (B.ofZLatticeBasis_apply ℝ Ω i).symm) |
| 33 | rw [he] |
| 34 | exact ⟨Bℝ.linearIndependent, Bℝ.span_eq⟩ |
| 35 | let M := FrameMatrices.Construction.matrixOfFrame b₀.toBasis (fun i => (B i).val) hframe |
| 36 | have hMact (i : Fin n) : LatticeFrameAction.Construction.matrixFrameAction b₀.toBasis M (b i).val = (B i).val := by |
| 37 | rw [hb] |
| 38 | exact LatticeFrameAction.Construction.matrixFrameAction_ofFrame b₀.toBasis _ hframe i |
| 39 | have hMmap : Λ.map (ρ M).toLinearMap = Ω := |
| 40 | LatticeFrameAction.Construction.map_lattice_of_basis_images Λ Ω b B (LatticeFrameAction.Construction.matrixFrameAction b₀.toBasis M).toLinearMap hMact |
| 41 | have hgmap : Λ.map (ρ g).toLinearMap = Ω := by |
| 42 | ext y |
| 43 | constructor |
| 44 | · rintro ⟨x, hx, rfl⟩ |
| 45 | change e.symm (e x) ∈ Λ |
| 46 | rw [e.symm_apply_apply] |
| 47 | exact hx |
| 48 | · intro hy |
| 49 | exact ⟨e.symm y, hy, e.apply_symm_apply y⟩ |
| 50 | have hgcomp : (ρ g⁻¹).toLinearMap.comp (ρ g).toLinearMap = LinearMap.id := by |
| 51 | rw [map_inv] |
| 52 | ext x |
| 53 | exact (ρ g).symm_apply_apply x |
| 54 | have hinvmap : Ω.map (ρ g⁻¹).toLinearMap = Λ := by |
| 55 | rw [← hgmap, ← Submodule.map_comp, hgcomp, Submodule.map_id] |
| 56 | refine ⟨g⁻¹ * M, ?_, ?_⟩ |
| 57 | · change Λ.map (ρ (g⁻¹ * M)).toLinearMap = Λ |
| 58 | rw [map_mul] |
| 59 | change Λ.map ((ρ g⁻¹).toLinearMap.comp (ρ M).toLinearMap) = Λ |
| 60 | rw [Submodule.map_comp, hMmap, hinvmap] |
| 61 | · rw [← mul_assoc, mul_inv_cancel, one_mul] |
| 62 | exact d.isStandardSiegelMatrix b₀ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.ArithmeticGroups.Lattices.StandardSiegelRepresentatives.Construction |