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.Algebraic |
| 2 | import OAI.Geometry.ComplexBall.Generation |
| 3 | |
| 4 | /-! # Polynomial Curves -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexBall.PolynomialCurves.ArithmeticQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Closed geometric points and the finite-center criterion for semisimplicity. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.NumberTheory.ArithmeticGroups.Lattices.Algebraic |
| 16 | |
| 17 | variable {k : Type} [Field k] {n : ℕ} (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 18 | |
| 19 | lemma geometricPrime_injective : Function.Injective G.geometricPrime := by |
| 20 | intro g h he |
| 21 | apply Subtype.ext |
| 22 | apply Matrix.SpecialLinearGroup.ext |
| 23 | intro i j |
| 24 | have he' := congrArg PrimeSpectrum.asIdeal he |
| 25 | let p : NumberTheory.ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n (AlgebraicClosure k) := |
| 26 | MvPolynomial.X (i, j) - MvPolynomial.C (g.val i j) |
| 27 | have hp : p ∈ (G.geometricPrime g).asIdeal := by |
| 28 | change NumberTheory.ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id _) g.val p = 0 |
| 29 | simp [p, NumberTheory.ArithmeticGroups.Lattices.Algebraic.evaluateMatrix] |
| 30 | rw [he'] at hp |
| 31 | change NumberTheory.ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id _) h.val p = 0 at hp |
| 32 | have hh : h.val i j - g.val i j = 0 := by simpa [p, NumberTheory.ArithmeticGroups.Lattices.Algebraic.evaluateMatrix] using hp |
| 33 | exact (sub_eq_zero.mp hh).symm |
| 34 | |
| 35 | lemma geometricPrime_isClosed_singleton (g : G.GeometricPoints) : |
| 36 | IsClosed ({G.geometricPrime g} : Set _) := by |
| 37 | apply (PrimeSpectrum.isClosed_singleton_iff_isMaximal _).mpr |
| 38 | exact RingHom.ker_isMaximal_of_surjective _ (fun a => ⟨MvPolynomial.C a, by |
| 39 | simp [NumberTheory.ArithmeticGroups.Lattices.Algebraic.evaluateMatrix]⟩) |
| 40 | |
| 41 | instance geometricT1Space : @T1Space G.GeometricPoints G.geometricTopology := by |
| 42 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 43 | refine ⟨fun g => ?_⟩ |
| 44 | have he : {g} = G.geometricPrime ⁻¹' {G.geometricPrime g} := by |
| 45 | ext h |
| 46 | simp only [Set.mem_singleton_iff, Set.mem_preimage] |
| 47 | exact (geometricPrime_injective G).eq_iff.symm |
| 48 | rw [he] |
| 49 | exact (geometricPrime_isClosed_singleton G g).preimage continuous_induced_dom |
| 50 | |
| 51 | variable {K : Type*} [Field K] [CharZero K] |
| 52 | |
| 53 | instance sl3CenterFinite : Finite (Subgroup.center (ArithmeticQuotientEquationsData.SL K)) := by |
| 54 | let e := Matrix.SpecialLinearGroup.center_equiv_rootsOfUnity' (R := K) (0 : Fin 3) |
| 55 | exact Finite.of_injective e e.injective |
| 56 | |
| 57 | lemma finite_solvable_normal_of_sl3_equiv {H : Type*} [Group H] |
| 58 | (e : H ≃* ArithmeticQuotientEquationsData.SL K) (N : Subgroup H) (hN : N.Normal) (hsolv : Group.IsSolvable N) : |
| 59 | (N : Set H).Finite := by |
| 60 | let := hsolv |
| 61 | let f := N.equivMapOfInjective e.toMonoidHom e.injective |
| 62 | have hs : Group.IsSolvable (N.map e.toMonoidHom) := |
| 63 | Group.isSolvable_of_surjective (f := f.toMonoidHom) f.surjective |
| 64 | have hc := Generation.ArithmeticQuotient.sl3_solvable_normal_central (N.map e.toMonoidHom) |
| 65 | (hN.map e.toMonoidHom e.surjective) hs |
| 66 | let c : N → Subgroup.center (ArithmeticQuotientEquationsData.SL K) := fun x => |
| 67 | ⟨e x.val, hc ⟨x.val, x.property, rfl⟩⟩ |
| 68 | have hi : Function.Injective c := by |
| 69 | intro x y h |
| 70 | apply Subtype.ext |
| 71 | exact e.injective (congrArg Subtype.val h) |
| 72 | let : Finite N := Finite.of_injective c hi |
| 73 | exact Set.toFinite _ |
| 74 | |
| 75 | lemma connected_solvable_normal_eq_bot_of_sl3_equiv {H : Type*} [Group H] |
| 76 | [TopologicalSpace H] [T1Space H] (e : H ≃* ArithmeticQuotientEquationsData.SL K) |
| 77 | (N : Subgroup H) (hN : N.Normal) (hconn : IsConnected (N : Set H)) |
| 78 | (hsolv : Group.IsSolvable N) : N = ⊥ := by |
| 79 | have hf := finite_solvable_normal_of_sl3_equiv e N hN hsolv |
| 80 | have hsub := hconn.isPreconnected.isDiscrete_iff_subsingleton.mp hf.isDiscrete |
| 81 | apply bot_unique |
| 82 | intro x hx |
| 83 | exact Subgroup.mem_bot.mpr (hsub hx N.one_mem) |
| 84 | |
| 85 | lemma semisimple_of_geometric_sl3_equiv [CharZero k] |
| 86 | (e : G.GeometricPoints ≃* ArithmeticQuotientEquationsData.SL (AlgebraicClosure k)) : G.IsSemisimple := by |
| 87 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 88 | intro N hN _ hconn hsolv |
| 89 | exact connected_solvable_normal_eq_bot_of_sl3_equiv e N hN hconn hsolv |
| 90 | |
| 91 | end |
| 92 | |
| 93 | /-! Polynomial curves in the actual geometric matrix points are continuous |
| 94 | for the Zariski topology. Curves through the identity witness connectedness. -/ |
| 95 | |
| 96 | open scoped Classical _root_.Polynomial |
| 97 | open OAI.NumberTheory.ArithmeticGroups.Lattices.Algebraic |
| 98 | |
| 99 | variable {k : Type} [Field k] {n : ℕ} (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 100 | |
| 101 | lemma polynomial_zeroSet_isClosed (p : (AlgebraicClosure k)[X]) : |
| 102 | IsClosed {t : CofiniteTopology (AlgebraicClosure k) | |
| 103 | p.eval (CofiniteTopology.of.symm t) = 0} := by |
| 104 | rw [CofiniteTopology.isClosed_iff] |
| 105 | by_cases hp : p = 0 |
| 106 | · left |
| 107 | simp [hp] |
| 108 | · right |
| 109 | exact (Polynomial.finite_setOfPred_isRoot hp).preimage |
| 110 | CofiniteTopology.of.symm.injective.injOn |
| 111 | |
| 112 | lemma polynomial_geometricPrime_continuous (γ : AlgebraicClosure k → G.GeometricPoints) |
| 113 | (P : Matrix (Fin n) (Fin n) (AlgebraicClosure k)[X]) |
| 114 | (hP : ∀ t i j, (γ t).val i j = (P i j).eval t) : |
| 115 | Continuous (fun t : CofiniteTopology (AlgebraicClosure k) => |
| 116 | G.geometricPrime (γ (CofiniteTopology.of.symm t))) := by |
| 117 | rw [continuous_iff_isClosed] |
| 118 | intro Z hZ |
| 119 | obtain ⟨s, rfl⟩ := (PrimeSpectrum.isClosed_iff_zeroLocus Z).mp hZ |
| 120 | have he : (fun t : CofiniteTopology (AlgebraicClosure k) => |
| 121 | G.geometricPrime (γ (CofiniteTopology.of.symm t))) ⁻¹' PrimeSpectrum.zeroLocus s = |
| 122 | ⋂ p ∈ s, {t | (MvPolynomial.eval₂Hom Polynomial.C |
| 123 | (fun ij => P ij.1 ij.2) p).eval (CofiniteTopology.of.symm t) = 0} := by |
| 124 | ext t |
| 125 | simp only [Set.mem_preimage, PrimeSpectrum.mem_zeroLocus, Set.mem_iInter, |
| 126 | Set.mem_ofPred_eq] |
| 127 | apply forall_congr' |
| 128 | intro p |
| 129 | apply imp_congr_right |
| 130 | intro _ |
| 131 | change NumberTheory.ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id _) (γ _).val p = 0 ↔ _ |
| 132 | have hm := MvPolynomial.map_eval₂Hom |
| 133 | Polynomial.C (fun ij : Fin n × Fin n => P ij.1 ij.2) |
| 134 | (Polynomial.evalRingHom (CofiniteTopology.of.symm t)) p |
| 135 | have hc : (Polynomial.evalRingHom (CofiniteTopology.of.symm t)).comp Polynomial.C = |
| 136 | RingHom.id (AlgebraicClosure k) := by ext a; simp |
| 137 | rw [hc] at hm |
| 138 | simpa only [NumberTheory.ArithmeticGroups.Lattices.Algebraic.evaluateMatrix, hP, Polynomial.coe_evalRingHom] using Iff.of_eq (congrArg (fun x => x = 0) hm.symm) |
| 139 | rw [he] |
| 140 | exact isClosed_biInter fun p _ => polynomial_zeroSet_isClosed _ |
| 141 | |
| 142 | lemma polynomial_curve_continuous (γ : AlgebraicClosure k → G.GeometricPoints) |
| 143 | (P : Matrix (Fin n) (Fin n) (AlgebraicClosure k)[X]) |
| 144 | (hP : ∀ t i j, (γ t).val i j = (P i j).eval t) : |
| 145 | @Continuous (CofiniteTopology (AlgebraicClosure k)) G.GeometricPoints |
| 146 | inferInstance G.geometricTopology (fun t => γ (CofiniteTopology.of.symm t)) := by |
| 147 | rw [continuous_induced_rng] |
| 148 | exact polynomial_geometricPrime_continuous G γ P hP |
| 149 | |
| 150 | lemma polynomial_curve_mem_connectedComponent [CharZero k] |
| 151 | (γ : AlgebraicClosure k → G.GeometricPoints) |
| 152 | (P : Matrix (Fin n) (Fin n) (AlgebraicClosure k)[X]) |
| 153 | (hP : ∀ t i j, (γ t).val i j = (P i j).eval t) (h0 : γ 0 = 1) (t : AlgebraicClosure k) : |
| 154 | letI : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 155 | γ t ∈ connectedComponent (1 : G.GeometricPoints) := by |
| 156 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 157 | have hc := isPreconnected_range (polynomial_curve_continuous G γ P hP) |
| 158 | apply hc.subset_connectedComponent |
| 159 | · exact ⟨CofiniteTopology.of 0, h0⟩ |
| 160 | · exact ⟨CofiniteTopology.of t, rfl⟩ |
| 161 | |
| 162 | lemma geometricallyConnected_of_polynomial_curves [CharZero k] |
| 163 | (h : ∀ g : G.GeometricPoints, ∃ (γ : AlgebraicClosure k → G.GeometricPoints) |
| 164 | (P : Matrix (Fin n) (Fin n) (AlgebraicClosure k)[X]), |
| 165 | (∀ t i j, (γ t).val i j = (P i j).eval t) ∧ γ 0 = 1 ∧ γ 1 = g) : |
| 166 | G.IsGeometricallyConnected := by |
| 167 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 168 | apply connectedSpace_iff_univ.mpr |
| 169 | have he : connectedComponent (1 : G.GeometricPoints) = Set.univ := by |
| 170 | apply Set.eq_univ_of_forall |
| 171 | intro g |
| 172 | obtain ⟨γ, P, hP, h0, h1⟩ := h g |
| 173 | rw [← h1] |
| 174 | exact polynomial_curve_mem_connectedComponent G γ P hP h0 1 |
| 175 | rw [← he] |
| 176 | exact isConnected_connectedComponent |
| 177 | |
| 178 | end |
| 179 | |
| 180 | end OAI.Geometry.ComplexBall.PolynomialCurves.ArithmeticQuotient |