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.SingleLineTrace |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceFrameComponents |
| 3 | |
| 4 | /-! # Single Line Components -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineComponents.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original CM components of one source line agree with the |
| 11 | corresponding column of the full native two-line model. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Matrix Kronecker |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.GeometricGaussians |
| 17 | |
| 18 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 19 | |
| 20 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 21 | |
| 22 | def singleSourcePairedCoordinates (places : HeckeCycles.GeometricSource.CM.Places K) : |
| 23 | HeckeCycles.GeometricSource.CM.Ambient K →ₗ[ℂ] (Fin places.count → ((Fin 3 × Fin 1 → ℂ) × (Fin 3 × Fin 1 → ℂ))) where |
| 24 | toFun w v := (fun ij => (Symplectic.CM.galoisToPaired K places w v).1 ij.1, |
| 25 | fun ij => (Symplectic.CM.galoisToPaired K places w v).2 ij.1) |
| 26 | map_add' x y := by |
| 27 | funext v |
| 28 | apply Prod.ext <;> funext ij <;> simp |
| 29 | map_smul' c w := by |
| 30 | funext v |
| 31 | apply Prod.ext <;> funext ij <;> simp |
| 32 | |
| 33 | variable {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 34 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) (j : Fin 2) |
| 35 | |
| 36 | def directSingleLineFrames : |
| 37 | RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary) 3 1 |
| 38 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 39 | (SingleLineArithmetic.CM.directSingleLineSkewUnit K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a j) |
| 40 | (BallArithmetic.CM.direct_source_a_fixed K Q j) (BallArithmetic.CM.direct_source_a_ne_zero K Q j)) := |
| 41 | SingleLineArithmetic.CM.directSingleLineGlobalFrames K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a j) |
| 42 | (BallArithmetic.CM.direct_source_a_fixed K Q j) (BallArithmetic.CM.direct_source_a_ne_zero K Q j) |
| 43 | B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) |
| 44 | |
| 45 | abbrev directSingleLineComparison := RepresentationTheory.Theta.Adelic.GeometricGaussians.constructedComparison (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) (directSingleLineFrames K Q j) |
| 46 | |
| 47 | def directSingleLineComplexComponents : HeckeCycles.GeometricSource.CM.Ambient K →ₗ[ℂ] RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) := |
| 48 | (IntrinsicTensorComplexCoordinates.CM.nativePairedTensorComponents (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j)).comp (singleSourcePairedCoordinates K places) |
| 49 | |
| 50 | theorem direct_single_line_normalizer_entry (v : Fin places.count) (i k : Fin 3) : |
| 51 | IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) v (i, 0) (k, 0) = |
| 52 | IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ B.other_place) v (i, j) (k, j) := by |
| 53 | simp only [IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer, Matrix.kroneckerMap_apply] |
| 54 | simp only [SingleLineArithmetic.CM.directSingleLineArithmetic, BallArithmetic.CM.directSourceBallArithmeticData, |
| 55 | CMOrthonormalFrames.CM.singleLineSkewNormalizer, CMOrthonormalFrames.CM.sourceSkewNormalizer, DiagonalNormalization.CM.complexDiagonalNormalizer, |
| 56 | DiagonalFrame.CM.diagonalMatrixUnit, Matrix.diagonal_apply_eq] |
| 57 | rfl |
| 58 | |
| 59 | theorem direct_single_line_tensor_normalizer (v : Fin places.count) : |
| 60 | IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) v = |
| 61 | Matrix.diagonal (fun i : Fin 3 × Fin 1 => (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v (i.1, j) : ℂ)) := by |
| 62 | apply Matrix.ext |
| 63 | rintro ⟨i, p⟩ ⟨k, q⟩ |
| 64 | fin_cases p |
| 65 | fin_cases q |
| 66 | have hn := direct_single_line_normalizer_entry K Q hμ j v i k |
| 67 | have hd := congrArg (fun M : Matrix (Fin 3 × Fin 2) (Fin 3 × Fin 2) ℂ => M (i, j) (k, j)) |
| 68 | (SourceScales.CM.direct_source_tensor_normalizer K Q hμ B.other_place v) |
| 69 | refine hn.trans ?_ |
| 70 | simpa only [Matrix.diagonal_apply, Prod.mk.injEq, and_true] using! hd |
| 71 | |
| 72 | theorem direct_single_line_components_fst (w : HeckeCycles.GeometricSource.CM.Ambient K) (v : Fin places.count) (i : Fin 3 × Fin 1) : |
| 73 | (directSingleLineComplexComponents K Q hμ j w v).1 i = |
| 74 | (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v (i.1, j) : ℂ) * |
| 75 | (Symplectic.CM.galoisToPaired K places w v).1 i.1 := by |
| 76 | change (IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) v).mulVec |
| 77 | (singleSourcePairedCoordinates K places w v).1 i = _ |
| 78 | rw [direct_single_line_tensor_normalizer, Matrix.mulVec_diagonal] |
| 79 | rfl |
| 80 | |
| 81 | theorem direct_single_line_components_snd (w : HeckeCycles.GeometricSource.CM.Ambient K) (v : Fin places.count) (i : Fin 3 × Fin 1) : |
| 82 | (directSingleLineComplexComponents K Q hμ j w v).2 i = |
| 83 | (if v = places.distinguished ∧ i.1 = 2 then (-1 : ℂ) else 1) * |
| 84 | (if !(d j v) then (1 : ℂ) else -1) * |
| 85 | ((SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v (i.1, j) : ℂ) * |
| 86 | (Symplectic.CM.galoisToPaired K places w v).2 i.1) := by |
| 87 | change _ * _ * ((IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ j) v).map star).mulVec |
| 88 | (singleSourcePairedCoordinates K places w v).2 i = _ |
| 89 | rw [direct_single_line_tensor_normalizer, Matrix.diagonal_map (star_zero _)] |
| 90 | simp only [Matrix.mulVec_diagonal] |
| 91 | rw [show star (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v (i.1, j) : ℂ) = |
| 92 | (SourceScales.CM.sourceNativeTensorScale K places Q.delta Q.a B.b v (i.1, j) : ℂ) from Complex.conj_ofReal _] |
| 93 | rfl |
| 94 | |
| 95 | theorem direct_single_line_components_projection (w : ComplexTransition.CM.TotalAmbient K) : |
| 96 | directSingleLineComplexComponents K Q hμ j (w j) = |
| 97 | fun v => (fun i : Fin 3 × Fin 1 => (SourceComponents.CM.directSourceComplexComponents K Q hμ B.other_place w v).1 (i.1, j), |
| 98 | fun i : Fin 3 × Fin 1 => (SourceComponents.CM.directSourceComplexComponents K Q hμ B.other_place w v).2 (i.1, j)) := by |
| 99 | refine funext (fun v : Fin places.count => ?_) |
| 100 | apply Prod.ext |
| 101 | · funext i |
| 102 | exact (direct_single_line_components_fst K Q hμ j (w j) v i).trans |
| 103 | (SourceFrameComponents.CM.direct_source_components_fst K Q hμ B.other_place w v (i.1, j)).symm |
| 104 | · funext i |
| 105 | exact (direct_single_line_components_snd K Q hμ j (w j) v i).trans |
| 106 | (SourceFrameComponents.CM.direct_source_components_snd K Q hμ B.other_place w v (i.1, j)).symm |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineComponents.CM |