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.SourceScales |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.AdaptedTotal |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceFrameAction |
| 4 | |
| 5 | /-! # Source Frame Components -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceFrameComponents.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Component formulas for the literal total source frame after native |
| 12 | normalization, retaining every multiplicity and CM-place index. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField Kronecker |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 17 | |
| 18 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 19 | |
| 20 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 21 | |
| 22 | def sourceTotalSlot (places : HeckeCycles.GeometricSource.CM.Places K) (v : Fin places.count) (i : Fin 3) (j : Fin 2) : |
| 23 | PeriodTotal.CM.TotalPositions K places := if j = 0 then Sum.inl (v, i) else Sum.inr (v, i) |
| 24 | |
| 25 | theorem source_paired_total_frame (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 26 | (d : Fin 2 → Gal(K/ℚ) → Bool) (z : HeckeCycles.GeometricSource.CM.BallChart) (u : PeriodTotal.CM.TotalPositions K places → ℂ) |
| 27 | (v : Fin places.count) (j : Fin 2) : |
| 28 | (fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places (AdaptedTotal.CM.totalNativePeriodFrame K B places d z u) v).1 (i, j), |
| 29 | fun i => (SourceComponents.CM.sourcePairedTensorCoordinates K places (AdaptedTotal.CM.totalNativePeriodFrame K B places d z u) v).2 (i, j)) = |
| 30 | Geometry.ComplexBall.PrescribedSignsB.placeFrame (CoefficientPeriods.CM.ballMatrix K B places) places.distinguished |
| 31 | (fun v => d j (places.representative v)) z v (fun i => u (sourceTotalSlot K places v i j)) := by |
| 32 | change ((fun i => (Symplectic.CM.galoisToPaired K places (Prescribed.CM.nativePeriodFrame K B places (d j) z _) v).1 i), |
| 33 | (fun i => (Symplectic.CM.galoisToPaired K places (Prescribed.CM.nativePeriodFrame K B places (d j) z _) v).2 i)) = _ |
| 34 | simp only [Prescribed.CM.nativePeriodFrame, LinearMap.comp_apply, LinearEquiv.coe_coe, |
| 35 | LinearEquiv.apply_symm_apply] |
| 36 | rfl |
| 37 | |
| 38 | variable {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 39 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) |
| 40 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 41 | |
| 42 | theorem direct_source_components_fst (w : ComplexTransition.CM.TotalAmbient K) (v : Fin places.count) (ij : Fin 3 × Fin 2) : |
| 43 | (SourceComponents.CM.directSourceComplexComponents K Q hμ hother w v).1 ij = |
| 44 | (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v ij : ℂ) * |
| 45 | (SourceComponents.CM.sourcePairedTensorCoordinates K places w v).1 ij := by |
| 46 | change (IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) v).mulVec |
| 47 | (SourceComponents.CM.sourcePairedTensorCoordinates K places w v).1 ij = _ |
| 48 | rw [SourceScales.CM.direct_source_tensor_normalizer, Matrix.mulVec_diagonal] |
| 49 | |
| 50 | theorem direct_source_components_snd (w : ComplexTransition.CM.TotalAmbient K) (v : Fin places.count) (ij : Fin 3 × Fin 2) : |
| 51 | (SourceComponents.CM.directSourceComplexComponents K Q hμ hother w v).2 ij = |
| 52 | (if v = places.distinguished ∧ ij.1 = 2 then (-1 : ℂ) else 1) * |
| 53 | (if !(d ij.2 v) then (1 : ℂ) else -1) * |
| 54 | ((SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v ij : ℂ) * |
| 55 | (SourceComponents.CM.sourcePairedTensorCoordinates K places w v).2 ij) := by |
| 56 | change _ * _ * ((IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) v).map star).mulVec |
| 57 | (SourceComponents.CM.sourcePairedTensorCoordinates K places w v).2 ij = _ |
| 58 | rw [SourceScales.CM.direct_source_tensor_normalizer, Matrix.diagonal_map (star_zero _)] |
| 59 | simp only [Matrix.mulVec_diagonal] |
| 60 | rw [show star (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v ij : ℂ) = |
| 61 | (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v ij : ℂ) from Complex.conj_ofReal _] |
| 62 | rfl |
| 63 | |
| 64 | def directSourceFrameScale (v : Fin places.count) (ij : Fin 3 × Fin 2) : ℂ := |
| 65 | if v = places.distinguished then |
| 66 | if ij.1 = 0 then (SourceScales.CM.sourceNativeMultiplicityScale K places Q.delta Q.a v ij.2 : ℂ) * |
| 67 | (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) |
| 68 | else -(SourceScales.CM.sourceNativeMultiplicityScale K places Q.delta Q.a v ij.2 : ℂ) |
| 69 | else if d ij.2 v then -(SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v ij : ℂ) |
| 70 | else (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v ij : ℂ) |
| 71 | |
| 72 | theorem direct_source_frame_scale_ne_zero (v : Fin places.count) (ij : Fin 3 × Fin 2) : |
| 73 | directSourceFrameScale K Q v ij ≠ 0 := by |
| 74 | have hc : (SourceScales.CM.sourceNativeMultiplicityScale K places Q.delta Q.a v ij.2 : ℂ) ≠ 0 := |
| 75 | Complex.ofReal_ne_zero.mpr (ne_of_gt (SourceScales.CM.source_native_multiplicity_scale_pos K places |
| 76 | Q.delta Q.delta_imaginary Q.delta_ne_zero Q.a |
| 77 | (BallArithmetic.CM.direct_source_a_fixed K Q) (BallArithmetic.CM.direct_source_a_ne_zero K Q) v ij.2)) |
| 78 | have ht : (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v ij : ℂ) ≠ 0 := |
| 79 | Complex.ofReal_ne_zero.mpr (ne_of_gt (SourceScales.CM.source_native_tensor_scale_pos K places |
| 80 | Q.delta Q.delta_imaginary Q.delta_ne_zero Q.a |
| 81 | (BallArithmetic.CM.direct_source_a_fixed K Q) (BallArithmetic.CM.direct_source_a_ne_zero K Q) B.b B.conjugate_b |
| 82 | (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) v ij)) |
| 83 | unfold directSourceFrameScale |
| 84 | split_ifs |
| 85 | · exact mul_ne_zero hc (Complex.ofReal_ne_zero.mpr (ne_of_gt (SourceIntrinsicBall.CM.source_ball_radius_pos K B))) |
| 86 | · exact neg_ne_zero.mpr hc |
| 87 | · exact neg_ne_zero.mpr ht |
| 88 | · exact ht |
| 89 | |
| 90 | def directSourceFrameCoefficients : (PeriodTotal.CM.TotalPositions K places → ℂ) →ₗ[ℂ] |
| 91 | (Fin places.count × (Fin 3 × Fin 2) → ℂ) where |
| 92 | toFun u i := directSourceFrameScale K Q i.1 i.2 * u (sourceTotalSlot K places i.1 i.2.1 i.2.2) |
| 93 | map_add' u v := by funext i; exact mul_add _ _ _ |
| 94 | map_smul' c u := by funext i; exact mul_left_comm _ _ _ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceFrameComponents.CM |