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.DerivationSpectralDecomposition |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.CommutingSymmetricWeights |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Weight.RaisingNilpotence |
| 4 | |
| 5 | /-! # Derivation Nilpotence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.DerivationNilpotence.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Positive commutator eigenspaces strictly raise the eigenvalues of |
| 14 | the symmetric operator. Every positive bracket derivation is nilpotent. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open _root_.ContinuousLinearMap _root_.Module.End |
| 18 | |
| 19 | variable {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] |
| 20 | [FiniteDimensional ℝ L] [Fintype ι] |
| 21 | |
| 22 | def weightRaisingOperators (b : OrthonormalBasis ι ℝ L) (w : ι → ℝ) : Submodule ℝ (L →L[ℝ] L) where |
| 23 | carrier := {X | ∀ i j, w i ≤ w j → b.repr (X (b j)) i = 0} |
| 24 | zero_mem' := by intro i j _; simp |
| 25 | add_mem' hX hY := by |
| 26 | intro i j hij |
| 27 | simp only [add_apply, map_add, PiLp.add_apply, hX i j hij, hY i j hij, add_zero] |
| 28 | smul_mem' c _ hX := by |
| 29 | intro i j hij |
| 30 | simp only [smul_apply, map_smul, PiLp.smul_apply, hX i j hij, smul_zero] |
| 31 | |
| 32 | omit [FiniteDimensional ℝ L] in |
| 33 | theorem positive_commutator_eigenvector_raises_weights |
| 34 | (b : OrthonormalBasis ι ℝ L) (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 35 | (w : ι → ℝ) (heig : ∀ i, H (b i) = w i • b i) |
| 36 | (X : L →L[ℝ] L) {r : ℝ} (hr : 0 < r) (hX : H * X - X * H = r • X) : |
| 37 | X ∈ weightRaisingOperators b w := by |
| 38 | intro i j hij |
| 39 | have he := congrArg (fun T : L →L[ℝ] L => b.repr (T (b j)) i) hX |
| 40 | simp only [sub_apply, mul_apply_eq_comp, smul_apply, map_sub, PiLp.sub_apply] at he |
| 41 | rw [CommutingSymmetricWeights.Construction.orthonormal_eigen_coordinate b H hH w heig, heig] at he |
| 42 | simp only [map_smul, PiLp.smul_apply, smul_eq_mul] at he |
| 43 | have hc : w i - w j - r ≠ 0 := by linarith |
| 44 | apply (mul_eq_zero.mp (show (w i - w j - r) * b.repr (X (b j)) i = 0 by nlinarith)).resolve_left hc |
| 45 | |
| 46 | theorem positiveBracketDerivations_le_weightRaising |
| 47 | (B : L →L[ℝ] L →L[ℝ] L) (b : OrthonormalBasis ι ℝ L) |
| 48 | (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 49 | (w : ι → ℝ) (heig : ∀ i, H (b i) = w i • b i) : |
| 50 | DerivationSpectralDecomposition.Construction.positiveBracketDerivations B H ≤ weightRaisingOperators b w := by |
| 51 | apply iSup_le |
| 52 | intro r |
| 53 | apply iSup_le |
| 54 | intro hr X hX |
| 55 | exact positive_commutator_eigenvector_raises_weights b H hH w heig X hr (mem_eigenspace_iff.mp hX.2) |
| 56 | |
| 57 | omit [FiniteDimensional ℝ L] in |
| 58 | theorem weightRaisingOperators_isNilpotent {m : ℕ} |
| 59 | (b : OrthonormalBasis (Fin m) ℝ L) (w : Fin m → ℝ) |
| 60 | (X : L →L[ℝ] L) (hX : X ∈ weightRaisingOperators b w) : IsNilpotent X := by |
| 61 | have hm : IsNilpotent (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis X) := |
| 62 | Weight.RaisingNilpotence.Construction.strictly_weight_raising_matrix_isNilpotent (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis X) w (by |
| 63 | intro i j hij |
| 64 | change LinearMap.toMatrix b.toBasis b.toBasis X.toLinearMap i j = 0 |
| 65 | simpa only [LinearMap.toMatrix_apply, OrthonormalBasis.coe_toBasis_repr_apply, |
| 66 | OrthonormalBasis.coe_toBasis] using! hX i j hij) |
| 67 | have hinj : Function.Injective (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis) := by |
| 68 | intro A C h |
| 69 | have he := (LinearMap.toMatrix b.toBasis b.toBasis).injective h |
| 70 | ext x |
| 71 | exact DFunLike.congr_fun he x |
| 72 | exact (IsNilpotent.map_iff hinj).mp hm |
| 73 | |
| 74 | theorem positiveBracketDerivations_isNilpotent |
| 75 | (B : L →L[ℝ] L →L[ℝ] L) (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 76 | (X : L →L[ℝ] L) (hX : X ∈ DerivationSpectralDecomposition.Construction.positiveBracketDerivations B H) : IsNilpotent X := by |
| 77 | let b := hH.eigenvectorBasis rfl |
| 78 | let w := hH.eigenvalues rfl |
| 79 | have heig (i : Fin (Module.finrank ℝ L)) : H (b i) = w i • b i := |
| 80 | hH.apply_eigenvectorBasis rfl i |
| 81 | exact weightRaisingOperators_isNilpotent b w X (positiveBracketDerivations_le_weightRaising B b H hH w heig hX) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | /-! Positive derivations are exactly the derivations strictly raising |
| 86 | the weights of the chosen symmetric operator. -/ |
| 87 | |
| 88 | open scoped Classical |
| 89 | open _root_.ContinuousLinearMap _root_.Module.End |
| 90 | |
| 91 | variable {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] |
| 92 | [FiniteDimensional ℝ L] [Fintype ι] |
| 93 | |
| 94 | omit [FiniteDimensional ℝ L] in |
| 95 | theorem commutator_eigen_coordinate |
| 96 | (b : OrthonormalBasis ι ℝ L) (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 97 | (w : ι → ℝ) (heig : ∀ i, H (b i) = w i • b i) (X : L →L[ℝ] L) (i j : ι) : |
| 98 | b.repr ((H * X - X * H) (b j)) i = (w i - w j) * b.repr (X (b j)) i := by |
| 99 | simp only [sub_apply, mul_apply_eq_comp, map_sub, PiLp.sub_apply] |
| 100 | rw [CommutingSymmetricWeights.Construction.orthonormal_eigen_coordinate b H hH w heig, heig] |
| 101 | simp only [map_smul, PiLp.smul_apply, smul_eq_mul] |
| 102 | ring |
| 103 | |
| 104 | omit [FiniteDimensional ℝ L] in |
| 105 | theorem weightRaising_commutator_mem |
| 106 | (b : OrthonormalBasis ι ℝ L) (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 107 | (w : ι → ℝ) (heig : ∀ i, H (b i) = w i • b i) |
| 108 | (X : L →L[ℝ] L) (hX : X ∈ weightRaisingOperators b w) : |
| 109 | H * X - X * H ∈ weightRaisingOperators b w := by |
| 110 | intro i j hij |
| 111 | rw [commutator_eigen_coordinate b H hH w heig, hX i j hij, mul_zero] |
| 112 | |
| 113 | omit [FiniteDimensional ℝ L] in |
| 114 | theorem weightRaising_nonpositive_eigenvector_zero |
| 115 | (b : OrthonormalBasis ι ℝ L) (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 116 | (w : ι → ℝ) (heig : ∀ i, H (b i) = w i • b i) |
| 117 | (X : L →L[ℝ] L) (hX : X ∈ weightRaisingOperators b w) |
| 118 | {r : ℝ} (hr : r ≤ 0) (hXe : H * X - X * H = r • X) : X = 0 := by |
| 119 | have hzero (j : ι) : X (b j) = 0 := by |
| 120 | apply b.repr.injective |
| 121 | ext i |
| 122 | change b.repr (X (b j)) i = b.repr 0 i |
| 123 | rw [map_zero, PiLp.zero_apply] |
| 124 | by_cases hij : w i ≤ w j |
| 125 | · exact hX i j hij |
| 126 | have he := congrArg (fun T : L →L[ℝ] L => b.repr (T (b j)) i) hXe |
| 127 | rw [commutator_eigen_coordinate b H hH w heig] at he |
| 128 | simp only [smul_apply, map_smul, PiLp.smul_apply, smul_eq_mul] at he |
| 129 | have hc : w i - w j - r ≠ 0 := by linarith |
| 130 | exact (mul_eq_zero.mp (show (w i - w j - r) * b.repr (X (b j)) i = 0 by nlinarith)).resolve_left hc |
| 131 | have he : X.toLinearMap = 0 := b.toBasis.ext hzero |
| 132 | ext x |
| 133 | exact DFunLike.congr_fun he x |
| 134 | |
| 135 | theorem positiveBracketDerivations_eq_weightRaising |
| 136 | (B : L →L[ℝ] L →L[ℝ] L) (b : OrthonormalBasis ι ℝ L) |
| 137 | (H : L →L[ℝ] L) (hH : H ∈ RegularSymmetricDerivation.Construction.symmetricDerivationSubmodule B) |
| 138 | (w : ι → ℝ) (heig : ∀ i, H (b i) = w i • b i) : |
| 139 | DerivationSpectralDecomposition.Construction.positiveBracketDerivations B H = DerivationSpectralDecomposition.Construction.bracketDerivationSubmodule B ⊓ weightRaisingOperators b w := by |
| 140 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 141 | apply le_antisymm |
| 142 | · exact le_inf (InvolutionSpectralDecomposition.Construction.positiveSpectralSubmodule_le _ _) |
| 143 | (positiveBracketDerivations_le_weightRaising B b H hH.1 w heig) |
| 144 | · have hspan := DerivationSpectralDecomposition.Construction.selfAdjoint_commutator_invariant_eigenspace_span H hH.1 |
| 145 | (DerivationSpectralDecomposition.Construction.bracketDerivationSubmodule B ⊓ weightRaisingOperators b w) |
| 146 | (fun X hX => ⟨OrthogonalBracketAlgebra.Construction.bracket_derivation_commutator B H X hH.2 hX.1, |
| 147 | weightRaising_commutator_mem b H hH.1 w heig X hX.2⟩) |
| 148 | rw [hspan] |
| 149 | apply iSup_le |
| 150 | intro r X hX |
| 151 | have hXe : H * X - X * H = r • X := mem_eigenspace_iff.mp hX.2 |
| 152 | by_cases hr : 0 < r |
| 153 | · exact InvolutionSpectralDecomposition.Construction.mem_positiveSpectralSubmodule _ _ hr hX.1.1 hXe |
| 154 | · have hz := weightRaising_nonpositive_eigenvector_zero b H hH.1 w heig X hX.1.2 (le_of_not_gt hr) hXe |
| 155 | rw [hz] |
| 156 | exact Submodule.zero_mem _ |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.DerivationNilpotence.Construction |