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.Zariski |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.SeparateClosure |
| 3 | |
| 4 | /-! # Zariski Commutator -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ZariskiCommutator.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Commutator maps in the specified geometric topology and solvable |
| 11 | subgroup closure. -/ |
| 12 | |
| 13 | open scoped Classical commutatorElement |
| 14 | open Set _root_.MvPolynomial _root_.Topology |
| 15 | |
| 16 | variable {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) |
| 17 | |
| 18 | local instance commutatorGeometricTopology : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 19 | |
| 20 | theorem geometric_singleton_closed (g : G.GeometricPoints) : IsClosed ({g} : Set G.GeometricPoints) := by |
| 21 | have he : ({g} : Set G.GeometricPoints) = |
| 22 | ⋂ i, ⋂ j, {x : G.GeometricPoints | |
| 23 | Algebraic.evaluateMatrix (RingHom.id _) x.val (X (i, j) - C (g.val i j)) = 0} := by |
| 24 | ext x |
| 25 | simp only [mem_singleton_iff, mem_iInter, mem_ofPred_eq] |
| 26 | constructor |
| 27 | · rintro rfl i j |
| 28 | simp [Algebraic.evaluateMatrix] |
| 29 | · intro h |
| 30 | apply Subtype.ext |
| 31 | apply Matrix.SpecialLinearGroup.ext |
| 32 | intro i j |
| 33 | simpa [Algebraic.evaluateMatrix, sub_eq_zero] using h i j |
| 34 | rw [he] |
| 35 | exact isClosed_iInter fun i => isClosed_iInter fun j => Zariski.Construction.geometric_polynomial_zero_closed G _ |
| 36 | |
| 37 | theorem geometric_commutator_left_continuous (g : G.GeometricPoints) : |
| 38 | Continuous (fun x : G.GeometricPoints => ⁅x, g⁆) := by |
| 39 | let Mg : Matrix (Fin n) (Fin n) (AlgebraicClosure k) := g.val |
| 40 | let Mgi : Matrix (Fin n) (Fin n) (AlgebraicClosure k) := (g⁻¹).val |
| 41 | let Xmat : Matrix (Fin n) (Fin n) (Algebraic.CoordinatePolynomial n (AlgebraicClosure k)) := |
| 42 | fun i j => X (i, j) |
| 43 | let Cg : Matrix (Fin n) (Fin n) (Algebraic.CoordinatePolynomial n (AlgebraicClosure k)) := |
| 44 | MvPolynomial.C.mapMatrix Mg |
| 45 | let Cgi : Matrix (Fin n) (Fin n) (Algebraic.CoordinatePolynomial n (AlgebraicClosure k)) := |
| 46 | MvPolynomial.C.mapMatrix Mgi |
| 47 | let P := Xmat * Cg * Xmat.adjugate * Cgi |
| 48 | apply Zariski.Construction.geometric_polynomial_map_continuous G _ (fun ij => P ij.1 ij.2) |
| 49 | intro x i j |
| 50 | let Mx : Matrix (Fin n) (Fin n) (AlgebraicClosure k) := x.val |
| 51 | let e := Algebraic.evaluateMatrix (RingHom.id (AlgebraicClosure k)) x.val |
| 52 | have hX : e.mapMatrix Xmat = Mx := by |
| 53 | ext a b |
| 54 | change e (X (a, b)) = x.val a b |
| 55 | simp [e, Algebraic.evaluateMatrix] |
| 56 | have hC (M : Matrix (Fin n) (Fin n) (AlgebraicClosure k)) : |
| 57 | e.mapMatrix (MvPolynomial.C.mapMatrix M) = M := by |
| 58 | ext a b |
| 59 | simp [e, Algebraic.evaluateMatrix] |
| 60 | have hP : e.mapMatrix P = Mx * Mg * Mx.adjugate * Mgi := by |
| 61 | change e.mapMatrix (Xmat * Cg * Xmat.adjugate * Cgi) = _ |
| 62 | rw [map_mul, map_mul, map_mul, hX, hC, e.map_adjugate, hX, hC] |
| 63 | have heval := congrArg (fun M : Matrix (Fin n) (Fin n) (AlgebraicClosure k) => M i j) hP |
| 64 | change (Mx * Mg * Mx.adjugate * Mgi) i j = e (P i j) |
| 65 | exact heval.symm |
| 66 | |
| 67 | theorem geometric_commutator_right_continuous (g : G.GeometricPoints) : |
| 68 | Continuous (fun x : G.GeometricPoints => ⁅g, x⁆) := by |
| 69 | have h := (Zariski.Construction.geometric_inv_continuous G).comp (geometric_commutator_left_continuous G g) |
| 70 | have he : (fun x : G.GeometricPoints => ⁅g, x⁆) = Inv.inv ∘ (fun x => ⁅x, g⁆) := by |
| 71 | funext x |
| 72 | simp only [Function.comp_apply, commutatorElement_inv] |
| 73 | rw [he] |
| 74 | exact h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ZariskiCommutator.Construction |