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.OrdinaryPrime |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.HeckeModel |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OppositeChoiceCompatibility |
| 4 | import OAI.RepresentationTheory.Hecke.IntrinsicParameters |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPoints |
| 6 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OrdinaryModel |
| 7 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrimeBounds |
| 8 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.FixedClosureOrdinaryDensity |
| 9 | |
| 10 | /-! # Ordinary Setup -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OrdinarySetup.Intrinsic |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! A common prime for the retained theta test, integral model, and |
| 17 | full dense ordinary reduction. The comparison closures remain free to |
| 18 | be selected afterwards, so the native opposite place uses this same q. -/ |
| 19 | |
| 20 | open scoped Classical _root_.Matrix |
| 21 | open _root_.CategoryTheory |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OppositeChoiceCompatibility.ParameterChoices |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.FixedClosureOrdinaryDensity.Ordinary |
| 25 | |
| 26 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 27 | |
| 28 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPoints.Construction OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM |
| 29 | |
| 30 | theorem exists_retained_ordinary_setup |
| 31 | (hOpenness : PELModuli.CMPoints.OrdinaryReduction.OpennessInput) (hSplitPrimes : PELModuli.CMPoints.Arithmetic.SplitPrimesInput) |
| 32 | (hHilb : PELModuli.IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) (hEnd : PELModuli.IntegralModel.Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 33 | (hCMAbelianVarietyA : PELModuli.CMPoints.Descent.AbelianInput) (hCMAbelianVarietyM : PELModuli.CMPoints.Descent.ModuliInput) |
| 34 | (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 35 | {s : ℕ} (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 36 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 37 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 38 | {MpR MpF MpA : Type} [Group MpR] [Group MpF] [Group MpA] |
| 39 | (W : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData (Fin s × Fin 3) MpR MpF MpA) |
| 40 | (R : PreprimeCalibration.Intrinsic.RetainedPreprimeData E P hP hμ v hv W) |
| 41 | (M : Moduli.Intrinsic.RetainedModuli E P hP hμ v hv W R) |
| 42 | (ιE : E →ₐ[ℚ] ParameterChoices.Qbar) |
| 43 | (excluded : Finset ℕ) (bound : ℕ) : |
| 44 | let Q := OrdinaryModel.Intrinsic.retainedOrdinaryModel E P hP hμ v hv W R M |
| 45 | ∃ (q : ℕ) (hq : q.Prime), |
| 46 | letI : Fact q.Prime := ⟨hq⟩ |
| 47 | bound < q ∧ q ∉ excluded ∧ PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt E q ∧ |
| 48 | PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt M.integral.base.extension.carrier q ∧ |
| 49 | PrimeBounds.Intrinsic.RetainedPrimeConditions E P hP hμ v hv W R M q ∧ |
| 50 | ∃ j₀ : PELModuli.CMPoints.Arithmetic.QadicChoice M.integral.base.extension.carrier M.integral.base.embedding q, |
| 51 | ∀ C : AbelianScheme.TateComparison.Local.IntegralType s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence |
| 52 | ((Over.pullback M.integral.base.generic).obj M.integral.spread.toOver), |
| 53 | let D := HeckeModel.Intrinsic.retainedHeckeModel E P hP hμ v hv W R M j₀ C |
| 54 | ∃ j : Q.QadicChoice q, |
| 55 | j.complexClosure = RepresentationTheory.Hecke.IntrinsicParameters.GaloisValuationIntrinsic.complexEmbedding E ιE ∧ |
| 56 | j.iota = Intrinsic.OppositeParameters.ParameterChoices.nativeOppositeClosureEmbedding E ιE D ∧ |
| 57 | (HeckeCycles.QadicModelMap.CM.localFieldEmbedding j).comp (algebraMap E M.integral.base.extension.carrier) = |
| 58 | LocalEmbedding.ParameterChoices.nativeFieldEmbedding D (P.distinguished, true) ∧ |
| 59 | j.HasSplitCoordinates Q.extendedEmbedding ∧ |
| 60 | ∃ T : Q.GoodIntegralReduction q j, AbelianScheme.FrobeniusKernel.CMPoints.Construction.GeometricConclusion T := by |
| 61 | let Q := OrdinaryModel.Intrinsic.retainedOrdinaryModel E P hP hμ v hv W R M |
| 62 | obtain ⟨q, hq, hb, hx, hE, hK, hgood, hchoices⟩ := OrdinaryPrime.Intrinsic.exists_retained_dense_ordinary_prime |
| 63 | hOpenness hSplitPrimes hHilb hEnd hCMAbelianVarietyA hCMAbelianVarietyM E hs hdegree P hP hμ v hv W R M excluded bound |
| 64 | let : Fact q.Prime := ⟨hq⟩ |
| 65 | obtain ⟨j₀⟩ := hgood.qadic_choice hK |
| 66 | refine ⟨q, hq, hb, hx, hE, hK, hgood, j₀, ?_⟩ |
| 67 | intro C |
| 68 | let D := HeckeModel.Intrinsic.retainedHeckeModel E P hP hμ v hv W R M j₀ C |
| 69 | have hg := HeckeModel.Intrinsic.retainedHeckeModel_geometry E P hP hμ v hv W R M j₀ C |
| 70 | have hqD := HeckeModel.Intrinsic.retainedHeckeModel_good_prime E P hP hμ v hv W R M j₀ C hgood |
| 71 | obtain ⟨j, hc, hop, hfield, hsplit, T, ho, hrest⟩ := |
| 72 | hchoices (RepresentationTheory.Hecke.IntrinsicParameters.GaloisValuationIntrinsic.complexEmbedding E ιE) (Intrinsic.OppositeParameters.ParameterChoices.nativeOppositeClosureEmbedding E ιE D) |
| 73 | have hj := OppositeChoiceCompatibility.ParameterChoices.opposite_choice_local_embedding E ιE D hg hμ hqD |
| 74 | (RepresentationTheory.Hecke.IntrinsicParameters.GaloisValuationIntrinsic.complexEmbedding E ιE) |
| 75 | (fun x => RepresentationTheory.Hecke.IntrinsicArithmetic.GaloisValuationIntrinsic.extendAlgebraicEmbedding_spec ιE E.val.toRingHom x) j hop hfield |
| 76 | exact ⟨j, hc, hop, hj, hsplit, T, ho, hrest⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OrdinarySetup.Intrinsic |