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.AbelianModuli.ReferenceFamily.Cech.Add |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.ExactSequences |
| 3 | |
| 4 | /-! # Sheaf Coefficient Injection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SheafCoefficientInjection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree-one coefficient lifting kills the connecting obstruction and |
| 11 | makes the degree-two coefficient map injective in actual sheaf cohomology. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.TopologicalSpace |
| 14 | |
| 15 | theorem ext_two_kernel_zero_of_ext_one_surjective |
| 16 | {C : Type*} [Category C] [Abelian C] [HasExt.{0} C] |
| 17 | {T : C} {D : ShortComplex C} (hD : D.ShortExact) |
| 18 | (h1 : ∀ u : Ext T D.X₃ 1, ∃ v : Ext T D.X₂ 1, |
| 19 | v.comp (Ext.mk₀ D.g) (add_zero 1) = u) |
| 20 | (a : Ext T D.X₁ 2) (ha : a.comp (Ext.mk₀ D.f) (add_zero 2) = 0) : a = 0 := by |
| 21 | obtain ⟨u, hu⟩ := Ext.covariant_sequence_exact₁ T hD a ha (rfl : 1 + 1 = 2) |
| 22 | obtain ⟨v, hv⟩ := h1 u |
| 23 | have hd : u.comp hD.extClass (rfl : 1 + 1 = 2) = 0 := by |
| 24 | rw [← hv] |
| 25 | simp only [Ext.comp_assoc_of_second_deg_zero, ShortComplex.ShortExact.comp_extClass, Ext.comp_zero] |
| 26 | exact hu.symm.trans hd |
| 27 | |
| 28 | variable {X : TopCat.{0}} {S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{0} X)} |
| 29 | (hS : S.ShortExact) |
| 30 | |
| 31 | local instance coefficientInjectionHasExt : HasExt.{0} (TopCat.Sheaf AddCommGrpCat.{0} X) := |
| 32 | hasExt_of_enoughInjectives _ |
| 33 | |
| 34 | include hS in |
| 35 | theorem sheafH2_injective_of_H1_surjective |
| 36 | (h1 : Function.Surjective ((Sheaf.functorH (Opens.grothendieckTopology X) 1).map S.g)) : |
| 37 | Function.Injective ((Sheaf.functorH (Opens.grothendieckTopology X) 2).map S.f) := by |
| 38 | intro a b hab |
| 39 | have hz : (Sheaf.functorH (Opens.grothendieckTopology X) 2).map S.f (a - b) = 0 := by |
| 40 | rw [map_sub, hab, sub_self] |
| 41 | have hd : a - b = 0 := ext_two_kernel_zero_of_ext_one_surjective |
| 42 | (C := TopCat.Sheaf AddCommGrpCat.{0} X) |
| 43 | (T := (constantSheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).obj |
| 44 | (AddCommGrpCat.of (ULift.{0, 0} ℤ))) hS h1 (a - b) hz |
| 45 | exact sub_eq_zero.mp hd |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SheafCoefficientInjection |