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.CalibratedAway |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RationalTest |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NonzeroTest |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.ProjectiveAway |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseAwayFixed |
| 6 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Commutators |
| 7 | |
| 8 | /-! # Away Fixed -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.AwayFixed |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Exact principal away fixedness for a retained calibrated theta test. -/ |
| 15 | |
| 16 | open scoped Classical _root_.Matrix |
| 17 | open _root_.Matrix |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NonzeroTest.Multiplicity OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Commutators.Local OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseAwayFixed.TestTransport |
| 20 | |
| 21 | attribute [local instance] Multiplicity.nativePlaceDecidableEq Multiplicity.nativeTripleDecidableEq |
| 22 | |
| 23 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 24 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 25 | {Ga MpR MpF MpA : Type} [Group Ga] [TopologicalSpace Ga] |
| 26 | [Group MpR] [Group MpF] [Group MpA] |
| 27 | (D : RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData E K s q (Fin s × Fin 3) Ga MpR MpF MpA) |
| 28 | (hg : D.pel.HasIntegralModelGeometry) (hq : D.pel.IsGoodCompletelySplitPrime) (hμ : D.pel.reference.μ = E.val.toRingHom) |
| 29 | (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 30 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 31 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 32 | Algebra.trace ℚ E (D.pel.reference.imaginaryScalar * Multiplicity.nativeTensorPairing E D.pel.reference v x y)) |
| 33 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (u : MpF) |
| 34 | (hu : FiniteDilation.NativeFiniteCoordinateIdentity E D e u) |
| 35 | |
| 36 | theorem native_retained_principal_away_fixed |
| 37 | (T : NonzeroTest.NativeThetaTest E D.pel.reference hg.reference_admissible hμ v hv e he) |
| 38 | (R : RationalTest.Intrinsic.RationalTestCalibration E D.pel.reference hg.reference_admissible hμ v hv e he D.weil T.test) |
| 39 | (huS : D.weil.finite.project u = RepresentationTheory.Hecke.RadialDilation.FiniteConjugation.Realization.finitePadicSymplecticInclusion q |
| 40 | (FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he)) |
| 41 | (hlevel : 0 < D.pel.level) |
| 42 | (hfg : D.pel.reference.lattice.FG) |
| 43 | (hspan : Submodule.span ℚ (D.pel.reference.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) = ⊤) |
| 44 | (hdiv : PEL.ChosenProjectiveDepth.TestTransport.pelProjectiveDepth E D.pel.reference e D.weil T.test hfg hspan |
| 45 | (NonzeroTest.nativeThetaTest_ne_zero E D.pel.reference hg.reference_admissible hμ v hv e he T) |
| 46 | T.support T.level T.level_pos T.period ∣ D.pel.level) |
| 47 | (hK : ∀ g : CM.FiniteAway.Approximation.CMFiniteSU E D.pel.reference hg.reference_admissible, |
| 48 | CM.AwayPELLevel.Approximation.cmOriginalPELHomeomorph E D.pel.reference hg.reference_admissible g ∈ |
| 49 | D.pel.reference.adelicPrincipalLevel D.pel.level → g ∈ R.sourceLevel) |
| 50 | (hactive : T.test ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.fixedInputs (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) |
| 51 | (CoordinateDualHecke.Local.coordinateDualRepresentation q c D.pel.reference.distinguished D.weil u)) : |
| 52 | let := UnitaryAwayTopology.nativeUnitaryAwayTopology E D hg hμ v hv e he c u hu (UnitaryAwayDensity.nativeUnitaryActivePlace E D) |
| 53 | ∀ a ∈ PELLevel.nativePELLevel E D hg hμ v hv e he c u hu (UnitaryAwayDensity.nativeUnitaryActivePlace E D) hlevel, |
| 54 | D.weil.finite.action a.val T.test = T.test := |
| 55 | CalibratedAway.native_principal_away_fixed_of_calibration E D hg hq hμ v hv e he c u hu huS hlevel |
| 56 | T.test (NonzeroTest.nativeThetaTest_ne_zero E D.pel.reference hg.reference_admissible hμ v hv e he T) |
| 57 | T.support T.level T.level_pos T.period hfg hspan hdiv R.sourceLevel hK hactive R.calibrated |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.AwayFixed |