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.FreeSheafSections |
| 2 | |
| 3 | /-! # Sections From Cohomology -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SectionsFromCohomology.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Degree-one cohomology vanishing gives lifting of global sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 12 | open _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 17 | [HasSheafify J AddCommGrpCat.{v}] |
| 18 | [HasExt.{w} (CategoryTheory.Sheaf J AddCommGrpCat.{v})] |
| 19 | {T : C} (hT : IsTerminal T) |
| 20 | |
| 21 | include hT in |
| 22 | theorem sections_surjective_of_H_one_zero |
| 23 | (S : ShortComplex (CategoryTheory.Sheaf J AddCommGrpCat.{v})) |
| 24 | (hS : S.ShortExact) [Subsingleton (CategoryTheory.Sheaf.H S.X₁ 1)] : |
| 25 | Function.Surjective (S.g.hom.app (op T)) := by |
| 26 | intro s |
| 27 | let q := (CategoryTheory.Sheaf.H.equiv₀ S.X₃ hT).symm s |
| 28 | obtain ⟨t, ht⟩ := Ext.covariant_sequence_exact₃ _ hS q (rfl : 0 + 1 = 1) |
| 29 | (Subsingleton.elim _ 0) |
| 30 | refine ⟨CategoryTheory.Sheaf.H.equiv₀ S.X₂ hT t, ?_⟩ |
| 31 | rw [CategoryTheory.Sheaf.H.equiv₀_naturality] |
| 32 | change CategoryTheory.Sheaf.H.equiv₀ S.X₃ hT |
| 33 | (t.comp (Ext.mk₀ S.g) (add_zero 0)) = s |
| 34 | rw [ht] |
| 35 | exact (CategoryTheory.Sheaf.H.equiv₀ S.X₃ hT).apply_symm_apply s |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SectionsFromCohomology.Construction |