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.PELModuli.CMPoints.BasisHodge |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.EmbeddedBasis |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ZeroPeriod |
| 4 | |
| 5 | /-! # Closed Coefficient Periods -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.ClosedCoefficientPeriods |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The CM decomposition in an orthogonal rational basis has exactly |
| 14 | the negative-line and annihilator subspaces of the component period. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | |
| 18 | open _root_.Module |
| 19 | |
| 20 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [NumberField.IsCMField E] {s : ℕ} |
| 22 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 23 | |
| 24 | def componentPrescribed (H : Matrix (Fin 3) (Fin 3) E) (v : Geometry.ComplexBall.PrescribedSignsB.Vec) |
| 25 | (u : Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s)) : Prop := |
| 26 | ∀ i, if i = P.distinguished then |
| 27 | (u i).1 ∈ Submodule.span ℂ {v} ∧ Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings H i v (u i).2 = 0 |
| 28 | else if P.compactSigns i then (u i).1 = 0 else (u i).2 = 0 |
| 29 | |
| 30 | omit [NumberField E] [NumberField.IsCMField E] [Algebra ℚ E] in |
| 31 | theorem embeddedBasis_line_mem (σ : E →+* ℂ) (b : Basis (Fin 3) E (Fin 3 → E)) |
| 32 | (x : Geometry.ComplexBall.PrescribedSignsB.Vec) : |
| 33 | EmbeddedBasis.embeddedBasisEquiv σ b x ∈ Submodule.span ℂ {fun i => σ (b 2 i)} ↔ |
| 34 | x ∈ Submodule.span ℂ {Geometry.ComplexBall.PrescribedSignsB.lineVector (0 : Geometry.ComplexBall.PrescribedSignsB.BallChart)} := by |
| 35 | have hs : EmbeddedBasis.embeddedBasisEquiv σ b (Geometry.ComplexBall.PrescribedSignsB.lineVector (0 : Geometry.ComplexBall.PrescribedSignsB.BallChart)) = (fun i => σ (b 2 i)) := by |
| 36 | ext i |
| 37 | simp [EmbeddedBasis.embeddedBasisEquiv_apply, Geometry.ComplexBall.PrescribedSignsB.lineVector, Fin.sum_univ_succ] |
| 38 | rw [← hs, Submodule.mem_span_singleton, Submodule.mem_span_singleton] |
| 39 | constructor |
| 40 | · rintro ⟨a, ha⟩ |
| 41 | exact ⟨a, (EmbeddedBasis.embeddedBasisEquiv σ b).injective ((map_smul _ _ _).trans ha)⟩ |
| 42 | · rintro ⟨a, rfl⟩ |
| 43 | exact ⟨a, (map_smul _ _ _).symm⟩ |
| 44 | |
| 45 | include hP in |
| 46 | theorem coordinateSignCondition_iff_componentPrescribed |
| 47 | (H : Matrix (Fin 3) (Fin 3) E) |
| 48 | (hani : ∀ x : Fin 3 → E, AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H x x = 0 → x = 0) |
| 49 | (b : Basis (Fin 3) E (Fin 3 → E)) |
| 50 | (hb : Pairwise (fun i j => AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b i) (b j) = 0)) |
| 51 | (u : Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s)) : |
| 52 | PeriodCoordinates.coordinateSignCondition P u ↔ |
| 53 | componentPrescribed P H (fun i => P.μ (b 2 i)) (BasisHodge.ambientBasisEquiv P b u) := by |
| 54 | rw [ZeroPeriod.zero_signCondition_iff_prescribed P hP] |
| 55 | unfold Geometry.ComplexBall.PrescribedSignsB.Prescribed componentPrescribed |
| 56 | apply forall_congr' |
| 57 | intro i |
| 58 | by_cases hi : i = P.distinguished |
| 59 | · subst i |
| 60 | simp only [ite_true] |
| 61 | change ((u P.distinguished).1 ∈ Submodule.span ℂ {Geometry.ComplexBall.PrescribedSignsB.lineVector (0 : Geometry.ComplexBall.PrescribedSignsB.BallChart)} ∧ |
| 62 | Geometry.ComplexBall.PrescribedSignsB.localB P.embeddings (Matrix.diagonal ![1, 1, P.b]) P.distinguished |
| 63 | (Geometry.ComplexBall.PrescribedSignsB.lineVector 0) (u P.distinguished).2 = 0) ↔ |
| 64 | (EmbeddedBasis.embeddedBasisEquiv P.μ b (u P.distinguished).1 ∈ |
| 65 | Submodule.span ℂ {fun i => P.μ (b 2 i)} ∧ |
| 66 | Geometry.ComplexBall.PrescribedSignsB.localB (fun _ : Unit => P.embeddings P.distinguished) H () |
| 67 | (fun i => P.embeddings P.distinguished (b 2 i)) |
| 68 | (EmbeddedBasis.embeddedBasisEquiv (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings P.distinguished)).toRingHom b |
| 69 | (u P.distinguished).2) = 0) |
| 70 | rw [embeddedBasis_line_mem, |
| 71 | EmbeddedBasis.orthogonal_embedding_annihilator (P.embeddings P.distinguished) H hani b hb 2, |
| 72 | ZeroPeriod.diagonal_pairing_zero_line] |
| 73 | have hn : P.embeddings P.distinguished P.b ≠ 0 := |
| 74 | (map_ne_zero _).mpr hP.2.2.1 |
| 75 | rw [mul_eq_zero, or_iff_right hn] |
| 76 | · simp only [hi, ite_false] |
| 77 | cases hsign : P.compactSigns i |
| 78 | · change (u i).2 = 0 ↔ EmbeddedBasis.embeddedBasisEquiv |
| 79 | (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)).toRingHom b (u i).2 = 0 |
| 80 | exact (EmbeddedBasis.embeddedBasisEquiv (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)).toRingHom b).map_eq_zero_iff.symm |
| 81 | · change (u i).1 = 0 ↔ EmbeddedBasis.embeddedBasisEquiv (P.embeddings i).toRingHom b (u i).1 = 0 |
| 82 | exact (EmbeddedBasis.embeddedBasisEquiv (P.embeddings i).toRingHom b).map_eq_zero_iff.symm |
| 83 | |
| 84 | theorem basisCMHodge_component_period (H : Matrix (Fin 3) (Fin 3) E) |
| 85 | (hani : ∀ x : Fin 3 → E, AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H x x = 0 → x = 0) |
| 86 | (b : Basis (Fin 3) E (Fin 3 → E)) |
| 87 | (hb : Pairwise (fun i j => AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.matrixHermitian H (b i) (b j) = 0)) |
| 88 | (x : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E)) : |
| 89 | x ∈ (BasisHodge.basisCMHodge P hP b).holomorphic ↔ |
| 90 | componentPrescribed P H (fun i => P.μ (b 2 i)) (PeriodCoordinates.cmPeriodCoordinates P hP x) := by |
| 91 | rw [BasisHodge.basisCMHodge_holomorphic, |
| 92 | coordinateSignCondition_iff_componentPrescribed P hP H hani b hb, |
| 93 | LinearEquiv.apply_symm_apply] |
| 94 | |
| 95 | end |
| 96 | |
| 97 | /-! The exact coefficient-period conditions form a closed relation in |
| 98 | the parameter and normalized ball coordinates. -/ |
| 99 | |
| 100 | open Set |
| 101 | open scoped Classical |
| 102 | |
| 103 | theorem mem_span_normalized_line_iff (e : Geometry.ComplexBall.PrescribedSignsB.Vec ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Vec) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) (x : Geometry.ComplexBall.PrescribedSignsB.Vec) : |
| 104 | x ∈ Submodule.span ℂ {e (Geometry.ComplexBall.PrescribedSignsB.lineVector z)} ↔ |
| 105 | x = (e.symm x) 2 • e (Geometry.ComplexBall.PrescribedSignsB.lineVector z) := by |
| 106 | rw [Submodule.mem_span_singleton] |
| 107 | constructor |
| 108 | · rintro ⟨a, ha⟩ |
| 109 | have hc : a = e.symm x 2 := by |
| 110 | have h := congrArg (fun v : Geometry.ComplexBall.PrescribedSignsB.Vec => e.symm v 2) ha |
| 111 | simpa [Geometry.ComplexBall.PrescribedSignsB.lineVector] using h |
| 112 | rw [← hc] |
| 113 | exact ha.symm |
| 114 | · intro hx |
| 115 | exact ⟨e.symm x 2, hx.symm⟩ |
| 116 | |
| 117 | theorem isClosed_mem_normalized_line |
| 118 | {X : Type*} [TopologicalSpace X] |
| 119 | (e : Geometry.ComplexBall.PrescribedSignsB.Vec ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Vec) (z : X → Geometry.ComplexBall.PrescribedSignsB.BallChart) (x : X → Geometry.ComplexBall.PrescribedSignsB.Vec) |
| 120 | (hz : Continuous z) (hx : Continuous x) : |
| 121 | IsClosed {q : X | x q ∈ Submodule.span ℂ {e (Geometry.ComplexBall.PrescribedSignsB.lineVector (z q))}} := by |
| 122 | simp only [mem_span_normalized_line_iff] |
| 123 | apply isClosed_eq hx |
| 124 | exact ((continuous_apply 2).comp (e.symm.continuous_of_finiteDimensional.comp hx)).smul |
| 125 | (e.continuous_of_finiteDimensional.comp (Geometry.ComplexBall.PrescribedSignsB.lineVector_differentiable.continuous.comp hz)) |
| 126 | |
| 127 | theorem isClosed_componentPrescribed |
| 128 | {E X : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 129 | [TopologicalSpace X] {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 130 | (H : Matrix (Fin 3) (Fin 3) E) (e : Geometry.ComplexBall.PrescribedSignsB.Vec ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Vec) |
| 131 | (z : X → Geometry.ComplexBall.PrescribedSignsB.BallChart) (u : X → Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s)) |
| 132 | (hz : Continuous z) (hu : Continuous u) : |
| 133 | IsClosed {q : X | componentPrescribed P H (e (Geometry.ComplexBall.PrescribedSignsB.lineVector (z q))) (u q)} := by |
| 134 | unfold componentPrescribed |
| 135 | simp only [ofPred_forall] |
| 136 | apply isClosed_iInter |
| 137 | intro i |
| 138 | by_cases hi : i = P.distinguished |
| 139 | · simp only [hi, ite_true, ofPred_and] |
| 140 | apply IsClosed.inter |
| 141 | · exact isClosed_mem_normalized_line e z (fun q => (u q P.distinguished).1) hz |
| 142 | (((continuous_apply P.distinguished).comp hu).fst) |
| 143 | · apply isClosed_eq _ continuous_const |
| 144 | have hline : Continuous (fun q => e (Geometry.ComplexBall.PrescribedSignsB.lineVector (z q))) := |
| 145 | e.continuous_of_finiteDimensional.comp (Geometry.ComplexBall.PrescribedSignsB.lineVector_differentiable.continuous.comp hz) |
| 146 | have hvec : Continuous (fun q => (u q P.distinguished).2) := |
| 147 | ((continuous_apply P.distinguished).comp hu).snd |
| 148 | unfold Geometry.ComplexBall.PrescribedSignsB.localB |
| 149 | apply continuous_finsetSum |
| 150 | intro j _ |
| 151 | apply continuous_finsetSum |
| 152 | intro k _ |
| 153 | exact (((continuous_apply j).comp hline).mul continuous_const).mul |
| 154 | ((continuous_apply k).comp hvec) |
| 155 | · simp only [hi, ite_false] |
| 156 | split_ifs |
| 157 | · exact isClosed_eq (((continuous_apply i).comp hu).fst) continuous_const |
| 158 | · exact isClosed_eq (((continuous_apply i).comp hu).snd) continuous_const |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.ClosedCoefficientPeriods |