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.Weil.UnitarySplitting.TracePairing |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Characters |
| 3 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Oscillator |
| 4 | import OAI.RepresentationTheory.Weil.UnitarySplitting.SymplecticCoordinates |
| 5 | import OAI.RepresentationTheory.Weil.UnitarySplitting.GroupTopology |
| 6 | import OAI.RepresentationTheory.Weil.UnitarySplitting.LocalTest |
| 7 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Heisenberg |
| 8 | import OAI.RepresentationTheory.Weil.UnitarySplitting.UltraMultiplier |
| 9 | import OAI.RepresentationTheory.Weil.UnitarySplitting.DensityMeasure |
| 10 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Kernel |
| 11 | import OAI.RepresentationTheory.Weil.UnitarySplitting.FourierPairing |
| 12 | import OAI.RepresentationTheory.Weil.UnitarySplitting.FrameTransport |
| 13 | import OAI.RepresentationTheory.Weil.UnitarySplitting.UltraSurjectivity |
| 14 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Surjectivity |
| 15 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Generic |
| 16 | import OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianNormForms |
| 17 | import OAI.RepresentationTheory.Weil.UnitarySplitting.NormHaar |
| 18 | import OAI.RepresentationTheory.Weil.UnitarySplitting.NormKernelOpen |
| 19 | import OAI.RepresentationTheory.Weil.UnitarySplitting.NormQuadraticIntegrals |
| 20 | import OAI.RepresentationTheory.Weil.UnitarySplitting.DiagonalNormGaussian |
| 21 | import OAI.RepresentationTheory.Weil.UnitarySplitting.ArchimedeanNormGaussian |
| 22 | import OAI.RepresentationTheory.Weil.UnitarySplitting.WeakGaussianNonzero |
| 23 | import OAI.RepresentationTheory.Weil.UnitarySplitting.WeylSynthesisAdd |
| 24 | import OAI.RepresentationTheory.Weil.UnitarySplitting.WeylSynthesis |
| 25 | import OAI.RepresentationTheory.Weil.UnitarySplitting.WeylResolutionOperator |
| 26 | import OAI.RepresentationTheory.Weil.UnitarySplitting.WeakCayleyTestCoefficients |
| 27 | import OAI.RepresentationTheory.Weil.UnitarySplitting.UltraCayleyLift |
| 28 | import OAI.RepresentationTheory.Weil.UnitarySplitting.CayleyCompositionPhase |
| 29 | import OAI.RepresentationTheory.Weil.UnitarySplitting.UltraCayleyComposition |
| 30 | import OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianDistribution |
| 31 | import OAI.RepresentationTheory.Weil.UnitarySplitting.CanonicalCayleyLift |
| 32 | import OAI.RepresentationTheory.Weil.UnitarySplitting.GaussianFormula |
| 33 | import OAI.RepresentationTheory.Weil.UnitarySplitting.CayleyGaussianCutoffs |
| 34 | import OAI.RepresentationTheory.Weil.UnitarySplitting.GenericCharacterCorrection |
| 35 | import OAI.RepresentationTheory.Weil.UnitarySplitting.GenericDeterminantCharacter |
| 36 | import OAI.RepresentationTheory.Weil.UnitarySplitting.CayleyLiftContinuity |
| 37 | import OAI.RepresentationTheory.Weil.UnitarySplitting.CayleyCentralizers |
| 38 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Weighted |
| 39 | import OAI.RepresentationTheory.Weil.UnitarySplitting.UltraFactorSplittings |
| 40 | import OAI.RepresentationTheory.Weil.UnitarySplitting.RealWeylCoefficients |
| 41 | import OAI.RepresentationTheory.Weil.UnitarySplitting.PartialSchwartzFourier |
| 42 | import OAI.RepresentationTheory.Weil.UnitarySplitting.RealBilinearFourier |
| 43 | import OAI.RepresentationTheory.Weil.UnitarySplitting.RealCayleyOperator |
| 44 | import OAI.RepresentationTheory.Weil.UnitarySplitting.RealCayleyLift |
| 45 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Archimedean |
| 46 | import Lean.Util.CollectAxioms |
| 47 | |
| 48 | /-! # Dual Pair Splitting -/ |
| 49 | |
| 50 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.DualPairSplitting.Construction |
| 51 | |
| 52 | noncomputable section |
| 53 | |
| 54 | /-! The unconditional UnitarySplitting local unitary dual-pair splitting, including every |
| 55 | realization clause of the repaired target. This entry does not import the |
| 56 | statement. Both archimedean and nonarchimedean constructions use actual |
| 57 | Schwartz–Bruhat intertwiners and the prescribed splitting characters. |
| 58 | All imported construction declarations, including generated declarations |
| 59 | and the reused LocalWeil modules, are audited against the classical foundations. -/ |
| 60 | |
| 61 | theorem coordinate_and_topological_realization |
| 62 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 63 | [CompleteSpace F] [LocallyCompactSpace F] [CharZero F] |
| 64 | [FiniteDimensional F E] [MeasurableSpace F] [BorelSpace F] |
| 65 | (hF : ¬ DiscreteTopology F) (hEmbedding : Continuous (algebraMap F E)) |
| 66 | (hQuadratic : Module.finrank F E = 2) (σ : E ≃ₐ[F] E) |
| 67 | (m n : ℕ) (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 68 | (hHermitian : ∀ i j, H j i = σ (H i j)) |
| 69 | (hSkewHermitian : ∀ i j, K j i = -σ (K i j)) |
| 70 | (hHNondegenerate : H.det ≠ 0) (hKNondegenerate : K.det ≠ 0) |
| 71 | (ψ : AddChar F ℂ) : |
| 72 | Nonempty (Oscillator.Construction.SymplecticFrame σ H K) ∧ |
| 73 | ∀ c : Oscillator.Construction.SymplecticFrame σ H K, |
| 74 | IsTopologicalGroup (Oscillator.Construction.CircleExtension σ H K c ψ) ∧ |
| 75 | Continuous (Oscillator.Construction.circleScalar σ H K c ψ) ∧ |
| 76 | Function.Injective (Oscillator.Construction.circleScalar σ H K c ψ) := by |
| 77 | refine ⟨SymplecticCoordinates.Construction.symplecticFrame_nonempty hQuadratic σ m n H K hHermitian hSkewHermitian |
| 78 | hHNondegenerate hKNondegenerate, ?_⟩ |
| 79 | intro c |
| 80 | let : SecondCountableTopology F := TestSpaceAnalysis.Construction.localField_secondCountable F hF |
| 81 | exact ⟨GroupTopology.Construction.circleExtension_isTopologicalGroup hF hEmbedding σ H K c ψ, |
| 82 | Weak.Construction.circleScalar_continuous σ H K c ψ, LocalTest.Construction.circleScalar_injective F hF σ H K c ψ⟩ |
| 83 | |
| 84 | theorem oscillator_realization |
| 85 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 86 | [CompleteSpace F] [LocallyCompactSpace F] [CharZero F] |
| 87 | [FiniteDimensional F E] [MeasurableSpace F] [BorelSpace F] |
| 88 | (hF : ¬ DiscreteTopology F) (hEmbedding : Continuous (algebraMap F E)) |
| 89 | (hQuadratic : Module.finrank F E = 2) (σ : E ≃ₐ[F] E) |
| 90 | (m n : ℕ) (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 91 | (hHermitian : ∀ i j, H j i = σ (H i j)) |
| 92 | (hSkewHermitian : ∀ i j, K j i = -σ (K i j)) |
| 93 | (hHNondegenerate : H.det ≠ 0) (hKNondegenerate : K.det ≠ 0) |
| 94 | (ψ : AddChar F ℂ) (hc : Continuous (fun x : F => ψ x)) |
| 95 | (hu : ∀ x : F, ‖ψ x‖ = 1) (hn : ∃ x : F, ψ x ≠ 1) : |
| 96 | Nonempty (Oscillator.Construction.SymplecticFrame σ H K) ∧ |
| 97 | ∀ c : Oscillator.Construction.SymplecticFrame σ H K, |
| 98 | IsTopologicalGroup (Oscillator.Construction.CircleExtension σ H K c ψ) ∧ |
| 99 | Function.Surjective (Oscillator.Construction.circleProjection σ H K c ψ) ∧ |
| 100 | Continuous (Oscillator.Construction.circleScalar σ H K c ψ) ∧ |
| 101 | Function.Injective (Oscillator.Construction.circleScalar σ H K c ψ) ∧ |
| 102 | (∀ a : Oscillator.Construction.CircleExtension σ H K c ψ, |
| 103 | Oscillator.Construction.circleProjection σ H K c ψ a = 1 ↔ |
| 104 | ∃ z : Circle, Oscillator.Construction.circleScalar σ H K c ψ z = a) := by |
| 105 | obtain ⟨hframe, htop⟩ := coordinate_and_topological_realization hF hEmbedding hQuadratic |
| 106 | σ m n H K hHermitian hSkewHermitian hHNondegenerate hKNondegenerate ψ |
| 107 | refine ⟨hframe, fun c => ?_⟩ |
| 108 | obtain ⟨ht, hcont, hinj⟩ := htop c |
| 109 | exact ⟨ht, Surjectivity.Construction.circleProjection_surjective σ H K c hF ψ hc hu hn hQuadratic, |
| 110 | hcont, hinj, Kernel.Construction.circleProjection_kernel σ H K c ψ hF hc hu hn⟩ |
| 111 | |
| 112 | theorem local_unitary_dual_pair_splitting_ultra |
| 113 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 114 | [CompleteSpace F] [LocallyCompactSpace F] [CharZero F] |
| 115 | [LocallyCompactSpace E] [FiniteDimensional F E] [IsUltrametricDist F] |
| 116 | [MeasurableSpace F] [BorelSpace F] |
| 117 | (hF : ¬ DiscreteTopology F) (hE : ¬ DiscreteTopology E) |
| 118 | (hEmbedding : Continuous (algebraMap F E)) |
| 119 | (hQuadratic : Module.finrank F E = 2) (σ : E ≃ₐ[F] E) |
| 120 | (hConjugation : ∃ z : E, σ z ≠ z) |
| 121 | (m n : ℕ) (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 122 | (hHermitian : ∀ i j, H j i = σ (H i j)) |
| 123 | (hSkewHermitian : ∀ i j, K j i = -σ (K i j)) |
| 124 | (hHNondegenerate : H.det ≠ 0) (hKNondegenerate : K.det ≠ 0) |
| 125 | (ψ : AddChar F ℂ) (hc : Continuous (fun x : F => ψ x)) |
| 126 | (hu : ∀ x : F, ‖ψ x‖ = 1) (hn : ∃ x : F, ψ x ≠ 1) |
| 127 | (characters : Characters.Construction.SplittingCharacters F E m n) : |
| 128 | Nonempty (Oscillator.Construction.SymplecticFrame σ H K) ∧ |
| 129 | ∀ c : Oscillator.Construction.SymplecticFrame σ H K, |
| 130 | IsTopologicalGroup (Oscillator.Construction.CircleExtension σ H K c ψ) ∧ |
| 131 | Function.Surjective (Oscillator.Construction.circleProjection σ H K c ψ) ∧ |
| 132 | Continuous (Oscillator.Construction.circleScalar σ H K c ψ) ∧ |
| 133 | Function.Injective (Oscillator.Construction.circleScalar σ H K c ψ) ∧ |
| 134 | (∀ a : Oscillator.Construction.CircleExtension σ H K c ψ, |
| 135 | Oscillator.Construction.circleProjection σ H K c ψ a = 1 ↔ |
| 136 | ∃ z : Circle, Oscillator.Construction.circleScalar σ H K c ψ z = a) ∧ |
| 137 | ∃ splitting : (DualPair.Construction.unitaryGroup σ H × DualPair.Construction.unitaryGroup σ K) →ₜ* Oscillator.Construction.CircleExtension σ H K c ψ, |
| 138 | ∀ g, Oscillator.Construction.circleProjection σ H K c ψ (splitting g) = DualPair.Construction.continuousDualPairAction σ H K g := by |
| 139 | obtain ⟨hframe, hreal⟩ := oscillator_realization hF hEmbedding hQuadratic σ m n H K |
| 140 | hHermitian hSkewHermitian hHNondegenerate hKNondegenerate ψ hc hu hn |
| 141 | refine ⟨hframe, fun c => ?_⟩ |
| 142 | obtain ⟨ht, hp, hs, hi, hk⟩ := hreal c |
| 143 | refine ⟨ht, hp, hs, hi, hk, ?_⟩ |
| 144 | have hH : DualPair.Construction.adjointMatrix σ H = H := by |
| 145 | ext i j |
| 146 | exact (hHermitian j i).symm |
| 147 | have hK : DualPair.Construction.adjointMatrix σ K = -K := by |
| 148 | ext i j |
| 149 | change σ (K j i) = -K i j |
| 150 | rw [hSkewHermitian j i, neg_neg] |
| 151 | exact UltraFactorSplittings.Construction.ultra_dual_pair_splitting σ H K c hF hE hEmbedding hQuadratic hConjugation |
| 152 | ψ hc hu hn characters hH hK hHNondegenerate hKNondegenerate |
| 153 | |
| 154 | theorem local_unitary_dual_pair_splitting |
| 155 | (F E : Type) |
| 156 | [NormedField F] [NormedField E] [Algebra F E] |
| 157 | [CompleteSpace F] [LocallyCompactSpace F] [CharZero F] |
| 158 | [CompleteSpace E] [LocallyCompactSpace E] |
| 159 | [FiniteDimensional F E] |
| 160 | [MeasurableSpace F] [BorelSpace F] |
| 161 | (hF : ¬ DiscreteTopology F) |
| 162 | (hE : ¬ DiscreteTopology E) |
| 163 | (hEmbedding : Continuous (algebraMap F E)) |
| 164 | (hQuadratic : Module.finrank F E = 2) |
| 165 | (σ : E ≃ₐ[F] E) |
| 166 | (hConjugation : ∃ z : E, σ z ≠ z) |
| 167 | (m n : ℕ) |
| 168 | (H : Matrix (Fin m) (Fin m) E) |
| 169 | (K : Matrix (Fin n) (Fin n) E) |
| 170 | (hHermitian : ∀ i j, H j i = σ (H i j)) |
| 171 | (hSkewHermitian : ∀ i j, K j i = -σ (K i j)) |
| 172 | (hHNondegenerate : H.det ≠ 0) |
| 173 | (hKNondegenerate : K.det ≠ 0) |
| 174 | (ψ : AddChar F ℂ) |
| 175 | (hψContinuous : Continuous (fun x : F => ψ x)) |
| 176 | (hψUnitary : ∀ x : F, ‖ψ x‖ = 1) |
| 177 | (hψNontrivial : ∃ x : F, ψ x ≠ 1) |
| 178 | (characters : Characters.Construction.SplittingCharacters F E m n) : |
| 179 | Nonempty (Oscillator.Construction.SymplecticFrame σ H K) ∧ |
| 180 | ∀ c : Oscillator.Construction.SymplecticFrame σ H K, |
| 181 | IsTopologicalGroup (Oscillator.Construction.CircleExtension σ H K c ψ) ∧ |
| 182 | Function.Surjective (Oscillator.Construction.circleProjection σ H K c ψ) ∧ |
| 183 | Continuous (Oscillator.Construction.circleScalar σ H K c ψ) ∧ |
| 184 | Function.Injective (Oscillator.Construction.circleScalar σ H K c ψ) ∧ |
| 185 | (∀ a : Oscillator.Construction.CircleExtension σ H K c ψ, |
| 186 | Oscillator.Construction.circleProjection σ H K c ψ a = 1 ↔ |
| 187 | ∃ z : Circle, Oscillator.Construction.circleScalar σ H K c ψ z = a) ∧ |
| 188 | ∃ splitting : (DualPair.Construction.unitaryGroup σ H × DualPair.Construction.unitaryGroup σ K) →ₜ* |
| 189 | Oscillator.Construction.CircleExtension σ H K c ψ, |
| 190 | ∀ g : DualPair.Construction.unitaryGroup σ H × DualPair.Construction.unitaryGroup σ K, |
| 191 | Oscillator.Construction.circleProjection σ H K c ψ (splitting g) = |
| 192 | DualPair.Construction.continuousDualPairAction σ H K g := by |
| 193 | obtain ⟨hframe, hreal⟩ := oscillator_realization hF hEmbedding hQuadratic σ m n H K |
| 194 | hHermitian hSkewHermitian hHNondegenerate hKNondegenerate ψ hψContinuous hψUnitary hψNontrivial |
| 195 | refine ⟨hframe, fun c => ?_⟩ |
| 196 | obtain ⟨ht, hp, hs, hi, hk⟩ := hreal c |
| 197 | refine ⟨ht, hp, hs, hi, hk, ?_⟩ |
| 198 | have hH : DualPair.Construction.adjointMatrix σ H = H := by |
| 199 | ext i j |
| 200 | exact (hHermitian j i).symm |
| 201 | have hK : DualPair.Construction.adjointMatrix σ K = -K := by |
| 202 | ext i j |
| 203 | change σ (K j i) = -K i j |
| 204 | rw [hSkewHermitian j i, neg_neg] |
| 205 | by_cases h : ∀ k : ℕ, ‖(k : F)‖ ≤ 1 |
| 206 | · let : IsUltrametricDist F := |
| 207 | IsUltrametricDist.isUltrametricDist_of_forall_norm_natCast_le_one h |
| 208 | exact UltraFactorSplittings.Construction.ultra_dual_pair_splitting σ H K c hF hE hEmbedding hQuadratic hConjugation |
| 209 | ψ hψContinuous hψUnitary hψNontrivial characters hH hK hHNondegenerate hKNondegenerate |
| 210 | · obtain ⟨e, he, hei⟩ := ArchimedeanBase.Construction.real_equiv_of_unbounded_with_quadratic_extension h hQuadratic |
| 211 | exact Archimedean.Construction.archimedean_dual_pair_splitting σ H K c hF hE hEmbedding hQuadratic hConjugation |
| 212 | ψ hψContinuous hψUnitary hψNontrivial characters hH hK hHNondegenerate hKNondegenerate e he hei |
| 213 | |
| 214 | end |
| 215 | |
| 216 | end OAI.RepresentationTheory.Weil.UnitarySplitting.DualPairSplitting.Construction |