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.Archimedean.Quotient |
| 2 | |
| 3 | /-! # Integral Action -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.IntegralAction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The diagonal standard integral coordinate module is a full real |
| 12 | lattice in Minkowski space. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 16 | |
| 17 | theorem full_integer_module_pi |
| 18 | {E I : Type} [AddCommGroup E] [Module ℝ E] [Fintype I] |
| 19 | (L : Submodule ℤ E) (hL : Submodule.span ℝ (L : Set E) = ⊤) : |
| 20 | Submodule.span ℝ (Submodule.pi Set.univ (fun _ : I => L) : Set (I → E)) = ⊤ := by |
| 21 | let M := Submodule.span ℝ (Submodule.pi Set.univ (fun _ : I => L) : Set (I → E)) |
| 22 | have hi (i : I) : ∀ x : E, Pi.single i x ∈ M := by |
| 23 | have he : Submodule.span ℝ (L : Set E) ≤ |
| 24 | M.comap (LinearMap.single ℝ (fun _ : I => E) i) := by |
| 25 | apply Submodule.span_le.mpr |
| 26 | intro x hx |
| 27 | apply Submodule.subset_span |
| 28 | exact Submodule.le_comap_single_pi (fun _ : I => L) hx |
| 29 | rw [hL] at he |
| 30 | exact fun x => he (Submodule.mem_top : x ∈ (⊤ : Submodule ℝ E)) |
| 31 | apply top_unique |
| 32 | intro x _ |
| 33 | rw [← Finset.univ_sum_single x] |
| 34 | exact Submodule.sum_mem M (fun i _ => hi i (x i)) |
| 35 | |
| 36 | theorem standard_vectorLatticeImage_eq_pi |
| 37 | (k : Type) [Field k] [NumberField k] (n : ℕ) : |
| 38 | IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module = |
| 39 | Submodule.pi Set.univ (fun _ : Fin n => mixedEmbedding.integerLattice k) := by |
| 40 | ext x |
| 41 | constructor |
| 42 | · rintro ⟨a, ha, rfl⟩ i _ |
| 43 | have ha' : a ∈ Integral.Matrices.Construction.integralCoordinateLattice (R := 𝓞 k) n := |
| 44 | (Integral.Matrices.Construction.integralCoordinateLattice_eq_span (R := 𝓞 k) (k := k) n).symm ▸ ha |
| 45 | obtain ⟨b, hb⟩ := (Integral.Matrices.Construction.mem_integralCoordinateLattice a).mp ha' i |
| 46 | refine ⟨b, ?_⟩ |
| 47 | change mixedEmbedding k (b : k) = mixedEmbedding k (a i) |
| 48 | exact congrArg (mixedEmbedding k) hb |
| 49 | · intro hx |
| 50 | have hi (i : Fin n) : ∃ a : 𝓞 k, mixedEmbedding k (a : k) = x i := hx i trivial |
| 51 | choose a ha using hi |
| 52 | refine ⟨fun i => (a i : k), ?_, ?_⟩ |
| 53 | · change (fun i => (a i : k)) ∈ Submodule.span (𝓞 k) (Set.range (Pi.basisFun k (Fin n))) |
| 54 | rw [← Integral.Matrices.Construction.integralCoordinateLattice_eq_span] |
| 55 | exact (Integral.Matrices.Construction.mem_integralCoordinateLattice _).mpr (fun i => ⟨a i, rfl⟩) |
| 56 | · exact funext ha |
| 57 | |
| 58 | theorem standard_vectorLatticeImage_full |
| 59 | (k : Type) [Field k] [NumberField k] (n : ℕ) : |
| 60 | Submodule.span ℝ (IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module : |
| 61 | Set (Fin n → mixedSpace k)) = ⊤ := by |
| 62 | rw [standard_vectorLatticeImage_eq_pi] |
| 63 | exact full_integer_module_pi _ (IsZLattice.span_top (K := ℝ) (L := mixedEmbedding.integerLattice k)) |
| 64 | |
| 65 | theorem standard_vectorLatticeImage_isZLattice |
| 66 | (k : Type) [Field k] [NumberField k] (n : ℕ) : |
| 67 | let : DiscreteTopology (IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module) := |
| 68 | IntegralLattice.Construction.vectorLatticeImage_discrete _ (IntegralLattice.FullLattice.standard k n).finite |
| 69 | IsZLattice ℝ (IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module) := by |
| 70 | let : DiscreteTopology (IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module) := |
| 71 | IntegralLattice.Construction.vectorLatticeImage_discrete _ (IntegralLattice.FullLattice.standard k n).finite |
| 72 | exact ⟨standard_vectorLatticeImage_full k n⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! The real Minkowski action agrees with the rational matrix action, |
| 77 | and integral archimedean matrices preserve the standard real lattice. -/ |
| 78 | |
| 79 | open scoped Classical _root_.NumberField |
| 80 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 81 | |
| 82 | theorem archimedeanMixedSL_diagonal |
| 83 | {k : Type} [Field k] {n : ℕ} (g : Algebraic.SL n k) : |
| 84 | Archimedean.Quotient.Construction.archimedeanMixedSL k n (Archimedean.ExteriorAction.Construction.fullArchimedeanSLMap k n g) = |
| 85 | Matrix.SpecialLinearGroup.map (mixedEmbedding k) g := by |
| 86 | apply Matrix.SpecialLinearGroup.ext |
| 87 | intro i j |
| 88 | exact (InfiniteAdeleRing.mixedEmbedding_eq_algebraMap_comp (K := k) (x := g i j)).symm |
| 89 | |
| 90 | theorem archimedeanRealRepresentation_diagonal |
| 91 | {k : Type} [Field k] {n : ℕ} (g : Algebraic.SL n k) (x : Fin n → k) : |
| 92 | Archimedean.Quotient.Construction.archimedeanRealRepresentation k n (Archimedean.ExteriorAction.Construction.fullArchimedeanSLMap k n g) |
| 93 | (IntegralLattice.Construction.vectorMixedEmbedding (k := k) n x) = |
| 94 | IntegralLattice.Construction.vectorMixedEmbedding (k := k) n (Matrix.SpecialLinearGroup.toLin' g x) := by |
| 95 | change Matrix.SpecialLinearGroup.toLin' |
| 96 | (Archimedean.Quotient.Construction.archimedeanMixedSL k n (Archimedean.ExteriorAction.Construction.fullArchimedeanSLMap k n g)) (IntegralLattice.Construction.vectorMixedEmbedding (k := k) n x) = _ |
| 97 | rw [archimedeanMixedSL_diagonal] |
| 98 | funext i |
| 99 | change (∑ j, mixedEmbedding k (g i j) * mixedEmbedding k (x j)) = |
| 100 | mixedEmbedding k (∑ j, g i j * x j) |
| 101 | simp only [map_sum, map_mul] |
| 102 | |
| 103 | theorem integral_archimedean_preserves_minkowski |
| 104 | {k : Type} [Field k] [NumberField k] {n : ℕ} {g : Archimedean.ExteriorAction.Construction.FullArchimedeanSL k n} |
| 105 | (hg : g ∈ Archimedean.ExteriorAction.Construction.fullArchimedeanIntegralSL k n) {x : Fin n → mixedSpace k} |
| 106 | (hx : x ∈ IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module) : |
| 107 | Archimedean.Quotient.Construction.archimedeanRealRepresentation k n g x ∈ IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module := by |
| 108 | obtain ⟨A, rfl⟩ := hg |
| 109 | obtain ⟨a, ha, rfl⟩ := hx |
| 110 | let q := Matrix.SpecialLinearGroup.map (algebraMap (𝓞 k) k) A |
| 111 | refine ⟨Matrix.SpecialLinearGroup.toLin' q a, ?_, (archimedeanRealRepresentation_diagonal q a).symm⟩ |
| 112 | have he : (IntegralLattice.FullLattice.standard k n).module = Integral.Matrices.Construction.integralCoordinateLattice (R := 𝓞 k) n := |
| 113 | (Integral.Matrices.Construction.integralCoordinateLattice_eq_span (R := 𝓞 k) (k := k) n).symm |
| 114 | rw [he] at ha ⊢ |
| 115 | exact Integral.Matrices.Construction.specialLinear_integralCoordinateLattice_mem A ha |
| 116 | |
| 117 | theorem integral_archimedean_preserves_minkowski_iff |
| 118 | {k : Type} [Field k] [NumberField k] {n : ℕ} {g : Archimedean.ExteriorAction.Construction.FullArchimedeanSL k n} |
| 119 | (hg : g ∈ Archimedean.ExteriorAction.Construction.fullArchimedeanIntegralSL k n) (x : Fin n → mixedSpace k) : |
| 120 | Archimedean.Quotient.Construction.archimedeanRealRepresentation k n g x ∈ IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module ↔ |
| 121 | x ∈ IntegralLattice.Construction.vectorLatticeImage (IntegralLattice.FullLattice.standard k n).module := by |
| 122 | constructor |
| 123 | · intro hx |
| 124 | have hi := integral_archimedean_preserves_minkowski ((Archimedean.ExteriorAction.Construction.fullArchimedeanIntegralSL k n).inv_mem hg) hx |
| 125 | have he : Archimedean.Quotient.Construction.archimedeanRealRepresentation k n g⁻¹ (Archimedean.Quotient.Construction.archimedeanRealRepresentation k n g x) = x := by |
| 126 | rw [← LinearEquiv.mul_apply, ← map_mul, inv_mul_cancel, map_one] |
| 127 | rfl |
| 128 | exact he ▸ hi |
| 129 | · exact integral_archimedean_preserves_minkowski hg |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.IntegralAction.Construction |