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.Adelic.Data |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondDescent |
| 3 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicSmooth |
| 4 | |
| 5 | /-! # Intrinsic Compact Choices -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.IntrinsicSecondConstruction |
| 12 | |
| 13 | /-! Native order-two witnesses obtained from the full AdelicTheta proposition. |
| 14 | All the original AdelicTheta conclusions are retained, together with the proved |
| 15 | ordinary top-form projection, smoothness, covariance and geometric descent. -/ |
| 16 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.Data OAI.RepresentationTheory.Theta.Adelic.SiegelBranchData OAI.RepresentationTheory.Theta.Kernel.IntrinsicExterior.Intrinsic |
| 20 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondProjection.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondAction.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondDescent.Intrinsic |
| 21 | |
| 22 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 23 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 24 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 25 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} |
| 26 | |
| 27 | def TopDescentConclusion (B : Adelic.DataTheta.ComparisonData F H K A) |
| 28 | (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K) (hd : d ≠ 0) (C : Weil.AdelicSplitting.Characters.Construction.GlobalCharacters F d 3 2) |
| 29 | (D : Weil.AdelicSplitting.Assembly.Construction.NormalizedLocalSplittings F d 3 2 H K hd C P) : Prop := |
| 30 | ∀ (Φ : Finset (Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2))) (K₀ : OpenSubgroup (Adelic.FiniteSchwartz.FiniteSU F H)) |
| 31 | (N₀ : ℕ), 0 < N₀ → |
| 32 | ∃ N : ℕ, 0 < N ∧ N₀ ∣ N ∧ |
| 33 | (∀ g : Adelic.SpecialUnitary.SU H.val, Adelic.BallGeometryData.PrincipalLevel N g → |
| 34 | ∀ k : ℕ, 0 < k → g ^ k = 1 → g = 1) ∧ |
| 35 | ∃ L : OpenSubgroup (Adelic.FiniteSchwartz.FiniteSU F H), IsCompact (L : Set (Adelic.FiniteSchwartz.FiniteSU F H)) ∧ L ≤ K₀ ∧ |
| 36 | (∀ g : Adelic.SpecialUnitary.SU H.val, Adelic.BallGeometryData.PrincipalLevel N g → Adelic.RationalSU.rationalFiniteSU F H g ∈ L) ∧ |
| 37 | (∀ f ∈ Φ, ∀ g ∈ L, Adelic.FiniteSchwartz.finiteAction F H K hd C P D g f = f) ∧ |
| 38 | ∃ (R : Setoid Adelic.BallNatural.Ball) (hR : ∀ z w, R.r z w ↔ Adelic.DataTheta.Descent.BallOrbit B N z w), |
| 39 | CompactSpace (Quotient R) ∧ T2Space (Quotient R) ∧ |
| 40 | SecondCountableTopology (Quotient R) ∧ |
| 41 | Continuous (IntrinsicSecondDescent.Intrinsic.topProjection B N R hR) ∧ |
| 42 | ∀ f ∈ Φ, Adelic.BallGeometryData.BallSmooth (IntrinsicSecondProjection.Intrinsic.thetaTopForm B f) ∧ |
| 43 | ∃ descended : Quotient R → IntrinsicSecondDescent.Intrinsic.TopBundle B N, |
| 44 | Continuous descended ∧ |
| 45 | (∀ q, IntrinsicSecondDescent.Intrinsic.topProjection B N R hR (descended q) = q) ∧ |
| 46 | ∀ z, descended (Quotient.mk R z) = |
| 47 | Quot.mk (IntrinsicSecondDescent.Intrinsic.TopOrbit B N) (z, IntrinsicSecondProjection.Intrinsic.thetaTopForm B f z) |
| 48 | |
| 49 | theorem construct_total (h_AdelicTheta : Adelic.Data.CompleteStatement) |
| 50 | (hq : d ≠ 0 ∧ ¬ IsSquare d) |
| 51 | (hH : H.val.conjTranspose = H.val) (hK : K.val.conjTranspose = -K.val) |
| 52 | (ψ : AddChar (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) ℂ) (hc : Continuous ψ) (hu : ∀ x, ‖ψ x‖ = 1) |
| 53 | (hn : ∃ x, ψ x ≠ 1) (hp : ∀ x : F, ψ (algebraMap F (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) x) = 1) |
| 54 | (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K) (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) |
| 55 | (hArch : Adelic.DataTheta.Descent.StandardArchCharacter (A := A) ψ) : |
| 56 | ∃ C : Weil.AdelicSplitting.Characters.Construction.GlobalCharacters F d 3 2, C.ψ = ψ ∧ Adelic.Data.CharacterConclusion F d 3 2 C ∧ |
| 57 | ∃ D : Weil.AdelicSplitting.Assembly.Construction.NormalizedLocalSplittings F d 3 2 H K hq.1 C P, |
| 58 | Adelic.Data.AdelicConclusion F d 3 2 H K hq.1 C P D ∧ |
| 59 | Adelic.Data.FiniteConclusion F d 3 2 H K hq.1 C P D ∧ |
| 60 | ∃ B : Adelic.DataTheta.ComparisonData F H K A, |
| 61 | Adelic.DataTheta.CoordinateIdentification B P ∧ Adelic.DataTheta.GeometryIdentification B ∧ |
| 62 | Adelic.DataTheta.OscillatorIdentification B P hq.1 C D ∧ Adelic.SiegelBranchData.SiegelBranchExtension B P hq.1 C D ∧ |
| 63 | Adelic.SiegelBranchData.ArchimedeanLiftUniqueness P hq.1 C D ∧ Adelic.DataTheta.Descent.ThetaConstruction B ∧ |
| 64 | Adelic.DataTheta.Descent.RationalHeckeCovariance B P hq.1 C D ∧ Adelic.DataTheta.Descent.CongruenceDescent B P hq.1 C D ∧ |
| 65 | (∀ f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2), Adelic.BallGeometryData.BallSmooth (IntrinsicSecondProjection.Intrinsic.thetaTopForm B f)) ∧ |
| 66 | (∀ (g : Adelic.SpecialUnitary.SU H.val) (f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2)) (z : Adelic.BallNatural.Ball), |
| 67 | (IntrinsicSecondProjection.Intrinsic.thetaTopForm B (Adelic.FiniteSchwartz.finiteAction F H K hq.1 C P D (Adelic.RationalSU.rationalFiniteSU F H g) f) |
| 68 | (B.ball (Adelic.RationalSU.rationalArchimedeanSU F H g) • z)).compContinuousLinearMap |
| 69 | (fderiv ℂ (Adelic.DeterminantCoordinates.chartImage |
| 70 | (Adelic.BallNatural.asSL (B.ball (Adelic.RationalSU.rationalArchimedeanSU F H g)))) z.val) = IntrinsicSecondProjection.Intrinsic.thetaTopForm B f z) ∧ |
| 71 | TopDescentConclusion B P hq.1 C D := by |
| 72 | obtain ⟨C, hψ, hChar, D, hAd, hFin, B, hCoord, hGeom, hOsc, hBranch, |
| 73 | hUnique, hTheta, hCov, hDesc⟩ := |
| 74 | h_AdelicTheta.2.2 F d hq 2 (Or.inr rfl) H K hH hK ψ hc hu hn hp P A hArch |
| 75 | exact ⟨C, hψ, hChar, D, hAd, hFin, B, hCoord, hGeom, hOsc, hBranch, |
| 76 | hUnique, hTheta, hCov, hDesc, IntrinsicSecondProjection.Intrinsic.thetaTopForm_smooth B hTheta, |
| 77 | IntrinsicSecondAction.Intrinsic.thetaTopForm_covariance B P hq.1 C D hGeom hCov, |
| 78 | IntrinsicSecondDescent.Intrinsic.native_top_descent B P hq.1 C D hGeom hTheta hDesc⟩ |
| 79 | |
| 80 | end RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.IntrinsicSecondConstruction |
| 81 | |
| 82 | namespace RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic |
| 83 | |
| 84 | /-! Compact-place changes of orthonormal multiplicity frames. These are |
| 85 | actual unitary changes of the fixed skew-Hermitian space, equal to the |
| 86 | identity at the distinguished place. They determine invariant positive |
| 87 | Hodge subspaces through the native AdelicTheta arithmetic data. -/ |
| 88 | |
| 89 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 90 | |
| 91 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent |
| 92 | open OAI.RepresentationTheory.Theta.Adelic.Data OAI.RepresentationTheory.Theta.Adelic.SiegelBranchData OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.IntrinsicSecondConstruction |
| 93 | |
| 94 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 95 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 96 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 97 | |
| 98 | def multiplicityForm (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) (v : Fin A.places) : |
| 99 | Matrix (Fin 2) (Fin 2) ℂ := |
| 100 | Matrix.diagonal (fun j => if A.positive v j then Complex.I else -Complex.I) |
| 101 | |
| 102 | structure CompactFrameChoice (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) where |
| 103 | change : Fin A.places → (Matrix (Fin 2) (Fin 2) ℂ)ˣ |
| 104 | distinguished : change A.distinguished = 1 |
| 105 | preserves : ∀ v, |
| 106 | (change v).val.conjTranspose * multiplicityForm A v * (change v).val = multiplicityForm A v |
| 107 | |
| 108 | instance (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) : TopologicalSpace (CompactFrameChoice A) := |
| 109 | TopologicalSpace.induced CompactFrameChoice.change inferInstance |
| 110 | |
| 111 | def identityChoice (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) : CompactFrameChoice A where |
| 112 | change _ := 1 |
| 113 | distinguished := rfl |
| 114 | preserves _ := by simp |
| 115 | |
| 116 | def choiceArithmetic (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) (p : CompactFrameChoice A) : |
| 117 | Adelic.BallGeometryData.BallArithmeticData F d 2 H K := |
| 118 | { A with |
| 119 | basisP := fun v => A.basisP v * p.change v |
| 120 | formP := by |
| 121 | intro v |
| 122 | change ((A.basisP v).val * (p.change v).val).conjTranspose * |
| 123 | ((Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (A.enumerate v))).map (A.complex v)) * |
| 124 | ((A.basisP v).val * (p.change v).val) = _ |
| 125 | rw [Matrix.conjTranspose_mul] |
| 126 | calc |
| 127 | _ = (p.change v).val.conjTranspose * |
| 128 | ((A.basisP v).val.conjTranspose * |
| 129 | ((Weil.AdelicSplitting.Integral.Construction.localizedForm F K.val (.inl (A.enumerate v))).map (A.complex v)) * (A.basisP v).val) * |
| 130 | (p.change v).val := by simp only [Matrix.mul_assoc] |
| 131 | _ = _ := by rw [A.formP]; exact p.preserves v } |
| 132 | |
| 133 | theorem choice_distinguished_basis (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) (p : CompactFrameChoice A) : |
| 134 | (choiceArithmetic A p).basisP A.distinguished = A.basisP A.distinguished := by |
| 135 | change A.basisP A.distinguished * p.change A.distinguished = _ |
| 136 | rw [p.distinguished, mul_one] |
| 137 | |
| 138 | theorem choice_standardMatrix (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) (p : CompactFrameChoice A) |
| 139 | (g : Adelic.RationalSU.ArchimedeanSU F H) (v : Fin A.places) : |
| 140 | Adelic.BallGeometryData.standardMatrix (choiceArithmetic A p) g v = Adelic.BallGeometryData.standardMatrix A g v := rfl |
| 141 | |
| 142 | structure TotalWitnesses (hd : d ≠ 0) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K) |
| 143 | (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) where |
| 144 | characters : Weil.AdelicSplitting.Characters.Construction.GlobalCharacters F d 3 2 |
| 145 | splittings : Weil.AdelicSplitting.Assembly.Construction.NormalizedLocalSplittings F d 3 2 H K hd characters P |
| 146 | comparison : Adelic.DataTheta.ComparisonData F H K A |
| 147 | |
| 148 | def TotalValid {hd : d ≠ 0} {P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K} |
| 149 | {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} (Q : TotalWitnesses hd P A) (ψ : AddChar (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) ℂ) : Prop := |
| 150 | Q.characters.ψ = ψ ∧ Adelic.Data.CharacterConclusion F d 3 2 Q.characters ∧ |
| 151 | Adelic.Data.AdelicConclusion F d 3 2 H K hd Q.characters P Q.splittings ∧ |
| 152 | Adelic.Data.FiniteConclusion F d 3 2 H K hd Q.characters P Q.splittings ∧ |
| 153 | Adelic.DataTheta.CoordinateIdentification Q.comparison P ∧ Adelic.DataTheta.GeometryIdentification Q.comparison ∧ |
| 154 | Adelic.DataTheta.OscillatorIdentification Q.comparison P hd Q.characters Q.splittings ∧ |
| 155 | Adelic.SiegelBranchData.SiegelBranchExtension Q.comparison P hd Q.characters Q.splittings ∧ |
| 156 | Adelic.SiegelBranchData.ArchimedeanLiftUniqueness P hd Q.characters Q.splittings ∧ Adelic.DataTheta.Descent.ThetaConstruction Q.comparison ∧ |
| 157 | Adelic.DataTheta.Descent.RationalHeckeCovariance Q.comparison P hd Q.characters Q.splittings ∧ |
| 158 | Adelic.DataTheta.Descent.CongruenceDescent Q.comparison P hd Q.characters Q.splittings ∧ |
| 159 | IntrinsicSecondConstruction.TopDescentConclusion Q.comparison P hd Q.characters Q.splittings |
| 160 | |
| 161 | theorem construct_compact_choices (h_AdelicTheta : Adelic.Data.CompleteStatement) |
| 162 | (hq : d ≠ 0 ∧ ¬ IsSquare d) |
| 163 | (hH : H.val.conjTranspose = H.val) (hK : K.val.conjTranspose = -K.val) |
| 164 | (ψ : AddChar (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) ℂ) (hc : Continuous ψ) (hu : ∀ x, ‖ψ x‖ = 1) |
| 165 | (hn : ∃ x, ψ x ≠ 1) (hp : ∀ x : F, ψ (algebraMap F (Weil.AdelicSplitting.ArchimedeanAdeles.Construction.Adeles F) x) = 1) |
| 166 | (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K) (A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K) |
| 167 | (hArch : Adelic.DataTheta.Descent.StandardArchCharacter (A := A) ψ) : |
| 168 | ∃ Q : ∀ p : CompactFrameChoice A, TotalWitnesses hq.1 P (choiceArithmetic A p), |
| 169 | ∀ p, TotalValid (Q p) ψ := by |
| 170 | have h (p : CompactFrameChoice A) : ∃ Q : TotalWitnesses hq.1 P (choiceArithmetic A p), TotalValid Q ψ := by |
| 171 | obtain ⟨C,hψ,hChar,D,hAd,hFin,B,hCoord,hGeom,hOsc,hBranch,hUnique,hTheta,hCov,hDesc,_,_,hTop⟩ := |
| 172 | IntrinsicSecondConstruction.construct_total h_AdelicTheta hq hH hK ψ hc hu hn hp P (choiceArithmetic A p) hArch |
| 173 | exact ⟨⟨C,D,B⟩,hψ,hChar,hAd,hFin,hCoord,hGeom,hOsc,hBranch,hUnique,hTheta,hCov,hDesc,hTop⟩ |
| 174 | exact ⟨fun p => (h p).choose,fun p => (h p).choose_spec⟩ |
| 175 | |
| 176 | end RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic |
| 177 | |
| 178 | end |
| 179 | |
| 180 | end OAI |