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.AbelianScheme.TateComparison.Data |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceAllTests |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ProductGeometry |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 5 | |
| 6 | /-! # Albanese Trace -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The IntegralModel geometry supplies the hypotheses for the actual algebraic |
| 13 | trace from the moduli space to its product Albanese over the number field. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | theorem AlbaneseTrace.over_iso_separated {S : Scheme.{0}} {X Y : Over S} |
| 20 | (e : X ≅ Y) [IsSeparated Y.hom] : IsSeparated X.hom := by |
| 21 | have : IsIso e.hom.left := inferInstanceAs (IsIso ((Over.forget S).map e.hom)) |
| 22 | rw [← e.hom.w] |
| 23 | infer_instance |
| 24 | |
| 25 | theorem AlbaneseTrace.finite_product_separated {S : Scheme.{0}} (n : ℕ) (X : Fin n → Over S) |
| 26 | [∀ i, IsSeparated (X i).hom] : IsSeparated (∏ᶜ X).hom := by |
| 27 | induction n with |
| 28 | | zero => |
| 29 | have : IsSeparated (𝟙_ (Over S)).hom := inferInstanceAs (IsSeparated (𝟙 S)) |
| 30 | exact AlbaneseTrace.over_iso_separated (PELModuli.IntegralModel.ProductGeometry.piZeroIso X) |
| 31 | | succ n ih => |
| 32 | have : IsSeparated (∏ᶜ fun i : Fin n => X i.succ).hom := ih (fun i => X i.succ) |
| 33 | have : IsSeparated (X 0 ⊗ ∏ᶜ fun i : Fin n => X i.succ).hom := by |
| 34 | change IsSeparated (pullback.fst (X 0).hom (∏ᶜ fun i : Fin n => X i.succ).hom ≫ (X 0).hom) |
| 35 | infer_instance |
| 36 | exact AlbaneseTrace.over_iso_separated (PELModuli.IntegralModel.ProductGeometry.piSuccIso X) |
| 37 | |
| 38 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 39 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 40 | (D : Data.SphericalPELAlbaneseData E K s q) (h : D.HasIntegralModelGeometry) |
| 41 | |
| 42 | include h |
| 43 | |
| 44 | theorem Data.SphericalPELAlbaneseData.genericSpace_smooth : Smooth D.space.hom := by |
| 45 | have : Smooth D.model.space.hom := h.smooth |
| 46 | exact inferInstanceAs (Smooth (pullback.snd D.model.space.hom D.generic)) |
| 47 | |
| 48 | theorem Data.SphericalPELAlbaneseData.genericSpace_reduced : IsReduced D.space.left := by |
| 49 | have := D.genericSpace_smooth h |
| 50 | exact Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced D.space.hom |
| 51 | |
| 52 | theorem Data.SphericalPELAlbaneseData.genericSpace_locallyNoetherian : IsLocallyNoetherian D.space.left := by |
| 53 | have := D.genericSpace_smooth h |
| 54 | exact LocallyOfFiniteType.isLocallyNoetherian D.space.hom |
| 55 | |
| 56 | theorem Data.SphericalPELAlbaneseData.albaneseGroup_separated : IsSeparated D.albaneseGroup.X.hom := by |
| 57 | have (j : Fin D.componentCount) : IsSeparated (D.components.A j).X.hom := by |
| 58 | have : IsProper (D.components.A j).X.hom := (h.abelianGeometry j).2.1 |
| 59 | infer_instance |
| 60 | have : IsSeparated (∏ᶜ fun j => (D.components.A j).X).hom := |
| 61 | AlbaneseTrace.finite_product_separated D.componentCount (fun j => (D.components.A j).X) |
| 62 | have : IsSeparated (Products.componentProduct D.components.A).X.hom := |
| 63 | AlbaneseTrace.over_iso_separated (Products.componentProductComparison D.components.A) |
| 64 | exact inferInstanceAs (IsSeparated (pullback.snd (Products.componentProduct D.components.A).X.hom D.generic)) |
| 65 | |
| 66 | /-- The actual finite-etale correspondence trace into the Albanese over K. -/ |
| 67 | def Data.SphericalPELAlbaneseData.albaneseTrace (t : Local.IntegralType s) : D.space ⟶ D.albaneseGroup.X := by |
| 68 | have : IsReduced D.space.left := D.genericSpace_reduced h |
| 69 | have : IsLocallyNoetherian D.space.left := D.genericSpace_locallyNoetherian h |
| 70 | have : IsSeparated D.albaneseGroup.X.hom := D.albaneseGroup_separated h |
| 71 | exact (D.correspondence t).algebraicTrace (D.albaneseMap h) |
| 72 | |
| 73 | theorem Data.SphericalPELAlbaneseData.albaneseTrace_geometric (t : Local.IntegralType s) {k : Type} [Field k] [IsAlgClosed k] |
| 74 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : Over.mk b ⟶ D.space) : |
| 75 | x ≫ D.albaneseTrace h t = |
| 76 | (((D.correspondence t).neighbors b x).map (fun y => y ≫ D.albaneseMap h)).prod := by |
| 77 | have : IsReduced D.space.left := D.genericSpace_reduced h |
| 78 | have : IsLocallyNoetherian D.space.left := D.genericSpace_locallyNoetherian h |
| 79 | have : IsSeparated D.albaneseGroup.X.hom := D.albaneseGroup_separated h |
| 80 | exact (D.correspondence t).algebraicTrace_geometric (D.albaneseMap h) b x |
| 81 | |
| 82 | theorem Data.SphericalPELAlbaneseData.albaneseTrace_local (t : Local.IntegralType s) {T : Over (Spec (.of K))} |
| 83 | (x : T ⟶ D.space) {n : ℕ} (e : (D.correspondence t).BranchSplitting x n) : |
| 84 | x ≫ D.albaneseTrace h t = |
| 85 | ∏ i : Fin n, (D.correspondence t).endpoint ((D.correspondence t).splitBranch x e i) ≫ D.albaneseMap h := by |
| 86 | have : IsReduced D.space.left := D.genericSpace_reduced h |
| 87 | have : IsLocallyNoetherian D.space.left := D.genericSpace_locallyNoetherian h |
| 88 | have : IsSeparated D.albaneseGroup.X.hom := D.albaneseGroup_separated h |
| 89 | exact (D.correspondence t).algebraicTrace_local (D.albaneseMap h) x e |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |