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.OrthogonalBracketCompactness |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.RegularSymmetricDerivation |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Bilinear.DerivationExponential |
| 4 | |
| 5 | /-! # Orthogonal Bracket Algebra -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.OrthogonalBracketAlgebra.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Orthogonal bracket operators are invertible, and their conjugation |
| 14 | preserves symmetric bracket derivations. -/ |
| 15 | |
| 16 | open _root_.ContinuousLinearMap |
| 17 | |
| 18 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 19 | |
| 20 | omit [FiniteDimensional ℝ L] in |
| 21 | theorem orthogonalBracketOperators_one (B : L →L[ℝ] L →L[ℝ] L) : |
| 22 | (1 : L →L[ℝ] L) ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B := ⟨fun _ _ => rfl, fun _ _ => rfl⟩ |
| 23 | |
| 24 | omit [FiniteDimensional ℝ L] in |
| 25 | theorem orthogonalBracketOperators_mul (B : L →L[ℝ] L →L[ℝ] L) |
| 26 | {S T : L →L[ℝ] L} (hS : S ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) |
| 27 | (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) : S * T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B := by |
| 28 | constructor |
| 29 | · intro x y |
| 30 | change S (T (B x y)) = B (S (T x)) (S (T y)) |
| 31 | rw [hT.1, hS.1] |
| 32 | · intro x y |
| 33 | change inner ℝ (S (T x)) (S (T y)) = inner ℝ x y |
| 34 | rw [hS.2, hT.2] |
| 35 | |
| 36 | omit [FiniteDimensional ℝ L] in |
| 37 | theorem orthogonalBracketOperators_injective (B : L →L[ℝ] L →L[ℝ] L) |
| 38 | {T : L →L[ℝ] L} (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) : Function.Injective T := by |
| 39 | intro x y h |
| 40 | apply sub_eq_zero.mp |
| 41 | apply (inner_self_eq_zero (𝕜 := ℝ)).mp |
| 42 | rw [← hT.2, map_sub, h, sub_self, inner_zero_left] |
| 43 | |
| 44 | def orthogonalBracketEquiv (B : L →L[ℝ] L →L[ℝ] L) |
| 45 | (T : L →L[ℝ] L) (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) : L ≃L[ℝ] L := |
| 46 | (LinearEquiv.ofInjectiveEndo T.toLinearMap (orthogonalBracketOperators_injective B hT)).toContinuousLinearEquiv |
| 47 | |
| 48 | theorem orthogonalBracketEquiv_apply (B : L →L[ℝ] L →L[ℝ] L) |
| 49 | (T : L →L[ℝ] L) (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) (x : L) : |
| 50 | orthogonalBracketEquiv B T hT x = T x := rfl |
| 51 | |
| 52 | theorem orthogonalBracketEquiv_adjoint [CompleteSpace L] (B : L →L[ℝ] L →L[ℝ] L) |
| 53 | (T : L →L[ℝ] L) (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) : |
| 54 | adjoint T = (orthogonalBracketEquiv B T hT).symm.toContinuousLinearMap := by |
| 55 | symm |
| 56 | apply (eq_adjoint_iff _ _).mpr |
| 57 | intro x y |
| 58 | have he := hT.2 ((orthogonalBracketEquiv B T hT).symm x) y |
| 59 | have hx : T ((orthogonalBracketEquiv B T hT).symm x) = x := |
| 60 | (orthogonalBracketEquiv B T hT).apply_symm_apply x |
| 61 | rw [hx] at he |
| 62 | exact he.symm |
| 63 | |
| 64 | theorem continuousBilinearDerivationDefect_eq_zero_iff |
| 65 | (B : L →L[ℝ] L →L[ℝ] L) (A : L →L[ℝ] L) : |
| 66 | Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A = 0 ↔ |
| 67 | ∀ x y, A (B x y) = B (A x) y + B x (A y) := by |
| 68 | constructor |
| 69 | · intro h x y |
| 70 | have he := congrArg (fun C : L →L[ℝ] L →L[ℝ] L => C x y) h |
| 71 | change A (B x y) - B (A x) y - B x (A y) = 0 at he |
| 72 | exact sub_eq_zero.mp ((sub_sub _ _ _).symm.trans he) |
| 73 | · intro h |
| 74 | ext x y |
| 75 | change A (B x y) - B (A x) y - B x (A y) = 0 |
| 76 | rw [h] |
| 77 | abel |
| 78 | |
| 79 | theorem orthogonalBracketOperators_adjoint [CompleteSpace L] |
| 80 | (B : L →L[ℝ] L →L[ℝ] L) {T : L →L[ℝ] L} (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) : |
| 81 | adjoint T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B := by |
| 82 | have hr (x : L) : T (adjoint T x) = x := by |
| 83 | rw [orthogonalBracketEquiv_adjoint B T hT] |
| 84 | exact (orthogonalBracketEquiv B T hT).apply_symm_apply x |
| 85 | constructor |
| 86 | · intro x y |
| 87 | apply orthogonalBracketOperators_injective B hT |
| 88 | rw [hr, hT.1, hr, hr] |
| 89 | · intro x y |
| 90 | have he := hT.2 (adjoint T x) (adjoint T y) |
| 91 | rw [hr, hr] at he |
| 92 | exact he.symm |
| 93 | |
| 94 | theorem orthogonalBracketOperators_adjoint_mul [CompleteSpace L] |
| 95 | (B : L →L[ℝ] L →L[ℝ] L) {T : L →L[ℝ] L} (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) : |
| 96 | adjoint T * T = 1 := by |
| 97 | rw [orthogonalBracketEquiv_adjoint B T hT] |
| 98 | ext x |
| 99 | exact (orthogonalBracketEquiv B T hT).symm_apply_apply x |
| 100 | |
| 101 | theorem bracket_derivation_conjugate (B : L →L[ℝ] L →L[ℝ] L) |
| 102 | (g : L ≃L[ℝ] L) (hg : ∀ x y, g (B x y) = B (g x) (g y)) |
| 103 | (A : L →L[ℝ] L) (hA : Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A = 0) : |
| 104 | Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B (g.conjContinuousAlgEquiv A) = 0 := by |
| 105 | apply (continuousBilinearDerivationDefect_eq_zero_iff B _).mpr |
| 106 | intro x y |
| 107 | obtain ⟨u, rfl⟩ := g.surjective x |
| 108 | obtain ⟨v, rfl⟩ := g.surjective y |
| 109 | change g (A (g.symm (B (g u) (g v)))) = |
| 110 | B (g (A (g.symm (g u)))) (g v) + B (g u) (g (A (g.symm (g v)))) |
| 111 | rw [← hg, ContinuousLinearEquiv.symm_apply_apply, |
| 112 | ContinuousLinearEquiv.symm_apply_apply, ContinuousLinearEquiv.symm_apply_apply, |
| 113 | (continuousBilinearDerivationDefect_eq_zero_iff B A).mp hA, map_add, hg, hg] |
| 114 | |
| 115 | theorem orthogonal_conjugate_symmetric_derivation [CompleteSpace L] |
| 116 | (B : L →L[ℝ] L →L[ℝ] L) (T : L →L[ℝ] L) (hT : T ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B) |
| 117 | (A : L →L[ℝ] L) (hA : A ∈ RegularSymmetricDerivation.Construction.symmetricDerivationSubmodule B) : |
| 118 | T * A * adjoint T ∈ RegularSymmetricDerivation.Construction.symmetricDerivationSubmodule B := by |
| 119 | constructor |
| 120 | · intro x y |
| 121 | change inner ℝ (T (A (adjoint T x))) y = inner ℝ x (T (A (adjoint T y))) |
| 122 | calc |
| 123 | _ = inner ℝ (A (adjoint T x)) (adjoint T y) := (adjoint_inner_right T _ _).symm |
| 124 | _ = inner ℝ (adjoint T x) (A (adjoint T y)) := hA.1 _ _ |
| 125 | _ = _ := adjoint_inner_left T _ _ |
| 126 | · have he : T * A * adjoint T = (orthogonalBracketEquiv B T hT).conjContinuousAlgEquiv A := by |
| 127 | rw [orthogonalBracketEquiv_adjoint B T hT] |
| 128 | rfl |
| 129 | rw [he] |
| 130 | exact bracket_derivation_conjugate B (orthogonalBracketEquiv B T hT) hT.1 A hA.2 |
| 131 | |
| 132 | end |
| 133 | |
| 134 | /-! Commutators of symmetric derivations are skew-adjoint derivations; |
| 135 | their exponentials are orthogonal bracket automorphisms. -/ |
| 136 | |
| 137 | open _root_.ContinuousLinearMap NormedSpace |
| 138 | |
| 139 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 140 | |
| 141 | theorem bracket_derivation_commutator (B : L →L[ℝ] L →L[ℝ] L) |
| 142 | (A C : L →L[ℝ] L) (hA : Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A = 0) |
| 143 | (hC : Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B C = 0) : |
| 144 | Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B (A * C - C * A) = 0 := by |
| 145 | have he := DFunLike.congr_fun (ContinuousBracketRepresentation.Construction.continuousBracketRepresentation_commutator A C) B |
| 146 | change Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B (A * C - C * A) = |
| 147 | ContinuousBracketRepresentation.Construction.continuousBracketRepresentation A (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B C) - |
| 148 | ContinuousBracketRepresentation.Construction.continuousBracketRepresentation C (Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A) at he |
| 149 | rw [hA, hC, map_zero, map_zero, sub_self] at he |
| 150 | exact he |
| 151 | |
| 152 | omit [FiniteDimensional ℝ L] in |
| 153 | theorem symmetric_commutator_adjoint [CompleteSpace L] (A C : L →L[ℝ] L) |
| 154 | (hA : A.toLinearMap.IsSymmetric) (hC : C.toLinearMap.IsSymmetric) : |
| 155 | adjoint (A * C - C * A) = -(A * C - C * A) := by |
| 156 | rw [map_sub] |
| 157 | simp only [mul_def, adjoint_comp, hA.clm_adjoint_eq, hC.clm_adjoint_eq] |
| 158 | abel |
| 159 | |
| 160 | omit [FiniteDimensional ℝ L] in |
| 161 | theorem exp_skew_adjoint_preserves_inner [CompleteSpace L] (A : L →L[ℝ] L) |
| 162 | (hA : adjoint A = -A) (x y : L) : inner ℝ (exp A x) (exp A y) = inner ℝ x y := by |
| 163 | let : NormedAlgebra ℚ (L →L[ℝ] L) := NormedAlgebra.restrictScalars ℚ ℝ (L →L[ℝ] L) |
| 164 | have hs : A ∈ skewAdjoint (L →L[ℝ] L) := by |
| 165 | rw [skewAdjoint.mem_iff, star_eq_adjoint, hA] |
| 166 | have hu := exp_mem_unitary_of_mem_skewAdjoint hs |
| 167 | have hp : adjoint (exp A) * exp A = (1 : L →L[ℝ] L) := |
| 168 | (Unitary.mem_iff.mp hu).1 |
| 169 | have he : adjoint (exp A) (exp A y) = y := DFunLike.congr_fun hp y |
| 170 | rw [← adjoint_inner_right (exp A), he] |
| 171 | |
| 172 | theorem exp_skew_derivation_mem_orthogonal (B : L →L[ℝ] L →L[ℝ] L) |
| 173 | (A : L →L[ℝ] L) (hA : Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B A = 0) |
| 174 | (hskew : adjoint A = -A) (t : ℝ) : exp (t • A) ∈ OrthogonalBracketCompactness.Construction.orthogonalBracketOperators B := by |
| 175 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 176 | have ht : Lie.AutomorphismTransversal.Construction.continuousBilinearDerivationDefect B (t • A) = 0 := by |
| 177 | rw [map_smul, hA] |
| 178 | ext x y |
| 179 | exact smul_zero t |
| 180 | refine ⟨Bilinear.DerivationExponential.Construction.exp_bilinear_derivation_preserves B (t • A) |
| 181 | ((continuousBilinearDerivationDefect_eq_zero_iff B _).mp ht), ?_⟩ |
| 182 | apply exp_skew_adjoint_preserves_inner |
| 183 | rw [map_smul, hskew, smul_neg] |
| 184 | |
| 185 | end |
| 186 | |
| 187 | end OAI.NumberTheory.ArithmeticGroups.Lattices.OrthogonalBracketAlgebra.Construction |