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.TotalProjector |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CompactComplex |
| 3 | |
| 4 | /-! # Intertwining Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntertwiningBasis.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! ThetaCycle: local matrix formulas for the actual complex basis change and source projector. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 16 | open _root_.Module |
| 17 | |
| 18 | variable (K : IntermediateField ℚ ℂ) |
| 19 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 20 | |
| 21 | theorem paired_basis_change_first (places : HeckeCycles.GeometricSource.CM.Places K) (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 22 | (x : ComplexTransition.CM.TotalAmbient K) (i : Fin 2) (τ : Fin places.count) (j : Fin 3) : |
| 23 | (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x i) τ).1 j = |
| 24 | (Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b *ᵥ |
| 25 | (fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).1 j)) i := by |
| 26 | simp [Symplectic.CM.galoisToPaired_apply, ComplexTransition.CM.complexTensorBasisChange, Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix, |
| 27 | HeckeCycles.ReferenceDatum.CM.embeddings, Matrix.mulVec, dotProduct] |
| 28 | |
| 29 | theorem paired_basis_change_second (places : HeckeCycles.GeometricSource.CM.Places K) (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 30 | (x : ComplexTransition.CM.TotalAmbient K) (i : Fin 2) (τ : Fin places.count) (j : Fin 3) : |
| 31 | (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x i) τ).2 j = |
| 32 | ((Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b).map star *ᵥ |
| 33 | (fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).2 j)) i := by |
| 34 | simp [Symplectic.CM.galoisToPaired_apply, ComplexTransition.CM.complexTensorBasisChange, Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix, |
| 35 | HeckeCycles.ReferenceDatum.CM.embeddings, Matrix.mulVec, dotProduct] |
| 36 | |
| 37 | theorem paired_source_projector (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 38 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Ambient K) (τ : Fin places.count) : |
| 39 | Symplectic.CM.galoisToPaired K places (CompactComplex.CM.sourcePeriodProjector K B places d z w) τ = |
| 40 | if τ = places.distinguished then |
| 41 | CompactComplex.CM.distinguishedProjection K B z (Symplectic.CM.galoisToPaired K places w τ) |
| 42 | else if d (places.representative τ) then (0, (Symplectic.CM.galoisToPaired K places w τ).2) |
| 43 | else ((Symplectic.CM.galoisToPaired K places w τ).1, 0) := by |
| 44 | change Symplectic.CM.galoisToPaired K places ((Symplectic.CM.galoisToPaired K places).symm |
| 45 | (CompactComplex.CM.pairedLineProjector K B places d z (Symplectic.CM.galoisToPaired K places w))) τ = _ |
| 46 | rw [LinearEquiv.apply_symm_apply] |
| 47 | rfl |
| 48 | |
| 49 | end |
| 50 | |
| 51 | section |
| 52 | |
| 53 | /-! ThetaCycle: the transported source projections are the actual compact-period matrices. -/ |
| 54 | |
| 55 | open scoped Classical _root_.Matrix |
| 56 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 57 | open _root_.Module |
| 58 | |
| 59 | variable (K : IntermediateField ℚ ℂ) |
| 60 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 61 | |
| 62 | theorem compact_projector_intertwines_first (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 63 | (d : Fin 2 → Gal(K/ℚ) → Bool) (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 64 | (z : HeckeCycles.GeometricSource.CM.BallChart) (x : ComplexTransition.CM.TotalAmbient K) (τ : Fin places.count) (hτ : τ ≠ places.distinguished) |
| 65 | (i : Fin 2) (j : Fin 3) : |
| 66 | (Symplectic.CM.galoisToPaired K places |
| 67 | (ComplexTransition.CM.complexTensorBasisChange K b (TotalProjector.CM.totalSourceProjector K B places d z x) i) τ).1 j = |
| 68 | ((Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b (fun k => d k (places.representative τ))).1 *ᵥ |
| 69 | (fun k => (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x k) τ).1 j)) i := by |
| 70 | let v := fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).1 j |
| 71 | let ds := fun k => d k (places.representative τ) |
| 72 | let M := Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b |
| 73 | have hm : (fun k => (Symplectic.CM.galoisToPaired K places (TotalProjector.CM.totalSourceProjector K B places d z x k) τ).1 j) = |
| 74 | CompactComplex.CM.boolDiagonal (fun k => !ds k) *ᵥ v := by |
| 75 | funext k |
| 76 | change (Symplectic.CM.galoisToPaired K places (CompactComplex.CM.sourcePeriodProjector K B places (d k) z (x k)) τ).1 j = _ |
| 77 | rw [paired_source_projector] |
| 78 | cases hd : d k (places.representative τ) <;> |
| 79 | simp [hτ, hd, CompactComplex.CM.boolDiagonal, Matrix.mulVec_diagonal, ds, v] |
| 80 | have hb : (fun k => (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x k) τ).1 j) = M *ᵥ v := by |
| 81 | funext k |
| 82 | exact paired_basis_change_first K places b x k τ j |
| 83 | rw [paired_basis_change_first, hm, hb, Matrix.mulVec_mulVec, Matrix.mulVec_mulVec, |
| 84 | (CompactComplex.CM.compact_period_selected_lines (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b ds).1] |
| 85 | |
| 86 | theorem compact_projector_intertwines_second (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 87 | (d : Fin 2 → Gal(K/ℚ) → Bool) (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 88 | (z : HeckeCycles.GeometricSource.CM.BallChart) (x : ComplexTransition.CM.TotalAmbient K) (τ : Fin places.count) (hτ : τ ≠ places.distinguished) |
| 89 | (i : Fin 2) (j : Fin 3) : |
| 90 | (Symplectic.CM.galoisToPaired K places |
| 91 | (ComplexTransition.CM.complexTensorBasisChange K b (TotalProjector.CM.totalSourceProjector K B places d z x) i) τ).2 j = |
| 92 | ((Analysis.DifferentialForms.Coordinates.LocalApproximation.compactPeriod (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b (fun k => d k (places.representative τ))).2 *ᵥ |
| 93 | (fun k => (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x k) τ).2 j)) i := by |
| 94 | let v := fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).2 j |
| 95 | let ds := fun k => d k (places.representative τ) |
| 96 | let M := (Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b).map star |
| 97 | have hm : (fun k => (Symplectic.CM.galoisToPaired K places (TotalProjector.CM.totalSourceProjector K B places d z x k) τ).2 j) = |
| 98 | CompactComplex.CM.boolDiagonal ds *ᵥ v := by |
| 99 | funext k |
| 100 | change (Symplectic.CM.galoisToPaired K places (CompactComplex.CM.sourcePeriodProjector K B places (d k) z (x k)) τ).2 j = _ |
| 101 | rw [paired_source_projector] |
| 102 | cases hd : d k (places.representative τ) <;> |
| 103 | simp [hτ, hd, CompactComplex.CM.boolDiagonal, Matrix.mulVec_diagonal, ds, v] |
| 104 | have hb : (fun k => (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x k) τ).2 j) = M *ᵥ v := by |
| 105 | funext k |
| 106 | exact paired_basis_change_second K places b x k τ j |
| 107 | rw [paired_basis_change_second, hm, hb, Matrix.mulVec_mulVec, Matrix.mulVec_mulVec, |
| 108 | (CompactComplex.CM.compact_period_selected_lines (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b ds).2] |
| 109 | |
| 110 | end |
| 111 | |
| 112 | /-! ThetaCycle: the distinguished total period projector is unchanged by the |
| 113 | multiplicity basis change. -/ |
| 114 | |
| 115 | open scoped Classical _root_.Matrix |
| 116 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 117 | open _root_.Module |
| 118 | |
| 119 | theorem linear_map_matrix_combination {I J : Type*} [Fintype I] [Fintype J] |
| 120 | (f : (J → ℂ) →ₗ[ℂ] (J → ℂ)) (M : Matrix I I ℂ) (v : I → J → ℂ) (i : I) (j : J) : |
| 121 | f (fun l => (M *ᵥ (fun k => v k l)) i) j = (M *ᵥ (fun k => f (v k) j)) i := by |
| 122 | have h : (fun l => (M *ᵥ (fun k => v k l)) i) = ∑ k, M i k • v k := by |
| 123 | funext l |
| 124 | simp [Matrix.mulVec, dotProduct, Finset.sum_apply] |
| 125 | rw [h, map_sum] |
| 126 | simp [Matrix.mulVec, dotProduct, Finset.sum_apply] |
| 127 | |
| 128 | variable (K : IntermediateField ℚ ℂ) |
| 129 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 130 | |
| 131 | theorem distinguished_projector_intertwines (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 132 | (d : Fin 2 → Gal(K/ℚ) → Bool) (b : Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 133 | (z : HeckeCycles.GeometricSource.CM.BallChart) (x : ComplexTransition.CM.TotalAmbient K) (i : Fin 2) : |
| 134 | Symplectic.CM.galoisToPaired K places |
| 135 | (ComplexTransition.CM.complexTensorBasisChange K b (TotalProjector.CM.totalSourceProjector K B places d z x) i) places.distinguished = |
| 136 | CompactComplex.CM.distinguishedProjection K B z |
| 137 | (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x i) places.distinguished) := by |
| 138 | let τ := places.distinguished |
| 139 | let M := Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (HeckeCycles.ReferenceDatum.CM.embeddings K places τ) b |
| 140 | have hp (k : Fin 2) : Symplectic.CM.galoisToPaired K places (TotalProjector.CM.totalSourceProjector K B places d z x k) τ = |
| 141 | CompactComplex.CM.distinguishedProjection K B z (Symplectic.CM.galoisToPaired K places (x k) τ) := by |
| 142 | change Symplectic.CM.galoisToPaired K places (CompactComplex.CM.sourcePeriodProjector K B places (d k) z (x k)) τ = _ |
| 143 | rw [paired_source_projector] |
| 144 | simp only [τ, ite_true] |
| 145 | apply Prod.ext |
| 146 | · funext j |
| 147 | change (Symplectic.CM.galoisToPaired K places |
| 148 | (ComplexTransition.CM.complexTensorBasisChange K b (TotalProjector.CM.totalSourceProjector K B places d z x) i) τ).1 j = |
| 149 | CompactComplex.CM.ballLineProjection z (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x i) τ).1 j |
| 150 | rw [paired_basis_change_first] |
| 151 | simp only [hp] |
| 152 | have hb : (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x i) τ).1 = |
| 153 | fun l => (M *ᵥ (fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).1 l)) i := by |
| 154 | funext l |
| 155 | exact paired_basis_change_first K places b x i τ l |
| 156 | rw [hb] |
| 157 | exact (linear_map_matrix_combination (CompactComplex.CM.ballLineProjection z) M |
| 158 | (fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).1) i j).symm |
| 159 | · funext j |
| 160 | change (Symplectic.CM.galoisToPaired K places |
| 161 | (ComplexTransition.CM.complexTensorBasisChange K b (TotalProjector.CM.totalSourceProjector K B places d z x) i) τ).2 j = |
| 162 | CompactComplex.CM.ballAnnihilatorProjection (B.b : ℂ) z |
| 163 | (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x i) τ).2 j |
| 164 | rw [paired_basis_change_second] |
| 165 | simp only [hp] |
| 166 | have hb : (Symplectic.CM.galoisToPaired K places (ComplexTransition.CM.complexTensorBasisChange K b x i) τ).2 = |
| 167 | fun l => (M.map star *ᵥ (fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).2 l)) i := by |
| 168 | funext l |
| 169 | exact paired_basis_change_second K places b x i τ l |
| 170 | rw [hb] |
| 171 | exact (linear_map_matrix_combination (CompactComplex.CM.ballAnnihilatorProjection (B.b : ℂ) z) (M.map star) |
| 172 | (fun k => (Symplectic.CM.galoisToPaired K places (x k) τ).2) i j).symm |
| 173 | |
| 174 | end |
| 175 | |
| 176 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntertwiningBasis.CM |