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.GlobalSectionsMono |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Kernels |
| 3 | |
| 4 | /-! # Global Sections Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The kernel universal property on actual global sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem exists_globalSection_kernel_preimage {X : Scheme.{u}} {M N : X.Modules} |
| 16 | (f : M ⟶ N) (x : Γ(M, ⊤)) (hx : f.app ⊤ x = 0) : |
| 17 | ∃ y : Γ(kernel f, ⊤), (kernel.ι f).app ⊤ y = x := by |
| 18 | let g := (UnitHomTopSections.unitHomTopSectionsEquiv M).symm x |
| 19 | have hg : g ≫ f = 0 := by |
| 20 | apply (UnitHomTopSections.unitHomTopSectionsEquiv N).injective |
| 21 | change UnitHomTopSections.unitHomTopSectionsEquiv N (g ≫ f) = 0 |
| 22 | rw [GlobalSectionsMono.unitHomTopSectionsEquiv_comp] |
| 23 | exact (congrArg (f.app ⊤) ((UnitHomTopSections.unitHomTopSectionsEquiv M).apply_symm_apply x)).trans hx |
| 24 | refine ⟨UnitHomTopSections.unitHomTopSectionsEquiv (kernel f) (kernel.lift f g hg), ?_⟩ |
| 25 | rw [← GlobalSectionsMono.unitHomTopSectionsEquiv_comp, kernel.lift_ι] |
| 26 | exact (UnitHomTopSections.unitHomTopSectionsEquiv M).apply_symm_apply x |
| 27 | |
| 28 | theorem globalSections_exact_kernel {X : Scheme.{u}} {M N : X.Modules} (f : M ⟶ N) : |
| 29 | Function.Exact ((kernel.ι f).app ⊤) (f.app ⊤) := by |
| 30 | intro x |
| 31 | constructor |
| 32 | · exact exists_globalSection_kernel_preimage f x |
| 33 | · rintro ⟨y, rfl⟩ |
| 34 | change (kernel.ι f ≫ f).app ⊤ y = 0 |
| 35 | rw [kernel.condition] |
| 36 | rfl |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsKernel |