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.ArithmeticGeometry.OrdinaryLocus.Openness.SectionEvaluationLocal |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorRestriction |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 4 | |
| 5 | /-! # Section Evaluation Iso -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SectionEvaluationIso.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Relative local frames identify the pushforward of a line bundle with its restriction to a section. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem sectionEvaluation_isIso_of_local_frames |
| 18 | {X S : Scheme.{u}} (π : X ⟶ S) (s : S ⟶ X) (hs : s ≫ π = 𝟙 S) |
| 19 | (hf : ∀ U : S.Opens, IsIso (π.app U)) (L : X.Modules) |
| 20 | (hloc : ∀ x : S, ∃ U : S.Opens, x ∈ U ∧ |
| 21 | Nonempty ((Scheme.Modules.pullback (π ⁻¹ᵁ U).ι).obj L ≅ LineBundle.Construction.structureSheafModule (π ⁻¹ᵁ U).toScheme)) : |
| 22 | IsIso (SectionEvaluation.Construction.sectionEvaluation π s hs L) := by |
| 23 | let B : Set S.Opens := {U | Nonempty ((Scheme.Modules.pullback (π ⁻¹ᵁ U).ι).obj L ≅ |
| 24 | LineBundle.Construction.structureSheafModule (π ⁻¹ᵁ U).toScheme)} |
| 25 | have hB : Opens.IsBasis B := by |
| 26 | rw [Opens.isBasis_iff_nbhd] |
| 27 | intro W x hx |
| 28 | obtain ⟨U, hxU, ⟨e⟩⟩ := hloc x |
| 29 | exact ⟨U ⊓ W, ⟨TensorRestriction.Construction.restrictLineBundleTrivialization (π.preimage_mono inf_le_left) e⟩, |
| 30 | ⟨hxU, hx⟩, inf_le_right⟩ |
| 31 | let q := SectionEvaluation.Construction.sectionEvaluation π s hs L |
| 32 | have : IsIso ((SheafOfModules.toSheaf S.ringCatSheaf).map q) := by |
| 33 | apply TopCat.Sheaf.isIso_iff_isIso_basis (B := fun U : B ↦ U.1) |
| 34 | (by simpa only [Subtype.range_val] using hB) |
| 35 | intro U |
| 36 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 37 | exact SectionEvaluationLocal.Construction.sectionEvaluation_app_bijective_of_frame π s hs hf L U.1 U.2.some |
| 38 | have : IsIso ((Scheme.Modules.toPresheaf S).map q) := |
| 39 | inferInstanceAs (IsIso ((sheafToPresheaf _ _).map ((SheafOfModules.toSheaf S.ringCatSheaf).map q))) |
| 40 | exact isIso_of_reflects_iso q (Scheme.Modules.toPresheaf S) |
| 41 | |
| 42 | theorem sectionEvaluation_top_apply |
| 43 | {X S : Scheme.{u}} (π : X ⟶ S) (s : S ⟶ X) (hs : s ≫ π = 𝟙 S) |
| 44 | (L : X.Modules) (m : Γ(L, ⊤)) : |
| 45 | (SectionEvaluation.Construction.sectionEvaluation π s hs L).app ⊤ m = PullbackModuleSections.Construction.modulePullbackGlobalSection s L m := by |
| 46 | have h := SectionEvaluation.Construction.sectionEvaluation_apply π s hs L ⊤ m |
| 47 | change (SectionEvaluation.Construction.sectionEvaluation π s hs L).app ⊤ m = |
| 48 | ((Scheme.Modules.pullback s).obj L).presheaf.map (𝟙 (.op ⊤)) (PullbackModuleSections.Construction.modulePullbackGlobalSection s L m) at h |
| 49 | exact h.trans (congrArg (fun f ↦ f (PullbackModuleSections.Construction.modulePullbackGlobalSection s L m)) |
| 50 | (((Scheme.Modules.pullback s).obj L).presheaf.map_id (.op ⊤))) |
| 51 | |
| 52 | theorem modulePullback_sections_bijective_of_relative_frames |
| 53 | {X S : Scheme.{u}} (π : X ⟶ S) (s : S ⟶ X) (hs : s ≫ π = 𝟙 S) |
| 54 | (hf : ∀ U : S.Opens, IsIso (π.app U)) (L : X.Modules) |
| 55 | (hloc : ∀ x : S, ∃ U : S.Opens, x ∈ U ∧ |
| 56 | Nonempty ((Scheme.Modules.pullback (π ⁻¹ᵁ U).ι).obj L ≅ LineBundle.Construction.structureSheafModule (π ⁻¹ᵁ U).toScheme)) : |
| 57 | Function.Bijective (PullbackModuleSections.Construction.modulePullbackGlobalSection s L) := by |
| 58 | have : IsIso (SectionEvaluation.Construction.sectionEvaluation π s hs L) := sectionEvaluation_isIso_of_local_frames π s hs hf L hloc |
| 59 | have he : ((SectionEvaluation.Construction.sectionEvaluation π s hs L).app ⊤ : Γ(L, ⊤) → Γ((Scheme.Modules.pullback s).obj L, ⊤)) = |
| 60 | PullbackModuleSections.Construction.modulePullbackGlobalSection s L := funext (sectionEvaluation_top_apply π s hs L) |
| 61 | exact he ▸ (ConcreteCategory.bijective_of_isIso ((SectionEvaluation.Construction.sectionEvaluation π s hs L).app ⊤)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SectionEvaluationIso.Construction |