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.AbelianModuli.HilbertConstruction.Section.SectionRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Gluing |
| 3 | import Mathlib.CategoryTheory.HomCongr |
| 4 | |
| 5 | /-! # Sections On Open Images -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionsOnOpenImages |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Identify sections of canonical pullbacks along open immersions with sections |
| 13 | on their image opens. This permits ordinary sheaf gluing of the local power |
| 14 | sections constructed in the affine-chart extension argument. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 22 | |
| 23 | /-- The source-frame correction comparing canonical pullback with explicit restriction. -/ |
| 24 | def pullbackImageSourceIso : Line.Bundles.structureModule X ≅ Line.Bundles.structureModule X := |
| 25 | (Scheme.Modules.restrictUnitIso f).symm ≪≫ |
| 26 | (Scheme.Modules.restrictFunctorIsoPullback f).app (Line.Bundles.structureModule Y) ≪≫ |
| 27 | Line.Bundles.structureModulePullbackIso f |
| 28 | |
| 29 | /-- Sections of a pulled-back module on an open immersion are precisely |
| 30 | sections of the original module on the image open. -/ |
| 31 | def pullbackSectionImageEquiv (M : Y.Modules) : |
| 32 | (Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj M) ≃ Γ(M, f ''ᵁ ⊤) := |
| 33 | ((pullbackImageSourceIso f).symm.homCongr |
| 34 | ((Scheme.Modules.restrictFunctorIsoPullback f).app M).symm).trans |
| 35 | (Global.Sections.moduleSectionHomEquiv (M.restrict f)) |
| 36 | |
| 37 | /-- Under the image-section equivalence, a pulled-back global section is its |
| 38 | usual restriction to the image open. -/ |
| 39 | theorem pullbackSectionImageEquiv_pullback (M : Y.Modules) (s : Line.Bundles.structureModule Y ⟶ M) : |
| 40 | pullbackSectionImageEquiv f M (Ample.LineBundles.pullbackSection f s) = s.app (f ''ᵁ ⊤) (1 : Γ(Y, f ''ᵁ ⊤)) := by |
| 41 | let E := Scheme.Modules.restrictFunctorIsoPullback f |
| 42 | have h : (pullbackImageSourceIso f).hom ≫ Ample.LineBundles.pullbackSection f s ≫ (E.app M).inv = |
| 43 | Section.SectionRestriction.restrictSection f s := by |
| 44 | let u : (Scheme.Modules.pullback f).obj (Line.Bundles.structureModule Y) ≅ Line.Bundles.structureModule X := |
| 45 | Line.Bundles.structureModulePullbackIso f |
| 46 | let v : (Line.Bundles.structureModule Y).restrict f ≅ Line.Bundles.structureModule X := Scheme.Modules.restrictUnitIso f |
| 47 | let E₀ : (Line.Bundles.structureModule Y).restrict f ≅ (Scheme.Modules.pullback f).obj (Line.Bundles.structureModule Y) := |
| 48 | E.app (Line.Bundles.structureModule Y) |
| 49 | let E₁ : M.restrict f ≅ (Scheme.Modules.pullback f).obj M := E.app M |
| 50 | have hn : (Scheme.Modules.restrictFunctor f).map s ≫ E₁.hom = |
| 51 | E₀.hom ≫ (Scheme.Modules.pullback f).map s := E.hom.naturality s |
| 52 | change ((v.inv ≫ E₀.hom ≫ u.hom) ≫ (u.inv ≫ (Scheme.Modules.pullback f).map s)) ≫ E₁.inv = |
| 53 | v.inv ≫ (Scheme.Modules.restrictFunctor f).map s |
| 54 | calc |
| 55 | _ = v.inv ≫ (E₀.hom ≫ (Scheme.Modules.pullback f).map s) ≫ E₁.inv := by |
| 56 | simp only [Category.assoc, u.hom_inv_id_assoc] |
| 57 | _ = v.inv ≫ ((Scheme.Modules.restrictFunctor f).map s ≫ E₁.hom) ≫ E₁.inv := |
| 58 | congrArg (fun z => v.inv ≫ z ≫ E₁.inv) hn.symm |
| 59 | _ = v.inv ≫ (Scheme.Modules.restrictFunctor f).map s := by |
| 60 | rw [Category.assoc, E₁.hom_inv_id, Category.comp_id] |
| 61 | exact (congrArg (Global.Sections.moduleSectionHomEquiv (M.restrict f)) h).trans (Section.SectionRestriction.restrictSection_app_one f s ⊤) |
| 62 | |
| 63 | omit [IsOpenImmersion f] in |
| 64 | /-- Compatible image sections glue to a unique global section with the given |
| 65 | canonical pullbacks on all covering schemes. -/ |
| 66 | theorem moduleSection_glue_on_open_images (M : Y.Modules) {ι : Type v} |
| 67 | (T : ι → Scheme.{u}) (g : ∀ i, T i ⟶ Y) [∀ i, IsOpenImmersion (g i)] |
| 68 | (hg : ∀ y : Y, ∃ i, y ∈ g i ''ᵁ (⊤ : (T i).Opens)) |
| 69 | (s : ∀ i, Line.Bundles.structureModule (T i) ⟶ (Scheme.Modules.pullback (g i)).obj M) |
| 70 | (hs : ∀ i j, |
| 71 | M.presheaf.map (homOfLE (show (g i ''ᵁ ⊤) ⊓ (g j ''ᵁ ⊤) ≤ g i ''ᵁ ⊤ from inf_le_left)).op |
| 72 | (pullbackSectionImageEquiv (g i) M (s i)) = |
| 73 | M.presheaf.map (homOfLE (show (g i ''ᵁ ⊤) ⊓ (g j ''ᵁ ⊤) ≤ g j ''ᵁ ⊤ from inf_le_right)).op |
| 74 | (pullbackSectionImageEquiv (g j) M (s j))) : |
| 75 | ∃! t : Line.Bundles.structureModule Y ⟶ M, ∀ i, Ample.LineBundles.pullbackSection (g i) t = s i := by |
| 76 | obtain ⟨t, ht, huniq⟩ := Section.Gluing.moduleSection_glue M (fun i => g i ''ᵁ ⊤) hg |
| 77 | (fun i => pullbackSectionImageEquiv (g i) M (s i)) hs |
| 78 | refine ⟨t, fun i => ?_, fun t' ht' => ?_⟩ |
| 79 | · apply (pullbackSectionImageEquiv (g i) M).injective |
| 80 | exact (pullbackSectionImageEquiv_pullback (g i) M t).trans (ht i) |
| 81 | · apply huniq |
| 82 | intro i |
| 83 | exact (pullbackSectionImageEquiv_pullback (g i) M t').symm.trans |
| 84 | (congrArg (pullbackSectionImageEquiv (g i) M) (ht' i)) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionsOnOpenImages |