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.RestrictionCohomologyBoundary |
| 2 | |
| 3 | /-! # Restriction Degree One Killing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionDegreeOneKilling.ZariskiCohomology.LocalKilling |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | universe u |
| 10 | open _root_.CategoryTheory Limits Opposite _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 11 | |
| 12 | theorem openRestrictionPushforwardUnit_HOne_eq_zero_of_lift |
| 13 | {X : Scheme.{u}} {F : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.AbSheaf X} |
| 14 | (c : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH F 1) |
| 15 | (q : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH (cokernel (Injective.ι F)) 0) |
| 16 | (hq : q.comp (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl = c) |
| 17 | (U : X.Opens) |
| 18 | (t : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH |
| 19 | ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj (Injective.under F)) 0) |
| 20 | (ht : t.comp |
| 21 | (Abelian.Ext.mk₀ ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).map |
| 22 | (cokernel.π (Injective.ι F)))) rfl = |
| 23 | q.comp (Abelian.Ext.mk₀ |
| 24 | ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app |
| 25 | (cokernel (Injective.ι F)))) rfl) : |
| 26 | (c.comp (Abelian.Ext.mk₀ |
| 27 | ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app F)) rfl : |
| 28 | AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj F) 1) = |
| 29 | (0 : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj F) 1) := by |
| 30 | let E := AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U |
| 31 | let η := AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U |
| 32 | let i := Injective.ι F |
| 33 | let π := cokernel.π i |
| 34 | let ζ := InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.openInjectiveCokernelMap U F |
| 35 | let μ := cokernelComparison i E |
| 36 | have hT := InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.openInjectiveCokernelSequence_shortExact U F |
| 37 | change (ShortComplex.mk (E.map i) (cokernel.π (E.map i)) _).ShortExact at hT |
| 38 | let : Mono μ := by |
| 39 | dsimp [μ, E, i] |
| 40 | exact RestrictionCokernelComparison.ZariskiCohomology.LocalKilling.openRestrictionPushforward_cokernelComparison_mono U (Injective.ι F) |
| 41 | have hζμ : ζ ≫ μ = η.app (cokernel i) := |
| 42 | InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.openInjectiveCokernelMap_comp_cokernelComparison U F |
| 43 | have hπμ : cokernel.π (E.map i) ≫ μ = E.map π := by |
| 44 | exact π_comp_cokernelComparison i E |
| 45 | have hqζ : q.comp (Abelian.Ext.mk₀ ζ) rfl = |
| 46 | t.comp (Abelian.Ext.mk₀ (cokernel.π (E.map i))) rfl := by |
| 47 | refine (Abelian.Ext.postcomp_mk₀_injective_of_mono |
| 48 | ((CategoryTheory.constantSheaf |
| 49 | (Opens.grothendieckTopology X) AddCommGrpCat.{u}).obj |
| 50 | (AddCommGrpCat.of (ULift ℤ))) μ) ?_ |
| 51 | change |
| 52 | (q.comp (Abelian.Ext.mk₀ ζ) rfl).comp |
| 53 | (Abelian.Ext.mk₀ μ) rfl = |
| 54 | (t.comp (Abelian.Ext.mk₀ (cokernel.π (E.map i))) rfl).comp |
| 55 | (Abelian.Ext.mk₀ μ) rfl |
| 56 | simpa only [Abelian.Ext.comp_assoc_of_third_deg_zero, |
| 57 | Abelian.Ext.mk₀_comp_mk₀, hζμ, hπμ] using ht.symm |
| 58 | calc |
| 59 | c.comp (Abelian.Ext.mk₀ (η.app F)) rfl = |
| 60 | (q.comp (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl).comp |
| 61 | (Abelian.Ext.mk₀ (η.app F)) rfl := by rw [hq] |
| 62 | _ = q.comp |
| 63 | ((InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass.comp |
| 64 | (Abelian.Ext.mk₀ (η.app F)) rfl) rfl := by |
| 65 | rw [Abelian.Ext.comp_assoc_of_third_deg_zero] |
| 66 | _ = q.comp ((Abelian.Ext.mk₀ ζ).comp hT.extClass rfl) rfl := by |
| 67 | exact congrArg (fun x ↦ q.comp x rfl) |
| 68 | ((InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass_naturality |
| 69 | hT (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequenceToOpen U F)) |
| 70 | _ = (q.comp (Abelian.Ext.mk₀ ζ) rfl).comp hT.extClass rfl := by |
| 71 | simpa only using (Abelian.Ext.comp_assoc q |
| 72 | (Abelian.Ext.mk₀ ζ) hT.extClass rfl rfl rfl).symm |
| 73 | _ = (t.comp (Abelian.Ext.mk₀ (cokernel.π (E.map i))) rfl).comp |
| 74 | hT.extClass rfl := by rw [hqζ] |
| 75 | _ = t.comp ((Abelian.Ext.mk₀ (cokernel.π (E.map i))).comp |
| 76 | hT.extClass rfl) rfl := by |
| 77 | simpa only using (Abelian.Ext.comp_assoc t |
| 78 | (Abelian.Ext.mk₀ (cokernel.π (E.map i))) |
| 79 | hT.extClass rfl rfl rfl) |
| 80 | _ = 0 := by simp only [hT.comp_extClass, Abelian.Ext.comp_zero] |
| 81 | |
| 82 | theorem openRestrictionPushforwardUnit_HOne_eq_zero_of_section_lift |
| 83 | {X : Scheme.{u}} {F : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.AbSheaf X} |
| 84 | (c : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH F 1) |
| 85 | (q : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH (cokernel (Injective.ι F)) 0) |
| 86 | (hq : q.comp (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl = c) |
| 87 | (U : X.Opens) |
| 88 | (t : (Injective.under F).1.obj (op U)) |
| 89 | (ht : (cokernel.π (Injective.ι F)).hom.app (op U) t = |
| 90 | (cokernel (Injective.ι F)).1.map (homOfLE le_top).op |
| 91 | (CategoryTheory.Sheaf.H.equiv₀ (cokernel (Injective.ι F)) |
| 92 | (isTerminalTop : IsTerminal (⊤ : Opens X)) q)) : |
| 93 | (c.comp (Abelian.Ext.mk₀ |
| 94 | ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit U).app F)) rfl : |
| 95 | AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH ((AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.openRestrictionPushforward U).obj F) 1) = 0 := by |
| 96 | apply openRestrictionPushforwardUnit_HOne_eq_zero_of_lift c q hq U |
| 97 | (RestrictionCohomologyZero.ZariskiCohomology.LocalKilling.openRestrictionPushforwardHZeroOfSection U (Injective.under F) t) |
| 98 | rw [RestrictionCohomologyZero.ZariskiCohomology.LocalKilling.openRestrictionPushforwardHZeroOfSection_map, |
| 99 | RestrictionCohomologyZero.ZariskiCohomology.LocalKilling.openRestrictionPushforwardUnit_HZero] |
| 100 | exact congrArg |
| 101 | (RestrictionCohomologyZero.ZariskiCohomology.LocalKilling.openRestrictionPushforwardHZeroOfSection U (cokernel (Injective.ι F))) ht |
| 102 | |
| 103 | theorem exists_injectiveCokernel_class |
| 104 | {X : Scheme.{u}} {F : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.AbSheaf X} {n : ℕ} (c : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH F (n + 1)) : |
| 105 | ∃ q : AdditiveSheafRestriction.ZariskiCohomology.LocalKilling.ExtH (cokernel (Injective.ι F)) n, |
| 106 | q.comp (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F).extClass rfl = c := by |
| 107 | let Z := (CategoryTheory.constantSheaf |
| 108 | (Opens.grothendieckTopology X) AddCommGrpCat.{u}).obj |
| 109 | (AddCommGrpCat.of (ULift ℤ)) |
| 110 | have hc : c.comp (Abelian.Ext.mk₀ (Injective.ι F)) rfl = 0 := |
| 111 | Abelian.Ext.eq_zero_of_injective _ |
| 112 | exact Abelian.Ext.covariant_sequence_exact₁ Z |
| 113 | (InjectiveCokernelSequence.ZariskiCohomology.LocalKilling.injectiveCokernelSequence_shortExact F) c hc rfl |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionDegreeOneKilling.ZariskiCohomology.LocalKilling |