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.SingleLineTransition |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicIndexedGraphs |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourcePeriodAction |
| 4 | |
| 5 | /-! # Single Line Period Graph -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLinePeriodGraph.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The period of each actual source line is its fixed rational |
| 12 | symplectic transform in native one-line coordinates. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 17 | |
| 18 | section |
| 19 | |
| 20 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 21 | |
| 22 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 23 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 24 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) (j : Fin 2) |
| 25 | |
| 26 | def singleSourcePhaseRealization : ((HeckeCycles.GeometricSource.CM.Positions K places ⊕ HeckeCycles.GeometricSource.CM.Positions K places) → ℂ) →ₗ[ℂ] |
| 27 | RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) := |
| 28 | SourceIntrinsicTransition.CM.indexedSwappedPhaseMap (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SingleLineComponents.CM.directSingleLineComparison K Q hμ j).complexPhase |
| 29 | |
| 30 | theorem direct_single_phase_rational (x : HeckeCycles.GeometricSource.CM.Vec K) : |
| 31 | singleSourcePhaseRealization K Q hμ j (fun i => (SingleLineTransition.CM.directSingleIndexedRationalCoordinates K Q hμ j x i : ℂ)) = |
| 32 | SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j (HeckeCycles.GeometricSource.CM.embeddingCoordinates K x) := by |
| 33 | let e := (SingleLineFrame.CM.sourceSingleIndexEquiv K places).sumCongr (SingleLineFrame.CM.sourceSingleIndexEquiv K places) |
| 34 | let r := SingleLineTrace.CM.directSingleLineRationalCoordinates K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a j) |
| 35 | (BallArithmetic.CM.direct_source_a_fixed K Q j) (BallArithmetic.CM.direct_source_a_ne_zero K Q j) |
| 36 | B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) |
| 37 | have hi : RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (fun i => (SingleLineTransition.CM.directSingleIndexedRationalCoordinates K Q hμ j x (e.symm i) : ℂ)) = |
| 38 | (fun i => ((SingleLineComponents.CM.directSingleLineComparison K Q hμ j).rationalPhase |
| 39 | ((SingleLineComponents.CM.directSingleLineFrames K Q j).rational.coordinates |
| 40 | (SingleLineTrace.CM.singleLineQuadraticPosition K Q.delta Q.delta_imaginary Q.delta_ne_zero x)) i : ℂ)) := by |
| 41 | refine funext (fun i : (Fin places.count × (Fin 3 × Fin 1)) ⊕ (Fin places.count × (Fin 3 × Fin 1)) => ?_) |
| 42 | cases i with |
| 43 | | inl i => |
| 44 | change ((r x (e (e.symm (.inr i))) : ℚ) : ℂ) = ((r x (.inr i) : ℚ) : ℂ) |
| 45 | exact congrArg (fun k => ((r x k : ℚ) : ℂ)) (e.apply_symm_apply (.inr i)) |
| 46 | | inr i => |
| 47 | change ((r x (e (e.symm (.inl i))) : ℚ) : ℂ) = ((r x (.inl i) : ℚ) : ℂ) |
| 48 | exact congrArg (fun k => ((r x k : ℚ) : ℂ)) (e.apply_symm_apply (.inl i)) |
| 49 | exact (congrArg (SingleLineComponents.CM.directSingleLineComparison K Q hμ j).complexPhase hi).trans |
| 50 | (SingleLineTransition.CM.direct_single_complex_phase_rational K Q hμ j x) |
| 51 | |
| 52 | variable (C : HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places) |
| 53 | |
| 54 | theorem single_source_transition_complex_rational (x : HeckeCycles.GeometricSource.CM.Vec K) : |
| 55 | (SingleLineTransition.CM.singleSourceNativeTransitionMatrix K Q hμ j C).map (algebraMap ℚ ℂ) *ᵥ |
| 56 | (fun i => (CoordinateComparison.CM.sumCoordinates K C x i : ℂ)) = |
| 57 | fun i => (SingleLineTransition.CM.directSingleIndexedRationalCoordinates K Q hμ j x i : ℂ) := by |
| 58 | funext i |
| 59 | exact (RingHom.map_mulVec (algebraMap ℚ ℂ) (SingleLineTransition.CM.singleSourceNativeTransitionMatrix K Q hμ j C) |
| 60 | (CoordinateComparison.CM.sumCoordinates K C x) i).symm.trans |
| 61 | (congrArg (algebraMap ℚ ℂ) (congrFun (SingleLineTransition.CM.single_source_native_transition_apply K Q hμ j C x) i)) |
| 62 | |
| 63 | theorem single_source_native_complex_transition (w : HeckeCycles.GeometricSource.CM.Ambient K) : |
| 64 | singleSourcePhaseRealization K Q hμ j |
| 65 | ((SingleLineTransition.CM.singleSourceNativeTransitionMatrix K Q hμ j C).map (algebraMap ℚ ℂ) *ᵥ SourceSymplecticAction.CM.sourceComplexSumCoordinates K C w) = |
| 66 | SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j w := by |
| 67 | let f := (singleSourcePhaseRealization K Q hμ j).comp |
| 68 | ((Matrix.toLin' ((SingleLineTransition.CM.singleSourceNativeTransitionMatrix K Q hμ j C).map (algebraMap ℚ ℂ))).comp |
| 69 | (SourceSymplecticAction.CM.sourceComplexSumCoordinates K C).toLinearMap) |
| 70 | have he : f = SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j := by |
| 71 | apply ComplexTransition.CM.linear_maps_eq_of_rational_coordinates (CoordinateComparison.CM.sumCoordinates K C) (SourceSymplecticAction.CM.sourceComplexSumCoordinates K C) |
| 72 | (HeckeCycles.GeometricSource.CM.embeddingCoordinates K) (SourceSymplecticAction.CM.source_complex_sum_coordinates_embedding K C) |
| 73 | intro x |
| 74 | change singleSourcePhaseRealization K Q hμ j |
| 75 | ((SingleLineTransition.CM.singleSourceNativeTransitionMatrix K Q hμ j C).map (algebraMap ℚ ℂ) *ᵥ |
| 76 | SourceSymplecticAction.CM.sourceComplexSumCoordinates K C (HeckeCycles.GeometricSource.CM.embeddingCoordinates K x)) = _ |
| 77 | rw [SourceSymplecticAction.CM.source_complex_sum_coordinates_embedding, single_source_transition_complex_rational, direct_single_phase_rational] |
| 78 | exact LinearMap.congr_fun he w |
| 79 | |
| 80 | def directSingleIndexedPeriod (z : B.Domain) : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (HeckeCycles.GeometricSource.CM.Positions K places) := |
| 81 | IntrinsicIndexedGraphs.CM.nativeIndexedPeriod (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineComponents.CM.directSingleLineFrames K Q j) |
| 82 | (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 87 | |
| 88 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 89 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 90 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 91 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) (j : Fin 2) |
| 92 | (L : HeckeCycles.GeometricSource.CM.LinePeriod K B places (d j)) (hL : L.coordinates.a = Q.a j ∧ L.coordinates.delta = Q.delta) |
| 93 | |
| 94 | theorem single_source_native_graph_relation (z : B.Domain) (x : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 95 | let γ := SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL |
| 96 | let α := γ.val.map (algebraMap ℚ ℂ) *ᵥ Sum.elim ((L.period z.val).matrix.mulVec x) x |
| 97 | (directSingleIndexedPeriod K Q hμ j z).matrix.mulVec (fun i => α (.inr i)) = fun i => α (.inl i) := by |
| 98 | let w := HeckeCycles.GeometricSource.CM.graphInAmbient K L.coordinates (L.period z.val) x |
| 99 | let u := HeckeCycles.GeometricSource.CM.adaptedCoordinates K places (d j) w |
| 100 | have hr : Prescribed.CM.nativePeriodFrame K B places (d j) z.val u = w := |
| 101 | AdaptedTotal.CM.native_frame_recovers_line_graph K L z.val z.property x |
| 102 | have hf := (congrArg (SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j) hr).symm.trans |
| 103 | (SingleLineFrame.CM.direct_single_line_geometric_frame K d Q hμ j z u) |
| 104 | have ht := (single_source_native_complex_transition K Q hμ j L.coordinates w).trans hf |
| 105 | have hp := IntrinsicIndexedGraphs.CM.native_indexed_graph_equation (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SingleLineComponents.CM.directSingleLineFrames K Q j) |
| 106 | (SingleLineFrame.CM.sourceSingleIndexEquiv K places) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 107 | ((SingleLineTransition.CM.singleSourceNativeTransitionMatrix K Q hμ j L.coordinates).map (algebraMap ℚ ℂ) *ᵥ |
| 108 | SourceSymplecticAction.CM.sourceComplexSumCoordinates K L.coordinates w) (SingleLineFrame.CM.directSingleLineFrameCoefficients K Q j u) ht |
| 109 | simpa only [w, SourcePeriodAction.CM.source_graph_sum_coordinates] using! hp |
| 110 | |
| 111 | theorem single_source_native_period_transform (z : B.Domain) : |
| 112 | directSingleIndexedPeriod K Q hμ j z = |
| 113 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.realBlocks (SingleLineTransition.CM.singleSourceNativeSymplecticTransition K Q hμ j L.coordinates hL)).transformSiegel (L.period z.val) := by |
| 114 | apply IndexedGraphRelation.CM.symplectic_period_eq_of_graph |
| 115 | intro x |
| 116 | exact single_source_native_graph_relation K d Q hμ j L hL z x |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLinePeriodGraph.CM |