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.ConcreteApproximationNormalized |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.FrameDualTransport |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.TotalAdaptedDualSlots |
| 4 | |
| 5 | /-! # Concrete Approximation Geometric Tensor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteApproximationGeometricTensor.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full native geometric tensor evaluates the literal split-source |
| 12 | tensor on fixed dual adapted coordinates. This includes the actual |
| 13 | cotangent slots used in the source two-form. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 16 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 18 | open OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 19 | |
| 20 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 21 | |
| 22 | theorem inverse_half_frame_cancel (q f c s t : ℂ) (hq : q ≠ 0) : |
| 23 | q⁻¹ * (f * (c * (q * s)) * t) = f * c * s * t := by |
| 24 | field_simp |
| 25 | |
| 26 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 27 | {v : Fin 4 → ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun g : Gal(K/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * g)} {Nbase : ℕ} |
| 28 | (D : PeriodTotal.CM.FourPeriodSetup K v Nbase) {ε : ℝ} |
| 29 | (A : PeriodTotal.CM.RationalPeriodApproximation K v D.ball D.places D.pair ε) |
| 30 | (hid : ∀ i, (v i).val 1 = true) |
| 31 | |
| 32 | def approximationNativeDualCoordinates (u : PeriodTotal.CM.TotalPositions K D.places → ℂ) : |
| 33 | Fin D.places.count × (Fin 3 × Fin 2) → ℂ := |
| 34 | fun j => (ConcreteApproximationFrameDeterminant.CM.approximationIndexedFrameCoefficientMatrix K D A hid)⁻¹ᵀ.mulVec u |
| 35 | ((SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K D.places).symm j) |
| 36 | |
| 37 | theorem approximation_native_jacobi_adapted (z : D.ball.Domain) |
| 38 | (u : PeriodTotal.CM.TotalPositions K D.places → ℂ) : |
| 39 | ConcreteApproximationNormalized.CM.approximationNativeJacobi K D A hid z.val |
| 40 | ((SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K A.periods z.val)ᵀ.mulVec u) = |
| 41 | ((ConcreteApproximationIntrinsicArithmetic.CM.approximationFixedComparison K D A hid).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K D.ball z)).invᵀ.mulVec |
| 42 | (approximationNativeDualCoordinates K D A hid u) := by |
| 43 | have hG : IsUnit (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K A.periods z.val).det := by |
| 44 | rw [SourceIntrinsicFrameDeterminant.CM.source_total_adapted_graph_matrix_det] |
| 45 | exact isUnit_iff_ne_zero.mpr (pow_ne_zero 2 (mul_ne_zero (Units.ne_zero _) (Units.ne_zero _))) |
| 46 | have h := FrameDualTransport.CM.frame_inverse_transpose_cancel _ _ _ _ _ |
| 47 | (ConcreteApproximationFrameDeterminant.CM.approximation_native_frame_denominator_matrix K D A hid z) hG u |
| 48 | have hi := congrArg (fun x : PeriodTotal.CM.TotalPositions K D.places → ℂ => |
| 49 | fun j => x ((SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K D.places).symm j)) h |
| 50 | have hr := FrameDualTransport.CM.reindexed_inverse_transpose_mulVec (SourceIntrinsicTransition.CM.sourceTotalIndexEquiv K D.places) |
| 51 | ((ConcreteApproximationIntrinsicArithmetic.CM.approximationFixedComparison K D A hid).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K D.ball z)).val |
| 52 | ((ConcreteApproximationFrameDeterminant.CM.approximationIndexedFrameCoefficientMatrix K D A hid)⁻¹ᵀ.mulVec u) |
| 53 | have he := hi.trans hr |
| 54 | have hinv := Matrix.coe_units_inv |
| 55 | ((ConcreteApproximationIntrinsicArithmetic.CM.approximationFixedComparison K D A hid).frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K D.ball z)) |
| 56 | have hf := congrArg (fun M : Matrix (Fin D.places.count × (Fin 3 × Fin 2)) |
| 57 | (Fin D.places.count × (Fin 3 × Fin 2)) ℂ => |
| 58 | Mᵀ.mulVec (approximationNativeDualCoordinates K D A hid u)) hinv |
| 59 | simpa only [ConcreteApproximationNormalized.CM.approximationNativeJacobi, ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks.jacobiChange_apply] using! he.trans hf.symm |
| 60 | |
| 61 | theorem approximation_native_geometric_tensor (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (PeriodTotal.CM.TotalPositions K D.places)) |
| 62 | (z₀ z : D.ball.Domain) (a : ℕ) (u : Fin a → PeriodTotal.CM.TotalPositions K D.places → ℂ) : |
| 63 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor (ConcreteApproximationIntrinsicArithmetic.CM.approximationFixedComparison K D A hid) (ConcreteApproximationLevel.CM.initialNativeInput K D hid φ) a |
| 64 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K D.ball z) (fun j => approximationNativeDualCoordinates K D A hid (u j)) = |
| 65 | ((Nat.factorial a : ℂ)⁻¹) * ConcreteApproximationFrameDeterminant.CM.approximationNativeHalfRatio K D A hid z₀ * |
| 66 | (((A.periods 0).halfDet z.val : ℂ) * ((A.periods 1).halfDet z.val : ℂ)) * |
| 67 | iteratedFDeriv ℂ a (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed (ApproximationCovariance.CM.approximationSplitFiniteInput K D A φ) |
| 68 | (BlockPeriod.CM.blockPeriod ((A.periods 0).period z.val) ((A.periods 1).period z.val))) 0 |
| 69 | (fun j => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K A.periods z.val)ᵀ.mulVec (u j)) := by |
| 70 | let N := ConcreteApproximationIntrinsicArithmetic.CM.approximationFixedComparison K D A hid |
| 71 | let q := N.halfFrame (SourceIntrinsicBall.CM.sourceNativeBallPoint K D.ball z) |
| 72 | have hq : q ≠ 0 := |
| 73 | (mul_ne_zero_iff.mp (ConcreteApproximationFrameDeterminant.CM.approximation_native_half_denominator_ne_zero K D A hid z)).1 |
| 74 | have hj : (fun j => ConcreteApproximationNormalized.CM.approximationNativeJacobi K D A hid z.val |
| 75 | ((SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K A.periods z.val)ᵀ.mulVec (u j))) = |
| 76 | (fun j => (N.frame (SourceIntrinsicBall.CM.sourceNativeBallPoint K D.ball z)).invᵀ.mulVec |
| 77 | (approximationNativeDualCoordinates K D A hid (u j))) := |
| 78 | funext (fun j => approximation_native_jacobi_adapted K D A hid z (u j)) |
| 79 | have ht := ConcreteApproximationNormalized.CM.approximation_split_native_completed_tensor K D A hid φ z₀ z a |
| 80 | (fun j => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K A.periods z.val)ᵀ.mulVec (u j)) |
| 81 | rw [hj] at ht |
| 82 | have hs := congrArg (fun c : ℂ => q⁻¹ * c) ht |
| 83 | exact hs.trans (inverse_half_frame_cancel _ _ _ _ _ hq) |
| 84 | |
| 85 | theorem approximation_native_geometric_source_slots (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (PeriodTotal.CM.TotalPositions K D.places)) |
| 86 | (z₀ z : D.ball.Domain) (a b : Fin 2 × Fin 2) : |
| 87 | RepresentationTheory.Theta.Adelic.DataTheta.geometricTensor (ConcreteApproximationIntrinsicArithmetic.CM.approximationFixedComparison K D A hid) (ConcreteApproximationLevel.CM.initialNativeInput K D hid φ) 2 |
| 88 | (SourceIntrinsicBall.CM.sourceNativeBallPoint K D.ball z) |
| 89 | ![approximationNativeDualCoordinates K D A hid (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places a), |
| 90 | approximationNativeDualCoordinates K D A hid (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places b)] = |
| 91 | (2 : ℂ)⁻¹ * ConcreteApproximationFrameDeterminant.CM.approximationNativeHalfRatio K D A hid z₀ * |
| 92 | InitialTensor.CM.splitThetaTensor K (A.periods 0) (A.periods 1) (ApproximationCovariance.CM.approximationSplitFiniteInput K D A φ) z.val a b := by |
| 93 | have h := approximation_native_geometric_tensor K D A hid φ z₀ z 2 |
| 94 | ![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places b] |
| 95 | have hu : (fun j : Fin 2 => approximationNativeDualCoordinates K D A hid |
| 96 | (![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places b] j)) = |
| 97 | ![approximationNativeDualCoordinates K D A hid (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places a), |
| 98 | approximationNativeDualCoordinates K D A hid (TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places b)] := by |
| 99 | funext j |
| 100 | fin_cases j <;> rfl |
| 101 | have hv : (fun j : Fin 2 => (SourceIntrinsicFrameDeterminant.CM.sourceTotalAdaptedGraphMatrix K A.periods z.val)ᵀ.mulVec |
| 102 | (![TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places a, TotalAdaptedDualSlots.CM.totalAdaptedDualSlot K D.places b] j)) = |
| 103 | ![InitialTensor.CM.splitThetaSlot K (A.periods 0) (A.periods 1) z.val a, |
| 104 | InitialTensor.CM.splitThetaSlot K (A.periods 0) (A.periods 1) z.val b] := by |
| 105 | funext j |
| 106 | fin_cases j |
| 107 | · exact (TotalAdaptedDualSlots.CM.split_theta_slot_adapted_transpose K A.periods z.val a).symm |
| 108 | · exact (TotalAdaptedDualSlots.CM.split_theta_slot_adapted_transpose K A.periods z.val b).symm |
| 109 | rw [hu, hv, show (Nat.factorial 2 : ℂ) = 2 from by norm_num] at h |
| 110 | simpa only [InitialTensor.CM.splitThetaTensor, mul_assoc] using! h |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ConcreteApproximationGeometricTensor.CM |