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.CMExtraction.Intrinsic.OneCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OneTensorComplex |
| 3 | import OAI.RepresentationTheory.Hecke.RadialDilation.RationalCoordinates |
| 4 | |
| 5 | /-! # One Complex Components -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OneComplexComponents |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Linear normalization of the original paired CM embedding components. |
| 14 | On every rational vector it is exactly AdelicTheta's real tensor realization. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField Kronecker |
| 17 | open _root_.NumberField |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 19 | |
| 20 | namespace Quadratic |
| 21 | |
| 22 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 23 | {H : (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 24 | {K : (Matrix (Fin 1) (Fin 1) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 25 | |
| 26 | def oneComponentNormalizer (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d 1 H K) (v : Fin A.places) : |
| 27 | Matrix (Fin 3 × Fin 1) (Fin 3 × Fin 1) ℂ := |
| 28 | (A.basisV v).inv ⊗ₖ (A.basisP v).inv |
| 29 | |
| 30 | def oneComplexComponents (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d 1 H K) : |
| 31 | (Fin A.places → ((Fin 3 → ℂ) × (Fin 3 → ℂ))) →ₗ[ℂ] RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase A where |
| 32 | toFun w v := |
| 33 | ((oneComponentNormalizer A v).mulVec (fun ij => (w v).1 ij.1), |
| 34 | fun ij => (if v = A.distinguished ∧ ij.1 = 2 then (-1 : ℂ) else 1) * |
| 35 | (if A.positive v ij.2 then (1 : ℂ) else -1) * |
| 36 | ((oneComponentNormalizer A v).map star).mulVec (fun ij => (w v).2 ij.1) ij) |
| 37 | map_add' x y := by |
| 38 | funext v |
| 39 | apply Prod.ext <;> funext ij <;> |
| 40 | simp [Matrix.mulVec, dotProduct, mul_add, Finset.sum_add_distrib] |
| 41 | map_smul' c w := by |
| 42 | funext v |
| 43 | apply Prod.ext <;> funext ij <;> |
| 44 | simp [Matrix.mulVec, dotProduct, Finset.mul_sum, mul_comm, mul_left_comm, mul_assoc] |
| 45 | |
| 46 | theorem realTensorComponents_one_eq (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d 1 H K) |
| 47 | (t : ∀ i : Fin A.places, |
| 48 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar F (.inl (A.enumerate i)) d) 3 1) |
| 49 | (w : Fin A.places → Fin 3 → ℂ) |
| 50 | (h : ∀ i j, A.complex i (t i j) = w i j.1) : |
| 51 | RepresentationTheory.Theta.Adelic.BallGeometryData.realTensorComponents A t = |
| 52 | oneComplexComponents A (fun i => (w i, fun j => star (w i j))) := by |
| 53 | funext i |
| 54 | dsimp only [RepresentationTheory.Theta.Adelic.BallGeometryData.realTensorComponents, oneComplexComponents, LinearMap.coe_mk, AddHom.coe_mk] |
| 55 | simp_rw [h] |
| 56 | apply Prod.ext |
| 57 | · rfl |
| 58 | · funext ij |
| 59 | exact congrArg (fun z : ℂ => |
| 60 | (if i = A.distinguished ∧ ij.1 = 2 then (-1 : ℂ) else 1) * |
| 61 | (if A.positive i ij.2 then (1 : ℂ) else -1) * z) |
| 62 | (congrFun (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.conjugate_mulVec (oneComponentNormalizer A i) |
| 63 | (fun j => w i j.1)) ij) |
| 64 | |
| 65 | end Quadratic |
| 66 | |
| 67 | namespace Multiplicity |
| 68 | |
| 69 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsCMField E] [IsGalois ℚ E] |
| 70 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 71 | (hμ : P.μ = E.val.toRingHom) (hs : 2 ≤ s) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 72 | |
| 73 | theorem nativeOne_rational_components (x : Fin 3 → E) : |
| 74 | RepresentationTheory.Theta.Adelic.BallGeometryData.realTensorComponents (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv) |
| 75 | (fun i j => RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (maximalRealSubfield E) (Intrinsic.OneTheta.Multiplicity.nativeOneParameter E P hP) |
| 76 | (.inl ((Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv).enumerate i)) |
| 77 | (Multiplicity.OneTrace.Quadratic.singleTensorPosition E P.imaginaryScalar (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaImaginary E P hP) |
| 78 | (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaNonzero E P hP) x j)) = |
| 79 | Quadratic.oneComplexComponents (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv) |
| 80 | (fun i => (fun j => P.embeddings i (x j), fun j => star (P.embeddings i (x j)))) := by |
| 81 | apply Quadratic.realTensorComponents_one_eq |
| 82 | intro i j |
| 83 | exact (Intrinsic.OneCoordinates.Multiplicity.nativeOneBall_embedding E P hP hμ hs v hv i |
| 84 | (Multiplicity.OneTrace.Quadratic.singleTensorPosition E P.imaginaryScalar (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaImaginary E P hP) |
| 85 | (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaNonzero E P hP) x j)).trans |
| 86 | (congrArg (P.embeddings i) |
| 87 | ((ThetaCycle.QuadraticModel.CM.cmQuadraticEquiv E P.imaginaryScalar (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaImaginary E P hP) |
| 88 | (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaNonzero E P hP)).apply_symm_apply _)) |
| 89 | |
| 90 | end Multiplicity |
| 91 | |
| 92 | end |
| 93 | |
| 94 | /-! The complexification of the constructed native rational coordinates |
| 95 | agrees with the actual paired CM component normalization. -/ |
| 96 | |
| 97 | open scoped Classical _root_.NumberField TensorProduct |
| 98 | open _root_.NumberField |
| 99 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 100 | open OAI.RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization |
| 101 | |
| 102 | namespace Quadratic |
| 103 | |
| 104 | def singleComplexPhaseReindex (n : ℕ) : |
| 105 | (((Fin n × (Fin 3 × Fin 1)) ⊕ (Fin n × (Fin 3 × Fin 1))) → ℂ) ≃ₗ[ℂ] |
| 106 | (((Fin n × Fin 3) ⊕ (Fin n × Fin 3)) → ℂ) := |
| 107 | LinearEquiv.funCongrLeft ℂ ℂ (Equiv.sumCongr (Multiplicity.OneIndex.Quadratic.singleFrameIndex n) (Multiplicity.OneIndex.Quadratic.singleFrameIndex n)) |
| 108 | |
| 109 | end Quadratic |
| 110 | |
| 111 | namespace Multiplicity |
| 112 | |
| 113 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsCMField E] [IsGalois ℚ E] |
| 114 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 115 | (hμ : P.μ = E.val.toRingHom) (hs : 2 ≤ s) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 116 | (B : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData (maximalRealSubfield E) (Intrinsic.OneTheta.Multiplicity.nativeOneHermitian E P hP) |
| 117 | (Intrinsic.OneTheta.Multiplicity.nativeOneSkew E P hP v) (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv)) |
| 118 | |
| 119 | def nativeOneComplexCoordinates : Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) ≃ₗ[ℂ] |
| 120 | RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv) := |
| 121 | (((RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates E P.embeddings hP.1 |
| 122 | (Intrinsic.OneCoordinates.Multiplicity.nativeOneRationalCoordinates E P hP hμ hs v hv B)).trans |
| 123 | (Quadratic.singleComplexPhaseReindex s).symm).trans |
| 124 | (Multiplicity.OneCoordinates.Quadratic.phaseSwapEquiv (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv)) ℂ)).trans |
| 125 | B.complexPhase.toLinearEquiv |
| 126 | |
| 127 | theorem nativeOneComplexCoordinates_rational |
| 128 | (hCoord : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification B (Intrinsic.OneTheta.Multiplicity.nativeOneFrames E P hP v)) |
| 129 | (x : Fin 3 → E) : |
| 130 | nativeOneComplexCoordinates E P hP hμ hs v hv B (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates P.embeddings x) = |
| 131 | Quadratic.oneComplexComponents (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv) (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates P.embeddings x) := by |
| 132 | have hr := RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates_tmul E P.embeddings hP.1 |
| 133 | (Intrinsic.OneCoordinates.Multiplicity.nativeOneRationalCoordinates E P hP hμ hs v hv B) (1 : ℂ) x |
| 134 | rw [RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification_tmul E P.embeddings hP.1 (1 : ℂ) x, |
| 135 | one_smul, one_smul] at hr |
| 136 | change B.complexPhase (RepresentationTheory.Theta.Adelic.DataTheta.swapPhase ((Quadratic.singleComplexPhaseReindex s).symm |
| 137 | (RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates E P.embeddings hP.1 |
| 138 | (Intrinsic.OneCoordinates.Multiplicity.nativeOneRationalCoordinates E P hP hμ hs v hv B) (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates P.embeddings x)))) = _ |
| 139 | rw [hr] |
| 140 | have he : |
| 141 | RepresentationTheory.Theta.Adelic.DataTheta.swapPhase ((Quadratic.singleComplexPhaseReindex s).symm |
| 142 | (fun i => (Intrinsic.OneCoordinates.Multiplicity.nativeOneRationalCoordinates E P hP hμ hs v hv B x i : ℂ))) = |
| 143 | (fun i => (B.rationalPhase ((Intrinsic.OneTheta.Multiplicity.nativeOneFrames E P hP v).rational.coordinates |
| 144 | (Multiplicity.OneTrace.Quadratic.singleTensorPosition E P.imaginaryScalar (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaImaginary E P hP) |
| 145 | (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaNonzero E P hP) x)) i : ℂ)) := by |
| 146 | funext i |
| 147 | cases i with |
| 148 | | inl j => |
| 149 | rcases j with ⟨i, j, k⟩ |
| 150 | have hk : k = 0 := Subsingleton.elim _ _ |
| 151 | subst k |
| 152 | rfl |
| 153 | | inr j => |
| 154 | rcases j with ⟨i, j, k⟩ |
| 155 | have hk : k = 0 := Subsingleton.elim _ _ |
| 156 | subst k |
| 157 | rfl |
| 158 | exact (congrArg B.complexPhase he).trans ((OneTensorComplex.Quadratic.complexPhase_rational_tensor B (Intrinsic.OneTheta.Multiplicity.nativeOneFrames E P hP v) hCoord |
| 159 | (Multiplicity.OneTrace.Quadratic.singleTensorPosition E P.imaginaryScalar (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaImaginary E P hP) |
| 160 | (Intrinsic.OneTheta.Multiplicity.nativeOneDeltaNonzero E P hP) x)).trans |
| 161 | (nativeOne_rational_components E P hP hμ hs v hv x)) |
| 162 | |
| 163 | theorem nativeOneComplexCoordinates_components |
| 164 | (hCoord : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification B (Intrinsic.OneTheta.Multiplicity.nativeOneFrames E P hP v)) |
| 165 | (w : Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s)) : |
| 166 | nativeOneComplexCoordinates E P hP hμ hs v hv B w = |
| 167 | Quadratic.oneComplexComponents (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv) w := by |
| 168 | obtain ⟨t, rfl⟩ := (RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification E P.embeddings hP.1).surjective w |
| 169 | let f := (nativeOneComplexCoordinates E P hP hμ hs v hv B).toLinearMap.comp |
| 170 | (RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification E P.embeddings hP.1).toLinearMap |
| 171 | let g : (ℂ ⊗[ℚ] (Fin 3 → E)) →ₗ[ℂ] |
| 172 | RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv) := |
| 173 | (Quadratic.oneComplexComponents (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv)).comp |
| 174 | (RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification E P.embeddings hP.1).toLinearMap |
| 175 | change f t = g t |
| 176 | induction t using TensorProduct.inductionOn with |
| 177 | | add t u ht hu => simp only [map_add, ht, hu] |
| 178 | | tmul c x => |
| 179 | change nativeOneComplexCoordinates E P hP hμ hs v hv B |
| 180 | (RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification E P.embeddings hP.1 (c ⊗ₜ[ℚ] x)) = |
| 181 | Quadratic.oneComplexComponents (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv) |
| 182 | (RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification E P.embeddings hP.1 (c ⊗ₜ[ℚ] x)) |
| 183 | rw [RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification_tmul E P.embeddings hP.1 c x] |
| 184 | exact ((nativeOneComplexCoordinates E P hP hμ hs v hv B).map_smul c _).trans |
| 185 | ((congrArg (fun y => c • y) |
| 186 | (nativeOneComplexCoordinates_rational E P hP hμ hs v hv B hCoord x)).trans |
| 187 | ((Quadratic.oneComplexComponents (Intrinsic.OneTheta.Multiplicity.nativeOneBall E P hP hμ hs v hv)).map_smul c _).symm) |
| 188 | |
| 189 | end Multiplicity |
| 190 | |
| 191 | end |
| 192 | |
| 193 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OneComplexComponents |