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.PreprimeCalibration |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.GoodPrimeTest |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.AwayFixed |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.ThetaTestNonzero |
| 5 | |
| 6 | /-! # Canonical Test -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CanonicalTest.Intrinsic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The data fixed before the prime yields the same spherical test for the actual principal native datum. -/ |
| 15 | |
| 16 | open scoped Classical _root_.Matrix |
| 17 | open _root_.Matrix |
| 18 | |
| 19 | open OAI.RepresentationTheory.Hecke.RadialDilation.Cm |
| 20 | |
| 21 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.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 | (R : PreprimeCalibration.Intrinsic.RetainedPreprimeData E D.pel.reference hg.reference_admissible hμ v hv D.weil) |
| 31 | |
| 32 | local notation "e" => R.coordinates |
| 33 | local notation "he" => R.pairing |
| 34 | local notation "T" => R.thetaTest |
| 35 | |
| 36 | theorem native_retained_spherical_test |
| 37 | (hLocalWeil : RepresentationTheory.Hecke.RadialDilation.Prerequisites.Core.LocalWeil.Proposition) |
| 38 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (hn : 0 < n) |
| 39 | (hlevel : 0 < D.pel.level) (hdepth : R.depth ∣ D.pel.level) |
| 40 | (hlarge : max 2 (max R.thetaTest.level |
| 41 | (Intrinsic.FiniteCoordinates.nativeCoordinateBound E D.pel.reference hg.reference_admissible v e he)) < q) : |
| 42 | ∃ u : MpF, |
| 43 | D.weil.finite.project u = RepresentationTheory.Hecke.RadialDilation.FiniteConjugation.Realization.finitePadicSymplecticInclusion q |
| 44 | (Intrinsic.FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he) ∧ |
| 45 | ∃ hu : Intrinsic.FiniteDilation.NativeFiniteCoordinateIdentity E D e u, |
| 46 | let := Intrinsic.UnitaryAwayTopology.nativeUnitaryAwayTopology E D hg hμ v hv e he c u hu (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) |
| 47 | R.thetaTest.test ∈ (RepresentationTheory.Hecke.IntrinsicDatum.SphericalActionIntrinsic.nativeDatum E D hg hμ v hv e he c u hu |
| 48 | (Intrinsic.PELLevel.nativePELLevel E D hg hμ v hv e he c u hu (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) hlevel)).sphericalInputs ∧ |
| 49 | ∃ a : RepresentationTheory.Hecke.RadialDilation.TestSections.Realization.lcCompactSpace (RepresentationTheory.Hecke.RadialDilation.FiniteBlockChart.Realization.FiniteAwayPosition q D.pel.reference.distinguished), a ≠ 0 ∧ |
| 50 | ∃ b : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q, |
| 51 | AuxiliaryCoordinate.Local.auxiliaryCoordinateRadialEmbedding q D.pel.reference.distinguished D.weil u a b = R.thetaTest.test := by |
| 52 | obtain ⟨u, huS, hu, hactive, hradial⟩ := GoodPrimeTest.Intrinsic.native_retained_test_at_good_prime hLocalWeil E D hg hq |
| 53 | hμ v hv e he c hn T hlarge |
| 54 | refine ⟨u, huS, hu, ?_⟩ |
| 55 | dsimp only |
| 56 | let := Intrinsic.UnitaryAwayTopology.nativeUnitaryAwayTopology E D hg hμ v hv e he c u hu (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) |
| 57 | let L := Intrinsic.PELLevel.nativePELLevel E D hg hμ v hv e he c u hu (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) hlevel |
| 58 | have haway := Intrinsic.AwayFixed.native_retained_principal_away_fixed E D hg hq hμ v hv e he c u hu |
| 59 | T R.calibration huS hlevel (AdmissibleAwayLevel.Approximation.admissible_lattice_fg E D.pel.reference hg.reference_admissible) |
| 60 | (AdmissibleAwayLevel.Approximation.admissible_lattice_span E D.pel.reference hg.reference_admissible) |
| 61 | (R.projective_dvd.trans hdepth) (R.source_depth D.pel.level hdepth) hactive |
| 62 | exact ⟨Intrinsic.SphericalTest.native_spherical_mem E D hg hμ v hv e he c u hu R.thetaTest.test hactive L haway, hradial⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! The same normalized pre-prime test belongs to the actual principal |
| 67 | spherical space and survives every canonical algebraic theta lift. -/ |
| 68 | |
| 69 | open scoped Classical _root_.Matrix |
| 70 | |
| 71 | open OAI.RepresentationTheory.Hecke.RadialDilation.Cm |
| 72 | |
| 73 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 74 | |
| 75 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 76 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 77 | {Ga MpR MpF MpA : Type} [Group Ga] [TopologicalSpace Ga] |
| 78 | [Group MpR] [Group MpF] [Group MpA] |
| 79 | (D : RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData E K s q (Fin s × Fin 3) Ga MpR MpF MpA) |
| 80 | (hg : D.pel.HasIntegralModelGeometry) (hq : D.pel.IsGoodCompletelySplitPrime) |
| 81 | (hμ : D.pel.reference.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 82 | (R : PreprimeCalibration.Intrinsic.RetainedPreprimeData E D.pel.reference hg.reference_admissible hμ v hv D.weil) |
| 83 | |
| 84 | theorem native_retained_canonical_test |
| 85 | (hLocalWeil : RepresentationTheory.Hecke.RadialDilation.Prerequisites.Core.LocalWeil.Proposition) |
| 86 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (hn : 0 < n) |
| 87 | (hlevel : 0 < D.pel.level) (hdepth : R.depth ∣ D.pel.level) |
| 88 | (hlarge : max 2 (max R.thetaTest.level |
| 89 | (Intrinsic.FiniteCoordinates.nativeCoordinateBound E D.pel.reference hg.reference_admissible v R.coordinates R.pairing)) < q) : |
| 90 | ∃ u : MpF, |
| 91 | D.weil.finite.project u = RepresentationTheory.Hecke.RadialDilation.FiniteConjugation.Realization.finitePadicSymplecticInclusion q |
| 92 | (Intrinsic.FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v R.coordinates R.pairing) ∧ |
| 93 | ∃ hu : Intrinsic.FiniteDilation.NativeFiniteCoordinateIdentity E D R.coordinates u, |
| 94 | let := Intrinsic.UnitaryAwayTopology.nativeUnitaryAwayTopology E D hg hμ v hv R.coordinates R.pairing c u hu |
| 95 | (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) |
| 96 | let L := Intrinsic.PELLevel.nativePELLevel E D hg hμ v hv R.coordinates R.pairing c u hu |
| 97 | (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) hlevel |
| 98 | let N := RepresentationTheory.Hecke.IntrinsicDatum.SphericalActionIntrinsic.nativeDatum E D hg hμ v hv R.coordinates R.pairing c u hu L |
| 99 | ∃ hf : R.thetaTest.test ∈ N.sphericalInputs, |
| 100 | (∀ (i : Fin D.pel.componentCount) |
| 101 | (m : N.domain → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints D.pel.complexSpace) |
| 102 | (Θ : N.sphericalInputs →ₗ[ℂ] D.pel.OneFormsA), |
| 103 | N.IsCanonicalThetaLift hg i m Θ → Θ ⟨R.thetaTest.test, hf⟩ ≠ 0) ∧ |
| 104 | ∃ a : RepresentationTheory.Hecke.RadialDilation.TestSections.Realization.lcCompactSpace (RepresentationTheory.Hecke.RadialDilation.FiniteBlockChart.Realization.FiniteAwayPosition q D.pel.reference.distinguished), a ≠ 0 ∧ |
| 105 | ∃ b : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q, |
| 106 | AuxiliaryCoordinate.Local.auxiliaryCoordinateRadialEmbedding q D.pel.reference.distinguished D.weil u a b = |
| 107 | R.thetaTest.test := by |
| 108 | obtain ⟨u, hproject, hu, hf, hradial⟩ := |
| 109 | native_retained_spherical_test E D hg hq hμ v hv R hLocalWeil c hn hlevel hdepth hlarge |
| 110 | refine ⟨u, hproject, hu, ?_⟩ |
| 111 | dsimp only |
| 112 | let := Intrinsic.UnitaryAwayTopology.nativeUnitaryAwayTopology E D hg hμ v hv R.coordinates R.pairing c u hu |
| 113 | (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) |
| 114 | let L := Intrinsic.PELLevel.nativePELLevel E D hg hμ v hv R.coordinates R.pairing c u hu |
| 115 | (Intrinsic.UnitaryAwayDensity.nativeUnitaryActivePlace E D) hlevel |
| 116 | refine ⟨hf, ?_, hradial⟩ |
| 117 | intro i m Θ hΘ |
| 118 | exact Intrinsic.ThetaTestNonzero.nativeThetaTest_lift_ne_zero E D hg hμ v hv R.coordinates R.pairing c u hu L |
| 119 | R.thetaTest hf i m Θ hΘ |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CanonicalTest.Intrinsic |