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.ThetaCycle.IntertwiningBasis |
| 2 | |
| 3 | /-! # Adapted Total -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdaptedTotal.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! ThetaCycle: adapted period coordinates are preserved by the actual source |
| 12 | projector. Cross-coordinates of the native frames are independent of the |
| 13 | ball point, including the distinguished line and annihilator coordinates. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 17 | |
| 18 | variable (K : IntermediateField ℚ ℂ) |
| 19 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 20 | |
| 21 | theorem adapted_coordinates_paired (places : HeckeCycles.GeometricSource.CM.Places K) (d : Gal(K/ℚ) → Bool) |
| 22 | (w : HeckeCycles.GeometricSource.CM.Ambient K) (p : HeckeCycles.GeometricSource.CM.Positions K places) : |
| 23 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d w p = |
| 24 | if p.1 = places.distinguished then |
| 25 | if p.2 = 0 then (Symplectic.CM.galoisToPaired K places w p.1).1 2 |
| 26 | else (Symplectic.CM.galoisToPaired K places w p.1).2 (p.2 - 1) |
| 27 | else if d (places.representative p.1) then (Symplectic.CM.galoisToPaired K places w p.1).2 p.2 |
| 28 | else (Symplectic.CM.galoisToPaired K places w p.1).1 p.2 := by |
| 29 | simp only [Symplectic.CM.galoisToPaired_apply] |
| 30 | rfl |
| 31 | |
| 32 | theorem adapted_source_projector (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 33 | (d : Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : HeckeCycles.GeometricSource.CM.Ambient K) : |
| 34 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d (CompactComplex.CM.sourcePeriodProjector K B places d z w) = |
| 35 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d w := by |
| 36 | funext p |
| 37 | rw [adapted_coordinates_paired, adapted_coordinates_paired, IntertwiningBasis.CM.paired_source_projector] |
| 38 | rcases p with ⟨i, j⟩ |
| 39 | by_cases hi : i = places.distinguished |
| 40 | · fin_cases j <;> |
| 41 | simp [hi, CompactComplex.CM.distinguishedProjection, CompactComplex.CM.ballLineProjection, CompactComplex.CM.ballAnnihilatorProjection, |
| 42 | HeckeCycles.GeometricSource.CM.BallDatum.lineVector] |
| 43 | · cases d (places.representative i) <;> simp [hi] |
| 44 | |
| 45 | theorem adapted_native_cross_frame_constant (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 46 | (d e : Gal(K/ℚ) → Bool) (z t : HeckeCycles.GeometricSource.CM.BallChart) (x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 47 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d (Prescribed.CM.nativePeriodFrame K B places e z x) = |
| 48 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d (Prescribed.CM.nativePeriodFrame K B places e t x) := by |
| 49 | funext p |
| 50 | simp only [adapted_coordinates_paired, Prescribed.CM.nativePeriodFrame, LinearMap.comp_apply, |
| 51 | LinearEquiv.coe_coe, LinearEquiv.apply_symm_apply] |
| 52 | rcases p with ⟨i, j⟩ |
| 53 | by_cases hi : i = places.distinguished |
| 54 | · subst i |
| 55 | fin_cases j <;> |
| 56 | simp [RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.flatFrame, Geometry.ComplexBall.PrescribedSignsB.globalFrame, Geometry.ComplexBall.PrescribedSignsB.placeFrame, |
| 57 | Geometry.ComplexBall.PrescribedSignsB.localFrame, Geometry.ComplexBall.PrescribedSignsB.lineVector, Geometry.ComplexBall.PrescribedSignsB.axis] |
| 58 | · cases d (places.representative i) <;> cases he : e (places.representative i) <;> |
| 59 | simp [hi, he, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.flatFrame, Geometry.ComplexBall.PrescribedSignsB.globalFrame, Geometry.ComplexBall.PrescribedSignsB.placeFrame] |
| 60 | |
| 61 | theorem native_frame_recovers_line_graph {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 62 | {d : Gal(K/ℚ) → Bool} (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 63 | (z : HeckeCycles.GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 64 | Prescribed.CM.nativePeriodFrame K B places d z |
| 65 | (HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d (HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) x)) = |
| 66 | HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) x := by |
| 67 | have hp : HeckeCycles.GeometricSource.CM.prescribed K B places d z (HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) x) := by |
| 68 | apply (L.graph_prescribed z hz _).mpr |
| 69 | change (L.coordinates.complex (L.coordinates.complex.symm _)).1 = |
| 70 | (L.period z).matrix.mulVec (L.coordinates.complex (L.coordinates.complex.symm _)).2 |
| 71 | rw [LinearEquiv.apply_symm_apply] |
| 72 | rfl |
| 73 | obtain ⟨u, hu⟩ := (CoefficientPeriods.CM.native_frame_range K B places d z _).mpr hp |
| 74 | rw [← hu, Prescribed.CM.adapted_native_frame] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | section |
| 79 | |
| 80 | /-! ThetaCycle: a fixed change of multiplicity basis has constant coefficients |
| 81 | between the actual adapted native frames. -/ |
| 82 | |
| 83 | open scoped Classical |
| 84 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 85 | |
| 86 | variable (K : IntermediateField ℚ ℂ) |
| 87 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 88 | |
| 89 | def adaptedPlace (places : HeckeCycles.GeometricSource.CM.Places K) (d : Gal(K/ℚ) → Bool) (p : HeckeCycles.GeometricSource.CM.Positions K places) : Gal(K/ℚ) := |
| 90 | if p.1 = places.distinguished then |
| 91 | if p.2 = 0 then places.representative p.1 else ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * places.representative p.1 |
| 92 | else if d (places.representative p.1) then ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * places.representative p.1 |
| 93 | else places.representative p.1 |
| 94 | |
| 95 | omit [IsGalois ℚ K] in |
| 96 | theorem adapted_coordinates_fiber_sum {I : Type*} [Fintype I] |
| 97 | (places : HeckeCycles.GeometricSource.CM.Places K) (d : Gal(K/ℚ) → Bool) |
| 98 | (c : I → Gal(K/ℚ) → ℂ) (w : I → HeckeCycles.GeometricSource.CM.Ambient K) (p : HeckeCycles.GeometricSource.CM.Positions K places) : |
| 99 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d (fun τ j => ∑ i, c i τ * w i τ j) p = |
| 100 | ∑ i, c i (adaptedPlace K places d p) * HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d (w i) p := by |
| 101 | simp only [HeckeCycles.GeometricSource.CM.adaptedCoordinates, LinearMap.coe_mk, AddHom.coe_mk, adaptedPlace] |
| 102 | split_ifs <;> rfl |
| 103 | |
| 104 | theorem adapted_fiber_change_native_constant {I : Type*} [Fintype I] |
| 105 | (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) (d : Gal(K/ℚ) → Bool) |
| 106 | (e : I → Gal(K/ℚ) → Bool) (c : I → Gal(K/ℚ) → ℂ) |
| 107 | (x : I → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) (z t : HeckeCycles.GeometricSource.CM.BallChart) : |
| 108 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d |
| 109 | (fun τ j => ∑ i, c i τ * Prescribed.CM.nativePeriodFrame K B places (e i) z (x i) τ j) = |
| 110 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places d |
| 111 | (fun τ j => ∑ i, c i τ * Prescribed.CM.nativePeriodFrame K B places (e i) t (x i) τ j) := by |
| 112 | funext p |
| 113 | rw [adapted_coordinates_fiber_sum, adapted_coordinates_fiber_sum] |
| 114 | apply Finset.sum_congr rfl |
| 115 | intro i _ |
| 116 | rw [adapted_native_cross_frame_constant K B places d (e i) z t] |
| 117 | |
| 118 | theorem adapted_inverse_basis_native_constant |
| 119 | (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 120 | (e : Fin 2 → Gal(K/ℚ) → Bool) (b : Module.Basis (Fin 2) K (Analysis.DifferentialForms.Coordinates.LocalApproximation.W K)) |
| 121 | (x : Fin 2 → HeckeCycles.GeometricSource.CM.Positions K places → ℂ) (z t : HeckeCycles.GeometricSource.CM.BallChart) (i : Fin 2) : |
| 122 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d i) |
| 123 | ((CompactComplex.CM.complexTensorBasisEquiv K b).symm (fun k => Prescribed.CM.nativePeriodFrame K B places (e k) z (x k)) i) = |
| 124 | HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d i) |
| 125 | ((CompactComplex.CM.complexTensorBasisEquiv K b).symm (fun k => Prescribed.CM.nativePeriodFrame K B places (e k) t (x k)) i) := |
| 126 | adapted_fiber_change_native_constant K B places (d i) e |
| 127 | (fun k τ => (Analysis.DifferentialForms.Coordinates.LocalApproximation.localBasisMatrix (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K τ) b)⁻¹ i k) x z t |
| 128 | |
| 129 | end |
| 130 | |
| 131 | /-! ThetaCycle: total native frames, adapted coordinates, and their literal |
| 132 | half-determinants for the two geometric line periods. -/ |
| 133 | |
| 134 | open scoped Classical _root_.Matrix |
| 135 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 136 | |
| 137 | variable (K : IntermediateField ℚ ℂ) |
| 138 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 139 | |
| 140 | def totalAdaptedCoordinates (places : HeckeCycles.GeometricSource.CM.Places K) (d : Fin 2 → Gal(K/ℚ) → Bool) : |
| 141 | ComplexTransition.CM.TotalAmbient K →ₗ[ℂ] (PeriodTotal.CM.TotalPositions K places → ℂ) where |
| 142 | toFun w := Sum.elim (HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d 0) (w 0)) |
| 143 | (HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d 1) (w 1)) |
| 144 | map_add' x y := by |
| 145 | funext p |
| 146 | cases p <;> simp |
| 147 | map_smul' c x := by |
| 148 | funext p |
| 149 | cases p <;> simp |
| 150 | |
| 151 | def totalNativePeriodFrame (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 152 | (d : Fin 2 → Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 153 | (PeriodTotal.CM.TotalPositions K places → ℂ) →ₗ[ℂ] ComplexTransition.CM.TotalAmbient K where |
| 154 | toFun x i := Prescribed.CM.nativePeriodFrame K B places (d i) z |
| 155 | (fun p => x (if i = 0 then Sum.inl p else Sum.inr p)) |
| 156 | map_add' x y := by |
| 157 | funext i |
| 158 | exact map_add (Prescribed.CM.nativePeriodFrame K B places (d i) z) _ _ |
| 159 | map_smul' c x := by |
| 160 | funext i |
| 161 | exact map_smul (Prescribed.CM.nativePeriodFrame K B places (d i) z) c _ |
| 162 | |
| 163 | theorem total_adapted_native_frame (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 164 | (d : Fin 2 → Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (x : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 165 | totalAdaptedCoordinates K places d (totalNativePeriodFrame K B places d z x) = x := by |
| 166 | funext p |
| 167 | cases p <;> simp [totalAdaptedCoordinates, totalNativePeriodFrame, Prescribed.CM.adapted_native_frame] |
| 168 | |
| 169 | theorem total_adapted_source_projector (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 170 | (d : Fin 2 → Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (w : ComplexTransition.CM.TotalAmbient K) : |
| 171 | totalAdaptedCoordinates K places d (TotalProjector.CM.totalSourceProjector K B places d z w) = |
| 172 | totalAdaptedCoordinates K places d w := by |
| 173 | funext p |
| 174 | cases p with |
| 175 | | inl p => exact congrFun (adapted_source_projector K B places (d 0) z (w 0)) p |
| 176 | | inr p => exact congrFun (adapted_source_projector K B places (d 1) z (w 1)) p |
| 177 | |
| 178 | theorem total_native_frame_recovers_graph {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 179 | {d : Fin 2 → Gal(K/ℚ) → Bool} (L : (i : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d i)) |
| 180 | (z : HeckeCycles.GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (x : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 181 | totalNativePeriodFrame K B places d z |
| 182 | (totalAdaptedCoordinates K places d |
| 183 | (TotalPeriodGraphs.CM.totalGraphInAmbient K (fun i => (L i).coordinates) |
| 184 | (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z)) x)) = |
| 185 | TotalPeriodGraphs.CM.totalGraphInAmbient K (fun i => (L i).coordinates) |
| 186 | (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z)) x := by |
| 187 | rw [TotalPeriodGraphs.CM.total_block_graph] |
| 188 | funext i |
| 189 | fin_cases i |
| 190 | · exact native_frame_recovers_line_graph K (L 0) z hz _ |
| 191 | · exact native_frame_recovers_line_graph K (L 1) z hz _ |
| 192 | |
| 193 | omit [IsGalois ℚ K] in |
| 194 | theorem total_adapted_graph_det {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 195 | {d : Fin 2 → Gal(K/ℚ) → Bool} (L : (i : Fin 2) → HeckeCycles.GeometricSource.CM.LinePeriod K B places (d i)) |
| 196 | (z : HeckeCycles.GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : |
| 197 | LinearMap.det ((totalAdaptedCoordinates K places d).comp |
| 198 | (TotalPeriodGraphs.CM.totalGraphInAmbient K (fun i => (L i).coordinates) |
| 199 | (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z)))) = |
| 200 | (((L 0).halfDet z : ℂ) * ((L 1).halfDet z : ℂ)) ^ 2 := by |
| 201 | let e := LinearEquiv.sumArrowLequivProdArrow (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ ℂ |
| 202 | let f (i : Fin 2) := (HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d i)).comp |
| 203 | (HeckeCycles.GeometricSource.CM.graphInAmbient K (L i).coordinates ((L i).period z)) |
| 204 | have he : (totalAdaptedCoordinates K places d).comp |
| 205 | (TotalPeriodGraphs.CM.totalGraphInAmbient K (fun i => (L i).coordinates) |
| 206 | (BlockPeriod.CM.blockPeriod ((L 0).period z) ((L 1).period z))) = |
| 207 | e.symm.toLinearMap.comp (((f 0).prodMap (f 1)).comp e.toLinearMap) := by |
| 208 | apply LinearMap.ext |
| 209 | intro x |
| 210 | change totalAdaptedCoordinates K places d (TotalPeriodGraphs.CM.totalGraphInAmbient K _ _ x) = _ |
| 211 | rw [TotalPeriodGraphs.CM.total_block_graph] |
| 212 | rfl |
| 213 | rw [he] |
| 214 | have hc : LinearMap.det (e.symm.toLinearMap.comp (((f 0).prodMap (f 1)).comp e.toLinearMap)) = |
| 215 | LinearMap.det ((f 0).prodMap (f 1)) := by |
| 216 | simpa only [LinearEquiv.symm_symm] using! LinearMap.det_conj ((f 0).prodMap (f 1)) e.symm |
| 217 | rw [hc, LinearMap.det_prodMap, mul_pow] |
| 218 | exact congrArg₂ (fun a b : ℂ => a * b) ((L 0).halfDet_square z hz).symm ((L 1).halfDet_square z hz).symm |
| 219 | |
| 220 | end |
| 221 | |
| 222 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdaptedTotal.CM |