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.IntrinsicKernelSumModel |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.ComparisonRationalTensor |
| 3 | |
| 4 | /-! # Intrinsic Kernel Sum Components -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicKernelSumComponents.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual CM tensor and geometric-frame coordinates for the native |
| 11 | ThetaKernel orthogonal sum, compared with the original source embeddings. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField Kronecker |
| 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.RepresentationTheory.Theta.Adelic.DataTheta |
| 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 | |
| 24 | theorem native_c38_sum_normalizer (v : Fin places.count) : |
| 25 | IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ) v = |
| 26 | IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ B.other_place) v := by |
| 27 | unfold IntrinsicTensorComplexCoordinates.CM.nativeTensorComponentNormalizer |
| 28 | rw [IntrinsicKernelSumModel.CM.native_c38_sum_basis] |
| 29 | rfl |
| 30 | |
| 31 | theorem native_c38_sum_paired_components |
| 32 | (w : Fin places.count → ((Fin 3 × Fin 2 → ℂ) × (Fin 3 × Fin 2 → ℂ))) : |
| 33 | IntrinsicTensorComplexCoordinates.CM.nativePairedTensorComponents (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ) w = |
| 34 | IntrinsicTensorComplexCoordinates.CM.nativePairedTensorComponents (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ B.other_place) w := by |
| 35 | refine funext (fun v : Fin places.count => ?_) |
| 36 | apply Prod.ext |
| 37 | · exact congrArg (fun M : Matrix (Fin 3 × Fin 2) (Fin 3 × Fin 2) ℂ => M.mulVec (w v).1) |
| 38 | (native_c38_sum_normalizer K Q hμ v) |
| 39 | · funext ij |
| 40 | exact congrArg₂ (fun (b : Bool) (M : Matrix (Fin 3 × Fin 2) (Fin 3 × Fin 2) ℂ) => |
| 41 | (if v = places.distinguished ∧ ij.1 = 2 then (-1 : ℂ) else 1) * |
| 42 | (if b then (1 : ℂ) else -1) * (M.map star).mulVec (w v).2 ij) |
| 43 | (IntrinsicKernelSumModel.CM.native_c38_sum_positive K Q hμ v ij.2) (native_c38_sum_normalizer K Q hμ v) |
| 44 | |
| 45 | theorem native_c38_sum_rational_components (x : TransportNew.CM.TensorPositions K) : |
| 46 | RepresentationTheory.Theta.Adelic.BallGeometryData.realTensorComponents (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ) |
| 47 | (fun v j => RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (maximalRealSubfield K) |
| 48 | (QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary) (.inl (RealPlaces.CM.sourceRealPlaces K places v)) |
| 49 | (QuadraticTensor.CM.quadraticTensorPosition K Q.delta Q.delta_imaginary Q.delta_ne_zero x j)) = |
| 50 | SourceComponents.CM.directSourceComplexComponents K Q hμ B.other_place (ComplexTransition.CM.totalEmbedding K x) := by |
| 51 | have h := native_c38_sum_paired_components K Q hμ |
| 52 | (SourceComponents.CM.sourcePairedTensorCoordinates K places (ComplexTransition.CM.totalEmbedding K x)) |
| 53 | refine Eq.trans ?_ h |
| 54 | rw [SourceComponents.CM.source_paired_tensor_embedding] |
| 55 | apply IntrinsicTensorComplexCoordinates.CM.native_real_tensor_components_of_values |
| 56 | intro v j |
| 57 | exact (CMArchimedeanCoordinates.CM.source_complex_coordinate_rational K places Q.delta Q.delta_imaginary Q.delta_ne_zero v |
| 58 | (QuadraticTensor.CM.quadraticTensorPosition K Q.delta Q.delta_imaginary Q.delta_ne_zero x j)).trans |
| 59 | (congrArg (HeckeCycles.ReferenceDatum.CM.embeddings K places v) |
| 60 | ((QuadraticModel.CM.cmQuadraticEquiv K Q.delta Q.delta_imaginary Q.delta_ne_zero).apply_symm_apply _)) |
| 61 | |
| 62 | variable (C : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData _ _ _ (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ)) |
| 63 | (hC : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification C (IntrinsicKernelArithmetic.CM.directSourceNativeSumFrames K Q)) |
| 64 | |
| 65 | include hC in |
| 66 | theorem native_c38_sum_complex_phase_rational (x : TransportNew.CM.TensorPositions K) : |
| 67 | C.complexPhase (fun i => (C.rationalPhase |
| 68 | ((IntrinsicKernelArithmetic.CM.directSourceNativeSumFrames K Q).rational.coordinates |
| 69 | (QuadraticTensor.CM.quadraticTensorPosition K Q.delta Q.delta_imaginary Q.delta_ne_zero x)) i : ℂ)) = |
| 70 | SourceComponents.CM.directSourceComplexComponents K Q hμ B.other_place (ComplexTransition.CM.totalEmbedding K x) := |
| 71 | (ComparisonRationalTensor.CM.comparison_complex_phase_rational_tensor (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ) |
| 72 | (IntrinsicKernelArithmetic.CM.directSourceNativeSumFrames K Q) C hC |
| 73 | (QuadraticTensor.CM.quadraticTensorPosition K Q.delta Q.delta_imaginary Q.delta_ne_zero x)).trans |
| 74 | (native_c38_sum_rational_components K Q hμ x) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicKernelSumComponents.CM |