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.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ProjectorParameters |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ProjectorCharts |
| 3 | |
| 4 | /-! # Coordinate Projector -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoordinateProjector.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! ThetaCycle: actual total projectors in the fixed symplectic coordinates. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix _root_.Topology _root_.Matrix.Norms.Elementwise |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM Filter |
| 16 | |
| 17 | def matrixColumnProduct {I J L : Type*} [Fintype J] |
| 18 | (M : Matrix I J ℂ) (N : Matrix J L ℂ) : Matrix I L ℂ := |
| 19 | fun i l => ∑ j, M i j * N j l |
| 20 | |
| 21 | theorem matrix_column_product_mulVec {I J L : Type*} [Fintype J] [Fintype L] |
| 22 | (M : Matrix I J ℂ) (N : Matrix J L ℂ) (x : L → ℂ) : |
| 23 | matrixColumnProduct M N *ᵥ x = M *ᵥ (N *ᵥ x) := |
| 24 | (Matrix.mulVec_mulVec x M N).symm |
| 25 | |
| 26 | variable (K : IntermediateField ℚ ℂ) |
| 27 | [NumberField K] [NumberField.IsCMField K] |
| 28 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 29 | |
| 30 | def coordinateProjector (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 31 | (P : ComplexTransition.CM.TotalAmbient K →ₗ[ℂ] ComplexTransition.CM.TotalAmbient K) : |
| 32 | Matrix (Sum (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places)) |
| 33 | (Sum (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places)) ℂ := |
| 34 | LinearMap.toMatrix' (((ComplexTransition.CM.totalComplexCoordinates K C).toLinearMap.comp P).comp |
| 35 | (ComplexTransition.CM.totalComplexCoordinates K C).symm.toLinearMap) |
| 36 | |
| 37 | theorem coordinate_projector_mulVec (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 38 | (P : ComplexTransition.CM.TotalAmbient K →ₗ[ℂ] ComplexTransition.CM.TotalAmbient K) |
| 39 | (x : Sum (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) → ℂ) : |
| 40 | coordinateProjector K C P *ᵥ x = |
| 41 | ComplexTransition.CM.totalComplexCoordinates K C (P ((ComplexTransition.CM.totalComplexCoordinates K C).symm x)) := by |
| 42 | change Matrix.toLin' (LinearMap.toMatrix' _) x = _ |
| 43 | rw [Matrix.toLin'_toMatrix'] |
| 44 | rfl |
| 45 | |
| 46 | theorem coordinate_projector_graph_fixed |
| 47 | (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) (P : ComplexTransition.CM.TotalAmbient K →ₗ[ℂ] ComplexTransition.CM.TotalAmbient K) |
| 48 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (PeriodTotal.CM.TotalPositions K places)) |
| 49 | (hP : ∀ x, P (TotalPeriodGraphs.CM.totalGraphInAmbient K C Z x) = TotalPeriodGraphs.CM.totalGraphInAmbient K C Z x) : |
| 50 | matrixColumnProduct (coordinateProjector K C P) (Matrix.fromRows Z.matrix 1) = Matrix.fromRows Z.matrix 1 := by |
| 51 | apply Matrix.toLin'.injective |
| 52 | apply LinearMap.ext |
| 53 | intro x |
| 54 | change matrixColumnProduct (coordinateProjector K C P) (Matrix.fromRows Z.matrix 1) *ᵥ x = |
| 55 | Matrix.fromRows Z.matrix 1 *ᵥ x |
| 56 | rw [matrix_column_product_mulVec, Matrix.fromRows_mulVec, Matrix.one_mulVec, |
| 57 | coordinate_projector_mulVec] |
| 58 | change ComplexTransition.CM.totalComplexCoordinates K C (P (TotalPeriodGraphs.CM.totalGraphInAmbient K C Z x)) = _ |
| 59 | rw [hP, TotalPeriodGraphs.CM.total_graph_coordinates] |
| 60 | |
| 61 | theorem coordinate_projector_graph_image |
| 62 | (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) (P : ComplexTransition.CM.TotalAmbient K →ₗ[ℂ] ComplexTransition.CM.TotalAmbient K) |
| 63 | (Z₀ : Matrix (PeriodTotal.CM.TotalPositions K places) (PeriodTotal.CM.TotalPositions K places) ℂ) |
| 64 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (PeriodTotal.CM.TotalPositions K places)) |
| 65 | (hP : ∀ w, ∃ x, P w = TotalPeriodGraphs.CM.totalGraphInAmbient K C Z x) : |
| 66 | ProjectorCharts.CM.graphTop (coordinateProjector K C P) Z₀ = Z.matrix * ProjectorCharts.CM.graphBottom (coordinateProjector K C P) Z₀ := by |
| 67 | apply Matrix.toLin'.injective |
| 68 | apply LinearMap.ext |
| 69 | intro x |
| 70 | obtain ⟨u, hu⟩ := hP ((ComplexTransition.CM.totalComplexCoordinates K C).symm (Sum.elim (Z₀ *ᵥ x) x)) |
| 71 | have hv : coordinateProjector K C P *ᵥ Sum.elim (Z₀ *ᵥ x) x = Sum.elim (Z.matrix *ᵥ u) u := by |
| 72 | rw [coordinate_projector_mulVec, hu, TotalPeriodGraphs.CM.total_graph_coordinates] |
| 73 | have ht : ProjectorCharts.CM.graphTop (coordinateProjector K C P) Z₀ *ᵥ x = Z.matrix *ᵥ u := by |
| 74 | funext i |
| 75 | change (matrixColumnProduct (coordinateProjector K C P) (Matrix.fromRows Z₀ 1) *ᵥ x) (Sum.inl i) = _ |
| 76 | rw [matrix_column_product_mulVec, Matrix.fromRows_mulVec, Matrix.one_mulVec, hv] |
| 77 | rfl |
| 78 | have hb : ProjectorCharts.CM.graphBottom (coordinateProjector K C P) Z₀ *ᵥ x = u := by |
| 79 | funext i |
| 80 | change (matrixColumnProduct (coordinateProjector K C P) (Matrix.fromRows Z₀ 1) *ᵥ x) (Sum.inr i) = _ |
| 81 | rw [matrix_column_product_mulVec, Matrix.fromRows_mulVec, Matrix.one_mulVec, hv] |
| 82 | rfl |
| 83 | change ProjectorCharts.CM.graphTop (coordinateProjector K C P) Z₀ *ᵥ x = |
| 84 | (Z.matrix * ProjectorCharts.CM.graphBottom (coordinateProjector K C P) Z₀) *ᵥ x |
| 85 | rw [← Matrix.mulVec_mulVec, hb, ht] |
| 86 | |
| 87 | theorem coordinate_projectors_tendsto |
| 88 | {A : Type*} {l : Filter A} (C : Fin 2 → HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 89 | (P : A → ComplexTransition.CM.TotalAmbient K →ₗ[ℂ] ComplexTransition.CM.TotalAmbient K) (P₀ : ComplexTransition.CM.TotalAmbient K →ₗ[ℂ] ComplexTransition.CM.TotalAmbient K) |
| 90 | (hP : ∀ w, Tendsto (fun a => P a w) l (𝓝 (P₀ w))) : |
| 91 | Tendsto (fun a => coordinateProjector K C (P a)) l (𝓝 (coordinateProjector K C P₀)) := by |
| 92 | apply tendsto_pi_nhds.mpr |
| 93 | intro i |
| 94 | apply tendsto_pi_nhds.mpr |
| 95 | intro j |
| 96 | let w := (ComplexTransition.CM.totalComplexCoordinates K C).symm (Pi.single j 1) |
| 97 | have hc := ((ComplexTransition.CM.totalComplexCoordinates K C).toContinuousLinearEquiv.continuous.tendsto (P₀ w)).comp (hP w) |
| 98 | have he := ((continuous_apply i).tendsto _).comp hc |
| 99 | exact he |
| 100 | |
| 101 | end |
| 102 | |
| 103 | /-! ThetaCycle: holomorphic calculus for the actual graph-projection charts. -/ |
| 104 | |
| 105 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 106 | |
| 107 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] {s : Set V} |
| 108 | |
| 109 | theorem matrix_column_product_holomorphic |
| 110 | {I J L : Type*} [Fintype I] [Fintype J] [Fintype L] |
| 111 | (M : V → Matrix I J ℂ) (N : V → Matrix J L ℂ) |
| 112 | (hM : DifferentiableOn ℂ M s) (hN : DifferentiableOn ℂ N s) : |
| 113 | DifferentiableOn ℂ (fun z => matrixColumnProduct (M z) (N z)) s := by |
| 114 | apply differentiableOn_pi.mpr |
| 115 | intro i |
| 116 | apply differentiableOn_pi.mpr |
| 117 | intro l |
| 118 | simp only [matrixColumnProduct] |
| 119 | fun_prop |
| 120 | |
| 121 | theorem graph_frame_holomorphic {I : Type*} [Fintype I] [DecidableEq I] |
| 122 | (Z : V → Matrix I I ℂ) (hZ : DifferentiableOn ℂ Z s) : |
| 123 | DifferentiableOn ℂ (fun z => Matrix.fromRows (Z z) (1 : Matrix I I ℂ)) s := by |
| 124 | apply differentiableOn_pi.mpr |
| 125 | intro i |
| 126 | cases i with |
| 127 | | inl i => |
| 128 | change DifferentiableOn ℂ (fun z => Z z i) s |
| 129 | exact (differentiable_apply i).comp_differentiableOn hZ |
| 130 | | inr i => |
| 131 | change DifferentiableOn ℂ (fun _ : V => (1 : Matrix I I ℂ) i) s |
| 132 | exact differentiableOn_const _ |
| 133 | |
| 134 | theorem graph_blocks_holomorphic {I : Type*} [Fintype I] [DecidableEq I] |
| 135 | (P : V → Matrix (Sum I I) (Sum I I) ℂ) (Z : V → Matrix I I ℂ) |
| 136 | (hP : DifferentiableOn ℂ P s) (hZ : DifferentiableOn ℂ Z s) : |
| 137 | DifferentiableOn ℂ (fun z => ProjectorCharts.CM.graphTop (P z) (Z z)) s ∧ |
| 138 | DifferentiableOn ℂ (fun z => ProjectorCharts.CM.graphBottom (P z) (Z z)) s := by |
| 139 | have h := matrix_column_product_holomorphic P (fun z => Matrix.fromRows (Z z) 1) |
| 140 | hP (graph_frame_holomorphic Z hZ) |
| 141 | constructor |
| 142 | · apply differentiableOn_pi.mpr |
| 143 | intro i |
| 144 | exact (differentiable_apply (Sum.inl i)).comp_differentiableOn h |
| 145 | · apply differentiableOn_pi.mpr |
| 146 | intro i |
| 147 | exact (differentiable_apply (Sum.inr i)).comp_differentiableOn h |
| 148 | |
| 149 | theorem projector_graph_chart_holomorphic {I : Type*} [Fintype I] [DecidableEq I] |
| 150 | (P : V → Matrix (Sum I I) (Sum I I) ℂ) (Z : V → Matrix I I ℂ) |
| 151 | (hP : DifferentiableOn ℂ P s) (hZ : DifferentiableOn ℂ Z s) |
| 152 | (hdet : ∀ z ∈ s, (ProjectorCharts.CM.graphBottom (P z) (Z z)).det ≠ 0) : |
| 153 | DifferentiableOn ℂ (fun z => ProjectorCharts.CM.projectorGraphChart (P z) (Z z)) s := by |
| 154 | obtain ⟨ht, hb⟩ := graph_blocks_holomorphic P Z hP hZ |
| 155 | exact MatrixCalculus.CM.matrix_product_holomorphic _ _ ht (MatrixCalculus.CM.matrix_inverse_holomorphic _ hb hdet) |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoordinateProjector.CM |