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.PullbackModuleSections |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleProperTriviality |
| 4 | |
| 5 | /-! # Lifted Trivializing Section -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LiftedTrivializingSection.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A lifted trivializing section produces a morphism that is invertible on the specified fiber. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) |
| 18 | |
| 19 | theorem modulePullbackGlobalSection_one : |
| 20 | PullbackModuleSections.Construction.modulePullbackGlobalSection f (LineBundle.Construction.structureSheafModule Y) (1 : Γ(Y, ⊤)) = |
| 21 | (LineBundle.Construction.pullbackStructureSheafIso f).inv.app ⊤ (1 : Γ(X, ⊤)) := by |
| 22 | apply (ConcreteCategory.bijective_of_isIso ((LineBundle.Construction.pullbackStructureSheafIso f).hom.app ⊤)).injective |
| 23 | have h₁ : f.appTop (1 : Γ(Y, ⊤)) = (1 : Γ(X, ⊤)) := f.appTop.hom.map_one |
| 24 | have h₂ := congrArg (fun q : LineBundle.Construction.structureSheafModule X ⟶ LineBundle.Construction.structureSheafModule X ↦ |
| 25 | q.app ⊤ (1 : Γ(X, ⊤))) (LineBundle.Construction.pullbackStructureSheafIso f).inv_hom_id |
| 26 | exact (PullbackModuleSections.Construction.modulePullbackGlobalSection_unit f 1).trans (h₁.trans h₂.symm) |
| 27 | |
| 28 | theorem structureSheafHomEquiv_pullback (q : LineBundle.Construction.structureSheafModule Y ⟶ M) : |
| 29 | ModuleSections.Construction.structureSheafHomEquiv ((Scheme.Modules.pullback f).obj M) |
| 30 | ((LineBundle.Construction.pullbackStructureSheafIso f).inv ≫ (Scheme.Modules.pullback f).map q) = |
| 31 | PullbackModuleSections.Construction.modulePullbackGlobalSection f M (ModuleSections.Construction.structureSheafHomEquiv M q) := by |
| 32 | have h := PullbackModuleSections.Construction.modulePullbackGlobalSection_naturality f q (1 : Γ(Y, ⊤)) |
| 33 | rw [modulePullbackGlobalSection_one] at h |
| 34 | exact h |
| 35 | |
| 36 | theorem exists_isIso_pullback_of_sections_surjective |
| 37 | (e : (Scheme.Modules.pullback f).obj M ≅ LineBundle.Construction.structureSheafModule X) |
| 38 | (hs : Function.Surjective (PullbackModuleSections.Construction.modulePullbackGlobalSection f M)) : |
| 39 | ∃ q : LineBundle.Construction.structureSheafModule Y ⟶ M, IsIso ((Scheme.Modules.pullback f).map q) := by |
| 40 | obtain ⟨m, hm⟩ := hs (ModuleSections.Construction.structureSheafHomEquiv ((Scheme.Modules.pullback f).obj M) e.inv) |
| 41 | let q := (ModuleSections.Construction.structureSheafHomEquiv M).symm m |
| 42 | have hq : (LineBundle.Construction.pullbackStructureSheafIso f).inv ≫ (Scheme.Modules.pullback f).map q = e.inv := by |
| 43 | apply (ModuleSections.Construction.structureSheafHomEquiv ((Scheme.Modules.pullback f).obj M)).injective |
| 44 | rw [structureSheafHomEquiv_pullback] |
| 45 | change PullbackModuleSections.Construction.modulePullbackGlobalSection f M ((ModuleSections.Construction.structureSheafHomEquiv M) ((ModuleSections.Construction.structureSheafHomEquiv M).symm m)) = _ |
| 46 | rw [Equiv.apply_symm_apply] |
| 47 | exact hm |
| 48 | have hIso : IsIso ((LineBundle.Construction.pullbackStructureSheafIso f).inv ≫ (Scheme.Modules.pullback f).map q) := by |
| 49 | rw [hq] |
| 50 | infer_instance |
| 51 | exact ⟨q, IsIso.of_isIso_comp_left (LineBundle.Construction.pullbackStructureSheafIso f).inv ((Scheme.Modules.pullback f).map q)⟩ |
| 52 | |
| 53 | theorem lineBundle_trivial_near_fiber_of_sections_surjective |
| 54 | {T B : Scheme.{u}} (π : T ⟶ B) [UniversallyClosed π] |
| 55 | (L : T.Modules) (hL : LineBundle.Construction.IsLineBundle L) (b : B) |
| 56 | (e : (Scheme.Modules.pullback (π.fiberι b)).obj L ≅ LineBundle.Construction.structureSheafModule (π.fiber b)) |
| 57 | (hs : Function.Surjective (PullbackModuleSections.Construction.modulePullbackGlobalSection (π.fiberι b) L)) : |
| 58 | ∃ W : B.Opens, b ∈ W ∧ |
| 59 | Nonempty ((Scheme.Modules.pullback (π ⁻¹ᵁ W).ι).obj L ≅ LineBundle.Construction.structureSheafModule (π ⁻¹ᵁ W).toScheme) := by |
| 60 | obtain ⟨q, hq⟩ := exists_isIso_pullback_of_sections_surjective (π.fiberι b) L e hs |
| 61 | exact LineBundleProperTriviality.Construction.lineBundle_trivial_near_fiber_of_global_section π L hL q b |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LiftedTrivializingSection.Construction |