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.HodgeConjecture.DegreeTwo.BoundedFlasqueSections |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ConeQuasiIso |
| 3 | import Mathlib.Algebra.Homology.HomotopyCategory.Plus |
| 4 | |
| 5 | /-! # Flasque Cone Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueConeComparison.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual sections preserve quasi-isomorphisms between bounded-below flasque complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | theorem moduleSheafBiprod_isFlasque {R : Type} [Ring R] {X : TopCat.{0}} |
| 18 | (F G : TopCat.Sheaf (ModuleCat.{0} R) X) [TopCat.Sheaf.IsFlasque F] [TopCat.Sheaf.IsFlasque G] : |
| 19 | TopCat.Sheaf.IsFlasque (F ⊞ G) where |
| 20 | epi {U W} j := by |
| 21 | apply (ModuleCat.epi_iff_surjective _).mpr |
| 22 | intro s |
| 23 | let i₁ : F ⟶ F ⊞ G := biprod.inl |
| 24 | let i₂ : G ⟶ F ⊞ G := biprod.inr |
| 25 | let p₁ : F ⊞ G ⟶ F := biprod.fst |
| 26 | let p₂ : F ⊞ G ⟶ G := biprod.snd |
| 27 | obtain ⟨u,hu⟩ := (ModuleCat.epi_iff_surjective (F.obj.map j)).mp inferInstance (p₁.hom.app W s) |
| 28 | obtain ⟨v,hv⟩ := (ModuleCat.epi_iff_surjective (G.obj.map j)).mp inferInstance (p₂.hom.app W s) |
| 29 | refine ⟨i₁.hom.app U u + i₂.hom.app U v, ?_⟩ |
| 30 | have h₁ := ConcreteCategory.congr_hom (i₁.hom.naturality j) u |
| 31 | have h₂ := ConcreteCategory.congr_hom (i₂.hom.naturality j) v |
| 32 | change i₁.hom.app W (F.obj.map j u) = (F ⊞ G).obj.map j (i₁.hom.app U u) at h₁ |
| 33 | change i₂.hom.app W (G.obj.map j v) = (F ⊞ G).obj.map j (i₂.hom.app U v) at h₂ |
| 34 | rw [map_add, ← h₁, ← h₂, hu, hv] |
| 35 | have hid : p₁.hom.app W ≫ i₁.hom.app W + p₂.hom.app W ≫ i₂.hom.app W = 𝟙 _ := |
| 36 | congrArg (fun f => f.hom.app W) (biprod.total (X := F) (Y := G)) |
| 37 | exact ConcreteCategory.congr_hom hid s |
| 38 | |
| 39 | variable {X : TopCat.{0}} |
| 40 | variable {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℤ} (f : K ⟶ L) |
| 41 | variable (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) |
| 42 | |
| 43 | include hK hL |
| 44 | |
| 45 | theorem rationalFlasque_mappingCone (n : ℤ) : |
| 46 | TopCat.Sheaf.IsFlasque ((CochainComplex.mappingCone f).X n) := by |
| 47 | have := hK (n+1) |
| 48 | have := hL n |
| 49 | have := moduleSheafBiprod_isFlasque (K.X (n+1)) (L.X n) |
| 50 | exact ThomGoodShiftFlasque.Constructions.rationalSheafFlasque_of_iso (HomologicalComplex.homotopyCofiber.XIsoBiprod f n (n+1) rfl).symm |
| 51 | |
| 52 | theorem rationalBoundedFlasqueSections_quasiIso (b : ℤ) [K.IsStrictlyGE b] [L.IsStrictlyGE b] |
| 53 | [QuasiIso f] (U : Opens X) : |
| 54 | QuasiIso (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).mapHomologicalComplex (ComplexShape.up ℤ)).map f) := by |
| 55 | have := CochainComplex.isStrictlyGE_mappingCone f b b (b-1) (by omega) (by omega) |
| 56 | have he := (ConeQuasiIso.Constructions.cochainQuasiIso_iff_mappingCone_acyclic f).mp inferInstance |
| 57 | apply ConeQuasiIso.Constructions.functorQuasiIso_of_mappingCone_acyclic |
| 58 | exact BoundedFlasqueSections.Constructions.rationalBoundedFlasqueSections_acyclic (CochainComplex.mappingCone f) |
| 59 | (rationalFlasque_mappingCone f hK hL) (b-1) he U |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueConeComparison.Constructions |