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.RestrictionDegreeOneKilling |
| 2 | |
| 3 | /-! # Local Cohomology Killing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.LocalCohomologyKilling.ZariskiCohomology.LocalKilling |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | universe u |
| 10 | open _root_.CategoryTheory Limits Opposite _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 11 | |
| 12 | theorem exists_affineOpen_HOne_killing |
| 13 | {X : Scheme.{u}} {F : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.AbSheaf X} |
| 14 | (c : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH F 1) |
| 15 | (q : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH (cokernel (Injective.ι F)) 0) |
| 16 | (hq : q.comp (Open.InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl = c) |
| 17 | (x : X) : |
| 18 | ∃ U : X.Opens, IsAffineOpen U ∧ x ∈ U ∧ |
| 19 | (c.comp (Abelian.Ext.mk₀ |
| 20 | ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app F)) rfl : |
| 21 | Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj F) 1) = 0 := by |
| 22 | let π := cokernel.π (Injective.ι F) |
| 23 | have hπepi : Epi π := by |
| 24 | dsimp [π] |
| 25 | infer_instance |
| 26 | let s := CategoryTheory.Sheaf.H.equiv₀ (cokernel (Injective.ι F)) |
| 27 | (isTerminalTop : IsTerminal (⊤ : Opens X)) q |
| 28 | have hlocal : TopCat.Presheaf.IsLocallySurjective π.hom := |
| 29 | (TopCat.Sheaf.isLocallySurjective_iff_epi π).2 hπepi |
| 30 | have hex := (TopCat.Presheaf.isLocallySurjective_iff π.hom).1 hlocal |
| 31 | (⊤ : Opens X) s x (by simp) |
| 32 | rcases hex with ⟨V, hVtop, hpre, hxV⟩ |
| 33 | rcases hpre with ⟨t, ht⟩ |
| 34 | obtain ⟨U, hU, hxU, hUV⟩ := exists_isAffineOpen_mem_and_subset hxV |
| 35 | have hUV' : U ≤ V := hUV |
| 36 | let tU := (Injective.under F).1.map (homOfLE hUV').op t |
| 37 | have htU : π.hom.app (op U) tU = |
| 38 | (cokernel (Injective.ι F)).1.map (homOfLE le_top).op s := by |
| 39 | have ht' := congrArg |
| 40 | (fun y ↦ (cokernel (Injective.ι F)).1.map (homOfLE hUV').op y) ht |
| 41 | dsimp [tU] |
| 42 | rw [← ConcreteCategory.comp_apply, ← π.hom.naturality] at ht' |
| 43 | have hk : (homOfLE hVtop).op ≫ (homOfLE hUV').op = |
| 44 | (homOfLE le_top).op := Subsingleton.elim _ _ |
| 45 | simpa only [TopCat.Presheaf.restrict, ← ConcreteCategory.comp_apply, |
| 46 | ← (cokernel (Injective.ι F)).1.map_comp, hk] using ht' |
| 47 | refine ⟨U, hU, hxU, ?_⟩ |
| 48 | exact Open.RestrictionDegreeOneKilling.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit_HOne_eq_zero_of_section_lift |
| 49 | c q hq U tU htU |
| 50 | |
| 51 | theorem exists_affineOpen_HTwo_killing_of_affine_cokernel_app_surjective |
| 52 | {R : CommRingCat.{u}} {F : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.AbSheaf (Spec R)} |
| 53 | (c : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH F 2) |
| 54 | (q : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH (cokernel (Injective.ι F)) 1) |
| 55 | (hq : q.comp (Open.InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl = c) |
| 56 | (hsurjective : ∀ (W : (Spec R).Opens), IsAffineOpen W → |
| 57 | Function.Surjective |
| 58 | ((cokernel.π (Injective.ι F)).hom.app (op W))) |
| 59 | (x : Spec R) : |
| 60 | ∃ U : (Spec R).Opens, IsAffineOpen U ∧ x ∈ U ∧ |
| 61 | (c.comp (Abelian.Ext.mk₀ |
| 62 | ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app F)) rfl : |
| 63 | Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj F) 2) = 0 := by |
| 64 | obtain ⟨r, hr⟩ := Open.RestrictionDegreeOneKilling.ZariskiCohomology.LocalKilling.exists_injectiveCokernel_class q |
| 65 | obtain ⟨U, hU, hxU, hqU⟩ := |
| 66 | exists_affineOpen_HOne_killing q r hr x |
| 67 | let : IsIso (cokernelComparison (Injective.ι F) |
| 68 | (Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U)) := |
| 69 | Open.RestrictionCokernelComparison.ZariskiCohomology.LocalKilling.openRestrictionPushforward_cokernelComparison_isIso_of_affine_app_surjective |
| 70 | U hU (Injective.ι F) hsurjective |
| 71 | exact ⟨U, hU, hxU, |
| 72 | Open.RestrictionCohomologyBoundary.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit_HSucc_eq_zero_of_cokernel_killed |
| 73 | c q hq U hqU⟩ |
| 74 | |
| 75 | theorem exists_affineOpen_H_succ_killing_of_affine_syzygy_app_surjective |
| 76 | {R : CommRingCat.{u}} {F : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.AbSheaf (Spec R)} (n : ℕ) |
| 77 | (c : Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH F (n + 1)) |
| 78 | (hsurjective : Open.InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.AffineSyzygyAppSurjective F n) |
| 79 | (x : Spec R) : |
| 80 | ∃ U : (Spec R).Opens, IsAffineOpen U ∧ x ∈ U ∧ |
| 81 | (c.comp (Abelian.Ext.mk₀ |
| 82 | ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app F)) rfl : |
| 83 | Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj F) (n + 1)) = 0 := by |
| 84 | induction n generalizing F with |
| 85 | | zero => |
| 86 | obtain ⟨q, hq⟩ := Open.RestrictionDegreeOneKilling.ZariskiCohomology.LocalKilling.exists_injectiveCokernel_class (F := F) c |
| 87 | exact exists_affineOpen_HOne_killing c q hq x |
| 88 | | succ n ih => |
| 89 | cases hsurjective with |
| 90 | | succ hfirst htail => |
| 91 | obtain ⟨q, hq⟩ := Open.RestrictionDegreeOneKilling.ZariskiCohomology.LocalKilling.exists_injectiveCokernel_class (F := F) c |
| 92 | obtain ⟨U, hU, hxU, hqU⟩ := ih q htail |
| 93 | let : IsIso (cokernelComparison (Injective.ι F) |
| 94 | (Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U)) := |
| 95 | Open.RestrictionCokernelComparison.ZariskiCohomology.LocalKilling.openRestrictionPushforward_cokernelComparison_isIso_of_affine_app_surjective |
| 96 | U hU (Injective.ι F) hfirst |
| 97 | exact ⟨U, hU, hxU, |
| 98 | Open.RestrictionCohomologyBoundary.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit_HSucc_eq_zero_of_cokernel_killed |
| 99 | c q hq U hqU⟩ |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.LocalCohomologyKilling.ZariskiCohomology.LocalKilling |