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.AbelianModuli.ReferenceFamily.Datum |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Diagonal |
| 3 | |
| 4 | /-! # Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Explicit quotient coordinates for the reference period family. The |
| 11 | active block has two coordinates from the first embedding and one from |
| 12 | its conjugate; each compact block retains the prescribed whole summand. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | abbrev Reference.Quotient.PeriodBlock := Fin 3 → ℂ |
| 17 | |
| 18 | def Reference.Quotient.activePeriodProjection (b : ℂ) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : |
| 19 | (Reference.Quotient.PeriodBlock × Reference.Quotient.PeriodBlock) →ₗ[ℂ] Reference.Quotient.PeriodBlock where |
| 20 | toFun u := ![u.1 0 - z 0 * u.1 2, u.1 1 - z 1 * u.1 2, |
| 21 | z 0 * u.2 0 + z 1 * u.2 1 + b * u.2 2] |
| 22 | map_add' u v := by ext i; fin_cases i <;> simp <;> ring |
| 23 | map_smul' c u := by ext i; fin_cases i <;> simp <;> ring |
| 24 | |
| 25 | theorem Reference.Quotient.firstPeriod_kernel (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) (u : Reference.Quotient.PeriodBlock) : |
| 26 | (u 0 - z 0 * u 2 = 0 ∧ u 1 - z 1 * u 2 = 0) ↔ |
| 27 | u ∈ Submodule.span ℂ {Geometry.ComplexBall.PrescribedSignsB.lineVector z} := by |
| 28 | rw [Submodule.mem_span_singleton] |
| 29 | constructor |
| 30 | · rintro ⟨h₀, h₁⟩ |
| 31 | refine ⟨u 2, ?_⟩ |
| 32 | ext i |
| 33 | fin_cases i |
| 34 | · change u 2 * z 0 = u 0 |
| 35 | rw [mul_comm] |
| 36 | exact (sub_eq_zero.mp h₀).symm |
| 37 | · change u 2 * z 1 = u 1 |
| 38 | rw [mul_comm] |
| 39 | exact (sub_eq_zero.mp h₁).symm |
| 40 | · simp [Geometry.ComplexBall.PrescribedSignsB.lineVector] |
| 41 | · rintro ⟨a, rfl⟩ |
| 42 | simp [Geometry.ComplexBall.PrescribedSignsB.lineVector, mul_comm] |
| 43 | |
| 44 | theorem Reference.Quotient.activePeriodProjection_kernel (b : ℂ) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 45 | (u : Reference.Quotient.PeriodBlock × Reference.Quotient.PeriodBlock) : |
| 46 | Reference.Quotient.activePeriodProjection b z u = 0 ↔ |
| 47 | u.1 ∈ Submodule.span ℂ {Geometry.ComplexBall.PrescribedSignsB.lineVector z} ∧ |
| 48 | z 0 * u.2 0 + z 1 * u.2 1 + b * u.2 2 = 0 := by |
| 49 | have h : Reference.Quotient.activePeriodProjection b z u = 0 ↔ |
| 50 | (u.1 0 - z 0 * u.1 2 = 0 ∧ u.1 1 - z 1 * u.1 2 = 0) ∧ |
| 51 | z 0 * u.2 0 + z 1 * u.2 1 + b * u.2 2 = 0 := by |
| 52 | simp only [Reference.Quotient.activePeriodProjection, LinearMap.coe_mk, AddHom.coe_mk, funext_iff] |
| 53 | simp [Fin.forall_fin_succ, and_assoc] |
| 54 | rw [h, Reference.Quotient.firstPeriod_kernel] |
| 55 | |
| 56 | def Reference.Quotient.activePeriodSection (b : ℂ) : Reference.Quotient.PeriodBlock →ₗ[ℂ] (Reference.Quotient.PeriodBlock × Reference.Quotient.PeriodBlock) where |
| 57 | toFun t := (![t 0, t 1, 0], ![0, 0, t 2 / b]) |
| 58 | map_add' u v := by ext i <;> fin_cases i <;> simp [add_div] |
| 59 | map_smul' c u := by ext i <;> fin_cases i <;> simp [mul_div_assoc] |
| 60 | |
| 61 | theorem Reference.Quotient.activePeriodProjection_section (b : ℂ) (hb : b ≠ 0) |
| 62 | (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) (t : Reference.Quotient.PeriodBlock) : |
| 63 | Reference.Quotient.activePeriodProjection b z (Reference.Quotient.activePeriodSection b t) = t := by |
| 64 | ext i |
| 65 | fin_cases i <;> simp only [Reference.Quotient.activePeriodProjection, Reference.Quotient.activePeriodSection, LinearMap.coe_mk, AddHom.coe_mk] |
| 66 | · simp |
| 67 | · simp |
| 68 | · change z 0 * 0 + z 1 * 0 + b * (t 2 / b) = t 2 |
| 69 | rw [mul_zero, mul_zero, zero_add, zero_add, mul_comm] |
| 70 | exact div_mul_cancel₀ _ hb |
| 71 | |
| 72 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 73 | [NumberField.IsCMField E] {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 74 | |
| 75 | abbrev Datum.RankThreePELDatum.PeriodQuotientCoordinates := Fin s → Reference.Quotient.PeriodBlock |
| 76 | |
| 77 | def Datum.RankThreePELDatum.periodProjection (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : |
| 78 | Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) →ₗ[ℂ] Datum.RankThreePELDatum.PeriodQuotientCoordinates (s := s) where |
| 79 | toFun u i := if i = P.distinguished then |
| 80 | Reference.Quotient.activePeriodProjection (P.μ P.b) z (u i) |
| 81 | else if P.compactSigns i then (u i).1 else (u i).2 |
| 82 | map_add' u v := by |
| 83 | funext i |
| 84 | dsimp |
| 85 | split_ifs <;> simp only [map_add] |
| 86 | map_smul' c u := by |
| 87 | funext i |
| 88 | dsimp |
| 89 | split_ifs <;> simp only [map_smul] |
| 90 | |
| 91 | def Datum.RankThreePELDatum.periodSection : Datum.RankThreePELDatum.PeriodQuotientCoordinates (s := s) →ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) where |
| 92 | toFun t i := if i = P.distinguished then |
| 93 | Reference.Quotient.activePeriodSection (P.μ P.b) (t i) |
| 94 | else if P.compactSigns i then (t i, 0) else (0, t i) |
| 95 | map_add' u v := by |
| 96 | funext i |
| 97 | dsimp |
| 98 | split_ifs |
| 99 | · exact map_add _ _ _ |
| 100 | · exact Prod.ext rfl (zero_add 0).symm |
| 101 | · exact Prod.ext (zero_add 0).symm rfl |
| 102 | map_smul' c u := by |
| 103 | funext i |
| 104 | dsimp |
| 105 | split_ifs |
| 106 | · exact map_smul _ _ _ |
| 107 | · exact Prod.ext rfl (smul_zero c).symm |
| 108 | · exact Prod.ext (smul_zero c).symm rfl |
| 109 | |
| 110 | theorem Datum.RankThreePELDatum.periodProjection_section (hP : P.IsAdmissible) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 111 | (t : Datum.RankThreePELDatum.PeriodQuotientCoordinates (s := s)) : P.periodProjection z (P.periodSection t) = t := by |
| 112 | have hb : P.μ P.b ≠ 0 := by |
| 113 | exact (map_ne_zero P.μ).mpr hP.2.2.1 |
| 114 | funext i |
| 115 | dsimp [Datum.RankThreePELDatum.periodProjection, Datum.RankThreePELDatum.periodSection] |
| 116 | split_ifs |
| 117 | · exact Reference.Quotient.activePeriodProjection_section _ hb z (t i) |
| 118 | · rfl |
| 119 | · rfl |
| 120 | |
| 121 | theorem Datum.RankThreePELDatum.periodProjection_kernel (hP : P.IsAdmissible) (z : P.domain) : |
| 122 | (P.periodProjection z.val).ker = P.periodFamily z.val := by |
| 123 | rcases hP with |
| 124 | ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, hperiod⟩ |
| 125 | have hp := (hperiod z.val z.property).1 |
| 126 | ext u |
| 127 | change P.periodProjection z.val u = 0 ↔ _ |
| 128 | rw [hp] |
| 129 | rw [funext_iff] |
| 130 | simp only [Pi.zero_apply] |
| 131 | unfold Geometry.ComplexBall.PrescribedSignsB.Prescribed |
| 132 | apply forall_congr' |
| 133 | intro i |
| 134 | by_cases hi : i = P.distinguished |
| 135 | · subst i |
| 136 | simp only [Datum.RankThreePELDatum.periodProjection, LinearMap.coe_mk, AddHom.coe_mk, ↓reduceIte] |
| 137 | rw [Reference.Quotient.activePeriodProjection_kernel, NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.localB_diagonal] |
| 138 | simp [Geometry.ComplexBall.PrescribedSignsB.lineVector, Datum.RankThreePELDatum.μ] |
| 139 | · by_cases hd : P.compactSigns i = true |
| 140 | · simp only [Datum.RankThreePELDatum.periodProjection, LinearMap.coe_mk, AddHom.coe_mk, hi, ite_false, hd, ite_true] |
| 141 | · simp only [Datum.RankThreePELDatum.periodProjection, LinearMap.coe_mk, AddHom.coe_mk, hi, ite_false, hd, Bool.false_eq_true] |
| 142 | |
| 143 | omit [NumberField E] [NumberField.IsCMField E] in |
| 144 | theorem Datum.RankThreePELDatum.periodProjection_differentiable : |
| 145 | Differentiable ℂ (fun p : Geometry.ComplexBall.PrescribedSignsB.BallChart × Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) => |
| 146 | P.periodProjection p.1 p.2) := by |
| 147 | apply differentiable_pi.mpr |
| 148 | intro i |
| 149 | by_cases hi : i = P.distinguished |
| 150 | · simp only [Datum.RankThreePELDatum.periodProjection, LinearMap.coe_mk, AddHom.coe_mk, hi, ite_true] |
| 151 | apply differentiable_pi.mpr |
| 152 | intro j |
| 153 | fin_cases j |
| 154 | · change Differentiable ℂ (fun p : Geometry.ComplexBall.PrescribedSignsB.BallChart × Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) => |
| 155 | (p.2 P.distinguished).1 0 - p.1 0 * (p.2 P.distinguished).1 2) |
| 156 | fun_prop |
| 157 | · change Differentiable ℂ (fun p : Geometry.ComplexBall.PrescribedSignsB.BallChart × Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) => |
| 158 | (p.2 P.distinguished).1 1 - p.1 1 * (p.2 P.distinguished).1 2) |
| 159 | fun_prop |
| 160 | · change Differentiable ℂ (fun p : Geometry.ComplexBall.PrescribedSignsB.BallChart × Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) => |
| 161 | p.1 0 * (p.2 P.distinguished).2 0 + |
| 162 | p.1 1 * (p.2 P.distinguished).2 1 + |
| 163 | P.μ P.b * (p.2 P.distinguished).2 2) |
| 164 | fun_prop |
| 165 | · by_cases hd : P.compactSigns i = true |
| 166 | · simp only [Datum.RankThreePELDatum.periodProjection, LinearMap.coe_mk, AddHom.coe_mk, hi, ite_false, hd, ite_true] |
| 167 | fun_prop |
| 168 | · simp only [Datum.RankThreePELDatum.periodProjection, LinearMap.coe_mk, AddHom.coe_mk, hi, ite_false, hd, Bool.false_eq_true] |
| 169 | fun_prop |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |