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.HeckeCycles.SourceAdelic.ThetaPeriodComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaAdaptedCoordinates |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.ThetaGeometricCoordinates |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.MultiplierSign |
| 5 | |
| 6 | /-! # Theta Half -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaHalf.CM.FrameComparison |
| 13 | |
| 14 | /-! The actual AdelicTheta Hodge frame, the constant diagonal component change, |
| 15 | and the source graph frame multiply to the derived symplectic denominator. -/ |
| 16 | |
| 17 | open scoped Classical _root_.NumberField _root_.Matrix |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalFrame.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaComplexFrame.CM |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.UnitaryEq.CM.PeriodCovariance OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM |
| 21 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 22 | |
| 23 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 24 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 25 | (L : GeometricSource.CM.LinePeriod E B places d) (T : ThetaRationalFrame.CM.Data E L) |
| 26 | (hT : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification T (Source.GlobalFrames.CM.frames E |
| 27 | (OppositeCoordinates.CM.coordinates E L.coordinates))) |
| 28 | (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification T) |
| 29 | |
| 30 | include hG in |
| 31 | theorem value (z : B.Domain) (x : GeometricSource.CM.Positions E places → ℂ) : |
| 32 | ((T.frame (Source.BallNormalization.CM.equiv E B z)).val.submatrix (ThetaRationalFrame.CM.index E L) (ThetaRationalFrame.CM.index E L)).mulVec |
| 33 | ((ThetaAdaptedCoordinates.CM.diagonal E L).val.mulVec |
| 34 | (Source.MultiplierSign.CM.Square.graphFrame E L z.val x)) = |
| 35 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)).complexify.denominator (L.period z.val).matrix).mulVec x := by |
| 36 | let w := GeometricSource.CM.graphInAmbient E L.coordinates (L.period z.val) x |
| 37 | obtain ⟨t, ht⟩ := ThetaPeriodComparison.CM.native_graph E L T hT hG z x |
| 38 | have hc : |
| 39 | (T.frame (Source.BallNormalization.CM.equiv E B z)).val.mulVec |
| 40 | (RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates (Source.BallArithmetic.CM.data E L) |
| 41 | (ThetaComplexComponents.CM.components E L w)) = t := by |
| 42 | rw [← ThetaComplexFrame.CM.apply E L T hT w] |
| 43 | change (T.frame _).val.mulVec (RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates _ (T.complexPhase (ThetaComplexFrame.CM.nativeFrame E L T hT w))) = t |
| 44 | rw [show ThetaComplexFrame.CM.nativeFrame E L T hT w = _ from ht] |
| 45 | exact Adelic.ThetaGeometricCoordinates.CM.frame_coordinates T hG _ t |
| 46 | have hs := ThetaPeriodComparison.CM.phase E L T hT w |
| 47 | change Rational.FrameComplexChange.CM.swap (ThetaRationalFrame.CM.index E L) |
| 48 | (ThetaComplexFrame.CM.nativeFrame E L T hT (GeometricSource.CM.graphInAmbient E L.coordinates (L.period z.val) x)) = _ at hs |
| 49 | rw [ht, ComplexGraphReindex.CM.graph, Source.UnitaryEq.CM.PeriodCovariance.complexFrame_graph E L z.val x, Source.UnitaryEq.CM.PeriodCovariance.block_graph_action] at hs |
| 50 | have hd : t ∘ ThetaRationalFrame.CM.index E L = |
| 51 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)).complexify.denominator (L.period z.val).matrix).mulVec x := |
| 52 | congrArg (fun f : (GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℂ => fun i => f (.inr i)) hs |
| 53 | have he := congrArg (fun f => f ∘ ThetaRationalFrame.CM.index E L) hc |
| 54 | rw [← ComplexGraphReindex.CM.mulVec] at he |
| 55 | have ha := ThetaAdaptedCoordinates.CM.coordinates E L w |
| 56 | change (RepresentationTheory.Theta.Adelic.BallGeometryData.geometricCoordinates (Source.BallArithmetic.CM.data E L) |
| 57 | (ThetaComplexComponents.CM.components E L w)) ∘ ThetaRationalFrame.CM.index E L = _ at ha |
| 58 | rw [ha] at he |
| 59 | exact he.trans hd |
| 60 | |
| 61 | include hG in |
| 62 | theorem matrix_identity (z : B.Domain) : |
| 63 | (T.frame (Source.BallNormalization.CM.equiv E B z)).val.submatrix (ThetaRationalFrame.CM.index E L) (ThetaRationalFrame.CM.index E L) * |
| 64 | (ThetaAdaptedCoordinates.CM.diagonal E L).val * |
| 65 | LinearMap.toMatrix' (Source.MultiplierSign.CM.Square.graphFrame E L z.val) = |
| 66 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)).complexify.denominator (L.period z.val).matrix := by |
| 67 | apply Matrix.mulVec_injective |
| 68 | funext x |
| 69 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, LinearMap.toMatrix'_mulVec] |
| 70 | exact value E L T hT hG z x |
| 71 | |
| 72 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaHalf.CM.FrameComparison |
| 73 | |
| 74 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaHalf.CM.Determinant |
| 75 | |
| 76 | /-! The two actual half-determinant frames have a ratio with a fixed, |
| 77 | nonzero square, determined by the constant adapted-coordinate matrix. -/ |
| 78 | |
| 79 | open scoped Classical _root_.NumberField _root_.Matrix |
| 80 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 81 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalFrame.CM |
| 82 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 83 | |
| 84 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 85 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 86 | (L : GeometricSource.CM.LinePeriod E B places d) (T : ThetaRationalFrame.CM.Data E L) |
| 87 | (hT : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification T (Source.GlobalFrames.CM.frames E |
| 88 | (OppositeCoordinates.CM.coordinates E L.coordinates))) |
| 89 | (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification T) |
| 90 | |
| 91 | include hG in |
| 92 | theorem determinant (z : B.Domain) : |
| 93 | T.halfFrame (Source.BallNormalization.CM.equiv E B z) ^ 2 * |
| 94 | (ThetaAdaptedCoordinates.CM.diagonal E L).val.det * (L.halfDet z.val : ℂ) ^ 2 = |
| 95 | ((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)).complexify.denominator (L.period z.val).matrix).det := by |
| 96 | have h := congrArg Matrix.det (FrameComparison.matrix_identity E L T hT hG z) |
| 97 | rw [Matrix.det_mul, Matrix.det_mul, Matrix.det_submatrix_equiv_self, LinearMap.det_toMatrix'] at h |
| 98 | rw [(hG.2.2.2.2.2.1 (Source.BallNormalization.CM.equiv E B z)).2, L.halfDet_square z.val z.property] |
| 99 | exact h |
| 100 | |
| 101 | def ratio (z : B.Domain) : ℂ := |
| 102 | T.halfFrame (Source.BallNormalization.CM.equiv E B z) * (L.halfDet z.val : ℂ) / |
| 103 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)) (L.period z.val) |
| 104 | |
| 105 | include hG in |
| 106 | theorem ratio_ne_zero (z : B.Domain) : ratio E L T hT z ≠ 0 := |
| 107 | div_ne_zero (mul_ne_zero (hG.2.2.2.2.2.1 (Source.BallNormalization.CM.equiv E B z)).1 (Units.ne_zero _)) |
| 108 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet_ne_zero _ _) |
| 109 | |
| 110 | include hG in |
| 111 | theorem ratio_square (z : B.Domain) : |
| 112 | ratio E L T hT z ^ 2 = ((ThetaAdaptedCoordinates.CM.diagonal E L).val.det)⁻¹ := by |
| 113 | have hk : (ThetaAdaptedCoordinates.CM.diagonal E L).val.det ≠ 0 := |
| 114 | (Matrix.isUnits_det_units (ThetaAdaptedCoordinates.CM.diagonal E L)).ne_zero |
| 115 | have hd := (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)).denominator_det_isUnit (L.period z.val) |
| 116 | rw [ratio, div_pow, mul_pow, RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet_sq] |
| 117 | apply (div_eq_iff hd.ne_zero).mpr |
| 118 | rw [← determinant E L T hT hG z] |
| 119 | field_simp |
| 120 | |
| 121 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaHalf.CM.Determinant |
| 122 | |
| 123 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaHalf.CM.DeterminantConstant |
| 124 | |
| 125 | /-! Connectedness of the actual source ball makes the half-determinant |
| 126 | comparison a single nonzero constant, independent of the period point. -/ |
| 127 | |
| 128 | open scoped Classical _root_.NumberField |
| 129 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 130 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalFrame.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaHalf.CM.Determinant |
| 131 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 132 | |
| 133 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 134 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 135 | (L : GeometricSource.CM.LinePeriod E B places d) (T : ThetaRationalFrame.CM.Data E L) |
| 136 | (hT : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification T (Source.GlobalFrames.CM.frames E |
| 137 | (OppositeCoordinates.CM.coordinates E L.coordinates))) |
| 138 | (hG : RepresentationTheory.Theta.Adelic.DataTheta.GeometryIdentification T) |
| 139 | |
| 140 | include hG in |
| 141 | theorem native_continuous : Continuous (fun z : B.Domain => |
| 142 | T.halfFrame (Source.BallNormalization.CM.equiv E B z)) := by |
| 143 | have hh : Continuous T.halfFrame := by |
| 144 | have h := hG.2.2.2.2.1.continuousOn |
| 145 | rw [continuousOn_iff_continuous_domRestrict] at h |
| 146 | apply h.congr |
| 147 | intro z |
| 148 | exact dite_eq_left z.property |
| 149 | exact hh.comp (Source.BallNormalization.CM.homeomorph E B).continuous |
| 150 | |
| 151 | omit [IsGalois ℚ E] in |
| 152 | theorem source_continuous : Continuous (fun z : B.Domain => (L.halfDet z.val : ℂ)) := by |
| 153 | have h := L.halfDet_holomorphic.continuousOn |
| 154 | rw [continuousOn_iff_continuous_domRestrict] at h |
| 155 | exact h |
| 156 | |
| 157 | theorem symplectic_continuous : Continuous (fun z : B.Domain => |
| 158 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)) (L.period z.val)) := by |
| 159 | have h := (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDetExtension_continuousOn (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT))).comp |
| 160 | L.holomorphic.continuousOn (fun z _ => |
| 161 | (show (L.period z).matrix ∈ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.siegelSet (GeometricSource.CM.Positions E places) from |
| 162 | ⟨(L.period z).symmetric, (L.period z).imaginary_posDef⟩)) |
| 163 | rw [continuousOn_iff_continuous_domRestrict] at h |
| 164 | apply h.congr |
| 165 | intro z |
| 166 | simp only [Set.domRestrict_def, Function.comp_apply, RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDetExtension, dite_eq_left |
| 167 | (show (L.period z.val).matrix ∈ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.siegelSet (GeometricSource.CM.Positions E places) from |
| 168 | ⟨(L.period z.val).symmetric, (L.period z.val).imaginary_posDef⟩)] |
| 169 | rfl |
| 170 | |
| 171 | include hG in |
| 172 | theorem ratio_continuous : Continuous (Determinant.ratio E L T hT) := |
| 173 | ((native_continuous E L T hG).mul (source_continuous E L)).div |
| 174 | (symplectic_continuous E L T hT) (fun _ => RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet_ne_zero _ _) |
| 175 | |
| 176 | def scalar : ℂ := Determinant.ratio E L T hT ⟨0, Source.MultiplierSign.CM.zero_mem_domain E⟩ |
| 177 | |
| 178 | include hG in |
| 179 | theorem scalar_ne_zero : scalar E L T hT ≠ 0 := Determinant.ratio_ne_zero E L T hT hG _ |
| 180 | |
| 181 | include hG in |
| 182 | theorem constant (z : B.Domain) : Determinant.ratio E L T hT z = scalar E L T hT := by |
| 183 | let : PreconnectedSpace B.Domain := isPreconnected_iff_preconnectedSpace.mp |
| 184 | (Geometry.ComplexBall.ArithmeticQuotientBoostBall.ball_pathConnected (B.b : ℂ) B.negative).isConnected.isPreconnected |
| 185 | let z0 : B.Domain := ⟨0, Source.MultiplierSign.CM.zero_mem_domain E⟩ |
| 186 | have hsq : Set.EqOn (Determinant.ratio E L T hT ^ 2) ((fun _ : B.Domain => Determinant.ratio E L T hT z0) ^ 2) Set.univ := by |
| 187 | intro x _ |
| 188 | exact (Determinant.ratio_square E L T hT hG x).trans (Determinant.ratio_square E L T hT hG z0).symm |
| 189 | have he := isPreconnected_univ.eq_of_sq_eq (ratio_continuous E L T hT hG).continuousOn |
| 190 | (continuousOn_const (c := Determinant.ratio E L T hT z0)) hsq |
| 191 | (fun _ => Determinant.ratio_ne_zero E L T hT hG z0) (Set.mem_univ z0) rfl |
| 192 | exact he (Set.mem_univ z) |
| 193 | |
| 194 | include hG in |
| 195 | theorem halfFrame_identity (z : B.Domain) : |
| 196 | T.halfFrame (Source.BallNormalization.CM.equiv E B z) * (L.halfDet z.val : ℂ) = |
| 197 | scalar E L T hT * RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (ThetaRationalFrame.CM.matrix E L T hT)) (L.period z.val) := |
| 198 | (div_eq_iff (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.halfDet_ne_zero _ _)).mp (constant E L T hT hG z) |
| 199 | |
| 200 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaHalf.CM.DeterminantConstant |
| 201 | |
| 202 | end |
| 203 | |
| 204 | end OAI |