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.NumberTheory.PadicHodge.IntegralComparison.Projective.ComplementAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.ZeroComplementComplex |
| 4 | |
| 5 | /-! # Supported Survivor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.SupportedSurvivor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A genuine closed direct image, or an isomorphic surviving |
| 12 | cohomology sheaf, has canonical supported extension from every open |
| 13 | containing the closed subscheme. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 20 | |
| 21 | theorem preimage_outside : f ⁻¹ᵁ SectionIdealPuncturedCover.outside f.ker = ⊥ := by |
| 22 | apply le_antisymm |
| 23 | · intro x hx |
| 24 | change f x ∉ f.ker.support at hx |
| 25 | exact False.elim (hx (by |
| 26 | change f x ∈ (f.ker.support : Set Y) |
| 27 | rw [Scheme.Hom.support_ker] |
| 28 | exact subset_closure ⟨x, rfl⟩)) |
| 29 | · exact bot_le |
| 30 | |
| 31 | theorem outside_kernel : RingHom.ker |
| 32 | (f.app (SectionIdealPuncturedCover.outside f.ker)).hom = ⊤ := by |
| 33 | let : Subsingleton Γ(X, f ⁻¹ᵁ SectionIdealPuncturedCover.outside f.ker) := by |
| 34 | rw [preimage_outside] |
| 35 | infer_instance |
| 36 | apply Ideal.eq_top_of_isUnit_mem _ (x := 1) _ isUnit_one |
| 37 | change f.app _ 1 = 0 |
| 38 | exact Subsingleton.elim _ _ |
| 39 | |
| 40 | variable (N : X.Modules) (S : Y.Modules) (e : S ≅ (Scheme.Modules.pushforward f).obj N) |
| 41 | |
| 42 | abbrev sheaf := (SheafOfModules.toSheaf Y.ringCatSheaf).obj S |
| 43 | |
| 44 | include N e in |
| 45 | theorem sections_zero : IsZero ((sheaf S).obj.obj |
| 46 | (op (SectionIdealPuncturedCover.outside f.ker))) := by |
| 47 | have hz := Projective.ComplementAdjunction.directImage_sections_zero f N |
| 48 | (SectionIdealPuncturedCover.outside f.ker) (outside_kernel f) |
| 49 | have hz' := (forget₂ (ModuleCat Γ(Y, SectionIdealPuncturedCover.outside f.ker)) AddCommGrpCat).map_isZero hz |
| 50 | exact hz'.of_iso |
| 51 | (((CategoryTheory.evaluation Y.Opensᵒᵖ AddCommGrpCat).obj |
| 52 | (op (SectionIdealPuncturedCover.outside f.ker))).mapIso |
| 53 | ((sheafToPresheaf _ _).mapIso ((SheafOfModules.toSheaf Y.ringCatSheaf).mapIso e))) |
| 54 | |
| 55 | abbrev single (c : ℕ) := (HomologicalComplex.single |
| 56 | (Sheaf (Opens.grothendieckTopology Y) AddCommGrpCat.{u}) (.up ℕ) c).obj (sheaf S) |
| 57 | |
| 58 | include N e in |
| 59 | theorem terms_zero (c q : ℕ) : IsZero (((SupportedSurvivor.single S c).X q).obj.obj |
| 60 | (op (SectionIdealPuncturedCover.outside f.ker))) := by |
| 61 | let E := sheafToPresheaf (Opens.grothendieckTopology Y) AddCommGrpCat.{u} ⋙ |
| 62 | (CategoryTheory.evaluation Y.Opensᵒᵖ AddCommGrpCat).obj |
| 63 | (op (SectionIdealPuncturedCover.outside f.ker)) |
| 64 | by_cases hq : q = c |
| 65 | · subst q |
| 66 | exact (sections_zero f N S e).of_iso (E.mapIso (singleObjXSelf (.up ℕ) c (sheaf S))) |
| 67 | · exact E.map_isZero (isZero_single_obj_X (.up ℕ) c (sheaf S) q hq) |
| 68 | |
| 69 | variable (U : Y.Opens) (hU : ⊤ ≤ f ⁻¹ᵁ U) (c : ℕ) |
| 70 | |
| 71 | abbrev lift := Supported.ZeroComplementComplex.lift |
| 72 | (SectionIdealPuncturedCover.outside f.ker) U (SupportedSurvivor.single S c) (terms_zero f N S e c) |
| 73 | |
| 74 | abbrev homology_extension (q : ℕ) := Supported.ZeroComplementComplex.homology_extension |
| 75 | (SectionIdealPuncturedCover.outside f.ker) U |
| 76 | (SectionIdealPuncturedCover.section_global U f hU) (SupportedSurvivor.single S c) (terms_zero f N S e c) q |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.SupportedSurvivor |