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.PELLevel |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.UnitaryAwayDensity |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.PrincipalCoordinates |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.IntegralLattice |
| 5 | |
| 6 | /-! # Marked Level -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.MarkedLevel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The concrete open native away level has exactly the original |
| 13 | marked lattice meaning, including every non-active integral local block. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix _root_.NumberField |
| 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 | (hg : D.pel.HasIntegralModelGeometry) (hμ : D.pel.reference.μ = E.val.toRingHom) |
| 25 | (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 26 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 27 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 28 | Algebra.trace ℚ E (D.pel.reference.imaginaryScalar * Multiplicity.nativeTensorPairing E D.pel.reference v x y)) |
| 29 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (u : MpF) |
| 30 | (hu : FiniteDilation.NativeFiniteCoordinateIdentity E D e u) |
| 31 | (hN : 0 < D.pel.level) |
| 32 | |
| 33 | theorem nativePELLevel_marked (hq : D.pel.IsGoodCompletelySplitPrime) |
| 34 | (hchar : ∀ w (a : NumberField.RingOfIntegers E), D.localEmbedding w a = D.pel.localCharacter w a) |
| 35 | (hstandard : ∀ w, D.localReferenceLattice w = RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData.standardLocalLattice (q := q)) |
| 36 | (γ : D.RationalSU) : |
| 37 | let := UnitaryAwayTopology.nativeUnitaryAwayTopology E D hg hμ v hv e he c u hu (UnitaryAwayDensity.nativeUnitaryActivePlace E D) |
| 38 | RepresentationTheory.Hecke.IntrinsicDatum.SphericalActionIntrinsic.nativeAway E D hg hμ v hv e he c u hu γ ∈ |
| 39 | PELLevel.nativePELLevel E D hg hμ v hv e he c u hu (UnitaryAwayDensity.nativeUnitaryActivePlace E D) hN ↔ |
| 40 | γ ∈ D.rationalAwayLevel ∧ ∀ w : Fin s × Bool, |
| 41 | w.1 ≠ D.pel.reference.distinguished → D.localMatrix w γ ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := by |
| 42 | let := UnitaryAwayTopology.nativeUnitaryAwayTopology E D hg hμ v hv e he c u hu (UnitaryAwayDensity.nativeUnitaryActivePlace E D) |
| 43 | let := AdmissibleAwayLevel.Approximation.admissible_lattice E D.pel.reference hg.reference_admissible |
| 44 | let b := Module.Free.chooseBasis ℤ D.pel.reference.lattice |
| 45 | have hP := PrincipalCoordinates.ParameterChoices.nativeFilledPEL_principal_iff E D.pel hg hq |
| 46 | (IntegralLattice.ParameterChoices.native_local_lattices_standard D hchar hstandard) b D.pel.level hN hq.2.2.1 γ |
| 47 | have ha : (Matrix.SpecialLinearGroup.toLin' γ.val).restrictScalars ℚ ∈ |
| 48 | AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup (LocalizedLatticeMaps.TestTransport.powerLocalizedLattice D.pel.reference.lattice q).toAddSubgroup D.pel.level ↔ |
| 49 | γ ∈ D.rationalAwayLevel := Iff.rfl |
| 50 | have hm (w : Fin s × Bool) : D.localMatrix w γ = |
| 51 | Matrix.SpecialLinearGroup.map (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D.pel w) γ.val := |
| 52 | congrArg (fun σ : E →+* Padic q => Matrix.SpecialLinearGroup.map σ γ.val) |
| 53 | (IntegralLattice.ParameterChoices.originalLocalEmbedding_eq_native D hchar w) |
| 54 | have hl : (∀ w : Fin s × Bool, w.1 ≠ D.pel.reference.distinguished → |
| 55 | Matrix.SpecialLinearGroup.map (LocalEmbedding.ParameterChoices.nativeFieldEmbedding D.pel w) γ.val ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) ↔ |
| 56 | ∀ w : Fin s × Bool, w.1 ≠ D.pel.reference.distinguished → |
| 57 | D.localMatrix w γ ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := |
| 58 | forall_congr' (fun w => imp_congr_right (fun _ => Iff.of_eq |
| 59 | (congrArg (fun g => g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) (hm w).symm))) |
| 60 | exact (PELLevel.nativePELLevel_rational E D hg hμ v hv e he c u hu (UnitaryAwayDensity.nativeUnitaryActivePlace E D) hN γ).trans |
| 61 | (hP.trans (and_congr ha hl)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.MarkedLevel |