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.Analysis.HodgeTheory.Decomposition.RotationExteriorComposition |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.RotationBracketComposition |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.ExteriorConstantBracket |
| 4 | |
| 5 | /-! # Local Laplacian Boundary -/ |
| 6 | |
| 7 | namespace OAI.Analysis.HodgeTheory.Decomposition.LocalLaplacianBoundary.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The Hodge operator made from the Kähler bracket commutes with |
| 14 | infinitesimal complex rotation, by the proved local differential identities. -/ |
| 15 | |
| 16 | open scoped ContDiff _root_.Topology |
| 17 | |
| 18 | variable {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 19 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [Fintype ι] |
| 20 | |
| 21 | omit [FiniteDimensional ℝ E] [Fintype ι] in |
| 22 | theorem complexFormRotation_smoothOn (n : ℕ) (f : E → DifferentialForms.Manifold.Basic.FormValue E n) {U : Set E} |
| 23 | (hf : ContDiffOn ℝ ∞ f U) : ContDiffOn ℝ ∞ (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation n (f y)) U := by |
| 24 | have hL : ContDiff ℝ ∞ (ComplexRotationDifferentials.Constructions.complexFormRotation (E := E) n) := |
| 25 | ContinuousLinearMap.contDiff (𝕜 := ℝ) (E := DifferentialForms.Manifold.Basic.FormValue E n) (F := DifferentialForms.Manifold.Basic.FormValue E n) (ComplexRotationDifferentials.Constructions.complexFormRotation n) |
| 26 | have h := hL.comp_contDiffOn hf |
| 27 | exact h |
| 28 | |
| 29 | def localLefschetzLaplacian (n : ℕ) (J : E →L[ℝ] E) |
| 30 | (K0 : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1) →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E n) |
| 31 | (K1 : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1 + 1) →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E (n + 1)) |
| 32 | (K2 : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1 + 1 + 1) →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1)) |
| 33 | (a : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1)) (x : E) : DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1) := |
| 34 | extDeriv (ExteriorConstantBracket.Constructions.lefschetzTwistedBracket n J K1 K0 a) x + |
| 35 | ExteriorConstantBracket.Constructions.lefschetzTwistedBracket (n + 1) J K2 K1 (extDeriv a) x |
| 36 | |
| 37 | theorem localLefschetzLaplacian_rotation (b : Module.Basis ι ℝ E) (n : ℕ) |
| 38 | (K0 : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1) →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E n) |
| 39 | (K1 : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1 + 1) →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E (n + 1)) |
| 40 | (K2 : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1 + 1 + 1) →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1)) |
| 41 | {U : Set E} (hU : IsOpen U) |
| 42 | (hK0s : ∀ f : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1), ContDiffOn ℝ ∞ f U → ContDiffOn ℝ ∞ (fun y => K0 y (f y)) U) |
| 43 | (hK1s : ∀ f : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1 + 1), ContDiffOn ℝ ∞ f U → ContDiffOn ℝ ∞ (fun y => K1 y (f y)) U) |
| 44 | (hK0r : ∀ y ∈ U, ∀ v, K0 y (ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) v) = ComplexRotationDifferentials.Constructions.complexFormRotation n (K0 y v)) |
| 45 | (hK1r : ∀ y ∈ U, ∀ v, K1 y (ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1 + 1) v) = ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1) (K1 y v)) |
| 46 | (hK2r : ∀ y ∈ U, ∀ v, K2 y (ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1 + 1 + 1) v) = ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) (K2 y v)) |
| 47 | (a : E → DifferentialForms.Manifold.Basic.FormValue E (n + 1 + 1)) (ha : ContDiffOn ℝ ∞ a U) |
| 48 | {x : E} (hx : x ∈ U) : |
| 49 | ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) |
| 50 | (localLefschetzLaplacian n (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) K0 K1 K2 a x) = |
| 51 | localLefschetzLaplacian n (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) K0 K1 K2 |
| 52 | (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) (a y)) x := by |
| 53 | let J : E →L[ℝ] E := ContinuousLinearMap.lsmul ℝ ℂ Complex.I |
| 54 | let B := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket n J K1 K0 |
| 55 | let Bnext := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket (n + 1) J K2 K1 |
| 56 | let H := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket n (ContinuousLinearMap.id ℝ E) K1 K0 |
| 57 | let Hnext := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket (n + 1) (ContinuousLinearMap.id ℝ E) K2 K1 |
| 58 | let Ca := fun y => ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) (a y) |
| 59 | have hCa : ContDiffOn ℝ ∞ Ca U := complexFormRotation_smoothOn _ a ha |
| 60 | have hda : ContDiffOn ℝ ∞ (extDeriv a) U := DifferentialForms.Manifold.ExteriorDerivativeSmooth.contDiffOn_extDeriv_of_isOpen ha hU (by simp) |
| 61 | have hdCa : ContDiffOn ℝ ∞ (extDeriv Ca) U := DifferentialForms.Manifold.ExteriorDerivativeSmooth.contDiffOn_extDeriv_of_isOpen hCa hU (by simp) |
| 62 | have hdc : ContDiffOn ℝ ∞ (CovectorSymbolAction.Constructions.twistedExteriorDerivative (n + 1 + 1) J a) U := |
| 63 | ExteriorConstantBracket.Constructions.twistedExteriorDerivative_smoothOn _ J a hU ha |
| 64 | have hCda : ContDiffOn ℝ ∞ (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1 + 1) (extDeriv a y)) U := |
| 65 | complexFormRotation_smoothOn _ (extDeriv a) hda |
| 66 | have hBa : ContDiffOn ℝ ∞ (B a) U := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket_smoothOn n J K1 K0 a hU (hK0s a ha) (hK1s _ hdc) |
| 67 | have hBCa : ContDiffOn ℝ ∞ (B Ca) U := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket_smoothOn n J K1 K0 Ca hU (hK0s Ca hCa) |
| 68 | (hK1s _ (ExteriorConstantBracket.Constructions.twistedExteriorDerivative_smoothOn _ J Ca hU hCa)) |
| 69 | have heqB : (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1) (B a y) - B Ca y) =ᶠ[𝓝 x] (fun y => -H a y) := by |
| 70 | filter_upwards [hU.mem_nhds hx] with y hy |
| 71 | exact LefschetzBracketRotation.Constructions.lefschetzTwistedBracket_rotation b n K0 K1 a hU hy |
| 72 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU ha hy) (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU (hK0s a ha) hy) hK0r (hK1r y hy) |
| 73 | have hfirst := RotationExteriorComposition.Constructions.rotationExterior_difference b (n + 1) (B a) (B Ca) (H a) |
| 74 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hBa hx) (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hBCa hx) heqB |
| 75 | have heqd : (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1 + 1) (extDeriv a y) - extDeriv Ca y) =ᶠ[𝓝 x] |
| 76 | (fun y => -CovectorSymbolAction.Constructions.twistedExteriorDerivative (n + 1 + 1) J a y) := by |
| 77 | filter_upwards [hU.mem_nhds hx] with y hy |
| 78 | exact ComplexRotationDifferentials.Constructions.complexFormRotation_exterior b (n + 1 + 1) a (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU ha hy) |
| 79 | have hsecond := RotationBracketComposition.Constructions.rotationBracket_difference b (n + 1) K1 K2 (extDeriv a) (extDeriv Ca) |
| 80 | (CovectorSymbolAction.Constructions.twistedExteriorDerivative (n + 1 + 1) J a) hU hx |
| 81 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hda hx) (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hdCa hx) |
| 82 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU (hK1s _ hda) hx) (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU (hK1s _ hCda) hx) |
| 83 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU (hK1s _ hdCa) hx) hK1r (hK2r x hx) heqd |
| 84 | have hmixJ := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket_anticommute n J K0 K1 K2 a hU hx |
| 85 | (ha.contDiffAt (hU.mem_nhds hx)) (hK0s a ha) (hK1s _ hdc) |
| 86 | have hmixId := ExteriorConstantBracket.Constructions.lefschetzBracket_ordinary_anticommute n K0 K1 K2 a hU hx |
| 87 | (ha.contDiffAt (hU.mem_nhds hx)) (hK0s a ha) |
| 88 | (hK1s _ (ExteriorConstantBracket.Constructions.twistedExteriorDerivative_smoothOn _ (ContinuousLinearMap.id ℝ E) a hU ha)) |
| 89 | change ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) (extDeriv (B a) x + Bnext (extDeriv a) x) = |
| 90 | extDeriv (B Ca) x + Bnext (extDeriv Ca) x |
| 91 | rw [map_add] |
| 92 | apply sub_eq_zero.mp |
| 93 | calc |
| 94 | _ = (ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) (extDeriv (B a) x) - extDeriv (B Ca) x) + |
| 95 | (ComplexRotationDifferentials.Constructions.complexFormRotation (n + 1 + 1) (Bnext (extDeriv a) x) - Bnext (extDeriv Ca) x) := by abel |
| 96 | _ = (-CovectorSymbolAction.Constructions.twistedExteriorDerivative (n + 1) J (B a) x - extDeriv (H a) x) + |
| 97 | (-Hnext (extDeriv a) x - Bnext (CovectorSymbolAction.Constructions.twistedExteriorDerivative (n + 1 + 1) J a) x) := by rw [hfirst, hsecond] |
| 98 | _ = -(CovectorSymbolAction.Constructions.twistedExteriorDerivative (n + 1) J (B a) x + Bnext (CovectorSymbolAction.Constructions.twistedExteriorDerivative (n + 1 + 1) J a) x) - |
| 99 | (extDeriv (H a) x + Hnext (extDeriv a) x) := by abel |
| 100 | _ = 0 := by rw [hmixJ, hmixId, neg_zero, sub_zero] |
| 101 | |
| 102 | end |
| 103 | |
| 104 | /-! The degree-one boundary of the local Laplacian rotation identity. -/ |
| 105 | |
| 106 | open scoped ContDiff _root_.Topology |
| 107 | |
| 108 | variable {E ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 109 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] [Fintype ι] |
| 110 | |
| 111 | def localLefschetzLaplacianZero (J : E →L[ℝ] E) |
| 112 | (K0 : E → DifferentialForms.Manifold.Basic.FormValue E 2 →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E 0) |
| 113 | (K1 : E → DifferentialForms.Manifold.Basic.FormValue E 3 →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E 1) |
| 114 | (a : E → DifferentialForms.Manifold.Basic.FormValue E 1) (x : E) : DifferentialForms.Manifold.Basic.FormValue E 1 := |
| 115 | extDeriv (ExteriorConstantBracket.Constructions.lefschetzTwistedBracketZero J K0 a) x + ExteriorConstantBracket.Constructions.lefschetzTwistedBracket 0 J K1 K0 (extDeriv a) x |
| 116 | |
| 117 | theorem localLefschetzLaplacianZero_rotation (b : Module.Basis ι ℝ E) |
| 118 | (K0 : E → DifferentialForms.Manifold.Basic.FormValue E 2 →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E 0) |
| 119 | (K1 : E → DifferentialForms.Manifold.Basic.FormValue E 3 →L[ℝ] DifferentialForms.Manifold.Basic.FormValue E 1) |
| 120 | {U : Set E} (hU : IsOpen U) |
| 121 | (hK0s : ∀ f : E → DifferentialForms.Manifold.Basic.FormValue E 2, ContDiffOn ℝ ∞ f U → ContDiffOn ℝ ∞ (fun y => K0 y (f y)) U) |
| 122 | (hK0r : ∀ y ∈ U, ∀ v, K0 y (ComplexRotationDifferentials.Constructions.complexFormRotation 2 v) = ComplexRotationDifferentials.Constructions.complexFormRotation 0 (K0 y v)) |
| 123 | (hK1r : ∀ y ∈ U, ∀ v, K1 y (ComplexRotationDifferentials.Constructions.complexFormRotation 3 v) = ComplexRotationDifferentials.Constructions.complexFormRotation 1 (K1 y v)) |
| 124 | (a : E → DifferentialForms.Manifold.Basic.FormValue E 1) (ha : ContDiffOn ℝ ∞ a U) {x : E} (hx : x ∈ U) : |
| 125 | ComplexRotationDifferentials.Constructions.complexFormRotation 1 |
| 126 | (localLefschetzLaplacianZero (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) K0 K1 a x) = |
| 127 | localLefschetzLaplacianZero (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) K0 K1 |
| 128 | (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation 1 (a y)) x := by |
| 129 | let J : E →L[ℝ] E := ContinuousLinearMap.lsmul ℝ ℂ Complex.I |
| 130 | let B := ExteriorConstantBracket.Constructions.lefschetzTwistedBracketZero J K0 |
| 131 | let Bnext := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket 0 J K1 K0 |
| 132 | let H := ExteriorConstantBracket.Constructions.lefschetzTwistedBracketZero (ContinuousLinearMap.id ℝ E) K0 |
| 133 | let Hnext := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket 0 (ContinuousLinearMap.id ℝ E) K1 K0 |
| 134 | let Ca := fun y => ComplexRotationDifferentials.Constructions.complexFormRotation 1 (a y) |
| 135 | have hCa : ContDiffOn ℝ ∞ Ca U := complexFormRotation_smoothOn _ a ha |
| 136 | have hda : ContDiffOn ℝ ∞ (extDeriv a) U := DifferentialForms.Manifold.ExteriorDerivativeSmooth.contDiffOn_extDeriv_of_isOpen ha hU (by simp) |
| 137 | have hdCa : ContDiffOn ℝ ∞ (extDeriv Ca) U := DifferentialForms.Manifold.ExteriorDerivativeSmooth.contDiffOn_extDeriv_of_isOpen hCa hU (by simp) |
| 138 | have hdc : ContDiffOn ℝ ∞ (CovectorSymbolAction.Constructions.twistedExteriorDerivative 1 J a) U := ExteriorConstantBracket.Constructions.twistedExteriorDerivative_smoothOn _ J a hU ha |
| 139 | have hCda : ContDiffOn ℝ ∞ (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation 2 (extDeriv a y)) U := |
| 140 | complexFormRotation_smoothOn _ (extDeriv a) hda |
| 141 | have hBa : ContDiffOn ℝ ∞ (B a) U := hK0s _ hdc |
| 142 | have hBCa : ContDiffOn ℝ ∞ (B Ca) U := hK0s _ (ExteriorConstantBracket.Constructions.twistedExteriorDerivative_smoothOn _ J Ca hU hCa) |
| 143 | have heqB : (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation 0 (B a y) - B Ca y) =ᶠ[𝓝 x] (fun y => -H a y) := by |
| 144 | filter_upwards [hU.mem_nhds hx] with y hy |
| 145 | exact LefschetzBracketRotation.Constructions.lefschetzTwistedBracket_rotation_zero b K0 a (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU ha hy) (hK0r y hy) |
| 146 | have hfirst := RotationExteriorComposition.Constructions.rotationExterior_difference b 0 (B a) (B Ca) (H a) |
| 147 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hBa hx) (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hBCa hx) heqB |
| 148 | have heqd : (fun y => ComplexRotationDifferentials.Constructions.complexFormRotation 2 (extDeriv a y) - extDeriv Ca y) =ᶠ[𝓝 x] |
| 149 | (fun y => -CovectorSymbolAction.Constructions.twistedExteriorDerivative 1 J a y) := by |
| 150 | filter_upwards [hU.mem_nhds hx] with y hy |
| 151 | exact ComplexRotationDifferentials.Constructions.complexFormRotation_exterior b 1 a (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU ha hy) |
| 152 | have hsecond := RotationBracketComposition.Constructions.rotationBracket_difference b 0 K0 K1 (extDeriv a) (extDeriv Ca) |
| 153 | (CovectorSymbolAction.Constructions.twistedExteriorDerivative 1 J a) hU hx |
| 154 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hda hx) (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU hdCa hx) |
| 155 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU (hK0s _ hda) hx) (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU (hK0s _ hCda) hx) |
| 156 | (ExteriorConstantBracket.Constructions.smoothField_differentiableAt hU (hK0s _ hdCa) hx) hK0r (hK1r x hx) heqd |
| 157 | have hmixJ := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket_anticommute_zero J K0 K1 a (ha.contDiffAt (hU.mem_nhds hx)) |
| 158 | have hmixId : extDeriv (H a) x + Hnext (extDeriv a) x = 0 := by |
| 159 | have h := ExteriorConstantBracket.Constructions.lefschetzTwistedBracket_anticommute_zero (ContinuousLinearMap.id ℝ E) K0 K1 a |
| 160 | (ha.contDiffAt (hU.mem_nhds hx)) |
| 161 | simp only [ExteriorConstantBracket.Constructions.directionalExteriorDerivative_twisted, ExteriorConstantBracket.Constructions.directionalExteriorDerivative_id, ExteriorConstantBracket.Constructions.lefschetzTwistedBracket_neg] at h |
| 162 | exact neg_eq_zero.mp ((neg_add _ _).trans h) |
| 163 | change ComplexRotationDifferentials.Constructions.complexFormRotation 1 (extDeriv (B a) x + Bnext (extDeriv a) x) = extDeriv (B Ca) x + Bnext (extDeriv Ca) x |
| 164 | rw [map_add] |
| 165 | apply sub_eq_zero.mp |
| 166 | calc |
| 167 | _ = (ComplexRotationDifferentials.Constructions.complexFormRotation 1 (extDeriv (B a) x) - extDeriv (B Ca) x) + |
| 168 | (ComplexRotationDifferentials.Constructions.complexFormRotation 1 (Bnext (extDeriv a) x) - Bnext (extDeriv Ca) x) := by abel |
| 169 | _ = (-CovectorSymbolAction.Constructions.twistedExteriorDerivative 0 J (B a) x - extDeriv (H a) x) + |
| 170 | (-Hnext (extDeriv a) x - Bnext (CovectorSymbolAction.Constructions.twistedExteriorDerivative 1 J a) x) := by rw [hfirst, hsecond] |
| 171 | _ = -(CovectorSymbolAction.Constructions.twistedExteriorDerivative 0 J (B a) x + Bnext (CovectorSymbolAction.Constructions.twistedExteriorDerivative 1 J a) x) - |
| 172 | (extDeriv (H a) x + Hnext (extDeriv a) x) := by abel |
| 173 | _ = 0 := by rw [hmixJ, hmixId, neg_zero, sub_zero] |
| 174 | |
| 175 | end |
| 176 | |
| 177 | end OAI.Analysis.HodgeTheory.Decomposition.LocalLaplacianBoundary.Constructions |