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.IntrinsicKernel |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicKernelArithmetic |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.PrincipalLevel |
| 4 | |
| 5 | /-! # Source Intrinsic Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicKernel.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Apply the complete checked native ThetaKernel theorem to the actual source |
| 12 | two-line arithmetic. All comparison witnesses and every native conclusion |
| 13 | are retained; complete AdelicTheta is the sole remaining native prerequisite. -/ |
| 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 |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent OAI.RepresentationTheory.Theta.Adelic.Data |
| 19 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicArithmetic |
| 20 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicGlobal OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic |
| 21 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompletionData.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicPrerequisites.Intrinsic |
| 22 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicOne.Intrinsic |
| 23 | |
| 24 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 25 | |
| 26 | theorem nativeFullTensorDecompositionInput : RepresentationTheory.Theta.DerivativeFactorizationPrerequisites.Prerequisites.TensorDecomposition.Statement := |
| 27 | ⟨Analysis.Schwartz.TensorDecomposition.Constructions.finite_product_decomposition, Analysis.Schwartz.TensorDecomposition.Constructions.finite_local_factorization⟩ |
| 28 | |
| 29 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 30 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 31 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) |
| 32 | |
| 33 | theorem source_c38_quadratic_condition : |
| 34 | QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary ≠ 0 ∧ |
| 35 | ¬ IsSquare (QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary) := |
| 36 | ⟨QuadraticModel.CM.cm_quadratic_parameter_ne_zero K Q.delta Q.delta_imaginary Q.delta_ne_zero, |
| 37 | QuadraticModel.CM.cm_quadratic_parameter_not_isSquare K Q.delta Q.delta_imaginary Q.delta_ne_zero⟩ |
| 38 | |
| 39 | theorem source_c38_standard_character : |
| 40 | RepresentationTheory.Theta.Adelic.DataTheta.Descent.StandardArchCharacter (A := SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ 0) |
| 41 | (FieldAdelicCharacter.CM.fieldAdelicCharacter (maximalRealSubfield K)) := by |
| 42 | intro v t |
| 43 | exact RealCharacterNormalization.CM.field_adelic_character_standard_real_coordinate (maximalRealSubfield K) |
| 44 | (RealPlaces.CM.sourceRealPlaces K places v) (CMArchimedeanCoordinates.CM.sourceRealCoordinate K places v) t |
| 45 | |
| 46 | structure SourceNativeThetaKernelData where |
| 47 | first : RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands.SummandWitnesses |
| 48 | (SingleLineArithmetic.CM.directSingleLineSkewUnit K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a 0) |
| 49 | (BallArithmetic.CM.direct_source_a_fixed K Q 0) (BallArithmetic.CM.direct_source_a_ne_zero K Q 0)) |
| 50 | (source_c38_quadratic_condition K Q).1 (SingleLineComponents.CM.directSingleLineFrames K Q 0) (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ 0) |
| 51 | second : RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands.SummandWitnesses (IntrinsicKernelArithmetic.CM.directSourceSecondLine K Q hμ).form |
| 52 | (source_c38_quadratic_condition K Q).1 (SingleLineComponents.CM.directSingleLineFrames K Q 1) |
| 53 | (RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands.secondArithmetic (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ 0) (IntrinsicKernelArithmetic.CM.directSourceSecondLine K Q hμ)) |
| 54 | total : RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic.TotalWitnesses (source_c38_quadratic_condition K Q).1 |
| 55 | (IntrinsicKernelArithmetic.CM.directSourceNativeSumFrames K Q) (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ) |
| 56 | compact : ∀ p : RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic.CompactFrameChoice (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ), |
| 57 | RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic.TotalWitnesses (source_c38_quadratic_condition K Q).1 (IntrinsicKernelArithmetic.CM.directSourceNativeSumFrames K Q) |
| 58 | (RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic.choiceArithmetic (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ) p) |
| 59 | first_valid : RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands.SummandValid first (FieldAdelicCharacter.CM.fieldAdelicCharacter (maximalRealSubfield K)) |
| 60 | second_valid : RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands.SummandValid second (FieldAdelicCharacter.CM.fieldAdelicCharacter (maximalRealSubfield K)) |
| 61 | total_valid : RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic.TotalValid total (FieldAdelicCharacter.CM.fieldAdelicCharacter (maximalRealSubfield K)) |
| 62 | compact_valid : ∀ p, RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic.TotalValid (compact p) (FieldAdelicCharacter.CM.fieldAdelicCharacter (maximalRealSubfield K)) |
| 63 | conclusion : RepresentationTheory.Theta.Kernel.IntrinsicCompletionData.Intrinsic.NativeConclusion first second total compact (FieldAdelicCharacter.CM.fieldAdelicCharacter (maximalRealSubfield K)) |
| 64 | total_valid compact_valid (IntrinsicAnalysis.CM.nativeGaussianConvergenceInput (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (IntrinsicKernelArithmetic.CM.directSourceNativeSumArithmetic K Q hμ))) |
| 65 | |
| 66 | theorem exists_source_native_c38_data (hAdelicTheta : RepresentationTheory.Theta.Adelic.Data.CompleteStatement) : |
| 67 | Nonempty (SourceNativeThetaKernelData K Q hμ) := by |
| 68 | have h := IntrinsicKernel.CM.nativeThetaKernelFullInput RepresentationTheory.Theta.Kernel.IntrinsicPrerequisites.Intrinsic.full_CotangentBundle RepresentationTheory.Theta.Kernel.IntrinsicPrerequisites.Intrinsic.full_DerivativeFactorization nativeFullTensorDecompositionInput RepresentationTheory.Theta.Kernel.IntrinsicOne.Intrinsic.full_native_ThetaOneForms hAdelicTheta |
| 69 | (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary) |
| 70 | (source_c38_quadratic_condition K Q) |
| 71 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 72 | (SingleLineArithmetic.CM.directSingleLineSkewUnit K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a 0) |
| 73 | (BallArithmetic.CM.direct_source_a_fixed K Q 0) (BallArithmetic.CM.direct_source_a_ne_zero K Q 0)) |
| 74 | (PrincipalLevel.CM.native_ball_hermitian_unit_conjugate_transpose K Q.delta Q.delta_imaginary B) |
| 75 | (SingleLineArithmetic.CM.direct_single_line_skew_conjugate_transpose K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a 0) |
| 76 | (BallArithmetic.CM.direct_source_a_fixed K Q 0) (BallArithmetic.CM.direct_source_a_ne_zero K Q 0)) |
| 77 | (FieldAdelicCharacter.CM.fieldAdelicCharacter (maximalRealSubfield K)) |
| 78 | (FieldAdelicCharacter.CM.field_adelic_character_continuous (maximalRealSubfield K)) |
| 79 | (FieldAdelicCharacter.CM.field_adelic_character_unitary (maximalRealSubfield K)) |
| 80 | (FieldAdelicCharacter.CM.field_adelic_character_nontrivial (maximalRealSubfield K)) |
| 81 | (FieldAdelicCharacter.CM.field_adelic_character_principal (maximalRealSubfield K)) |
| 82 | (SingleLineArithmetic.CM.directSingleLineArithmetic K Q hμ 0) (IntrinsicKernelArithmetic.CM.directSourceSecondLine K Q hμ) |
| 83 | (SingleLineComponents.CM.directSingleLineFrames K Q 0) (SingleLineComponents.CM.directSingleLineFrames K Q 1) |
| 84 | (source_c38_standard_character K Q hμ) (IntrinsicAnalysis.CM.nativeGaussianConvergenceInput _) (IntrinsicAnalysis.CM.nativeGaussianConvergenceInput _) (IntrinsicAnalysis.CM.nativeGaussianConvergenceInput _) |
| 85 | obtain ⟨Q₁, Q₂, Q₀, Qc, h₁, h₂, h₀, hQc, hconclusion⟩ := h |
| 86 | exact ⟨⟨Q₁, Q₂, Q₀, Qc, h₁, h₂, h₀, hQc, hconclusion⟩⟩ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicKernel.CM |