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.FlasqueSheafCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.AdditiveSheafRestrictionExactness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.InjectiveCokernelSequence |
| 4 | |
| 5 | /-! # Injective Syzygy Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.InjectiveSyzygySections.ZariskiCohomology.FlasqueAcyclicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | universe u |
| 12 | open _root_.CategoryTheory Limits Opposite _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem openSheafPullback_isFlasque |
| 15 | {X : Scheme.{u}} (U : X.Opens) (F : InjectiveSheafFlasqueness.ZariskiCohomology.FlasqueAcyclicity.AbSheaf X) |
| 16 | [TopCat.Sheaf.IsFlasque F] : |
| 17 | TopCat.Sheaf.IsFlasque ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U).obj F) := by |
| 18 | constructor |
| 19 | intro V W i |
| 20 | change Epi (F.obj.map _) |
| 21 | infer_instance |
| 22 | |
| 23 | theorem subsingleton_H_X₃_of_shortExact |
| 24 | {X : Scheme.{u}} {S : ShortComplex (InjectiveSheafFlasqueness.ZariskiCohomology.FlasqueAcyclicity.AbSheaf X)} |
| 25 | (hS : S.ShortExact) (n : ℕ) |
| 26 | (hmiddle : Subsingleton (CategoryTheory.Sheaf.H S.X₂ n)) |
| 27 | (hleft : Subsingleton (CategoryTheory.Sheaf.H S.X₁ (n + 1))) : |
| 28 | Subsingleton (CategoryTheory.Sheaf.H S.X₃ n) := by |
| 29 | let : Subsingleton (CategoryTheory.Sheaf.H S.X₂ n) := hmiddle |
| 30 | let : Subsingleton (CategoryTheory.Sheaf.H S.X₁ (n + 1)) := hleft |
| 31 | refine subsingleton_of_forall_eq 0 fun c ↦ ?_ |
| 32 | obtain ⟨y, hy⟩ := HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_exact₃_explicit |
| 33 | hS n (n + 1) rfl c (Subsingleton.elim _ _) |
| 34 | rw [Subsingleton.elim y 0, map_zero] at hy |
| 35 | exact hy.symm |
| 36 | |
| 37 | theorem openSheafPullback_injectiveCokernel_H_succ_subsingleton |
| 38 | {X : Scheme.{u}} (U : X.Opens) (F : InjectiveSheafFlasqueness.ZariskiCohomology.FlasqueAcyclicity.AbSheaf X) (n : ℕ) |
| 39 | (hF : Subsingleton |
| 40 | (CategoryTheory.Sheaf.H ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U).obj F) (n + 2))) : |
| 41 | Subsingleton (CategoryTheory.Sheaf.H |
| 42 | ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U).obj (cokernel (Injective.ι F))) (n + 1)) := by |
| 43 | let L := Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U |
| 44 | let S := FlasqueSheafCohomology.ZariskiCohomology.FlasqueAcyclicity.injectiveCokernelSequence F |
| 45 | let : PreservesFiniteLimits L := by |
| 46 | dsimp [L] |
| 47 | infer_instance |
| 48 | let : PreservesFiniteColimits L := by |
| 49 | dsimp [L] |
| 50 | infer_instance |
| 51 | let : L.PreservesZeroMorphisms := by infer_instance |
| 52 | let : L.Additive := L.additive_of_preserves_binary_products |
| 53 | have hS : S.ShortExact := FlasqueSheafCohomology.ZariskiCohomology.FlasqueAcyclicity.injectiveCokernelSequence_shortExact F |
| 54 | have hSL : (S.map L).ShortExact := |
| 55 | ShortComplex.ShortExact.map_of_exact hS L |
| 56 | have hI : TopCat.Sheaf.IsFlasque (Injective.under F) := |
| 57 | InjectiveSheafFlasqueness.ZariskiCohomology.FlasqueAcyclicity.injectiveSheaf_isFlasque (Injective.under F) |
| 58 | let : TopCat.Sheaf.IsFlasque (Injective.under F) := hI |
| 59 | let : TopCat.Sheaf.IsFlasque (L.obj (Injective.under F)) := |
| 60 | @openSheafPullback_isFlasque _ U (Injective.under F) hI |
| 61 | have hmiddle : Subsingleton |
| 62 | (CategoryTheory.Sheaf.H (L.obj (Injective.under F)) (n + 1)) := |
| 63 | FlasqueSheafCohomology.ZariskiCohomology.FlasqueAcyclicity.flasqueSheaf_H_succ_subsingleton _ n |
| 64 | have hleft : Subsingleton |
| 65 | (CategoryTheory.Sheaf.H (L.obj F) (n + 2)) := by |
| 66 | exact hF |
| 67 | exact subsingleton_H_X₃_of_shortExact hSL (n + 1) hmiddle hleft |
| 68 | |
| 69 | theorem injectiveCokernel_app_surjective_of_pullback_HOne_subsingleton |
| 70 | {R : CommRingCat.{u}} (F : InjectiveSheafFlasqueness.ZariskiCohomology.FlasqueAcyclicity.AbSheaf (Spec R)) |
| 71 | (U : (Spec R).Opens) |
| 72 | (hF : Subsingleton |
| 73 | (CategoryTheory.Sheaf.H ((Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U).obj F) 1)) : |
| 74 | Function.Surjective |
| 75 | ((cokernel.π (Injective.ι F)).hom.app (op U)) := by |
| 76 | let L := Open.AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openSheafPullback U |
| 77 | let S := FlasqueSheafCohomology.ZariskiCohomology.FlasqueAcyclicity.injectiveCokernelSequence F |
| 78 | let : PreservesFiniteLimits L := by |
| 79 | dsimp [L] |
| 80 | infer_instance |
| 81 | let : PreservesFiniteColimits L := by |
| 82 | dsimp [L] |
| 83 | infer_instance |
| 84 | let : L.PreservesZeroMorphisms := by infer_instance |
| 85 | let : L.Additive := L.additive_of_preserves_binary_products |
| 86 | have hS : S.ShortExact := FlasqueSheafCohomology.ZariskiCohomology.FlasqueAcyclicity.injectiveCokernelSequence_shortExact F |
| 87 | have hSL : (S.map L).ShortExact := |
| 88 | ShortComplex.ShortExact.map_of_exact hS L |
| 89 | let : Subsingleton ((S.map L).X₁.H 1) := by |
| 90 | change Subsingleton (CategoryTheory.Sheaf.H (L.obj F) 1) |
| 91 | exact hF |
| 92 | have hsurjective := |
| 93 | HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_surjective_of_subsingleton_H |
| 94 | hSL (isTerminalTop : IsTerminal (⊤ : Opens (U : Scheme))) |
| 95 | change Function.Surjective |
| 96 | ((L.map (cokernel.π (Injective.ι F))).hom.app |
| 97 | (op (⊤ : Opens (U : Scheme)))) at hsurjective |
| 98 | change Function.Surjective |
| 99 | ((cokernel.π (Injective.ι F)).hom.app |
| 100 | (op (U.ι.isOpenEmbedding.functor.obj |
| 101 | (⊤ : Opens (U : Scheme))))) at hsurjective |
| 102 | have htop : U.ι.isOpenEmbedding.functor.obj |
| 103 | (⊤ : Opens (U : Scheme)) = U := by |
| 104 | ext x |
| 105 | simp |
| 106 | rw [htop] at hsurjective |
| 107 | exact hsurjective |
| 108 | |
| 109 | theorem affineSyzygyAppSurjective_of_pullback_H_succ_subsingleton |
| 110 | {R : CommRingCat.{u}} (F : InjectiveSheafFlasqueness.ZariskiCohomology.FlasqueAcyclicity.AbSheaf (Spec R)) (n : ℕ) |
| 111 | (hF : ∀ (U : (Spec R).Opens), IsAffineOpen U → |
| 112 | ∀ k, k < n → Subsingleton |
| 113 | (CategoryTheory.Sheaf.H |
| 114 | ((U.ι.isOpenEmbedding.sheafPullback AddCommGrpCat.{u}).obj F) |
| 115 | (k + 1))) : |
| 116 | Open.InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.AffineSyzygyAppSurjective F n := by |
| 117 | induction n generalizing F with |
| 118 | | zero => exact .zero F |
| 119 | | succ n ih => |
| 120 | apply Open.InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.AffineSyzygyAppSurjective.succ |
| 121 | · intro U hU |
| 122 | apply injectiveCokernel_app_surjective_of_pullback_HOne_subsingleton |
| 123 | change Subsingleton (CategoryTheory.Sheaf.H |
| 124 | ((U.ι.isOpenEmbedding.sheafPullback AddCommGrpCat.{u}).obj F) 1) |
| 125 | exact hF U hU 0 (Nat.zero_lt_succ n) |
| 126 | · apply ih |
| 127 | intro U hU k hk |
| 128 | apply openSheafPullback_injectiveCokernel_H_succ_subsingleton |
| 129 | change Subsingleton (CategoryTheory.Sheaf.H |
| 130 | ((U.ι.isOpenEmbedding.sheafPullback AddCommGrpCat.{u}).obj F) |
| 131 | (k + 2)) |
| 132 | exact hF U hU (k + 1) (Nat.succ_lt_succ hk) |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.InjectiveSyzygySections.ZariskiCohomology.FlasqueAcyclicity |