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.SourceFrameComponents |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.NormalizedFrame |
| 3 | |
| 4 | /-! # Source Geometric Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceGeometricFrame.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The complete two-line source frame maps to the actual native Hodge |
| 11 | frame by one constant diagonal coefficient change at every CM place. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Matrix |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.NormalizedFrame |
| 17 | |
| 18 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 19 | |
| 20 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 21 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 22 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) |
| 23 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 24 | |
| 25 | include places in |
| 26 | theorem source_ball_coefficient_radius : (B.b : ℂ) = -(SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) ^ 2 := by |
| 27 | have h := CMFormCoordinates.CM.source_fixed_element_eq_real K places B.b B.conjugate_b places.distinguished |
| 28 | rw [HeckeCycles.ReferenceDatum.CM.embeddings_distinguished] at h |
| 29 | change ((B.b : ℂ).re : ℂ) = (B.b : ℂ) at h |
| 30 | rw [← h, ← Complex.ofReal_pow, SourceIntrinsicBall.CM.source_ball_radius_sq] |
| 31 | simp only [Complex.ofReal_neg, neg_neg] |
| 32 | |
| 33 | theorem direct_source_active_components (w : ComplexTransition.CM.TotalAmbient K) (j : Fin 2) : |
| 34 | (fun i => (SourceComponents.CM.directSourceComplexComponents K Q hμ hother w places.distinguished).1 (i, j), |
| 35 | fun i => (SourceComponents.CM.directSourceComplexComponents K Q hμ hother w places.distinguished).2 (i, j)) = |
| 36 | CMExtraction.NormalizedFrame.normalizeWeightedPhase (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) |
| 37 | (SourceScales.CM.sourceNativeMultiplicityScale K places Q.delta Q.a places.distinguished j : ℂ) |
| 38 | (fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places w places.distinguished).1 (i, j), |
| 39 | fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places w places.distinguished).2 (i, j)) := by |
| 40 | apply Prod.ext <;> funext i |
| 41 | · rw [SourceFrameComponents.CM.direct_source_components_fst] |
| 42 | fin_cases i <;> simp [CMExtraction.NormalizedFrame.normalizeWeightedPhase, SourceScales.CM.sourceNativeTensorScale, |
| 43 | SourceScales.CM.source_native_place_radius_active, Matrix.mulVec_diagonal, mul_comm] |
| 44 | · rw [SourceFrameComponents.CM.direct_source_components_snd] |
| 45 | fin_cases i <;> simp [CMExtraction.NormalizedFrame.normalizeWeightedPhase, SourceScales.CM.sourceNativeTensorScale, |
| 46 | SourceScales.CM.source_native_place_radius_active, hμ j, Matrix.mulVec_diagonal, mul_comm] |
| 47 | |
| 48 | omit Q hμ hother in |
| 49 | theorem source_total_active_frame_pair (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 50 | (z : HeckeCycles.GeometricSource.CM.BallChart) (u : PeriodTotal.CM.TotalPositions K places → ℂ) (j : Fin 2) : |
| 51 | (fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places (AdaptedTotal.CM.totalNativePeriodFrame K B places d z u) |
| 52 | places.distinguished).1 (i, j), |
| 53 | fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places (AdaptedTotal.CM.totalNativePeriodFrame K B places d z u) |
| 54 | places.distinguished).2 (i, j)) = |
| 55 | CMExtraction.UnitaryFrameAction.weightedFrame (B.b : ℂ) z (fun i => u (SourceFrameComponents.CM.sourceTotalSlot K places places.distinguished i j)) := by |
| 56 | rw [SourceFrameComponents.CM.source_paired_total_frame] |
| 57 | simp only [Geometry.ComplexBall.PrescribedSignsB.placeFrame, ite_true, SourceFrameAction.CM.source_local_frame_weighted, HeckeCycles.ReferenceDatum.CM.embeddings_distinguished] |
| 58 | rfl |
| 59 | |
| 60 | omit Q hμ hother in |
| 61 | theorem source_total_compact_frame_pair (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 62 | (z : HeckeCycles.GeometricSource.CM.BallChart) (u : PeriodTotal.CM.TotalPositions K places → ℂ) (v : Fin places.count) |
| 63 | (hv : v ≠ places.distinguished) (j : Fin 2) : |
| 64 | (fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places (AdaptedTotal.CM.totalNativePeriodFrame K B places d z u) v).1 (i, j), |
| 65 | fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places (AdaptedTotal.CM.totalNativePeriodFrame K B places d z u) v).2 (i, j)) = |
| 66 | if d j (places.representative v) then (0, fun i => u (SourceFrameComponents.CM.sourceTotalSlot K places v i j)) |
| 67 | else (fun i => u (SourceFrameComponents.CM.sourceTotalSlot K places v i j), 0) := by |
| 68 | rw [SourceFrameComponents.CM.source_paired_total_frame] |
| 69 | simp only [Geometry.ComplexBall.PrescribedSignsB.placeFrame, ite_eq_right hv] |
| 70 | split_ifs <;> rfl |
| 71 | |
| 72 | omit d Q hμ hother in |
| 73 | theorem direct_source_geometric_frame |
| 74 | (d : Fin 2 → Gal(K/ℚ) → Bool) |
| 75 | (Q : Lagrangians.CM.LagrangianPair K B places (fun j v => d j (places.representative v))) |
| 76 | (hμ : ∀ j, d j (places.representative places.distinguished) = true) |
| 77 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 78 | (z : B.Domain) (u : PeriodTotal.CM.TotalPositions K places → ℂ) : |
| 79 | SourceComponents.CM.directSourceComplexComponents K Q hμ hother (AdaptedTotal.CM.totalNativePeriodFrame K B places d z.val u) = |
| 80 | RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) |
| 81 | (SourceFrameComponents.CM.directSourceFrameCoefficients K Q u) := by |
| 82 | refine funext (fun v : Fin places.count => ?_) |
| 83 | by_cases hv : v = places.distinguished |
| 84 | · subst v |
| 85 | have hn (j : Fin 2) := direct_source_active_components K Q hμ hother |
| 86 | (AdaptedTotal.CM.totalNativePeriodFrame K B places d z.val u) j |
| 87 | simp_rw [source_total_active_frame_pair, source_ball_coefficient_radius K (places := places), |
| 88 | CMExtraction.NormalizedFrame.weightedFrame_normalized _ _ |
| 89 | (Complex.ofReal_ne_zero.mpr (ne_of_gt (SourceIntrinsicBall.CM.source_ball_radius_pos K B)))] at hn |
| 90 | apply Prod.ext <;> funext ⟨i, j⟩ |
| 91 | · exact (congrFun (congrArg Prod.fst (hn j)) i).trans (by |
| 92 | simp [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, BallArithmetic.CM.directSourceBallArithmeticData, SourceFrameComponents.CM.directSourceFrameCoefficients, |
| 93 | SourceFrameComponents.CM.directSourceFrameScale, CMExtraction.NormalizedFrame.lineAnnihilatorFrame, SourceIntrinsicBall.CM.sourceNativeBallPoint, |
| 94 | Matrix.mulVec_diagonal, mul_comm]) |
| 95 | · exact (congrFun (congrArg Prod.snd (hn j)) i).trans (by |
| 96 | simp [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, BallArithmetic.CM.directSourceBallArithmeticData, SourceFrameComponents.CM.directSourceFrameCoefficients, |
| 97 | SourceFrameComponents.CM.directSourceFrameScale, CMExtraction.NormalizedFrame.lineAnnihilatorFrame, SourceIntrinsicBall.CM.sourceNativeBallPoint, |
| 98 | Matrix.mulVec_diagonal, mul_comm]) |
| 99 | · have hw (j : Fin 2) := source_total_compact_frame_pair K (B := B) d z.val u v hv j |
| 100 | apply Prod.ext <;> funext ⟨i, j⟩ |
| 101 | · refine (SourceFrameComponents.CM.direct_source_components_fst K Q hμ hother |
| 102 | (AdaptedTotal.CM.totalNativePeriodFrame K B places d z.val u) v (i, j)).trans ?_ |
| 103 | have hx := congrFun (congrArg Prod.fst (hw j)) i |
| 104 | dsimp only at hx |
| 105 | simp only [hx] |
| 106 | cases hd : d j (places.representative v) <;> |
| 107 | simp [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, BallArithmetic.CM.directSourceBallArithmeticData, SourceFrameComponents.CM.directSourceFrameCoefficients, |
| 108 | SourceFrameComponents.CM.directSourceFrameScale, hv, hd] |
| 109 | · refine (SourceFrameComponents.CM.direct_source_components_snd K Q hμ hother |
| 110 | (AdaptedTotal.CM.totalNativePeriodFrame K B places d z.val u) v (i, j)).trans ?_ |
| 111 | have hx := congrFun (congrArg Prod.snd (hw j)) i |
| 112 | dsimp only at hx |
| 113 | simp only [hx] |
| 114 | cases hd : d j (places.representative v) <;> |
| 115 | simp [RepresentationTheory.Theta.Adelic.BallGeometryData.geometricFrame, BallArithmetic.CM.directSourceBallArithmeticData, SourceFrameComponents.CM.directSourceFrameCoefficients, |
| 116 | SourceFrameComponents.CM.directSourceFrameScale, hv, hd] |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceGeometricFrame.CM |