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.HilbertConstruction.Open.InjectiveCokernelSequence |
| 2 | |
| 3 | /-! # Restriction Cohomology Boundary -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionCohomologyBoundary.ZariskiCohomology.LocalKilling |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | universe u |
| 10 | open _root_.CategoryTheory Limits Opposite _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 11 | |
| 12 | theorem openRestrictionPushforwardUnit_HSucc_eq_zero_of_cokernel_killed |
| 13 | {X : Scheme.{u}} {F : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.AbSheaf X} {n : ℕ} |
| 14 | (c : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH F (n + 1)) |
| 15 | (q : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH (cokernel (Injective.ι F)) n) |
| 16 | (hq : q.comp (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl = c) |
| 17 | (U : X.Opens) |
| 18 | (hqU : q.comp (Abelian.Ext.mk₀ |
| 19 | ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app |
| 20 | (cokernel (Injective.ι F)))) rfl = 0) |
| 21 | [IsIso (cokernelComparison (Injective.ι F) |
| 22 | (AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U))] : |
| 23 | (c.comp (Abelian.Ext.mk₀ |
| 24 | ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app F)) rfl : |
| 25 | AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj F) (n + 1)) = 0 := by |
| 26 | let E := AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U |
| 27 | let η := AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U |
| 28 | let i := Injective.ι F |
| 29 | let ζ := InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.openInjectiveCokernelMap U F |
| 30 | let μ := cokernelComparison i E |
| 31 | have hT := InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.openInjectiveCokernelSequence_shortExact U F |
| 32 | change (ShortComplex.mk (E.map i) (cokernel.π (E.map i)) _).ShortExact at hT |
| 33 | have hζμ : ζ ≫ μ = η.app (cokernel i) := by |
| 34 | exact InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.openInjectiveCokernelMap_comp_cokernelComparison U F |
| 35 | have hqζμ : |
| 36 | (q.comp (Abelian.Ext.mk₀ ζ) rfl).comp |
| 37 | (Abelian.Ext.mk₀ μ) rfl = 0 := by |
| 38 | rw [Abelian.Ext.comp_assoc_of_third_deg_zero, |
| 39 | Abelian.Ext.mk₀_comp_mk₀, hζμ] |
| 40 | exact hqU |
| 41 | have hqζ : q.comp (Abelian.Ext.mk₀ ζ) rfl = 0 := by |
| 42 | apply InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.ext_postcomp_mk₀_injective_of_isIso |
| 43 | ((CategoryTheory.constantSheaf |
| 44 | (Opens.grothendieckTopology X) AddCommGrpCat.{u}).obj |
| 45 | (AddCommGrpCat.of (ULift ℤ))) μ n |
| 46 | change |
| 47 | (q.comp (Abelian.Ext.mk₀ ζ) rfl).comp |
| 48 | (Abelian.Ext.mk₀ μ) rfl = |
| 49 | (0 : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH (cokernel (E.map i)) n).comp |
| 50 | (Abelian.Ext.mk₀ μ) rfl |
| 51 | simpa using hqζμ |
| 52 | calc |
| 53 | c.comp (Abelian.Ext.mk₀ (η.app F)) rfl = |
| 54 | (q.comp (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl).comp |
| 55 | (Abelian.Ext.mk₀ (η.app F)) rfl := by rw [hq] |
| 56 | _ = q.comp |
| 57 | ((InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass.comp |
| 58 | (Abelian.Ext.mk₀ (η.app F)) rfl) rfl := by |
| 59 | rw [Abelian.Ext.comp_assoc_of_third_deg_zero] |
| 60 | _ = q.comp ((Abelian.Ext.mk₀ ζ).comp hT.extClass rfl) rfl := by |
| 61 | exact congrArg (fun x ↦ q.comp x rfl) |
| 62 | ((InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass_naturality |
| 63 | hT (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequenceToOpen U F)) |
| 64 | _ = (q.comp (Abelian.Ext.mk₀ ζ) rfl).comp hT.extClass rfl := by |
| 65 | simpa only using (Abelian.Ext.comp_assoc q |
| 66 | (Abelian.Ext.mk₀ ζ) hT.extClass rfl rfl rfl).symm |
| 67 | _ = 0 := by rw [hqζ]; simp |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionCohomologyBoundary.ZariskiCohomology.LocalKilling |