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.NumberTheory.ArithmeticGroups.EmbeddingLattice |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CMMixedHermitianForm |
| 3 | |
| 4 | /-! # CM Selected Mixed -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CMSelectedMixed |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The direct CM mixed realization has actual coordinates at the |
| 13 | original selected embeddings. The real equivalence agrees exactly |
| 14 | with those original embeddings on every rational CM vector. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField |
| 17 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 18 | |
| 19 | open OAI.NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel |
| 20 | |
| 21 | variable {E Place : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [IsCMField E] [Fintype Place] |
| 23 | (σ : Place → E →ₐ[ℚ] ℂ) |
| 24 | (hσ : Function.Bijective |
| 25 | (fun p : Place × Bool => if p.2 then ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ p.1) else σ p.1)) |
| 26 | |
| 27 | def cmSelectedMixedCoordinates : |
| 28 | (Fin 3 → mixedSpace E) ≃ₗ[ℝ] (Place → Geometry.ComplexBall.PrescribedSignsB.Vec) := |
| 29 | (LinearEquiv.piCongrRight (fun _ : Fin 3 => (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ).mixedPeriodEquiv)).trans |
| 30 | ((NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.periodCoordinateEquiv σ hσ).restrictScalars ℝ) |
| 31 | |
| 32 | omit [Fintype Place] in |
| 33 | theorem cmSelectedMixedCoordinates_embedding (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 34 | cmSelectedMixedCoordinates σ hσ (fun j => mixedEmbedding E (v j)) = |
| 35 | fun p j => σ p (v j) := by |
| 36 | change NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.periodCoordinateEquiv σ hσ |
| 37 | (fun j => (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ).mixedPeriodEquiv (mixedEmbedding E (v j))) = _ |
| 38 | simp_rw [ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType.mixedPeriodEquiv_mixedEmbedding] |
| 39 | exact NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.periodCoordinateEquiv_embedding σ hσ v |
| 40 | |
| 41 | end |
| 42 | |
| 43 | section |
| 44 | |
| 45 | /-! The same original selected-place coordinates identify the |
| 46 | mixed coefficient algebra with the product of complex fields, as a |
| 47 | real algebra and compatibly with complex conjugation. -/ |
| 48 | |
| 49 | open scoped Classical _root_.NumberField |
| 50 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 51 | |
| 52 | open OAI.NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel |
| 53 | |
| 54 | variable {E Place : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 55 | [IsCMField E] [Fintype Place] |
| 56 | (σ : Place → E →ₐ[ℚ] ℂ) |
| 57 | (hσ : Function.Bijective |
| 58 | (fun p : Place × Bool => if p.2 then ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ p.1) else σ p.1)) |
| 59 | |
| 60 | omit [NumberField E] [IsCMField E] in |
| 61 | theorem selected_periodConjugation_mul (ε : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) (p : InfinitePlace E) (z w : ℂ) : |
| 62 | ε.periodConjugation p (z * w) = ε.periodConjugation p z * ε.periodConjugation p w := by |
| 63 | unfold ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType.periodConjugation |
| 64 | split_ifs <;> simp |
| 65 | |
| 66 | omit [NumberField E] [IsCMField E] in |
| 67 | theorem selected_periodConjugation_one (ε : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) (p : InfinitePlace E) : |
| 68 | ε.periodConjugation p 1 = 1 := by |
| 69 | unfold ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType.periodConjugation |
| 70 | split_ifs <;> simp |
| 71 | |
| 72 | omit [NumberField E] [IsCMField E] in |
| 73 | theorem selected_periodConjugation_star (ε : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) (p : InfinitePlace E) (z : ℂ) : |
| 74 | ε.periodConjugation p (star z) = star (ε.periodConjugation p z) := by |
| 75 | unfold ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType.periodConjugation |
| 76 | split_ifs <;> simp |
| 77 | |
| 78 | def selectedPeriodScalarReindex : ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E ≃ₗ[ℝ] (Place → ℂ) where |
| 79 | toFun x p := x (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePlaces σ hσ p) |
| 80 | invFun x p := x ((NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePlaces σ hσ).symm p) |
| 81 | left_inv x := by ext p; simp |
| 82 | right_inv x := by ext p; simp |
| 83 | map_add' x y := rfl |
| 84 | map_smul' a x := rfl |
| 85 | |
| 86 | def cmSelectedMixedScalarRealEquiv : mixedSpace E ≃ₗ[ℝ] (Place → ℂ) := |
| 87 | (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ).mixedPeriodEquiv.trans (selectedPeriodScalarReindex σ hσ) |
| 88 | |
| 89 | def cmSelectedMixedScalarAlgebraEquiv : mixedSpace E ≃ₐ[ℝ] (Place → ℂ) where |
| 90 | toEquiv := (cmSelectedMixedScalarRealEquiv σ hσ).toEquiv |
| 91 | map_add' := (cmSelectedMixedScalarRealEquiv σ hσ).map_add |
| 92 | map_mul' x y := by |
| 93 | ext p |
| 94 | exact selected_periodConjugation_mul (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ) (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePlaces σ hσ p) _ _ |
| 95 | commutes' a := by |
| 96 | have h1 : cmSelectedMixedScalarRealEquiv σ hσ 1 = 1 := by |
| 97 | ext p |
| 98 | exact selected_periodConjugation_one (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ) (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePlaces σ hσ p) |
| 99 | change cmSelectedMixedScalarRealEquiv σ hσ (algebraMap ℝ (mixedSpace E) a) = |
| 100 | algebraMap ℝ (Place → ℂ) a |
| 101 | rw [Algebra.algebraMap_eq_smul_one, map_smul, h1, ← Algebra.algebraMap_eq_smul_one] |
| 102 | |
| 103 | omit [Fintype Place] in |
| 104 | theorem cmSelectedMixedScalarAlgebraEquiv_star (x : mixedSpace E) : |
| 105 | cmSelectedMixedScalarAlgebraEquiv σ hσ (star x) = |
| 106 | star (cmSelectedMixedScalarAlgebraEquiv σ hσ x) := by |
| 107 | ext p |
| 108 | exact selected_periodConjugation_star (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ) (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePlaces σ hσ p) _ |
| 109 | |
| 110 | omit [Fintype Place] in |
| 111 | theorem cmSelectedMixedScalarAlgebraEquiv_embedding (a : E) (p : Place) : |
| 112 | cmSelectedMixedScalarAlgebraEquiv σ hσ (mixedEmbedding E a) p = σ p a := by |
| 113 | change (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ).mixedPeriodEquiv (mixedEmbedding E a) |
| 114 | (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePlaces σ hσ p) = σ p a |
| 115 | rw [ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType.mixedPeriodEquiv_mixedEmbedding] |
| 116 | change (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.referenceCMType σ hσ).placeEmbedding (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePlaces σ hσ p) a = _ |
| 117 | rw [NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.placeEmbedding_representative] |
| 118 | |
| 119 | omit [Fintype Place] in |
| 120 | theorem cmSelectedMixedCoordinates_apply (x : Fin 3 → mixedSpace E) (p : Place) (i : Fin 3) : |
| 121 | cmSelectedMixedCoordinates σ hσ x p i = cmSelectedMixedScalarAlgebraEquiv σ hσ (x i) p := rfl |
| 122 | |
| 123 | end |
| 124 | |
| 125 | /-! The actual mixed Hermitian form is exactly the tuple of native |
| 126 | Hermitian forms at the original selected embeddings. Thus an actual |
| 127 | intertwining with component maps preserves precisely those forms. -/ |
| 128 | |
| 129 | open scoped Classical _root_.NumberField |
| 130 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 131 | |
| 132 | open OAI.NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel |
| 133 | |
| 134 | variable {E : Type} {Place : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 135 | [IsCMField E] [Fintype Place] |
| 136 | (σ : Place → E →ₐ[ℚ] ℂ) |
| 137 | (hσ : Function.Bijective |
| 138 | (fun p : Place × Bool => if p.2 then ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ p.1) else σ p.1)) |
| 139 | |
| 140 | local notation "V" => Fin 3 → mixedSpace E |
| 141 | local notation "Φ" => OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CMSelectedMixed.cmSelectedMixedCoordinates σ hσ |
| 142 | local notation "e" => OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CMSelectedMixed.cmSelectedMixedScalarAlgebraEquiv σ hσ |
| 143 | |
| 144 | omit [Fintype Place] in |
| 145 | theorem cmSelectedMixedHermitian_value |
| 146 | (H : Matrix (Fin 3) (Fin 3) E) (x y : V) (p : Place) : |
| 147 | e (CMMixedHermitianForm.cmMixedHermitianForm H x y) p = |
| 148 | Datum.RankThreePELDatum.complexMatrixHermitian (σ p).toRingHom H (Φ x p) (Φ y p) := by |
| 149 | simp only [CMMixedHermitianForm.cmMixedHermitianForm_apply, map_sum, map_mul, Finset.sum_apply, Pi.mul_apply, |
| 150 | cmSelectedMixedScalarAlgebraEquiv_star, Pi.star_apply, |
| 151 | cmSelectedMixedScalarAlgebraEquiv_embedding, Datum.RankThreePELDatum.complexMatrixHermitian, |
| 152 | cmSelectedMixedCoordinates_apply] |
| 153 | rfl |
| 154 | |
| 155 | omit [Fintype Place] in |
| 156 | theorem cmSelectedMixedHermitian_isometry_iff |
| 157 | (H : Matrix (Fin 3) (Fin 3) E) |
| 158 | (f : V ≃ₗ[ℝ] V) (q : Place → Geometry.ComplexBall.PrescribedSignsB.Vec ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Vec) |
| 159 | (hq : ∀ x p, Φ (f x) p = q p (Φ x p)) : |
| 160 | (∀ x y, CMMixedHermitianForm.cmMixedHermitianForm H (f x) (f y) = CMMixedHermitianForm.cmMixedHermitianForm H x y) ↔ |
| 161 | ∀ p x y, Datum.RankThreePELDatum.complexMatrixHermitian (σ p).toRingHom H (q p x) (q p y) = |
| 162 | Datum.RankThreePELDatum.complexMatrixHermitian (σ p).toRingHom H x y := by |
| 163 | constructor |
| 164 | · intro hf p x y |
| 165 | let v := (Φ).symm (fun _ => x) |
| 166 | let w := (Φ).symm (fun _ => y) |
| 167 | have hv : Φ v p = x := congrFun ((Φ).apply_symm_apply (fun _ => x)) p |
| 168 | have hw : Φ w p = y := congrFun ((Φ).apply_symm_apply (fun _ => y)) p |
| 169 | have he := congrArg (fun a => e a p) (hf v w) |
| 170 | rw [cmSelectedMixedHermitian_value, cmSelectedMixedHermitian_value, hq, hq, hv, hw] at he |
| 171 | exact he |
| 172 | · intro h x y |
| 173 | apply (e).injective |
| 174 | ext p |
| 175 | rw [cmSelectedMixedHermitian_value, cmSelectedMixedHermitian_value, hq, hq] |
| 176 | exact h p (Φ x p) (Φ y p) |
| 177 | |
| 178 | end |
| 179 | |
| 180 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CMSelectedMixed |