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.CMExtraction.Intrinsic.FiniteDilation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyMatrices |
| 3 | |
| 4 | /-! # Local Symplectic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.LocalSymplectic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The retained native coordinate witness identifies the actual q-adic |
| 11 | projection of every rational finite Weil operator with the simultaneous |
| 12 | inverse-transpose position blocks. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.BlockFamilyMatrices.Local |
| 15 | open scoped Classical _root_.Matrix |
| 16 | |
| 17 | attribute [local instance] Multiplicity.nativePlaceDecidableEq Multiplicity.nativeTripleDecidableEq |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 20 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 21 | {Ga MpR MpF MpA : Type} [Group Ga] [TopologicalSpace Ga] |
| 22 | [Group MpR] [Group MpF] [Group MpA] |
| 23 | (D : RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData E K s q (Fin s × Fin 3) Ga MpR MpF MpA) |
| 24 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 25 | (v : Multiplicity.Odd.Sign E) |
| 26 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 27 | Algebra.trace ℚ E (D.pel.reference.imaginaryScalar * Multiplicity.nativeTensorPairing E D.pel.reference v x y)) |
| 28 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) |
| 29 | |
| 30 | def nativeLocalUnitaryBlocks (g : D.RationalSU) : Fin s → RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q := |
| 31 | fun i => Matrix.SpecialLinearGroup.map (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D.pel (i, false)) g.val |
| 32 | |
| 33 | theorem native_local_symplectic_conjugation (u : MpF) |
| 34 | (hu : FiniteDilation.NativeFiniteCoordinateIdentity E D e u) (g : D.RationalSU) : |
| 35 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.mapSp (RepresentationTheory.Hecke.RadialDilation.FiniteSchur.Realization.finitePadicProjection q).toRingHom |
| 36 | (D.weil.finite.project (u * D.weil.finiteLift (RationalPhaseColumn.Intrinsic.nativeRationalSymplectic E D.pel.reference e v he g) * u⁻¹)) = |
| 37 | BlockFamilyMatrices.Local.blockFamilySymplectic c (nativeLocalUnitaryBlocks E D g) := by |
| 38 | obtain ⟨S, hS, hphase⟩ := hu |
| 39 | rw [RepresentationTheory.Hecke.RadialDilation.FiniteConjugation.Realization.finite_coordinate_conjugation_projection q D.weil S u hS] |
| 40 | apply Subtype.ext |
| 41 | apply Matrix.toLin'.injective |
| 42 | apply LinearMap.ext |
| 43 | intro x |
| 44 | change (S.val * (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.mapSp (algebraMap ℚ ℚ_[q]) |
| 45 | (RationalPhaseColumn.Intrinsic.nativeRationalSymplectic E D.pel.reference e v he g)).val * (S⁻¹).val) *ᵥ x = _ |
| 46 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec] |
| 47 | change S.val *ᵥ ((RationalPhaseColumn.Intrinsic.rationalUnitaryMatrix E D.pel.reference e g).map (algebraMap ℚ ℚ_[q]) *ᵥ |
| 48 | ((S⁻¹).val *ᵥ x)) = _ |
| 49 | rw [hphase] |
| 50 | have hs : S.val *ᵥ ((S⁻¹).val *ᵥ x) = x := by |
| 51 | rw [Matrix.mulVec_mulVec, ← Submonoid.coe_mul, mul_inv_cancel, |
| 52 | OneMemClass.coe_one, Matrix.one_mulVec] |
| 53 | rw [hs] |
| 54 | funext i |
| 55 | cases i with |
| 56 | | inl p => exact (BlockFamilyMatrices.Local.blockFamilySymplectic_inl c (nativeLocalUnitaryBlocks E D g) x p.1 p.2).symm |
| 57 | | inr p => exact (BlockFamilyMatrices.Local.blockFamilySymplectic_inr c (nativeLocalUnitaryBlocks E D g) x p.1 p.2).symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.LocalSymplectic |