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.BallArithmetic |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.PhaseCoordinates |
| 3 | |
| 4 | /-! # Intrinsic Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicCoordinates.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rational symplectic coordinates for the actual total CM tensor |
| 11 | space, with the original trace pairing and native phase order both explicit. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.NumberField |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.PhaseCoordinates |
| 17 | |
| 18 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 19 | |
| 20 | def nativePhaseSwapEquiv (I R : Type) [Field R] : ((I ⊕ I) → R) ≃ₗ[R] ((I ⊕ I) → R) where |
| 21 | toFun := RepresentationTheory.Theta.Adelic.DataTheta.swapPhase |
| 22 | invFun := RepresentationTheory.Theta.Adelic.DataTheta.swapPhase |
| 23 | left_inv x := by funext i; cases i <;> rfl |
| 24 | right_inv x := by funext i; cases i <;> rfl |
| 25 | map_add' x y := by funext i; cases i <;> rfl |
| 26 | map_smul' c x := by funext i; cases i <;> rfl |
| 27 | |
| 28 | theorem native_standard_pairing_swap {I R : Type} [Fintype I] [Field R] |
| 29 | (x y : (I ⊕ I) → R) : RepresentationTheory.Theta.Adelic.DataTheta.standardPairing (RepresentationTheory.Theta.Adelic.DataTheta.swapPhase x) (RepresentationTheory.Theta.Adelic.DataTheta.swapPhase y) = -RepresentationTheory.Theta.Adelic.DataTheta.standardPairing x y := by |
| 30 | simp only [RepresentationTheory.Theta.Adelic.DataTheta.standardPairing, RepresentationTheory.Theta.Adelic.DataTheta.swapPhase, Sum.elim_inl, Sum.elim_inr, ← Finset.sum_neg_distrib] |
| 31 | apply Finset.sum_congr rfl |
| 32 | intro i _ |
| 33 | ring |
| 34 | |
| 35 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 36 | (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 37 | |
| 38 | def directSourceTensorEquiv : TransportNew.CM.TensorPositions K ≃ₗ[ℚ] RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.TensorPosition (QuadraticModel.CM.cmQuadraticParameter K δ hδ) 3 2 where |
| 39 | toFun := QuadraticTensor.CM.quadraticTensorPosition K δ hδ hδ0 |
| 40 | invFun y i j := QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0 (y (i, j)) |
| 41 | left_inv x := by funext i j; exact (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).apply_symm_apply _ |
| 42 | right_inv y := by funext i; exact (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm_apply_apply _ |
| 43 | map_add' x y := by funext i; exact map_add (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm _ _ |
| 44 | map_smul' c x := by |
| 45 | funext i |
| 46 | exact ((QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0).symm.toLinearEquiv.restrictScalars ℚ).map_smul c (x i.1 i.2) |
| 47 | |
| 48 | variable (β : K) (hβ : IsCMField.complexConj K β = β) (hβ0 : β ≠ 0) |
| 49 | (a : Fin 2 → K) (ha : ∀ j, IsCMField.complexConj K (a j) = a j) (ha0 : ∀ j, a j ≠ 0) |
| 50 | |
| 51 | theorem direct_source_tensor_trace (x y : TransportNew.CM.TensorPositions K) : |
| 52 | Algebra.trace ℚ (maximalRealSubfield K) |
| 53 | (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.tracePairing (QuadraticModel.CM.cmQuadraticParameter K δ hδ) 3 2 |
| 54 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ β hβ hβ0).val (BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 a ha ha0).val |
| 55 | (QuadraticTensor.CM.quadraticTensorPosition K δ hδ hδ0 x) (QuadraticTensor.CM.quadraticTensorPosition K δ hδ hδ0 y)) = |
| 56 | -Algebra.trace ℚ K (δ * TransportNew.CM.tensorHermitian K β a x y) := by |
| 57 | rw [CMGlobalFrames.CM.cm_hermitian_unit_val K δ hδ hδ0, BallArithmetic.CM.directSourceSkewUnit, CMGlobalFrames.CM.cm_skew_unit_val K δ hδ hδ0, |
| 58 | QuadraticTensor.CM.quadratic_tensor_rational_trace K δ hδ hδ0 β hβ (fun j => -a j) (fun j => by rw [map_neg, ha j])] |
| 59 | have hn : TransportNew.CM.tensorHermitian K β (fun j => -a j) x y = -TransportNew.CM.tensorHermitian K β a x y := by |
| 60 | simp only [TransportNew.CM.tensor_hermitian_blocks, neg_mul, Finset.sum_neg_distrib] |
| 61 | rw [hn, mul_neg, map_neg] |
| 62 | |
| 63 | variable (A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) 2 |
| 64 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ β hβ hβ0) (BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 a ha ha0)) |
| 65 | |
| 66 | def directSourceRationalCoordinates : |
| 67 | TransportNew.CM.TensorPositions K ≃ₗ[ℚ] ((RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A ⊕ RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) → ℚ) := |
| 68 | (((directSourceTensorEquiv K δ hδ hδ0).trans |
| 69 | ((BallArithmetic.CM.directSourceGlobalFrames K δ hδ hδ0 a ha ha0 β hβ hβ0).rational.coordinates.restrictScalars ℚ)).trans |
| 70 | (RepresentationTheory.Theta.Adelic.PhaseCoordinates.rationalPhaseCoordinates A)).trans (nativePhaseSwapEquiv (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) ℚ) |
| 71 | |
| 72 | theorem direct_source_rational_coordinates_pairing (x y : TransportNew.CM.TensorPositions K) : |
| 73 | RepresentationTheory.Theta.Adelic.DataTheta.standardPairing (directSourceRationalCoordinates K δ hδ hδ0 β hβ hβ0 a ha ha0 A x) |
| 74 | (directSourceRationalCoordinates K δ hδ hδ0 β hβ hβ0 a ha ha0 A y) = |
| 75 | Algebra.trace ℚ K (δ * TransportNew.CM.tensorHermitian K β a x y) := by |
| 76 | change RepresentationTheory.Theta.Adelic.DataTheta.standardPairing (RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (RepresentationTheory.Theta.Adelic.PhaseCoordinates.rationalPhaseCoordinates A _)) |
| 77 | (RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (RepresentationTheory.Theta.Adelic.PhaseCoordinates.rationalPhaseCoordinates A _)) = _ |
| 78 | rw [native_standard_pairing_swap, RepresentationTheory.Theta.Adelic.PhaseCoordinates.rationalPhaseCoordinates_pairing] |
| 79 | change -Algebra.trace ℚ (maximalRealSubfield K) (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.coordinatePairing 3 2 |
| 80 | ((BallArithmetic.CM.directSourceGlobalFrames K δ hδ hδ0 a ha ha0 β hβ hβ0).rational.coordinates |
| 81 | (QuadraticTensor.CM.quadraticTensorPosition K δ hδ hδ0 x)) |
| 82 | ((BallArithmetic.CM.directSourceGlobalFrames K δ hδ hδ0 a ha ha0 β hβ hβ0).rational.coordinates |
| 83 | (QuadraticTensor.CM.quadraticTensorPosition K δ hδ hδ0 y))) = _ |
| 84 | rw [(BallArithmetic.CM.directSourceGlobalFrames K δ hδ hδ0 a ha ha0 β hβ hβ0).rational.preserves, |
| 85 | direct_source_tensor_trace, neg_neg] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicCoordinates.CM |