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.ExponentialPolynomial |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Infinitesimal.Action |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.CoordinateIdeal |
| 4 | |
| 5 | /-! # Exponential Integration -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ExponentialIntegration.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Infinitesimal ideal preservation integrates to an actual one-parameter |
| 14 | subgroup over the real or complex numbers. -/ |
| 15 | |
| 16 | open scoped Classical _root_.Matrix.Norms.Operator _root_.Topology |
| 17 | open _root_.MvPolynomial NormedSpace Set Filter |
| 18 | |
| 19 | variable {k : Type} [RCLike k] {n : ℕ} |
| 20 | |
| 21 | theorem analytic_eq_zero_of_all_iteratedDeriv_zero [ConnectedSpace k] |
| 22 | {f : k → k} (hf : ∀ t, AnalyticAt k f t) |
| 23 | (hzero : ∀ r, iteratedDeriv r f 0 = 0) : f = 0 := by |
| 24 | have hord : analyticOrderAt f 0 = ⊤ := by |
| 25 | rw [ENat.eq_top_iff_forall_ge] |
| 26 | intro r |
| 27 | exact (natCast_le_analyticOrderAt_iff_iteratedDeriv_eq_zero (hf 0)).mpr |
| 28 | (fun i _ => hzero i) |
| 29 | have hnear : f =ᶠ[𝓝 0] 0 := analyticOrderAt_eq_top.mp hord |
| 30 | have hana : AnalyticOnNhd k f univ := fun t _ => hf t |
| 31 | have heq := hana.eqOn_zero_of_preconnected_of_eventuallyEq_zero |
| 32 | isPreconnected_univ (mem_univ 0) hnear |
| 33 | funext t |
| 34 | exact heq (mem_univ t) |
| 35 | |
| 36 | theorem iterate_infinitesimal_mem_ideal (G : Algebraic.MatrixAlgebraicGroup k n) |
| 37 | {A : Matrix (Fin n) (Fin n) k} (hA : A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) |
| 38 | {p : Algebraic.CoordinatePolynomial n k} (hp : p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G) (r : ℕ) : |
| 39 | (Infinitesimal.Action.Construction.rightInfinitesimal A)^[r] p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := by |
| 40 | induction r with |
| 41 | | zero => exact hp |
| 42 | | succ r hr => |
| 43 | rw [Function.iterate_succ_apply'] |
| 44 | exact (Infinitesimal.Action.Construction.mem_infinitesimalStabilizer G A).mp hA _ hr |
| 45 | |
| 46 | theorem exponentialPolynomial_zero (A : Matrix (Fin n) (Fin n) k) |
| 47 | (p : Algebraic.CoordinatePolynomial n k) : |
| 48 | ExponentialPolynomial.Construction.exponentialPolynomial A p 0 = Algebraic.evaluateMatrix (RingHom.id k) (1 : Algebraic.SL n k) p := by |
| 49 | simp only [ExponentialPolynomial.Construction.exponentialPolynomial, zero_smul, exp_zero, Algebraic.evaluateMatrix] |
| 50 | rfl |
| 51 | |
| 52 | theorem exponentialPolynomial_eq_zero_of_infinitesimal [ConnectedSpace k] |
| 53 | (G : Algebraic.MatrixAlgebraicGroup k n) {A : Matrix (Fin n) (Fin n) k} |
| 54 | (hA : A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) |
| 55 | {p : Algebraic.CoordinatePolynomial n k} (hp : p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G) : |
| 56 | ExponentialPolynomial.Construction.exponentialPolynomial A p = 0 := by |
| 57 | apply analytic_eq_zero_of_all_iteratedDeriv_zero (ExponentialPolynomial.Construction.exponentialPolynomial_analyticAt A p) |
| 58 | intro r |
| 59 | rw [ExponentialPolynomial.Construction.exponentialPolynomial_iteratedDeriv, exponentialPolynomial_zero] |
| 60 | exact iterate_infinitesimal_mem_ideal G hA hp r k (RingHom.id k) (1 : G.RationalPoints) |
| 61 | |
| 62 | theorem infinitesimal_exp_det [ConnectedSpace k] |
| 63 | (G : Algebraic.MatrixAlgebraicGroup k n) {A : Matrix (Fin n) (Fin n) k} |
| 64 | (hA : A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) (t : k) : |
| 65 | (exp (t • A)).det = 1 := by |
| 66 | have hp : CoordinateIdeal.Construction.determinantEquation k n ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := |
| 67 | CoordinateIdeal.Construction.definingIdeal_le_vanishingIdeal G (Ideal.subset_span (mem_insert _ _)) |
| 68 | have he := congrFun (exponentialPolynomial_eq_zero_of_infinitesimal G hA hp) t |
| 69 | change eval₂Hom (RingHom.id k) (fun ij => exp (t • A) ij.1 ij.2) |
| 70 | (CoordinateIdeal.Construction.determinantEquation k n) = 0 at he |
| 71 | rw [CoordinateIdeal.Construction.eval_determinantEquation] at he |
| 72 | exact sub_eq_zero.mp he |
| 73 | |
| 74 | def infinitesimalExponential [ConnectedSpace k] |
| 75 | (G : Algebraic.MatrixAlgebraicGroup k n) (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) (t : k) : G.RationalPoints := by |
| 76 | let g : Algebraic.SL n k := ⟨exp (t • A.val), infinitesimal_exp_det G A.property t⟩ |
| 77 | refine ⟨g, (G.mem_iff k (RingHom.id k) g).mpr ?_⟩ |
| 78 | intro p hp |
| 79 | exact congrFun (exponentialPolynomial_eq_zero_of_infinitesimal G A.property |
| 80 | (VanishingIdeal.Construction.equations_subset_vanishingIdeal G hp)) t |
| 81 | |
| 82 | end |
| 83 | |
| 84 | /-! The continuous one-parameter subgroup associated to an infinitesimal |
| 85 | matrix, and recovery of that matrix by differentiation. -/ |
| 86 | |
| 87 | open scoped Classical _root_.Matrix.Norms.Operator |
| 88 | open NormedSpace Set |
| 89 | |
| 90 | variable {k : Type} [RCLike k] [ConnectedSpace k] {n : ℕ} |
| 91 | |
| 92 | theorem infinitesimalExponential_zero (G : Algebraic.MatrixAlgebraicGroup k n) |
| 93 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : infinitesimalExponential G A 0 = 1 := by |
| 94 | apply Subtype.ext |
| 95 | apply Subtype.ext |
| 96 | change exp (0 • A.val) = 1 |
| 97 | rw [zero_smul, exp_zero] |
| 98 | |
| 99 | theorem infinitesimalExponential_add (G : Algebraic.MatrixAlgebraicGroup k n) |
| 100 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) (s t : k) : |
| 101 | infinitesimalExponential G A (s + t) = |
| 102 | infinitesimalExponential G A s * infinitesimalExponential G A t := by |
| 103 | apply Subtype.ext |
| 104 | apply Subtype.ext |
| 105 | change exp ((s + t) • A.val) = exp (s • A.val) * exp (t • A.val) |
| 106 | rw [add_smul] |
| 107 | exact NormedSpace.exp_add_of_commute (((Commute.refl A.val).smul_left s).smul_right t) |
| 108 | |
| 109 | def infinitesimalOneParameter (G : Algebraic.MatrixAlgebraicGroup k n) |
| 110 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : Multiplicative k →* G.RationalPoints where |
| 111 | toFun t := infinitesimalExponential G A t.toAdd |
| 112 | map_one' := infinitesimalExponential_zero G A |
| 113 | map_mul' s t := infinitesimalExponential_add G A s.toAdd t.toAdd |
| 114 | |
| 115 | theorem continuous_infinitesimalExponential (G : Algebraic.MatrixAlgebraicGroup k n) |
| 116 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : Continuous (infinitesimalExponential G A) := by |
| 117 | have hM : Continuous (fun t : k => exp (t • A.val)) := |
| 118 | continuous_pi fun i => continuous_pi fun j => |
| 119 | continuous_iff_continuousAt.mpr fun t => (ExponentialPolynomial.Construction.matrix_exp_entry_hasDerivAt A.val t i j).continuousAt |
| 120 | exact (hM.subtype_mk _).subtype_mk _ |
| 121 | |
| 122 | theorem infinitesimalExponential_isConnected_range (G : Algebraic.MatrixAlgebraicGroup k n) |
| 123 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : IsConnected (range (infinitesimalExponential G A)) := |
| 124 | isConnected_range (continuous_infinitesimalExponential G A) |
| 125 | |
| 126 | theorem infinitesimalExponential_eq_one_iff (G : Algebraic.MatrixAlgebraicGroup k n) |
| 127 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 128 | (∀ t, infinitesimalExponential G A t = 1) ↔ A = 0 := by |
| 129 | constructor |
| 130 | · intro h |
| 131 | apply Subtype.ext |
| 132 | ext i j |
| 133 | have he : (fun t : k => exp (t • A.val) i j) = fun _ => (1 : Matrix (Fin n) (Fin n) k) i j := by |
| 134 | funext t |
| 135 | exact congrArg (fun g : G.RationalPoints => g.val i j) (h t) |
| 136 | have hd := ExponentialPolynomial.Construction.matrix_exp_entry_hasDerivAt A.val 0 i j |
| 137 | rw [he] at hd |
| 138 | have hz := hd.unique (hasDerivAt_const 0 ((1 : Matrix (Fin n) (Fin n) k) i j)) |
| 139 | change A.val i j = 0 |
| 140 | simpa only [zero_smul, exp_zero, Matrix.one_mul] using hz |
| 141 | · rintro rfl t |
| 142 | apply Subtype.ext |
| 143 | apply Subtype.ext |
| 144 | change exp (t • (0 : Matrix (Fin n) (Fin n) k)) = 1 |
| 145 | rw [smul_zero, exp_zero] |
| 146 | |
| 147 | theorem infinitesimalOneParameter_eq_one_iff (G : Algebraic.MatrixAlgebraicGroup k n) |
| 148 | (A : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : infinitesimalOneParameter G A = 1 ↔ A = 0 := by |
| 149 | rw [← infinitesimalExponential_eq_one_iff] |
| 150 | constructor |
| 151 | · intro h t |
| 152 | exact DFunLike.congr_fun h (Multiplicative.ofAdd t) |
| 153 | · intro h |
| 154 | apply MonoidHom.ext |
| 155 | intro t |
| 156 | exact h t.toAdd |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ExponentialIntegration.Construction |