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.IsogenyQuotient.ParameterKernels |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IsogenyQuotient.ParameterKernelPullback |
| 3 | |
| 4 | /-! # Universal Parameter Kernels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IsogenyQuotient.UniversalParameterKernels |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullback of the represented universal tuple is precisely the kernel |
| 11 | tuple classified by each original source-fiber branch on every test. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.KernelChoice.CM |
| 16 | |
| 17 | variable {E L K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [Field L] [NumberField L] {κ : L →+* ℂ} [Field K] [CharZero K] |
| 19 | {q s g N : ℕ} [Fact q.Prime] |
| 20 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice L κ q) (iota : E →+* L) (hsplit : j.HasSplitCoordinates iota) |
| 21 | (M : Over (Spec (.of K))) |
| 22 | (F : AbelianScheme.TateComparison.PEL.PELFamilyData (NumberField.RingOfIntegers E) g N M.left) |
| 23 | (h : ℕ) (labels : Fin s → Gal(E/ℚ)) (a : Fin s → Fin 3 → ℕ) |
| 24 | [∀ v, Module (ZMod (q ^ h)) (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (a v))] |
| 25 | (Q : Over M.left) (repr : (ParameterKernels.nativeKernelFunctor j iota hsplit M F h labels a).RepresentableBy Q) |
| 26 | |
| 27 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 28 | |
| 29 | abbrev representedChoices : HeckeCycles.Intrinsic.ParameterKernels.CM.Parameters j iota hsplit F Q h labels a := |
| 30 | AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.universalBlockChoice (q ^ h) s (fun v => AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (a v)) |
| 31 | (fun v => HeckeCycles.Intrinsic.KernelChoice.CM.projector j iota hsplit F h (labels v)) repr |
| 32 | |
| 33 | def representedKernels : AbelianScheme.TateComparison.Subgroups.KernelChoices (F.pullback Q.hom) |
| 34 | (fun v => j.localCharacter iota (labels v)) h a := |
| 35 | HeckeCycles.Intrinsic.ParameterKernels.CM.kernelEquiv j iota hsplit F M.hom Q h labels a |
| 36 | (representedChoices j iota hsplit M F h labels a Q repr) |
| 37 | |
| 38 | omit [CharZero K] in |
| 39 | theorem representedChoices_at_branch (T : Over (Spec (.of K))) (x : T ⟶ M) |
| 40 | (c : AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction.SourceFiber (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource M Q) x) : |
| 41 | ParameterKernelPullback.nativeChoiceRestriction j iota hsplit F (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterFiberLiftEquiv M Q T x c) h labels a |
| 42 | (representedChoices j iota hsplit M F h labels a Q repr) = |
| 43 | ParameterKernels.parameterBranchChoices j iota hsplit M F h labels a Q repr T x c := by |
| 44 | funext v |
| 45 | apply Subtype.ext |
| 46 | apply AbelianScheme.TorsionQuotient.SubgroupFunctor.SubgroupChoice.ext |
| 47 | exact (AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.universalBlockChoice_pullback (q ^ h) s (fun v => AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (a v)) |
| 48 | (fun v => HeckeCycles.Intrinsic.KernelChoice.CM.projector j iota hsplit F h (labels v)) repr |
| 49 | (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterFiberLiftEquiv M Q T x c) v).symm |
| 50 | |
| 51 | theorem representedKernels_at_branch (T : Over (Spec (.of K))) (x : T ⟶ M) |
| 52 | (c : AbelianScheme.IsogenyQuotient.CorrespondenceFibers.Construction.SourceFiber (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource M Q) x) (v : Fin s) : |
| 53 | let b : Over.mk x.left ⟶ Q := AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterFiberLiftEquiv M Q T x c |
| 54 | (((representedKernels j iota hsplit M F h labels a Q repr).val v).pullback b.left).comapHom |
| 55 | (AbelianScheme.TateComparison.BaseChangeCoherence.baseChangeFactorIso F.abelian b.left Q.hom x.left b.w).hom = |
| 56 | (ParameterKernels.parameterFiberKernelEquiv j iota hsplit M F h labels a Q repr T x c).val v := by |
| 57 | have hk := ParameterKernelPullback.parameterKernel_pullback j iota hsplit F M.hom |
| 58 | (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterFiberLiftEquiv M Q T x c) h labels a |
| 59 | (representedChoices j iota hsplit M F h labels a Q repr) v |
| 60 | rw [representedChoices_at_branch] at hk |
| 61 | exact hk |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IsogenyQuotient.UniversalParameterKernels |