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.Bracket.CartanAutomorphism |
| 2 | import Mathlib.LinearAlgebra.QuadraticForm.Basic |
| 3 | |
| 4 | /-! # Killing -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.Killing.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A symmetric positive definite real bilinear form admits |
| 13 | continuous coordinates in which it is the Euclidean inner product. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | theorem bilinear_eval_orthogonal_basis |
| 18 | {L ι : Type*} [AddCommGroup L] [Module ℝ L] [Fintype ι] |
| 19 | (F : LinearMap.BilinForm ℝ L) (b : Module.Basis ι ℝ L) (hb : F.IsOrthoᵢ b) (x y : L) : |
| 20 | F x y = ∑ i, b.equivFun x i * b.equivFun y i * F (b i) (b i) := by |
| 21 | classical |
| 22 | conv_lhs => rw [← b.sum_repr x, ← b.sum_repr y] |
| 23 | simp only [map_sum, LinearMap.sum_apply, map_smul, LinearMap.smul_apply, smul_eq_mul] |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro i _ |
| 26 | rw [Finset.sum_eq_single i] |
| 27 | · simp only [Module.Basis.equivFun_apply] |
| 28 | ring |
| 29 | · intro j _ hij |
| 30 | rw [show F (b j) (b i) = 0 from hb hij] |
| 31 | simp |
| 32 | · simp |
| 33 | |
| 34 | theorem positive_bilinear_euclidean_coordinates |
| 35 | {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 36 | (F : LinearMap.BilinForm ℝ L) (hF : LinearMap.IsSymm F) (hpos : ∀ x : L, x ≠ 0 → 0 < F x x) : |
| 37 | ∃ Φ : L ≃L[ℝ] EuclideanSpace ℝ (Fin (Module.finrank ℝ L)), |
| 38 | ∀ x y : L, inner ℝ (Φ x) (Φ y) = F x y := by |
| 39 | let : Invertible (2 : ℝ) := invertibleOfNonzero (by norm_num) |
| 40 | obtain ⟨b, hb⟩ := LinearMap.BilinForm.exists_orthogonal_basis hF |
| 41 | let c : Fin (Module.finrank ℝ L) → ℝ := fun i => Real.sqrt (F (b i) (b i)) |
| 42 | have hc (i : Fin (Module.finrank ℝ L)) : 0 < c i := Real.sqrt_pos.mpr (hpos (b i) (b.ne_zero i)) |
| 43 | let d := LinearEquiv.piCongrRight fun i => LinearEquiv.smulOfNeZero ℝ ℝ (c i) (ne_of_gt (hc i)) |
| 44 | let e := b.equivFun.trans d |
| 45 | let Φ : L ≃L[ℝ] EuclideanSpace ℝ (Fin (Module.finrank ℝ L)) := |
| 46 | (e.trans (WithLp.linearEquiv 2 ℝ (Fin (Module.finrank ℝ L) → ℝ)).symm).toContinuousLinearEquiv |
| 47 | have hΦ (x : L) (i : Fin (Module.finrank ℝ L)) : Φ x i = c i * b.equivFun x i := rfl |
| 48 | refine ⟨Φ, fun x y => ?_⟩ |
| 49 | change (∑ i, Φ y i * Φ x i) = F x y |
| 50 | rw [bilinear_eval_orthogonal_basis F b hb] |
| 51 | apply Finset.sum_congr rfl |
| 52 | intro i _ |
| 53 | rw [hΦ, hΦ] |
| 54 | have hci : c i ^ 2 = F (b i) (b i) := Real.sq_sqrt (le_of_lt (hpos (b i) (b.ne_zero i))) |
| 55 | calc |
| 56 | (c i * b.equivFun y i) * (c i * b.equivFun x i) = |
| 57 | c i ^ 2 * (b.equivFun x i * b.equivFun y i) := by ring |
| 58 | _ = _ := by rw [hci]; ring |
| 59 | |
| 60 | end |
| 61 | |
| 62 | section |
| 63 | |
| 64 | /-! The automorphism group of a real Killing bracket has Euclidean |
| 65 | coordinates in which it is closed under taking operator adjoints. -/ |
| 66 | |
| 67 | open _root_.ContinuousLinearMap |
| 68 | |
| 69 | theorem formCoordinates_adjoint |
| 70 | {L V : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] |
| 71 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 72 | (F : LinearMap.BilinForm ℝ L) (Φ : L ≃L[ℝ] V) |
| 73 | (hΦ : ∀ x y, inner ℝ (Φ x) (Φ y) = F x y) |
| 74 | (g h : L →L[ℝ] L) (hgh : ∀ x y, F (g x) y = F x (h y)) : |
| 75 | adjoint (Φ.conjContinuousAlgEquiv g) = Φ.conjContinuousAlgEquiv h := by |
| 76 | have he : Φ.conjContinuousAlgEquiv g = adjoint (Φ.conjContinuousAlgEquiv h) := by |
| 77 | apply (eq_adjoint_iff _ _).mpr |
| 78 | intro v w |
| 79 | obtain ⟨x, rfl⟩ := Φ.surjective v |
| 80 | obtain ⟨y, rfl⟩ := Φ.surjective w |
| 81 | simp only [ContinuousLinearEquiv.conjContinuousAlgEquiv_apply_apply, |
| 82 | ContinuousLinearEquiv.symm_apply_apply] |
| 83 | rw [hΦ, hΦ] |
| 84 | exact hgh x y |
| 85 | simpa only [adjoint_adjoint] using congrArg adjoint he |
| 86 | |
| 87 | theorem exists_killing_automorphism_selfAdjoint_coordinates |
| 88 | {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 89 | (B : L →L[ℝ] L →L[ℝ] L) (hB : ContinuousBracketConstraints.Construction.IsContinuousLieBracket B) |
| 90 | (hK : (ContinuousInnerDerivations.Construction.continuousBracketKillingForm B).Nondegenerate) : |
| 91 | ∃ Φ : L ≃L[ℝ] EuclideanSpace ℝ (Fin (Module.finrank ℝ L)), |
| 92 | ∀ g : L ≃L[ℝ] L, ContinuousBracketChange.Construction.continuousBracketChange g B = B → |
| 93 | ∃ h : L ≃L[ℝ] L, ContinuousBracketChange.Construction.continuousBracketChange h B = B ∧ |
| 94 | adjoint (Φ.conjContinuousAlgEquiv g.toContinuousLinearMap) = |
| 95 | Φ.conjContinuousAlgEquiv h.toContinuousLinearMap := by |
| 96 | obtain ⟨θ, hθ, hθB, hpos⟩ := Bracket.CartanAutomorphism.Construction.exists_killing_bracket_cartan_involution B hB hK |
| 97 | let F := Bracket.CartanAutomorphism.Construction.cartanTwistForm B θ.toContinuousLinearMap |
| 98 | have hF : LinearMap.IsSymm F := (LinearMap.BilinForm.isSymm_iff).mp |
| 99 | ⟨Bracket.CartanAutomorphism.Construction.cartanTwistForm_symmetric_of_involution B θ hθ hθB⟩ |
| 100 | have hp : ∀ x : L, x ≠ 0 → 0 < F x x := by |
| 101 | intro x hx |
| 102 | exact hpos x hx |
| 103 | obtain ⟨Φ, hΦ⟩ := positive_bilinear_euclidean_coordinates F hF hp |
| 104 | refine ⟨Φ, fun g hg => ⟨Bracket.CartanAutomorphism.Construction.cartanAutomorphismAdjoint θ g, |
| 105 | Bracket.CartanAutomorphism.Construction.cartanAutomorphismAdjoint_preserves B θ g hθB hg, ?_⟩⟩ |
| 106 | exact formCoordinates_adjoint F Φ hΦ g.toContinuousLinearMap |
| 107 | (Bracket.CartanAutomorphism.Construction.cartanAutomorphismAdjoint θ g).toContinuousLinearMap |
| 108 | (Bracket.CartanAutomorphism.Construction.cartanTwistForm_automorphism_adjoint B θ g hθ hg) |
| 109 | |
| 110 | end |
| 111 | |
| 112 | /-! Transporting brackets between distinct finite-dimensional normed |
| 113 | spaces preserves Lie brackets and nondegeneracy of the Killing form. -/ |
| 114 | |
| 115 | variable {L V : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] |
| 116 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 117 | |
| 118 | def continuousBracketTransport (e : L ≃L[ℝ] V) (B : L →L[ℝ] L →L[ℝ] L) : |
| 119 | V →L[ℝ] V →L[ℝ] V := |
| 120 | (ContinuousLinearMap.compL ℝ V L V e.toContinuousLinearMap).comp |
| 121 | (((B.comp e.symm.toContinuousLinearMap).flip.comp e.symm.toContinuousLinearMap).flip) |
| 122 | |
| 123 | theorem continuousBracketTransport_apply (e : L ≃L[ℝ] V) (B : L →L[ℝ] L →L[ℝ] L) (x y : V) : |
| 124 | continuousBracketTransport e B x y = e (B (e.symm x) (e.symm y)) := rfl |
| 125 | |
| 126 | theorem continuousBracketTransport_inverse (e : L ≃L[ℝ] V) (B : L →L[ℝ] L →L[ℝ] L) : |
| 127 | continuousBracketTransport e.symm (continuousBracketTransport e B) = B := by |
| 128 | ext x y |
| 129 | simp only [continuousBracketTransport_apply, ContinuousLinearEquiv.symm_symm, |
| 130 | ContinuousLinearEquiv.symm_apply_apply] |
| 131 | |
| 132 | theorem continuousBracketTransport_injective (e : L ≃L[ℝ] V) : |
| 133 | Function.Injective (continuousBracketTransport e) := by |
| 134 | intro B C h |
| 135 | have he := congrArg (continuousBracketTransport e.symm) h |
| 136 | simpa only [continuousBracketTransport_inverse] using he |
| 137 | |
| 138 | theorem continuousBracketTransport_change (e : L ≃L[ℝ] V) |
| 139 | (g : L ≃L[ℝ] L) (B : L →L[ℝ] L →L[ℝ] L) : |
| 140 | continuousBracketTransport e (ContinuousBracketChange.Construction.continuousBracketChange g B) = |
| 141 | ContinuousBracketChange.Construction.continuousBracketChange ((e.symm.trans g).trans e) (continuousBracketTransport e B) := by |
| 142 | ext x y |
| 143 | simp only [continuousBracketTransport_apply, ContinuousBracketChange.Construction.continuousBracketChange_apply, |
| 144 | ContinuousLinearEquiv.trans_apply, ContinuousLinearEquiv.symm_trans_apply, |
| 145 | ContinuousLinearEquiv.symm_symm, ContinuousLinearEquiv.symm_apply_apply] |
| 146 | |
| 147 | theorem continuousBracketTransport_isLie [FiniteDimensional ℝ L] [FiniteDimensional ℝ V] |
| 148 | (e : L ≃L[ℝ] V) (B : L →L[ℝ] L →L[ℝ] L) (hB : ContinuousBracketConstraints.Construction.IsContinuousLieBracket B) : |
| 149 | ContinuousBracketConstraints.Construction.IsContinuousLieBracket (continuousBracketTransport e B) := by |
| 150 | constructor |
| 151 | · intro x |
| 152 | rw [continuousBracketTransport_apply, hB.1, map_zero] |
| 153 | · apply (ContinuousJacobi.Construction.continuousJacobi_zero_iff _).mpr |
| 154 | intro x y z |
| 155 | simp only [continuousBracketTransport_apply, ContinuousLinearEquiv.symm_apply_apply] |
| 156 | rw [(ContinuousJacobi.Construction.continuousJacobi_zero_iff B).mp hB.2, map_add] |
| 157 | |
| 158 | theorem continuousBracketTransport_killing [FiniteDimensional ℝ L] [FiniteDimensional ℝ V] |
| 159 | (e : L ≃L[ℝ] V) (B : L →L[ℝ] L →L[ℝ] L) (x y : V) : |
| 160 | ContinuousInnerDerivations.Construction.continuousBracketKillingForm (continuousBracketTransport e B) x y = |
| 161 | ContinuousInnerDerivations.Construction.continuousBracketKillingForm B (e.symm x) (e.symm y) := by |
| 162 | have he (z : V) : (continuousBracketTransport e B z).toLinearMap = |
| 163 | e.toLinearEquiv.conjAlgEquiv ℝ ((B (e.symm z)).toLinearMap) := by ext w; rfl |
| 164 | rw [ContinuousInnerDerivations.Construction.continuousBracketKillingForm_apply, he, he, ← map_mul, LinearMap.trace_map] |
| 165 | rfl |
| 166 | |
| 167 | theorem continuousBracketTransport_killing_nondegenerate |
| 168 | [FiniteDimensional ℝ L] [FiniteDimensional ℝ V] |
| 169 | (e : L ≃L[ℝ] V) (B : L →L[ℝ] L →L[ℝ] L) |
| 170 | (hB : (ContinuousInnerDerivations.Construction.continuousBracketKillingForm B).Nondegenerate) : |
| 171 | (ContinuousInnerDerivations.Construction.continuousBracketKillingForm (continuousBracketTransport e B)).Nondegenerate := by |
| 172 | constructor |
| 173 | · intro x hx |
| 174 | have hz : e.symm x = 0 := hB.1 (e.symm x) (fun y => by |
| 175 | have h := hx (e y) |
| 176 | simpa only [continuousBracketTransport_killing, ContinuousLinearEquiv.symm_apply_apply] using h) |
| 177 | apply e.symm.injective |
| 178 | simpa only [map_zero] using hz |
| 179 | · intro x hx |
| 180 | have hz : e.symm x = 0 := hB.2 (e.symm x) (fun y => by |
| 181 | have h := hx (e y) |
| 182 | simpa only [continuousBracketTransport_killing, ContinuousLinearEquiv.symm_apply_apply] using h) |
| 183 | apply e.symm.injective |
| 184 | simpa only [map_zero] using hz |
| 185 | |
| 186 | end |
| 187 | |
| 188 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.Killing.Construction |