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.Lie.DerivationDefect |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.Analysis.Normed.Operator.Bilinear |
| 4 | |
| 5 | /-! # Automorphism Transversal -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Lie.AutomorphismTransversal.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! In a complement to the derivations, the identity is an isolated |
| 12 | bracket-preserving map. The proof bounds the quadratic remainder by the |
| 13 | injective linearized equations. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] |
| 18 | [FiniteDimensional ℝ L] |
| 19 | |
| 20 | def finiteContinuousBilinear (B : L →ₗ[ℝ] L →ₗ[ℝ] L) : L →L[ℝ] L →L[ℝ] L := |
| 21 | ((LinearMap.toContinuousLinearMap : (L →ₗ[ℝ] L) ≃ₗ[ℝ] (L →L[ℝ] L)).toLinearMap.comp |
| 22 | B).toContinuousLinearMap |
| 23 | |
| 24 | theorem finiteContinuousBilinear_apply (B : L →ₗ[ℝ] L →ₗ[ℝ] L) (x y : L) : |
| 25 | finiteContinuousBilinear B x y = B x y := rfl |
| 26 | |
| 27 | def continuousBilinearDerivationDefect (B : L →L[ℝ] L →L[ℝ] L) : |
| 28 | (L →L[ℝ] L) →L[ℝ] (L →L[ℝ] L →L[ℝ] L) := |
| 29 | LinearMap.toContinuousLinearMap |
| 30 | { toFun := fun T => (ContinuousLinearMap.compL ℝ L L L T).comp B - |
| 31 | B.comp T - (B.flip.comp T).flip |
| 32 | map_add' := fun T S => by |
| 33 | ext x y |
| 34 | change (T + S) (B x y) - B ((T + S) x) y - B x ((T + S) y) = |
| 35 | (T (B x y) - B (T x) y - B x (T y)) + |
| 36 | (S (B x y) - B (S x) y - B x (S y)) |
| 37 | simp only [add_apply, map_add] |
| 38 | abel |
| 39 | map_smul' := fun c T => by |
| 40 | ext x y |
| 41 | change (c • T) (B x y) - B ((c • T) x) y - B x ((c • T) y) = |
| 42 | c • (T (B x y) - B (T x) y - B x (T y)) |
| 43 | simp only [smul_apply, map_smul, smul_sub] } |
| 44 | |
| 45 | theorem continuousBilinearDerivationDefect_apply (B : L →L[ℝ] L →L[ℝ] L) |
| 46 | (T : L →L[ℝ] L) (x y : L) : |
| 47 | continuousBilinearDerivationDefect B T x y = |
| 48 | T (B x y) - B (T x) y - B x (T y) := rfl |
| 49 | |
| 50 | theorem continuousBilinearDerivationDefect_of_preserving |
| 51 | (B : L →L[ℝ] L →L[ℝ] L) (T : L →L[ℝ] L) |
| 52 | (hT : ∀ x y, (ContinuousLinearMap.id ℝ L + T) (B x y) = |
| 53 | B ((ContinuousLinearMap.id ℝ L + T) x) ((ContinuousLinearMap.id ℝ L + T) y)) |
| 54 | (x y : L) : continuousBilinearDerivationDefect B T x y = B (T x) (T y) := by |
| 55 | have he := hT x y |
| 56 | simp only [add_apply, ContinuousLinearMap.id_apply, map_add] at he |
| 57 | rw [continuousBilinearDerivationDefect_apply] |
| 58 | apply sub_eq_zero.mp |
| 59 | calc |
| 60 | _ = (B x y + T (B x y)) - |
| 61 | (B x y + B (T x) y + (B x (T y) + B (T x) (T y))) := by abel |
| 62 | _ = 0 := sub_eq_zero.mpr he |
| 63 | |
| 64 | theorem continuousBilinearDerivationDefect_norm_bound |
| 65 | (B : L →L[ℝ] L →L[ℝ] L) (T : L →L[ℝ] L) |
| 66 | (hT : ∀ x y, (ContinuousLinearMap.id ℝ L + T) (B x y) = |
| 67 | B ((ContinuousLinearMap.id ℝ L + T) x) ((ContinuousLinearMap.id ℝ L + T) y)) : |
| 68 | ‖continuousBilinearDerivationDefect B T‖ ≤ ‖B‖ * ‖T‖ ^ 2 := by |
| 69 | refine ContinuousLinearMap.opNorm_le_bound₂ (continuousBilinearDerivationDefect B T) |
| 70 | (C := ‖B‖ * ‖T‖ ^ 2) (by positivity) ?_ |
| 71 | intro x y |
| 72 | rw [continuousBilinearDerivationDefect_of_preserving B T hT] |
| 73 | calc |
| 74 | ‖B (T x) (T y)‖ ≤ ‖B‖ * ‖T x‖ * ‖T y‖ := |
| 75 | ContinuousLinearMap.le_opNorm₂ _ _ _ |
| 76 | _ ≤ ‖B‖ * (‖T‖ * ‖x‖) * (‖T‖ * ‖y‖) := by |
| 77 | gcongr |
| 78 | · exact T.le_opNorm x |
| 79 | · exact T.le_opNorm y |
| 80 | _ = _ := by ring |
| 81 | |
| 82 | theorem linear_complement_norm_bound |
| 83 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 84 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 85 | (D : E →ₗ[ℝ] F) (W : Submodule ℝ E) (hW : Disjoint W (LinearMap.ker D)) : |
| 86 | ∃ K : ℝ, 0 < K ∧ ∀ x : E, x ∈ W → ‖x‖ ≤ K * ‖D x‖ := by |
| 87 | have hD : LinearMap.ker (D.domRestrict W) = ⊥ := by |
| 88 | apply LinearMap.ker_eq_bot.mpr |
| 89 | apply (injective_iff_map_eq_zero (D.domRestrict W)).mpr |
| 90 | intro T hT |
| 91 | apply Subtype.ext |
| 92 | exact (Submodule.disjoint_def.mp hW T.val T.property hT) |
| 93 | obtain ⟨K, hK, hbound⟩ := (D.domRestrict W).exists_antilipschitzWith hD |
| 94 | refine ⟨K, hK, fun x hx => ?_⟩ |
| 95 | exact ZeroHomClass.bound_of_antilipschitz (D.domRestrict W) hbound ⟨x, hx⟩ |
| 96 | |
| 97 | theorem quadratic_remainder_isolated_on_complement |
| 98 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 99 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 100 | (D : E →ₗ[ℝ] F) (W : Submodule ℝ E) (hW : Disjoint W (LinearMap.ker D)) |
| 101 | (b : ℝ) (hb : 0 ≤ b) : |
| 102 | ∃ ε : ℝ, 0 < ε ∧ ∀ x : E, x ∈ W → ‖x‖ < ε → ‖D x‖ ≤ b * ‖x‖ ^ 2 → x = 0 := by |
| 103 | obtain ⟨K, hK, hbound⟩ := linear_complement_norm_bound D W hW |
| 104 | let C : ℝ := K * b |
| 105 | have hC : 0 ≤ C := mul_nonneg hK.le hb |
| 106 | refine ⟨(C + 1)⁻¹, inv_pos.mpr (by positivity), ?_⟩ |
| 107 | intro x hxW hsmall hupper |
| 108 | have hquad : ‖x‖ ≤ C * ‖x‖ ^ 2 := by |
| 109 | calc |
| 110 | ‖x‖ ≤ K * ‖D x‖ := hbound x hxW |
| 111 | _ ≤ K * (b * ‖x‖ ^ 2) := mul_le_mul_of_nonneg_left hupper hK.le |
| 112 | _ = _ := by dsimp [C]; ring |
| 113 | apply norm_eq_zero.mp |
| 114 | have hprod : ‖x‖ * (C + 1) < 1 := by |
| 115 | have ht := mul_lt_mul_of_pos_right hsmall (by positivity : 0 < C + 1) |
| 116 | simpa only [inv_mul_cancel₀ (by positivity : C + 1 ≠ 0)] using ht |
| 117 | nlinarith [norm_nonneg x, mul_nonneg hC (norm_nonneg x)] |
| 118 | |
| 119 | theorem bilinear_stabilizer_transversal_isolated |
| 120 | (B : L →L[ℝ] L →L[ℝ] L) |
| 121 | (W : Submodule ℝ (L →L[ℝ] L)) |
| 122 | (hW : Disjoint W (LinearMap.ker (continuousBilinearDerivationDefect B).toLinearMap)) : |
| 123 | ∃ ε : ℝ, 0 < ε ∧ ∀ T : L →L[ℝ] L, T ∈ W → ‖T‖ < ε → |
| 124 | (∀ x y, (ContinuousLinearMap.id ℝ L + T) (B x y) = |
| 125 | B ((ContinuousLinearMap.id ℝ L + T) x) ((ContinuousLinearMap.id ℝ L + T) y)) → T = 0 := by |
| 126 | let : NormedAddCommGroup (L →L[ℝ] L) := inferInstance |
| 127 | let : NormedSpace ℝ (L →L[ℝ] L) := inferInstance |
| 128 | let : FiniteDimensional ℝ (L →L[ℝ] L) := inferInstance |
| 129 | let : NormedAddCommGroup (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 130 | let : NormedSpace ℝ (L →L[ℝ] L →L[ℝ] L) := inferInstance |
| 131 | obtain ⟨ε, hε, h⟩ := quadratic_remainder_isolated_on_complement |
| 132 | (E := L →L[ℝ] L) (F := L →L[ℝ] L →L[ℝ] L) |
| 133 | (continuousBilinearDerivationDefect B).toLinearMap W hW ‖B‖ (norm_nonneg B) |
| 134 | exact ⟨ε, hε, fun T hTW hsmall hT => h T hTW hsmall |
| 135 | (continuousBilinearDerivationDefect_norm_bound B T hT)⟩ |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Lie.AutomorphismTransversal.Construction |