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.Quaternion.Arithmetic.PolynomialAdditiveCurves |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.GeometricIrreducibility |
| 3 | |
| 4 | /-! # Geometric Curve Generation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.GeometricCurveGeneration |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Polynomial curves have irreducible images in the specified geometric |
| 13 | Zariski topology. This uses the cofinite topology on the affine line. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open OAI.NumberTheory.ArithmeticGroups.Lattices.GeometricIrreducibility.Construction Set |
| 17 | |
| 18 | variable {K : Type} [Field K] |
| 19 | |
| 20 | def cofinitePolynomialPrime (t : CofiniteTopology K) : PrimeSpectrum (Polynomial K) := |
| 21 | ⟨RingHom.ker (Polynomial.evalRingHom (CofiniteTopology.of.symm t)), RingHom.ker_isPrime _⟩ |
| 22 | |
| 23 | theorem cofinite_polynomial_zero_closed (p : Polynomial K) : |
| 24 | IsClosed {t : CofiniteTopology K | p.eval (CofiniteTopology.of.symm t) = 0} := by |
| 25 | apply CofiniteTopology.isClosed_iff.mpr |
| 26 | by_cases hp : p = 0 |
| 27 | · left |
| 28 | simp [hp] |
| 29 | · right |
| 30 | exact (p.finite_setOfPred_isRoot hp).preimage CofiniteTopology.of.symm.injective.injOn |
| 31 | |
| 32 | theorem continuous_cofinitePolynomialPrime : Continuous (cofinitePolynomialPrime (K := K)) := by |
| 33 | apply continuous_iff_isClosed.mpr |
| 34 | intro Z hZ |
| 35 | obtain ⟨s, rfl⟩ := (PrimeSpectrum.isClosed_iff_zeroLocus Z).mp hZ |
| 36 | have he : cofinitePolynomialPrime ⁻¹' PrimeSpectrum.zeroLocus s = |
| 37 | ⋂ p ∈ s, {t : CofiniteTopology K | p.eval (CofiniteTopology.of.symm t) = 0} := by |
| 38 | ext t |
| 39 | simp [PrimeSpectrum.mem_zeroLocus, cofinitePolynomialPrime, Set.subset_def] |
| 40 | rw [he] |
| 41 | exact isClosed_biInter fun p _ => cofinite_polynomial_zero_closed p |
| 42 | |
| 43 | variable {F : Type} [Field F] {n : ℕ} (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 44 | |
| 45 | theorem geometric_polynomial_curve_continuous |
| 46 | (c : AlgebraicClosure F → G.GeometricPoints) |
| 47 | (P : Matrix (Fin n) (Fin n) (Polynomial (AlgebraicClosure F))) |
| 48 | (hP : ∀ t i j, (c t).val i j = (P i j).eval t) : |
| 49 | @Continuous (CofiniteTopology (AlgebraicClosure F)) G.GeometricPoints |
| 50 | inferInstance G.geometricTopology (fun t => c (CofiniteTopology.of.symm t)) := by |
| 51 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 52 | let e := MvPolynomial.eval₂Hom Polynomial.C (fun ij : Fin n × Fin n => P ij.1 ij.2) |
| 53 | have heval (t : AlgebraicClosure F) (p : ArithmeticGroups.Lattices.Algebraic.CoordinatePolynomial n (AlgebraicClosure F)) : |
| 54 | ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id _) (c t).val p = (Polynomial.evalRingHom t) (e p) := by |
| 55 | induction p using MvPolynomial.induction_on with |
| 56 | | C a => simp [ArithmeticGroups.Lattices.Algebraic.evaluateMatrix, e] |
| 57 | | add p q hp hq => simp only [map_add, hp, hq] |
| 58 | | mul_X p ij hp => |
| 59 | simp only [map_mul, hp] |
| 60 | congr 1 |
| 61 | simpa [ArithmeticGroups.Lattices.Algebraic.evaluateMatrix, e] using hP t ij.1 ij.2 |
| 62 | have he : G.geometricPrime ∘ (fun t => c (CofiniteTopology.of.symm t)) = |
| 63 | PrimeSpectrum.comap e ∘ cofinitePolynomialPrime := by |
| 64 | funext t |
| 65 | apply PrimeSpectrum.ext |
| 66 | ext p |
| 67 | change ArithmeticGroups.Lattices.Algebraic.evaluateMatrix (RingHom.id _) (c (CofiniteTopology.of.symm t)).val p = 0 ↔ |
| 68 | (Polynomial.evalRingHom (CofiniteTopology.of.symm t)) (e p) = 0 |
| 69 | rw [heval] |
| 70 | apply continuous_induced_rng.mpr |
| 71 | change Continuous (G.geometricPrime ∘ (fun t => c (CofiniteTopology.of.symm t))) |
| 72 | rw [he] |
| 73 | exact (PrimeSpectrum.continuous_comap e).comp continuous_cofinitePolynomialPrime |
| 74 | |
| 75 | theorem geometric_polynomial_curve_irreducible [Infinite (AlgebraicClosure F)] |
| 76 | (c : AlgebraicClosure F → G.GeometricPoints) |
| 77 | (P : Matrix (Fin n) (Fin n) (Polynomial (AlgebraicClosure F))) |
| 78 | (hP : ∀ t i j, (c t).val i j = (P i j).eval t) : |
| 79 | @IsIrreducible G.GeometricPoints G.geometricTopology (Set.range c) := by |
| 80 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 81 | have hi := (IrreducibleSpace.isIrreducible_univ (CofiniteTopology (AlgebraicClosure F))).image |
| 82 | (fun t => c (CofiniteTopology.of.symm t)) |
| 83 | (geometric_polynomial_curve_continuous G c P hP).continuousOn |
| 84 | have he : Set.range (fun t => c (CofiniteTopology.of.symm t)) = Set.range c := by |
| 85 | ext g |
| 86 | constructor |
| 87 | · rintro ⟨t, rfl⟩ |
| 88 | exact ⟨CofiniteTopology.of.symm t, rfl⟩ |
| 89 | · rintro ⟨t, rfl⟩ |
| 90 | exact ⟨CofiniteTopology.of t, rfl⟩ |
| 91 | simpa only [Set.image_univ, he] using hi |
| 92 | |
| 93 | end |
| 94 | |
| 95 | /-! Generation by additive polynomial curves over the algebraic closure |
| 96 | implies geometric connectedness. -/ |
| 97 | |
| 98 | open scoped Classical |
| 99 | open OAI.NumberTheory.ArithmeticGroups.Lattices.GeometricIrreducibility.Construction Set |
| 100 | |
| 101 | variable {F : Type} [Field F] {n : ℕ} (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 102 | |
| 103 | def geometricAdditiveCurveElements : Set G.GeometricPoints := |
| 104 | {g | ∃ (u : Multiplicative (AlgebraicClosure F) →* G.GeometricPoints) |
| 105 | (P : Matrix (Fin n) (Fin n) (Polynomial (AlgebraicClosure F))), |
| 106 | (∀ t i j, (u (Multiplicative.ofAdd t)).val i j = (P i j).eval t) ∧ |
| 107 | ∃ t, u (Multiplicative.ofAdd t) = g} |
| 108 | |
| 109 | theorem geometric_connected_of_additive_curve_generation [Infinite (AlgebraicClosure F)] |
| 110 | (hgen : Subgroup.closure (geometricAdditiveCurveElements G) = ⊤) : |
| 111 | G.IsGeometricallyConnected := by |
| 112 | let : TopologicalSpace G.GeometricPoints := G.geometricTopology |
| 113 | let : SeparatelyContinuousMul G.GeometricPoints := { |
| 114 | continuous_const_mul := fun {g} => ArithmeticGroups.Lattices.Zariski.Construction.geometric_left_mul_continuous G g |
| 115 | continuous_mul_const := fun {g} => ArithmeticGroups.Lattices.Zariski.Construction.geometric_right_mul_continuous G g } |
| 116 | let : ContinuousInv G.GeometricPoints := ⟨ArithmeticGroups.Lattices.Zariski.Construction.geometric_inv_continuous G⟩ |
| 117 | let C := ArithmeticGroups.Lattices.IrreducibleGroup.Construction.irreducibleIdentitySubgroup G.GeometricPoints |
| 118 | have hle : Subgroup.closure (geometricAdditiveCurveElements G) ≤ C := by |
| 119 | apply (Subgroup.closure_le C).mpr |
| 120 | rintro g ⟨u, P, hP, t, rfl⟩ |
| 121 | apply ArithmeticGroups.Lattices.IrreducibleGroup.Construction.irreducible_subset_identityComponent |
| 122 | (geometric_polynomial_curve_irreducible G (fun t => u (Multiplicative.ofAdd t)) P hP) |
| 123 | (show (1 : G.GeometricPoints) ∈ Set.range (fun t => u (Multiplicative.ofAdd t)) from |
| 124 | ⟨0, map_one u⟩) |
| 125 | exact Set.mem_range_self t |
| 126 | rw [hgen] at hle |
| 127 | have hC : C = ⊤ := top_unique hle |
| 128 | have he : irreducibleComponent (1 : G.GeometricPoints) = Set.univ := |
| 129 | congrArg (fun N : Subgroup G.GeometricPoints => (N : Set G.GeometricPoints)) hC |
| 130 | have hi : IsIrreducible (Set.univ : Set G.GeometricPoints) := by |
| 131 | rw [← he] |
| 132 | exact isIrreducible_irreducibleComponent |
| 133 | let : IrreducibleSpace G.GeometricPoints := (irreducibleSpace_def G.GeometricPoints).mpr hi |
| 134 | exact inferInstanceAs (ConnectedSpace G.GeometricPoints) |
| 135 | |
| 136 | theorem geometric_unipotent_mem_additive_curve_elements [CharZero F] |
| 137 | (g : G.GeometricPoints) |
| 138 | (hg : IsNilpotent (PolynomialGaloisNorm.matrixPointsHom G (algebraMap F (AlgebraicClosure F)) g - 1)) : |
| 139 | g ∈ geometricAdditiveCurveElements G := by |
| 140 | obtain ⟨P, hP⟩ := PolynomialMatrixCurves.unipotent_has_polynomial_powers |
| 141 | (PolynomialGaloisNorm.matrixPointsHom G (algebraMap F (AlgebraicClosure F)) g) hg |
| 142 | obtain ⟨u, hu⟩ := PolynomialAdditiveCurves.polynomial_curve_hom_of_nat_powers G (algebraMap F (AlgebraicClosure F)) P g hP |
| 143 | refine ⟨u, P, ?_, 1, ?_⟩ |
| 144 | · intro t i j |
| 145 | exact congrFun (congrFun (hu t) i) j |
| 146 | · apply PolynomialGaloisNorm.matrixPointsHom_injective G (algebraMap F (AlgebraicClosure F)) |
| 147 | rw [hu] |
| 148 | simpa only [Nat.cast_one, pow_one] using hP 1 |
| 149 | |
| 150 | theorem geometric_connected_of_unipotent_generation [CharZero F] |
| 151 | (hgen : Subgroup.closure {g : G.GeometricPoints | |
| 152 | IsNilpotent (PolynomialGaloisNorm.matrixPointsHom G (algebraMap F (AlgebraicClosure F)) g - 1)} = ⊤) : |
| 153 | G.IsGeometricallyConnected := by |
| 154 | apply geometric_connected_of_additive_curve_generation G |
| 155 | apply top_unique |
| 156 | rw [← hgen] |
| 157 | exact Subgroup.closure_mono (fun g hg => geometric_unipotent_mem_additive_curve_elements G g hg) |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI.NumberTheory.Quaternion.Arithmetic.GeometricCurveGeneration |