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.Divisors.LineBundles.LineBundle.OpenSectionFrame |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SheafLocalBijectivity |
| 3 | import Mathlib.CategoryTheory.ConcreteCategory.EpiMono |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GlobalFrame |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenRestriction |
| 6 | |
| 7 | /-! # Local Unit Trivialization -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! # LineBundleCycles: a section with genuine unit coordinates on an open cover trivializes the actual line bundle -/ |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 18 | |
| 19 | variable {X : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (U : X.Opens) (s : Γ(L.sheaf, U)) |
| 20 | {ι : Type} (x : ι → X) (V : ι → X.Opens) (hVU : ∀ i, V i ≤ U) |
| 21 | (hV : ∀ i, V i ≤ L.trivializingOpen (x i)) |
| 22 | (hcover : ∀ y ∈ U, ∃ i, y ∈ V i) |
| 23 | (hs : ∀ i, IsUnit (L.sectionFrame (x i) (V i) (hV i) |
| 24 | (L.sheaf.presheaf.map (homOfLE (hVU i)).op s))) |
| 25 | |
| 26 | include hcover hs in |
| 27 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openSectionHom_isIso_of_unit_cover : IsIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen L.sheaf U s) := by |
| 28 | let F : TopCat.Sheaf Ab.{0} U.toScheme := |
| 29 | ⟨(DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme).presheaf, |
| 30 | (DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme).isSheaf⟩ |
| 31 | let G : TopCat.Sheaf Ab.{0} U.toScheme := ⟨(L.sheaf.restrict U.ι).presheaf, (L.sheaf.restrict U.ι).isSheaf⟩ |
| 32 | let φ : F ⟶ G := ⟨(Module.SectionHom.BundleCycles.moduleSectionHomOnOpen L.sheaf U s).mapPresheaf⟩ |
| 33 | apply Scheme.Modules.Hom.isIso_iff_isIso_app.mpr |
| 34 | intro W |
| 35 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 36 | apply SheafLocalBijectivity.BundleCycles.sheafMap_bijective_of_local φ W |
| 37 | intro y hy |
| 38 | obtain ⟨i, hi⟩ := hcover y.val y.property |
| 39 | refine ⟨W ⊓ (U.ι ⁻¹ᵁ V i), inf_le_left, ⟨hy, hi⟩, ?_⟩ |
| 40 | intro S hS |
| 41 | have hSV : U.ι ''ᵁ S ≤ V i := |
| 42 | (U.ι.image_mono (hS.trans inf_le_right)).trans (U.ι.image_preimage_le (V i)) |
| 43 | apply L.openSectionHom_bijective_frame U s (x i) S (hSV.trans (hV i)) |
| 44 | rw [L.sectionFrame_restrict_from_open U s (x i) (hVU i) hSV (hV i)] |
| 45 | exact (hs i).map (X.presheaf.map (homOfLE hSV).op).hom |
| 46 | |
| 47 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.unitSectionTrivializationOnOpen : |
| 48 | L.sheaf.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme := by |
| 49 | letI := L.openSectionHom_isIso_of_unit_cover U s x V hVU hV hcover hs |
| 50 | exact (asIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen L.sheaf U s)).symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | /-! # LineBundleCycles: the actual local trivialization taking a given generator section to one -/ |
| 55 | |
| 56 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 57 | |
| 58 | theorem LineBundle.LocalUnitTrivialization.Cycles.moduleSectionHomOnOpen_inv_generator {X : Scheme.{0}} (M : X.Modules) |
| 59 | (U : X.Opens) (s : Γ(M, U)) [IsIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen M U s)] : |
| 60 | (asIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen M U s)).inv.app ⊤ (Module.SectionHom.BundleCycles.moduleSectionAsGlobal M U s) = (1 : Γ(U.toScheme, ⊤)) := by |
| 61 | have h := Module.SectionHom.BundleCycles.moduleSectionHom_app_top_one (M.restrict U.ι) (Module.SectionHom.BundleCycles.moduleSectionAsGlobal M U s) |
| 62 | have hi := congrArg (fun k : DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme ⟶ |
| 63 | DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme => k.app ⊤ (1 : Γ(U.toScheme, ⊤))) |
| 64 | (asIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen M U s)).hom_inv_id |
| 65 | exact (congrArg (fun z => (asIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen M U s)).inv.app ⊤ z) h.symm).trans hi |
| 66 | |
| 67 | variable {X : Scheme.{0}} (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (x : X) (U : X.Opens) |
| 68 | (hU : U ≤ L.trivializingOpen x) (s : Γ(L.sheaf, U)) (hs : IsUnit (L.sectionFrame x U hU s)) |
| 69 | |
| 70 | include hU hs in |
| 71 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.localUnitSectionHom_isIso : IsIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen L.sheaf U s) := by |
| 72 | apply L.openSectionHom_isIso_of_unit_cover U s (fun _ : Unit => x) (fun _ => U) |
| 73 | (fun _ => le_rfl) (fun _ => hU) (fun _ hy => ⟨(), hy⟩) |
| 74 | intro _ |
| 75 | change IsUnit (L.sectionFrame x U hU (L.sheaf.presheaf.map (𝟙 _) s)) |
| 76 | rw [L.sheaf.presheaf.map_id] |
| 77 | exact hs |
| 78 | |
| 79 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.localUnitSectionTrivialization : L.sheaf.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme := by |
| 80 | letI := L.localUnitSectionHom_isIso x U hU s hs |
| 81 | exact (asIso (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen L.sheaf U s)).symm |
| 82 | |
| 83 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.localUnitSectionTrivialization_generator : |
| 84 | LineBundle.GlobalFrame.Cycles.lineBundleGlobalFrame (L := L.restrictToOpen U.ι) (L.localUnitSectionTrivialization x U hU s hs) ⊤ |
| 85 | (Module.SectionHom.BundleCycles.moduleSectionAsGlobal L.sheaf U s) = 1 := by |
| 86 | let := L.localUnitSectionHom_isIso x U hU s hs |
| 87 | exact LineBundle.LocalUnitTrivialization.Cycles.moduleSectionHomOnOpen_inv_generator L.sheaf U s |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Divisors.LineBundles |