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.RepresentationTheory.Hecke.RadialDilation.RationalCoordinates |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.PositiveGraph |
| 3 | |
| 4 | /-! # Frame Positivity -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Matrices of the actual PrescribedSigns frame in rational symplectic coordinates. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix |
| 15 | open _root_.Matrix |
| 16 | |
| 17 | variable {Place : Type*} [Fintype Place] [DecidableEq Place] |
| 18 | abbrev FrameIndex (Place : Type*) := Place × Fin 3 |
| 19 | |
| 20 | def flatFrame (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : |
| 21 | (FrameIndex Place → ℂ) →ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient Place where |
| 22 | toFun v := Geometry.ComplexBall.PrescribedSignsB.globalFrame B μ d z (fun τ i => v (τ, i)) |
| 23 | map_add' _ _ := map_add _ _ _ |
| 24 | map_smul' c v := by |
| 25 | change Geometry.ComplexBall.PrescribedSignsB.globalFrame B μ d z (c • (fun τ i => v (τ, i))) = |
| 26 | c • Geometry.ComplexBall.PrescribedSignsB.globalFrame B μ d z (fun τ i => v (τ, i)) |
| 27 | exact map_smul _ _ _ |
| 28 | |
| 29 | omit [DecidableEq Place] in |
| 30 | theorem flatFrame_scalar (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) |
| 31 | (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) (a : Place → ℂ) (v : FrameIndex Place → ℂ) : |
| 32 | Complexification.Realization.pairedScalarEnd a (flatFrame B μ d z v) = |
| 33 | flatFrame B μ d z (Archimedean.Realization.periodScalarMatrix μ d a *ᵥ v) := by |
| 34 | simpa only [flatFrame, LinearMap.coe_mk, AddHom.coe_mk, Complexification.Realization.pairedScalarEnd, |
| 35 | Archimedean.Realization.periodScalarMatrix, Matrix.mulVec_diagonal, Pi.mul_apply] using |
| 36 | Archimedean.Realization.global_frame_scalar B μ d z a (fun τ i => v (τ, i)) |
| 37 | |
| 38 | def upperFrame |
| 39 | (e : Geometry.ComplexBall.PrescribedSignsB.Ambient Place ≃ₗ[ℂ] (Sum (FrameIndex Place) (FrameIndex Place) → ℂ)) |
| 40 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : |
| 41 | Matrix (FrameIndex Place) (FrameIndex Place) ℂ := |
| 42 | LinearMap.toMatrix' ((LinearMap.funLeft ℂ ℂ Sum.inl).comp |
| 43 | (e.toLinearMap.comp (flatFrame B μ d z))) |
| 44 | |
| 45 | def lowerFrame |
| 46 | (e : Geometry.ComplexBall.PrescribedSignsB.Ambient Place ≃ₗ[ℂ] (Sum (FrameIndex Place) (FrameIndex Place) → ℂ)) |
| 47 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : |
| 48 | Matrix (FrameIndex Place) (FrameIndex Place) ℂ := |
| 49 | LinearMap.toMatrix' ((LinearMap.funLeft ℂ ℂ Sum.inr).comp |
| 50 | (e.toLinearMap.comp (flatFrame B μ d z))) |
| 51 | |
| 52 | theorem upperFrame_mulVec |
| 53 | (e : Geometry.ComplexBall.PrescribedSignsB.Ambient Place ≃ₗ[ℂ] (Sum (FrameIndex Place) (FrameIndex Place) → ℂ)) |
| 54 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 55 | (v : FrameIndex Place → ℂ) : |
| 56 | upperFrame e B μ d z *ᵥ v = fun i => e (flatFrame B μ d z v) (Sum.inl i) := |
| 57 | LinearMap.toMatrix'_mulVec _ _ |
| 58 | |
| 59 | theorem lowerFrame_mulVec |
| 60 | (e : Geometry.ComplexBall.PrescribedSignsB.Ambient Place ≃ₗ[ℂ] (Sum (FrameIndex Place) (FrameIndex Place) → ℂ)) |
| 61 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 62 | (v : FrameIndex Place → ℂ) : |
| 63 | lowerFrame e B μ d z *ᵥ v = fun i => e (flatFrame B μ d z v) (Sum.inr i) := |
| 64 | LinearMap.toMatrix'_mulVec _ _ |
| 65 | |
| 66 | theorem frame_block_equations |
| 67 | (e : Geometry.ComplexBall.PrescribedSignsB.Ambient Place ≃ₗ[ℂ] (Sum (FrameIndex Place) (FrameIndex Place) → ℂ)) |
| 68 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 69 | (a : Place → ℂ) (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks (FrameIndex Place) ℝ) |
| 70 | (he : ∀ u, e (Complexification.Realization.pairedScalarEnd a u) = |
| 71 | Matrix.fromBlocks g.complexify.A g.complexify.B g.complexify.C g.complexify.D *ᵥ e u) : |
| 72 | g.complexify.A * upperFrame e B μ d z + g.complexify.B * lowerFrame e B μ d z = |
| 73 | upperFrame e B μ d z * Archimedean.Realization.periodScalarMatrix μ d a ∧ |
| 74 | g.complexify.C * upperFrame e B μ d z + g.complexify.D * lowerFrame e B μ d z = |
| 75 | lowerFrame e B μ d z * Archimedean.Realization.periodScalarMatrix μ d a := by |
| 76 | have h (v : FrameIndex Place → ℂ) := he (flatFrame B μ d z v) |
| 77 | simp only [flatFrame_scalar, Matrix.fromBlocks_mulVec] at h |
| 78 | constructor <;> apply Matrix.ext_iff_mulVec.mpr <;> intro v |
| 79 | · simpa only [Matrix.add_mulVec, ← Matrix.mulVec_mulVec, upperFrame_mulVec, |
| 80 | lowerFrame_mulVec, Function.comp_def, Sum.elim_inl, Sum.elim_inr] using |
| 81 | (congrArg (fun w => fun i => w (Sum.inl i)) (h v)).symm |
| 82 | · simpa only [Matrix.add_mulVec, ← Matrix.mulVec_mulVec, upperFrame_mulVec, |
| 83 | lowerFrame_mulVec, Function.comp_def, Sum.elim_inl, Sum.elim_inr] using |
| 84 | (congrArg (fun w => fun i => w (Sum.inr i)) (h v)).symm |
| 85 | |
| 86 | theorem rational_frame_block_equations |
| 87 | (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 88 | (r : Eˣ) |
| 89 | (hr : (r : E) * AlgebraicGeometry.ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (r : E) = 1) |
| 90 | (σ : Place → E →ₐ[ℚ] ℂ) (hσ : Function.Bijective (Complexification.Realization.pairingEmbeddings σ)) |
| 91 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (FrameIndex Place) (FrameIndex Place) → ℚ)) |
| 92 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 93 | (γ : Theta.PoissonAutomorphyNormalizationData.Sp (FrameIndex Place) ℚ) (hγ : γ.val = RationalCoordinates.Realization.rationalScalarMatrix E e (r : E)) : |
| 94 | let ec := RationalCoordinates.Realization.rationalCoordinates E σ hσ e |
| 95 | let g := (Theta.PoissonAutomorphyNormalizationData.realBlocks γ).complexify |
| 96 | let T := Archimedean.Realization.periodScalarMatrix μ d (fun τ => σ τ (r : E)) |
| 97 | g.A * upperFrame ec B μ d z + g.B * lowerFrame ec B μ d z = |
| 98 | upperFrame ec B μ d z * T ∧ |
| 99 | g.C * upperFrame ec B μ d z + g.D * lowerFrame ec B μ d z = |
| 100 | lowerFrame ec B μ d z * T := by |
| 101 | apply frame_block_equations |
| 102 | intro u |
| 103 | rw [RationalCoordinates.Realization.rational_matrix_realizes_scalar E r hr σ hσ e] |
| 104 | congr 1 |
| 105 | rw [← hγ] |
| 106 | ext i j |
| 107 | cases i <;> cases j <;> |
| 108 | simp [Theta.PoissonAutomorphyNormalizationData.realBlocks, Theta.PoissonAutomorphyNormalizationData.blocks, Theta.PoissonAutomorphyNormalizationData.mapSp, AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.complexify, |
| 109 | Matrix.toBlocks₁₁, Matrix.toBlocks₁₂, Matrix.toBlocks₂₁, Matrix.toBlocks₂₂] |
| 110 | |
| 111 | end |
| 112 | |
| 113 | /-! Transport of PrescribedSigns's positive Lagrangian to a Siegel period matrix. -/ |
| 114 | |
| 115 | open scoped Classical _root_.Matrix |
| 116 | open _root_.Matrix |
| 117 | |
| 118 | variable {ι : Type*} [Fintype ι] |
| 119 | |
| 120 | def coordinatePairing {K : Type*} [CommRing K] (x y : Sum ι ι → K) : K := |
| 121 | ∑ i, (x (Sum.inl i) * y (Sum.inr i) - x (Sum.inr i) * y (Sum.inl i)) |
| 122 | |
| 123 | theorem coordinatePairing_star (x : Sum ι ι → ℂ) : |
| 124 | coordinatePairing x (star x) = |
| 125 | PositiveGraph.Realization.standardFramePairing (fun i => x (Sum.inl i)) (fun i => x (Sum.inr i)) := rfl |
| 126 | |
| 127 | variable {Place : Type*} [Fintype Place] [DecidableEq Place] |
| 128 | |
| 129 | omit [Fintype Place] [DecidableEq Place] in |
| 130 | theorem flatFrame_injective (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) |
| 131 | (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : Function.Injective (flatFrame B μ d z) := by |
| 132 | intro v w h |
| 133 | have he := Geometry.ComplexBall.PrescribedSignsB.globalFrame_injective B μ d z h |
| 134 | funext ⟨τ, i⟩ |
| 135 | exact congrFun (congrFun he τ) i |
| 136 | |
| 137 | theorem frame_isotropic_matrix |
| 138 | (e : Geometry.ComplexBall.PrescribedSignsB.Ambient Place ≃ₗ[ℂ] (Sum (FrameIndex Place) (FrameIndex Place) → ℂ)) |
| 139 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 140 | (hisotropic : ∀ v w, coordinatePairing (e (flatFrame B μ d z v)) |
| 141 | (e (flatFrame B μ d z w)) = 0) : |
| 142 | (upperFrame e B μ d z).transpose * lowerFrame e B μ d z = |
| 143 | (lowerFrame e B μ d z).transpose * upperFrame e B μ d z := by |
| 144 | ext i j |
| 145 | have h := hisotropic (Pi.single i 1) (Pi.single j 1) |
| 146 | have hu v := upperFrame_mulVec e B μ d z v |
| 147 | have hl v := lowerFrame_mulVec e B μ d z v |
| 148 | unfold coordinatePairing at h |
| 149 | simp_rw [← congrFun (hu (Pi.single i 1)), ← congrFun (hu (Pi.single j 1)), |
| 150 | ← congrFun (hl (Pi.single i 1)), ← congrFun (hl (Pi.single j 1))] at h |
| 151 | simp only [Matrix.mulVec_single_one] at h |
| 152 | simpa only [Matrix.mul_apply, Matrix.transpose_apply, Matrix.col, Finset.sum_sub_distrib, |
| 153 | sub_eq_zero] using h |
| 154 | |
| 155 | /-- The only coordinate requirements are preservation of the symplectic form |
| 156 | and its real structure. Isotropy and positivity are supplied by PrescribedSigns. -/ |
| 157 | theorem positivePeriod_frame_matrices |
| 158 | (e : Geometry.ComplexBall.PrescribedSignsB.Ambient Place ≃ₗ[ℂ] (Sum (FrameIndex Place) (FrameIndex Place) → ℂ)) |
| 159 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 160 | (ψ : Geometry.ComplexBall.PrescribedSignsB.Ambient Place → Geometry.ComplexBall.PrescribedSignsB.Ambient Place → ℂ) |
| 161 | (hpair : ∀ u v, coordinatePairing (e u) (e v) = ψ u v) |
| 162 | (hreal : ∀ u, e (Geometry.ComplexBall.PrescribedSignsB.realConj u) = star (e u)) |
| 163 | (hp : Geometry.ComplexBall.PrescribedSignsB.PositivePeriod (3 * Fintype.card Place) ψ Geometry.ComplexBall.PrescribedSignsB.realConj |
| 164 | (LinearMap.range (Geometry.ComplexBall.PrescribedSignsB.globalFrame B μ d z))) : |
| 165 | (upperFrame e B μ d z).transpose * lowerFrame e B μ d z = |
| 166 | (lowerFrame e B μ d z).transpose * upperFrame e B μ d z ∧ |
| 167 | ∀ v : FrameIndex Place → ℂ, v ≠ 0 → |
| 168 | 0 < (PositiveGraph.Realization.standardFramePairing (upperFrame e B μ d z *ᵥ v) |
| 169 | (lowerFrame e B μ d z *ᵥ v)).im := by |
| 170 | constructor |
| 171 | · apply frame_isotropic_matrix |
| 172 | intro v w |
| 173 | rw [hpair] |
| 174 | exact hp.2.2.1 _ ⟨_, rfl⟩ _ ⟨_, rfl⟩ |
| 175 | · intro v hv |
| 176 | have hne : flatFrame B μ d z v ≠ 0 := by |
| 177 | intro h |
| 178 | apply hv |
| 179 | exact flatFrame_injective B μ d z (by simpa using h) |
| 180 | have hpos := (hp.2.2.2.1 _ ⟨_, rfl⟩ hne).2 |
| 181 | rw [← hpair, hreal, coordinatePairing_star] at hpos |
| 182 | rw [upperFrame_mulVec, lowerFrame_mulVec] |
| 183 | simpa [Complex.div_I, flatFrame] using hpos |
| 184 | |
| 185 | end |
| 186 | |
| 187 | end OAI.RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization |