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.SheafCohomology.Projective.BaseGlobalRestriction |
| 2 | |
| 3 | /-! # Base Top Section Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.BaseTopSectionEquiv |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The two actual base-ring actions on top sections are identified by |
| 10 | the canonical restriction map on the top open. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseGlobalRestriction |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | def baseTopSectionEquiv {X S : Scheme.{u}} (f : X ⟶ S) (M : X.Modules) : |
| 19 | letI := SheafCohomology.Projective.BaseZeroSections.baseGlobalSectionsModule f M |
| 20 | Γ(M, ⊤) ≃ₗ[Γ(S, ⊤)] (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf f M).obj (op ⊤) := by |
| 21 | letI := SheafCohomology.Projective.BaseZeroSections.baseGlobalSectionsModule f M |
| 22 | let a := SheafCohomology.Projective.BaseGlobalRestriction.baseGlobalRestriction f M ⊤ |
| 23 | have ha (s : Γ(M, ⊤)) : a s = s := by |
| 24 | change M.presheaf.map (𝟙 (op ⊤)) s = s |
| 25 | rw [M.presheaf.map_id] |
| 26 | rfl |
| 27 | exact LinearEquiv.ofBijective a ⟨fun x y h => (ha x).symm.trans (h.trans (ha y)), |
| 28 | fun s => ⟨s, ha s⟩⟩ |
| 29 | |
| 30 | theorem baseTopSectionEquiv_apply {X S : Scheme.{u}} (f : X ⟶ S) (M : X.Modules) |
| 31 | (s : Γ(M, ⊤)) : baseTopSectionEquiv f M s = s := by |
| 32 | change M.presheaf.map (𝟙 (op ⊤)) s = s |
| 33 | rw [M.presheaf.map_id] |
| 34 | rfl |
| 35 | |
| 36 | theorem baseTopSectionEquiv_symm_apply {X S : Scheme.{u}} (f : X ⟶ S) (M : X.Modules) |
| 37 | (s : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf f M).obj (op ⊤)) : |
| 38 | (baseTopSectionEquiv f M).symm s = s := by |
| 39 | have h := (baseTopSectionEquiv f M).apply_symm_apply s |
| 40 | rwa [baseTopSectionEquiv_apply] at h |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.BaseTopSectionEquiv |