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.DivisorClass.Chern.Abelian.FlasqueInjectives |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.FlasqueLowDegree |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExtensionComparison |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ConeQuasiIso |
| 5 | import Mathlib.Algebra.Homology.HomotopyCategory.Plus |
| 6 | |
| 7 | /-! # Flasque Comparison -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.FlasqueComparison |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual global sections preserve quasi-isomorphisms of nonnegative flasque abelian complexes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Geometric.FlasqueLowDegree.Cycles |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | variable {X : TopCat.{0}} |
| 23 | |
| 24 | theorem abelianFlasqueGlobalSections_acyclic |
| 25 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) |
| 26 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (he : K.Acyclic) : |
| 27 | (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex K).Acyclic := |
| 28 | fun n => CycleClass.Geometric.FlasqueLowDegree.Cycles.flasqueLowDegree_exactAt K hK (n + 1) (fun i _ => he i) n (Nat.lt_succ_self n) |
| 29 | |
| 30 | theorem abelianBoundedFlasqueGlobalSections_acyclic |
| 31 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℤ) |
| 32 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (b : ℤ) [K.IsStrictlyGE b] (he : K.Acyclic) : |
| 33 | (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (ComplexShape.up ℤ)).obj K).Acyclic := by |
| 34 | let e := ComplexShape.embeddingUpIntGE b |
| 35 | apply (HodgeConjecture.DegreeTwo.BoundedFlasqueSections.Constructions.strictSupportRestriction_acyclic_iff _ e).mpr |
| 36 | exact abelianFlasqueGlobalSections_acyclic (K.restriction e) (fun n => hK (e.f n)) |
| 37 | ((HodgeConjecture.DegreeTwo.BoundedFlasqueSections.Constructions.strictSupportRestriction_acyclic_iff K e).mp he) |
| 38 | |
| 39 | theorem abelianSheafBiprod_isFlasque (F G : TopCat.Sheaf AddCommGrpCat.{0} X) |
| 40 | [TopCat.Sheaf.IsFlasque F] [TopCat.Sheaf.IsFlasque G] : TopCat.Sheaf.IsFlasque (F ⊞ G) where |
| 41 | epi {U V} j := by |
| 42 | apply (AddCommGrpCat.epi_iff_surjective _).mpr |
| 43 | intro s |
| 44 | let i₁ : F ⟶ F ⊞ G := biprod.inl |
| 45 | let i₂ : G ⟶ F ⊞ G := biprod.inr |
| 46 | let p₁ : F ⊞ G ⟶ F := biprod.fst |
| 47 | let p₂ : F ⊞ G ⟶ G := biprod.snd |
| 48 | obtain ⟨u, hu⟩ := (AddCommGrpCat.epi_iff_surjective (F.obj.map j)).mp inferInstance (p₁.hom.app V s) |
| 49 | obtain ⟨v, hv⟩ := (AddCommGrpCat.epi_iff_surjective (G.obj.map j)).mp inferInstance (p₂.hom.app V s) |
| 50 | refine ⟨i₁.hom.app U u + i₂.hom.app U v, ?_⟩ |
| 51 | have h₁ := ConcreteCategory.congr_hom (i₁.hom.naturality j) u |
| 52 | have h₂ := ConcreteCategory.congr_hom (i₂.hom.naturality j) v |
| 53 | change i₁.hom.app V (F.obj.map j u) = (F ⊞ G).obj.map j (i₁.hom.app U u) at h₁ |
| 54 | change i₂.hom.app V (G.obj.map j v) = (F ⊞ G).obj.map j (i₂.hom.app U v) at h₂ |
| 55 | rw [map_add, ← h₁, ← h₂, hu, hv] |
| 56 | have hid : p₁.hom.app V ≫ i₁.hom.app V + p₂.hom.app V ≫ i₂.hom.app V = 𝟙 _ := |
| 57 | congrArg (fun f => f.hom.app V) (biprod.total (X := F) (Y := G)) |
| 58 | exact ConcreteCategory.congr_hom hid s |
| 59 | |
| 60 | theorem abelianFlasque_mappingCone |
| 61 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℤ} (f : K ⟶ L) |
| 62 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) (n : ℤ) : |
| 63 | TopCat.Sheaf.IsFlasque ((CochainComplex.mappingCone f).X n) := by |
| 64 | have := hK (n + 1) |
| 65 | have := hL n |
| 66 | have := abelianSheafBiprod_isFlasque (K.X (n + 1)) (L.X n) |
| 67 | exact CycleClass.Geometric.FlasqueLowDegree.Cycles.flasqueSheaf_of_iso (HomologicalComplex.homotopyCofiber.XIsoBiprod f n (n + 1) rfl).symm |
| 68 | |
| 69 | theorem abelianBoundedFlasqueGlobalSections_quasiIso |
| 70 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℤ} (f : K ⟶ L) |
| 71 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) |
| 72 | (b : ℤ) [K.IsStrictlyGE b] [L.IsStrictlyGE b] [QuasiIso f] : |
| 73 | QuasiIso (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (ComplexShape.up ℤ)).map f) := by |
| 74 | have := CochainComplex.isStrictlyGE_mappingCone f b b (b - 1) (by omega) (by omega) |
| 75 | apply HodgeConjecture.DegreeTwo.ConeQuasiIso.Constructions.functorQuasiIso_of_mappingCone_acyclic |
| 76 | exact abelianBoundedFlasqueGlobalSections_acyclic (CochainComplex.mappingCone f) |
| 77 | (abelianFlasque_mappingCone f hK hL) (b - 1) ((HodgeConjecture.DegreeTwo.ConeQuasiIso.Constructions.cochainQuasiIso_iff_mappingCone_acyclic f).mp inferInstance) |
| 78 | |
| 79 | theorem abelianFlasqueComplex_extend |
| 80 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) |
| 81 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (i : ℤ) : |
| 82 | TopCat.Sheaf.IsFlasque ((K.extend ComplexShape.embeddingUpNat).X i) := by |
| 83 | by_cases hi : ∃ n, ComplexShape.embeddingUpNat.f n = i |
| 84 | · obtain ⟨n, hn⟩ := hi |
| 85 | have := hK n |
| 86 | exact CycleClass.Geometric.FlasqueLowDegree.Cycles.flasqueSheaf_of_iso (K.extendXIso ComplexShape.embeddingUpNat hn).symm |
| 87 | · exact CycleClass.Geometric.FlasqueLowDegree.Cycles.flasqueSheaf_of_isZero _ (K.isZero_extend_X ComplexShape.embeddingUpNat i (by simpa using hi)) |
| 88 | |
| 89 | theorem abelianFlasqueGlobalSections_quasiIso |
| 90 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} (f : K ⟶ L) |
| 91 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) |
| 92 | [QuasiIso f] : |
| 93 | QuasiIso (((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (ComplexShape.up ℕ)).map f) := by |
| 94 | have := abelianBoundedFlasqueGlobalSections_quasiIso |
| 95 | (HomologicalComplex.extendMap f ComplexShape.embeddingUpNat) |
| 96 | (abelianFlasqueComplex_extend K hK) (abelianFlasqueComplex_extend L hL) 0 |
| 97 | exact HodgeConjecture.DegreeTwo.ExtensionComparison.Constructions.functorQuasiIso_of_extended ComplexShape.embeddingUpNat (CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X) f |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.FlasqueComparison |