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.SingleLineComponents |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceGeometricFrame |
| 3 | |
| 4 | /-! # Single Line Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineFrame.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual source frame of each individual line maps to the native |
| 11 | one-line frame through a constant invertible coefficient map. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 16 | |
| 17 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 18 | |
| 19 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 20 | |
| 21 | def sourceSingleIndexEquiv (places : HeckeCycles.GeometricSource.CM.Places K) : HeckeCycles.GeometricSource.CM.Positions K places ≃ Fin places.count × (Fin 3 × Fin 1) where |
| 22 | toFun p := (p.1, p.2, 0) |
| 23 | invFun p := (p.1, p.2.1) |
| 24 | left_inv _ := rfl |
| 25 | right_inv p := by |
| 26 | rcases p with ⟨v, i, j⟩ |
| 27 | exact congrArg (fun k => (v, i, k)) (Subsingleton.elim 0 j) |
| 28 | |
| 29 | variable {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 30 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) (j : Fin 2) |
| 31 | |
| 32 | def directSingleLineFrameCoefficients : (HeckeCycles.GeometricSource.CM.Positions K places → ℂ) →ₗ[ℂ] |
| 33 | (Fin places.count × (Fin 3 × Fin 1) → ℂ) where |
| 34 | toFun u p := SourceFrameComponents.CM.directSourceFrameScale K Q p.1 (p.2.1, j) * u (p.1, p.2.1) |
| 35 | map_add' u v := by funext p; exact mul_add _ _ _ |
| 36 | map_smul' c u := by funext p; exact mul_left_comm _ _ _ |
| 37 | |
| 38 | theorem direct_single_line_frame_coefficients_bijective : |
| 39 | Function.Bijective (directSingleLineFrameCoefficients K Q j) := by |
| 40 | constructor |
| 41 | · intro u w h |
| 42 | funext p |
| 43 | exact mul_left_cancel₀ (SourceFrameComponents.CM.direct_source_frame_scale_ne_zero K Q p.1 (p.2, j)) (congrFun h (p.1, p.2, 0)) |
| 44 | · intro w |
| 45 | refine ⟨fun p => w (p.1, p.2, 0) / SourceFrameComponents.CM.directSourceFrameScale K Q p.1 (p.2, j), ?_⟩ |
| 46 | funext p |
| 47 | rcases p with ⟨v, i, k⟩ |
| 48 | fin_cases k |
| 49 | exact mul_div_cancel₀ _ (SourceFrameComponents.CM.direct_source_frame_scale_ne_zero K Q v (i, j)) |
| 50 | |
| 51 | def directSingleLineFrameCoefficientEquiv : (HeckeCycles.GeometricSource.CM.Positions K places → ℂ) ≃ₗ[ℂ] |
| 52 | (Fin places.count × (Fin 3 × Fin 1) → ℂ) := |
| 53 | LinearEquiv.ofBijective (directSingleLineFrameCoefficients K Q j) |
| 54 | (direct_single_line_frame_coefficients_bijective K Q j) |
| 55 | |
| 56 | def singleNativePhaseProjection : RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ B.other_place) → |
| 57 | RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) := |
| 58 | fun w v => (fun i => (w v).1 (i.1, j), fun i => (w v).2 (i.1, j)) |
| 59 | |
| 60 | theorem direct_single_line_geometric_frame_projection (z : RepresentationTheory.Theta.Adelic.BallNatural.Ball) |
| 61 | (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 62 | singleNativePhaseProjection K Q hμ j |
| 63 | (RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ B.other_place) z |
| 64 | (SourceFrameComponents.CM.directSourceFrameCoefficients K Q (Sum.elim u u))) = |
| 65 | RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) z (directSingleLineFrameCoefficients K Q j u) := by |
| 66 | fin_cases j <;> rfl |
| 67 | |
| 68 | omit d Q hμ j in |
| 69 | theorem direct_single_line_geometric_frame |
| 70 | (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 71 | (Q : Lagrangians.CM.LagrangianPair K B places (fun k v => d k (places.representative v))) |
| 72 | (hμ : ∀ k, d k (places.representative places.distinguished) = true) |
| 73 | (j : Fin 2) (z : B.Domain) (u : HeckeCycles.GeometricSource.CM.Positions K places → ℂ) : |
| 74 | SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j (Prescribed.CM.nativePeriodFrame K B places (d j) z.val u) = |
| 75 | RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 76 | (directSingleLineFrameCoefficients K Q j u) := by |
| 77 | let w := AdaptedTotal.CM.totalNativePeriodFrame K B places d z.val (Sum.elim u u) |
| 78 | have hw : w j = Prescribed.CM.nativePeriodFrame K B places (d j) z.val u := by |
| 79 | fin_cases j <;> rfl |
| 80 | have hc := (congrArg (SingleLineComponents.CM.directSingleLineComplexComponents K Q hμ j) hw).symm.trans |
| 81 | (SingleLineComponents.CM.direct_single_line_components_projection K Q hμ j w) |
| 82 | have hf := congrArg (singleNativePhaseProjection K Q hμ j) |
| 83 | (SourceGeometricFrame.CM.direct_source_geometric_frame K d Q hμ B.other_place z (Sum.elim u u)) |
| 84 | exact hc.trans (hf.trans (direct_single_line_geometric_frame_projection K Q hμ j (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) u)) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineFrame.CM |