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.CoordinateQuotientBaseChange |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.TensorDomainSpecialization |
| 3 | |
| 4 | /-! # Connected Base Change -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ConnectedBaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The coordinate algebra of a geometrically connected characteristic |
| 13 | zero matrix group is geometrically integral over every extension field. -/ |
| 14 | |
| 15 | open scoped Classical TensorProduct |
| 16 | open Set |
| 17 | |
| 18 | theorem geometricVanishingIdeal_eq_baseChange_ideal |
| 19 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 20 | GeometricIrreducibility.Construction.geometricVanishingIdeal G = |
| 21 | VanishingIdeal.Construction.coordinateVanishingIdeal (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k (AlgebraicClosure k))) := by |
| 22 | ext p |
| 23 | rw [BaseChange.Construction.mem_vanishingIdeal_iff_rational_of_algClosed] |
| 24 | simp only [GeometricIrreducibility.Construction.geometricVanishingIdeal, PrimeSpectrum.mem_vanishingIdeal, forall_mem_range] |
| 25 | rfl |
| 26 | |
| 27 | theorem connected_coordinate_algebra_geometric_domain |
| 28 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 29 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 30 | IsDomain (AlgebraicClosure k ⊗[k] (Algebraic.CoordinatePolynomial n k ⧸ VanishingIdeal.Construction.coordinateVanishingIdeal G)) := by |
| 31 | let I := VanishingIdeal.Construction.coordinateVanishingIdeal G |
| 32 | have hI : (I.map (MvPolynomial.map (algebraMap k (AlgebraicClosure k)))).IsPrime := by |
| 33 | rw [← SeparableCoordinateIdeal.Construction.vanishingIdeal_algebraicClosure_baseChange G hG, |
| 34 | ← geometricVanishingIdeal_eq_baseChange_ideal] |
| 35 | exact GeometricIrreducibility.Construction.geometricVanishingIdeal_isPrime G hG |
| 36 | let : (I.map (MvPolynomial.map (algebraMap k (AlgebraicClosure k)))).IsPrime := hI |
| 37 | exact (CoordinateQuotientBaseChange.Construction.polynomialQuotientBaseChangeEquiv (K := AlgebraicClosure k) I).toMulEquiv.isDomain |
| 38 | |
| 39 | theorem connected_coordinate_algebra_baseChange_domain |
| 40 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 41 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 42 | IsDomain (K ⊗[k] (Algebraic.CoordinatePolynomial n k ⧸ VanishingIdeal.Construction.coordinateVanishingIdeal G)) := by |
| 43 | let : IsDomain (AlgebraicClosure k ⊗[k] (Algebraic.CoordinatePolynomial n k ⧸ VanishingIdeal.Construction.coordinateVanishingIdeal G)) := |
| 44 | connected_coordinate_algebra_geometric_domain G hG |
| 45 | exact TensorDomainSpecialization.Construction.field_tensor_domain_of_algClosure k K _ |
| 46 | |
| 47 | theorem connected_coordinate_ideal_baseChange_prime |
| 48 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 49 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 50 | ((VanishingIdeal.Construction.coordinateVanishingIdeal G).map (MvPolynomial.map (algebraMap k K))).IsPrime := by |
| 51 | let : IsDomain (K ⊗[k] (Algebraic.CoordinatePolynomial n k ⧸ VanishingIdeal.Construction.coordinateVanishingIdeal G)) := |
| 52 | connected_coordinate_algebra_baseChange_domain G hG |
| 53 | apply (Ideal.Quotient.isDomain_iff_prime _).mp |
| 54 | exact MulEquiv.isDomain (K ⊗[k] (Algebraic.CoordinatePolynomial n k ⧸ VanishingIdeal.Construction.coordinateVanishingIdeal G)) |
| 55 | (CoordinateQuotientBaseChange.Construction.polynomialQuotientBaseChangeEquiv (K := K) (VanishingIdeal.Construction.coordinateVanishingIdeal G)).symm.toMulEquiv |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! Geometric connectedness is preserved by arbitrary field extension |
| 60 | for the characteristic-zero matrix groups in Lattices. -/ |
| 61 | |
| 62 | open scoped Classical |
| 63 | open Set _root_.TopologicalSpace _root_.Topology |
| 64 | |
| 65 | theorem irreducible_of_inducing_range |
| 66 | {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] {f : X → Y} |
| 67 | (hf : IsInducing f) (hr : IsIrreducible (range f)) : IrreducibleSpace X := by |
| 68 | have hne : Nonempty X := by |
| 69 | obtain ⟨_, x, _⟩ := hr.nonempty |
| 70 | exact ⟨x⟩ |
| 71 | let : Nonempty X := hne |
| 72 | have hp : IsPreirreducible (univ : Set X) := by |
| 73 | intro U V hU hV hUn hVn |
| 74 | obtain ⟨U', hU', rfl⟩ := hf.isOpen_iff.mp hU |
| 75 | obtain ⟨V', hV', rfl⟩ := hf.isOpen_iff.mp hV |
| 76 | obtain ⟨x, _, hx⟩ := hUn |
| 77 | obtain ⟨y, _, hy⟩ := hVn |
| 78 | obtain ⟨z, ⟨a, rfl⟩, hzU, hzV⟩ := hr.isPreirreducible U' V' hU' hV' |
| 79 | ⟨f x, mem_range_self x, hx⟩ ⟨f y, mem_range_self y, hy⟩ |
| 80 | exact ⟨a, mem_univ a, hzU, hzV⟩ |
| 81 | exact { isPreirreducible_univ := hp, toNonempty := hne } |
| 82 | |
| 83 | theorem connected_of_geometricVanishingIdeal_prime |
| 84 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) |
| 85 | (hI : (GeometricIrreducibility.Construction.geometricVanishingIdeal G).IsPrime) : G.IsGeometricallyConnected := by |
| 86 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 87 | have hr : IsIrreducible (range G.geometricPrime) := |
| 88 | PrimeSpectrum.isIrreducible_iff_vanishingIdeal_isPrime.mpr hI |
| 89 | let : IrreducibleSpace G.GeometricPoints := irreducible_of_inducing_range ⟨rfl⟩ hr |
| 90 | change ConnectedSpace G.GeometricPoints |
| 91 | infer_instance |
| 92 | |
| 93 | theorem matrixGroupBaseChange_trans |
| 94 | {k K L : Type} [Field k] [Field K] [Field L] {n : ℕ} |
| 95 | (G : Algebraic.MatrixAlgebraicGroup k n) (ι : k →+* K) (ρ : K →+* L) : |
| 96 | BaseChange.Construction.matrixGroupBaseChange (BaseChange.Construction.matrixGroupBaseChange G ι) ρ = BaseChange.Construction.matrixGroupBaseChange G (ρ.comp ι) := by |
| 97 | unfold BaseChange.Construction.matrixGroupBaseChange |
| 98 | congr 1 |
| 99 | rw [image_image] |
| 100 | congr 1 |
| 101 | funext p |
| 102 | exact MvPolynomial.map_map ι ρ p |
| 103 | |
| 104 | theorem geometrically_connected_baseChange |
| 105 | {k K : Type} [Field k] [CharZero k] [Field K] [Algebra k K] {n : ℕ} |
| 106 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 107 | (BaseChange.Construction.matrixGroupBaseChange G (algebraMap k K)).IsGeometricallyConnected := by |
| 108 | apply connected_of_geometricVanishingIdeal_prime |
| 109 | rw [geometricVanishingIdeal_eq_baseChange_ideal, matrixGroupBaseChange_trans, |
| 110 | ← IsScalarTower.algebraMap_eq k K (AlgebraicClosure K), GeneralVanishingBaseChange.Construction.vanishingIdeal_charZero_baseChange G hG] |
| 111 | exact connected_coordinate_ideal_baseChange_prime G hG |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ConnectedBaseChange.Construction |