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.LinePeriods |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Theta.Weil |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF |
| 4 | |
| 5 | /-! # Projection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Projection.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Holomorphic regularity of the literal HeckeCycles theta derivative and its |
| 14 | actual cotangent projection. The finite Schwartz input stays fixed. -/ |
| 15 | |
| 16 | open scoped Classical ContDiff _root_.Matrix.Norms.Elementwise |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Theta.Weil.CM |
| 18 | |
| 19 | variable (K : IntermediateField ℚ ℂ) |
| 20 | [NumberField K] [NumberField.IsCMField K] |
| 21 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Gal(K/ℚ) → Bool} |
| 22 | |
| 23 | theorem source_first_holomorphic (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 24 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) : |
| 25 | DifferentiableOn ℂ (fun z => fderiv ℂ (HeckeCycles.GeometricSource.CM.thetaSeries φ (L.period z)) 0) B.domain := by |
| 26 | have he : (fun z => fderiv ℂ (HeckeCycles.GeometricSource.CM.thetaSeries φ (L.period z)) 0) = |
| 27 | (fun z => RepresentationTheory.Theta.DerivativeFactorizationDefinitions.firstCoefficient |
| 28 | (RepresentationTheory.Theta.Geometric.LinearTheta.toDerivativeFactorizationInput (HeckeCycles.Theta.Weil.CM.finiteWeilInput φ)) (L.period z).matrix) := by |
| 29 | funext z |
| 30 | exact HeckeCycles.Theta.Weil.CM.source_first_is_canonical φ (L.period z) |
| 31 | rw [he] |
| 32 | intro z hz |
| 33 | exact (RepresentationTheory.Theta.DerivativeFactorizationAdelicLattice.firstCoefficient_differentiableAt |
| 34 | (RepresentationTheory.Theta.Geometric.LinearTheta.toDerivativeFactorizationInput (HeckeCycles.Theta.Weil.CM.finiteWeilInput φ)) (L.period z)).comp_differentiableWithinAt |
| 35 | z (L.holomorphic z hz) |
| 36 | |
| 37 | def sourceGraphGradient (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 38 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) (z : HeckeCycles.GeometricSource.CM.BallChart) : HeckeCycles.GeometricSource.CM.Ambient K := |
| 39 | HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) |
| 40 | (fun j => fderiv ℂ (HeckeCycles.GeometricSource.CM.thetaSeries φ (L.period z)) 0 (Pi.single j 1)) |
| 41 | |
| 42 | theorem source_graph_gradient_holomorphic (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 43 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) : |
| 44 | DifferentiableOn ℂ (sourceGraphGradient K L φ) B.domain := by |
| 45 | let c : HeckeCycles.GeometricSource.CM.BallChart → HeckeCycles.GeometricSource.CM.Positions K places → ℂ := fun z j => |
| 46 | fderiv ℂ (HeckeCycles.GeometricSource.CM.thetaSeries φ (L.period z)) 0 (Pi.single j 1) |
| 47 | have hc : DifferentiableOn ℂ c B.domain := by |
| 48 | apply differentiableOn_pi.mpr |
| 49 | intro j |
| 50 | exact (source_first_holomorphic K L φ).clm_apply (differentiableOn_const (Pi.single j 1)) |
| 51 | have hm := L.holomorphic |
| 52 | have hu : DifferentiableOn ℂ (fun z => (L.period z).matrix.mulVec (c z)) B.domain := by |
| 53 | apply differentiableOn_pi.mpr |
| 54 | intro j |
| 55 | simp only [Matrix.mulVec, dotProduct] |
| 56 | fun_prop |
| 57 | exact L.coordinates.complex.symm.toContinuousLinearEquiv.differentiable.comp_differentiableOn |
| 58 | (hu.prodMk hc) |
| 59 | |
| 60 | def sourceThetaCovector (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 61 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) (z : HeckeCycles.GeometricSource.CM.BallChart) : HeckeCycles.GeometricSource.CM.BallChart →L[ℂ] ℂ := |
| 62 | ((L.halfDet z : ℂ) * sourceGraphGradient K L φ z (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 0) • |
| 63 | ContinuousLinearMap.proj (0 : Fin 2) + |
| 64 | ((L.halfDet z : ℂ) * sourceGraphGradient K L φ z (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 1) • |
| 65 | ContinuousLinearMap.proj (1 : Fin 2) |
| 66 | |
| 67 | theorem source_theta_covector_apply (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 68 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) (z ξ : HeckeCycles.GeometricSource.CM.BallChart) : |
| 69 | sourceThetaCovector K L φ z ξ = HeckeCycles.GeometricSource.CM.thetaOneForm K L φ z ξ := by |
| 70 | simp [sourceThetaCovector, HeckeCycles.GeometricSource.CM.thetaOneForm, sourceGraphGradient, HeckeCycles.GeometricSource.CM.localPairing, |
| 71 | Fin.sum_univ_succ] |
| 72 | ring |
| 73 | |
| 74 | theorem source_theta_covector_holomorphic (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 75 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) : |
| 76 | DifferentiableOn ℂ (sourceThetaCovector K L φ) B.domain := by |
| 77 | have hw := source_graph_gradient_holomorphic K L φ |
| 78 | have hh := L.halfDet_holomorphic |
| 79 | unfold sourceThetaCovector |
| 80 | fun_prop |
| 81 | |
| 82 | theorem source_theta_covector_smooth (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 83 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) : |
| 84 | ContDiffOn ℝ ∞ (sourceThetaCovector K L φ) B.domain := by |
| 85 | exact (Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF.Constructions.HolomorphicDerivative.contDiffOn_infty_of_differentiableOn |
| 86 | B.domain_isOpen (source_theta_covector_holomorphic K L φ)).restrict_scalars ℝ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | /-! The actual graph/half-determinant cotangent projection is surjective. |
| 91 | An explicit vector in the native prescribed frame realizes each covector. -/ |
| 92 | |
| 93 | open scoped Classical |
| 94 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 95 | |
| 96 | variable (K : IntermediateField ℚ ℂ) |
| 97 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 98 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Gal(K/ℚ) → Bool} |
| 99 | |
| 100 | def graphCotangent (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) (z : HeckeCycles.GeometricSource.CM.BallChart) |
| 101 | (c : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : HeckeCycles.GeometricSource.CM.BallChart →L[ℂ] ℂ := |
| 102 | ((L.halfDet z : ℂ) * HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) c (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 0) • |
| 103 | ContinuousLinearMap.proj (0 : Fin 2) + |
| 104 | ((L.halfDet z : ℂ) * HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) c (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 1) • |
| 105 | ContinuousLinearMap.proj (1 : Fin 2) |
| 106 | |
| 107 | theorem graph_cotangent_surjective (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 108 | (z : HeckeCycles.GeometricSource.CM.BallChart) (hz : z ∈ B.domain) : Function.Surjective (graphCotangent K L z) := by |
| 109 | intro η |
| 110 | let h : ℂ := L.halfDet z |
| 111 | have hh : h ≠ 0 := Units.ne_zero _ |
| 112 | let v : HeckeCycles.GeometricSource.CM.Positions K places → ℂ := fun p => |
| 113 | ![0, η (Pi.single 0 1) / h, η (Pi.single 1 1) / h] p.2 |
| 114 | let w := Prescribed.CM.nativePeriodFrame K B places d z v |
| 115 | have hw : HeckeCycles.GeometricSource.CM.prescribed K B places d z w := |
| 116 | (CoefficientPeriods.CM.native_frame_range K B places d z w).mp (LinearMap.mem_range_self _ v) |
| 117 | let c := (L.coordinates.complex w).2 |
| 118 | have hgraph : HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) c = w := by |
| 119 | apply L.coordinates.complex.injective |
| 120 | change L.coordinates.complex (L.coordinates.complex.symm _) = _ |
| 121 | rw [LinearEquiv.apply_symm_apply] |
| 122 | exact Prod.ext ((L.graph_prescribed z hz w).mp hw).symm rfl |
| 123 | have h0 : w (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 0 = η (Pi.single 0 1) / h := by |
| 124 | have he := congrFun (Prescribed.CM.adapted_native_frame K B places d z v) (places.distinguished, 1) |
| 125 | simpa [HeckeCycles.GeometricSource.CM.adaptedCoordinates, places.identity, v, w] using he |
| 126 | have h1 : w (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 1 = η (Pi.single 1 1) / h := by |
| 127 | have he := congrFun (Prescribed.CM.adapted_native_frame K B places d z v) (places.distinguished, 2) |
| 128 | simpa [HeckeCycles.GeometricSource.CM.adaptedCoordinates, places.identity, v, w] using he |
| 129 | refine ⟨c, ?_⟩ |
| 130 | apply ContinuousLinearMap.ext |
| 131 | intro ξ |
| 132 | have hξ : ξ = ξ 0 • (Pi.single 0 1 : HeckeCycles.GeometricSource.CM.BallChart) + ξ 1 • (Pi.single 1 1 : HeckeCycles.GeometricSource.CM.BallChart) := by |
| 133 | funext j |
| 134 | fin_cases j <;> simp |
| 135 | change h * (HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) c (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 0) * ξ 0 + |
| 136 | h * (HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z) c (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) 1) * ξ 1 = η ξ |
| 137 | rw [hgraph, h0, h1, mul_div_cancel₀ _ hh, mul_div_cancel₀ _ hh] |
| 138 | conv_rhs => rw [hξ, map_add, map_smul, map_smul] |
| 139 | simp only [smul_eq_mul] |
| 140 | ring |
| 141 | |
| 142 | omit [IsGalois ℚ K] in |
| 143 | theorem source_covector_graph_projection (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places d) |
| 144 | (φ : HeckeCycles.GeometricSource.CM.FiniteInput (HeckeCycles.GeometricSource.CM.Positions K places)) (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 145 | sourceThetaCovector K L φ z = graphCotangent K L z |
| 146 | (fun j => fderiv ℂ (HeckeCycles.GeometricSource.CM.thetaSeries φ (L.period z)) 0 (Pi.single j 1)) := rfl |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Projection.CM |