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.RepresentationTheory.Theta.Kernel.IntrinsicCore |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicFixedConstruction |
| 3 | |
| 4 | /-! # Intrinsic -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace RepresentationTheory.Theta.Kernel.Intrinsic.IntrinsicAssembly |
| 11 | |
| 12 | /-! Assembly of the native determinant factorization, exact finite |
| 13 | transport, nonvanishing and the C-infinity family at one common level. -/ |
| 14 | |
| 15 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 16 | |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.Evaluation |
| 19 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompletionData.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicLagrangianFixedLevel.Intrinsic |
| 20 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicLevelSmoothTop.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondProjection.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondDescent.Intrinsic |
| 21 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicArithmetic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicGlobal |
| 22 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicDeterminantFactorization.IntrinsicDescent OAI.RepresentationTheory.Theta.Kernel.IntrinsicDeterminantFactorization.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicFixedFactorization.Intrinsic |
| 23 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactShear.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicQuadraticPhase.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactTensorMatch.Intrinsic |
| 24 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicBallTopology.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicFixedConstruction.IntrinsicConstruction OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.IntrinsicSecondConstruction |
| 25 | |
| 26 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 27 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 28 | variable {K₁ : (Matrix (Fin 1) (Fin 1) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 29 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 1 H K₁} {S : IntrinsicSplitting.IntrinsicSummands.SecondLine A} |
| 30 | variable {hd : d ≠ 0} {P₁ : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 1 H K₁} |
| 31 | variable {P₂ : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 1 H S.form} |
| 32 | variable (Q₁ : IntrinsicSplitting.IntrinsicSummands.SummandWitnesses K₁ hd P₁ A) |
| 33 | variable (Q₂ : IntrinsicSplitting.IntrinsicSummands.SummandWitnesses S.form hd P₂ (IntrinsicSplitting.IntrinsicSummands.secondArithmetic A S)) |
| 34 | variable (Q₀ : IntrinsicCompactChoices.Intrinsic.TotalWitnesses hd (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂) (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S)) |
| 35 | variable (Q : ∀ p : IntrinsicCompactChoices.Intrinsic.CompactFrameChoice (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S), |
| 36 | IntrinsicCompactChoices.Intrinsic.TotalWitnesses hd (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂) (IntrinsicCompactChoices.Intrinsic.choiceArithmetic (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) p)) |
| 37 | |
| 38 | theorem assemble_native_conclusion (hns : ¬ IsSquare d) (hH : H.val.conjTranspose = H.val) |
| 39 | (hK₁ : K₁.val.conjTranspose = -K₁.val) |
| 40 | (ψ : AddChar (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) ℂ) (hArch : Adelic.DataTheta.Descent.StandardArchCharacter (A := A) ψ) |
| 41 | (h₁ : IntrinsicSplitting.IntrinsicSummands.SummandValid Q₁ ψ) (h₂ : IntrinsicSplitting.IntrinsicSummands.SummandValid Q₂ ψ) |
| 42 | (h₀ : IntrinsicCompactChoices.Intrinsic.TotalValid Q₀ ψ) (hQ : ∀ p, IntrinsicCompactChoices.Intrinsic.TotalValid (Q p) ψ) |
| 43 | (hFirstGaussian : Analysis.GaussianConvergenceInput (Adelic.BallGeometryData.FrameIndex A)) |
| 44 | (hSecondGaussian : Analysis.GaussianConvergenceInput (Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicSummands.secondArithmetic A S))) |
| 45 | (hSumGaussian : Analysis.GaussianConvergenceInput (Adelic.BallGeometryData.FrameIndex (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S))) |
| 46 | (hTensorDecomposition : DerivativeFactorizationPrerequisites.Prerequisites.TensorDecomposition.Statement.{0, 0, 0, 0}) : |
| 47 | IntrinsicCompletionData.Intrinsic.NativeConclusion Q₁ Q₂ Q₀ Q ψ h₀ hQ hSumGaussian := by |
| 48 | have hvalid₁ := h₁ |
| 49 | have hvalid₂ := h₂ |
| 50 | have hvalid₀ := h₀ |
| 51 | obtain ⟨_,_,_,_,hC₁,hG₁,_,_,_,hΘ₁,_,_,_⟩ := hvalid₁ |
| 52 | obtain ⟨_,_,_,_,hC₂,hG₂,_,_,_,hΘ₂,_,_,_⟩ := hvalid₂ |
| 53 | obtain ⟨_,_,_,_,hC₀,hG₀,_,_,_,hΘ₀,hCov₀,hDesc₀,_⟩ := hvalid₀ |
| 54 | obtain ⟨c,hc,hc2,hhalf,hlevels⟩ := IntrinsicDeterminantFactorization.Intrinsic.native_determinant_factorization_descent Q₁ Q₂ Q₀.comparison |
| 55 | ψ h₁ h₂ hFirstGaussian hSecondGaussian hSumGaussian hTensorDecomposition Q₀.characters Q₀.splittings hC₀ hG₀ hΘ₀ hCov₀ hDesc₀ |
| 56 | obtain ⟨_,_,hnonzero⟩ := IntrinsicFixedFactorization.Intrinsic.native_fixed_factorization Q₁.comparison Q₂.comparison Q₀.comparison |
| 57 | hC₁ hC₂ hC₀ hG₁ hG₂ hG₀ hFirstGaussian hSecondGaussian hSumGaussian hTensorDecomposition hΘ₁ hΘ₂ hΘ₀ |
| 58 | refine ⟨c,hc,hc2,hhalf,hnonzero,?_,?_⟩ |
| 59 | · intro p f |
| 60 | obtain ⟨_,_,_,_,hCp,hGp,_,_,_,hΘp,_,_,_⟩ := hQ p |
| 61 | obtain ⟨g,hg⟩ := IntrinsicQuadraticPhase.Intrinsic.native_quadratic_phase_input F 6 f |
| 62 | (-IntrinsicCompactShear.Intrinsic.compactShearBilinear p Q₀.comparison (Q p).comparison) |
| 63 | exact ⟨g,hg,fun a z => IntrinsicCompactTensorMatch.Intrinsic.compact_normalized_tensor_match p Q₀.comparison (Q p).comparison |
| 64 | hC₀ hCp hG₀ hGp hSumGaussian hΘ₀ hΘp f g hg a z⟩ |
| 65 | · intro Φ K₀ N₀ hN₀ |
| 66 | obtain ⟨N,hN,hdiv,htf,L,hLc,hL,hcontain,hfix,R,hR,hRc,hRt,hRs,hforms⟩ := hlevels Φ K₀ N₀ hN₀ |
| 67 | refine ⟨N,hN,hdiv,htf,L,hLc,hL,hcontain,hfix,R,hR,hRc,hRt,hRs,?_⟩ |
| 68 | intro f hf |
| 69 | have hff (g : Adelic.SpecialUnitary.SU H.val) (hg : Adelic.BallGeometryData.PrincipalLevel N g) : |
| 70 | Adelic.FiniteSchwartz.finiteAction F H (IntrinsicSplitting.IntrinsicArithmetic.blockUnit K₁ S.form) hd Q₀.characters (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂) Q₀.splittings |
| 71 | (Adelic.RationalSU.rationalFiniteSU F H g) f = f := hfix f hf _ (hcontain g hg) |
| 72 | have hK := IntrinsicSplitting.IntrinsicArithmetic.blockUnit_skewHermitian S.form hK₁ S.skewHermitian |
| 73 | let family := IntrinsicLagrangianFixedLevel.Intrinsic.nativeLagrangianAtLevel Q₀ Q ψ h₀ hQ hSumGaussian hns hH hK hArch N f hff |
| 74 | refine ⟨(hforms f hf).1,family,?_,fun _ => rfl,?_,?_⟩ |
| 75 | · exact IntrinsicLagrangianFixedLevel.Intrinsic.native_lagrangian_at_level_continuous Q₀ Q ψ h₀ hQ hSumGaussian hns hH hK hArch N f hff |
| 76 | · intro z |
| 77 | exact IntrinsicLagrangianFixedLevel.Intrinsic.native_lagrangian_base Q₀ Q ψ h₀ hQ hSumGaussian f z |
| 78 | · intro p |
| 79 | exact IntrinsicLevelSmoothTop.Intrinsic.level_smooth_top_descends Q₀.comparison N (family p) R hR |
| 80 | |
| 81 | end RepresentationTheory.Theta.Kernel.Intrinsic.IntrinsicAssembly |
| 82 | |
| 83 | namespace RepresentationTheory.Theta.Kernel.Intrinsic |
| 84 | |
| 85 | /-! The two one-form constructions use the supplied cotangent and derivative |
| 86 | prerequisites, and every total and compact witness uses the full adelic theta |
| 87 | input. -/ |
| 88 | |
| 89 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 90 | |
| 91 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent |
| 92 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicSummands OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicArithmetic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSplitting.IntrinsicGlobal |
| 93 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.IntrinsicSecondConstruction OAI.RepresentationTheory.Theta.Kernel.Intrinsic.IntrinsicAssembly |
| 94 | |
| 95 | theorem theta_top_forms : IntrinsicCore.Intrinsic.Statement := by |
| 96 | intro _hCotangentBundle _hDerivativeFactorization hTensorDecomposition hThetaOneForms hAdelicTheta F _ _ d hq H K₁ hH hK₁ ψ hc hu hn hp A S P₁ P₂ hArch hFirstGaussian hSecondGaussian hSumGaussian |
| 97 | obtain ⟨C₁,hψ₁,hChar₁,D₁,hAd₁,hFin₁,B₁,hC₁,hG₁,hO₁,hBr₁,hU₁,hΘ₁,hCov₁,hDesc₁,hOne₁⟩ := |
| 98 | hThetaOneForms hAdelicTheta F d hq H K₁ hH hK₁ ψ hc hu hn hp P₁ A hArch |
| 99 | obtain ⟨C₂,hψ₂,hChar₂,D₂,hAd₂,hFin₂,B₂,hC₂,hG₂,hO₂,hBr₂,hU₂,hΘ₂,hCov₂,hDesc₂,hOne₂⟩ := |
| 100 | hThetaOneForms hAdelicTheta F d hq H S.form hH S.skewHermitian ψ hc hu hn hp P₂ (IntrinsicSplitting.IntrinsicSummands.secondArithmetic A S) hArch |
| 101 | let Q₁ : IntrinsicSplitting.IntrinsicSummands.SummandWitnesses K₁ hq.1 P₁ A := ⟨C₁,D₁,B₁⟩ |
| 102 | let Q₂ : IntrinsicSplitting.IntrinsicSummands.SummandWitnesses S.form hq.1 P₂ (IntrinsicSplitting.IntrinsicSummands.secondArithmetic A S) := ⟨C₂,D₂,B₂⟩ |
| 103 | have h₁ : IntrinsicSplitting.IntrinsicSummands.SummandValid Q₁ ψ := |
| 104 | ⟨hψ₁,hChar₁,hAd₁,hFin₁,hC₁,hG₁,hO₁,hBr₁,hU₁,hΘ₁,hCov₁,hDesc₁,hOne₁⟩ |
| 105 | have h₂ : IntrinsicSplitting.IntrinsicSummands.SummandValid Q₂ ψ := |
| 106 | ⟨hψ₂,hChar₂,hAd₂,hFin₂,hC₂,hG₂,hO₂,hBr₂,hU₂,hΘ₂,hCov₂,hDesc₂,hOne₂⟩ |
| 107 | have hK := IntrinsicSplitting.IntrinsicArithmetic.blockUnit_skewHermitian S.form hK₁ S.skewHermitian |
| 108 | obtain ⟨C,hψ,hChar,D,hAd,hFin,B,hCoord,hGeom,hOsc,hBranch,hUnique,hTheta,hCov,hDesc,_,_,hTop⟩ := |
| 109 | IntrinsicCompactChoices.IntrinsicSecondConstruction.construct_total hAdelicTheta hq hH hK ψ hc hu hn hp (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂) (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) hArch |
| 110 | let Q₀ : IntrinsicCompactChoices.Intrinsic.TotalWitnesses hq.1 (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂) (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) := ⟨C,D,B⟩ |
| 111 | have h₀ : IntrinsicCompactChoices.Intrinsic.TotalValid Q₀ ψ := |
| 112 | ⟨hψ,hChar,hAd,hFin,hCoord,hGeom,hOsc,hBranch,hUnique,hTheta,hCov,hDesc,hTop⟩ |
| 113 | obtain ⟨Q,hQ⟩ := IntrinsicCompactChoices.Intrinsic.construct_compact_choices hAdelicTheta hq hH hK ψ hc hu hn hp |
| 114 | (IntrinsicSplitting.IntrinsicGlobal.sumGlobalFrames P₁ P₂) (IntrinsicSplitting.IntrinsicArithmetic.sumArithmetic A S) hArch |
| 115 | exact ⟨Q₁,Q₂,Q₀,Q,h₁,h₂,h₀,hQ, |
| 116 | IntrinsicAssembly.assemble_native_conclusion Q₁ Q₂ Q₀ Q hq.2 hH hK₁ ψ hArch h₁ h₂ h₀ hQ hFirstGaussian hSecondGaussian hSumGaussian hTensorDecomposition⟩ |
| 117 | |
| 118 | end RepresentationTheory.Theta.Kernel.Intrinsic |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI |