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.Comparison.Betti.FlasqueBoundedExactness |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.FlasqueBiproduct |
| 3 | |
| 4 | /-! # Flasque Nat Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.FlasqueNatQuasiIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # Open sections preserve quasi-isomorphisms of bounded-below flasque complexes |
| 14 | |
| 15 | The cone has flasque degree objects and is acyclic. The proved section |
| 16 | exactness theorem and the canonical cone comparison then give the result. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 20 | |
| 21 | theorem cone_acyclic_iff {C : Type*} [Category* C] [Abelian C] |
| 22 | {K L : CochainComplex C ℤ} (f : K ⟶ L) : |
| 23 | (CochainComplex.mappingCone f).Acyclic ↔ QuasiIso f := by |
| 24 | rw [← HomologicalComplex.mem_quasiIso_iff, |
| 25 | ← HomotopyCategory.quotient_map_mem_quasiIso_iff, |
| 26 | HomotopyCategory.quasiIso_eq_trW_subcategoryAcyclic] |
| 27 | exact (HomotopyCategory.quotient_obj_mem_subcategoryAcyclic_iff_acyclic _).symm.trans |
| 28 | ((HomotopyCategory.subcategoryAcyclic C).trW_iff_of_distinguished |
| 29 | (CochainComplex.mappingCone.triangleh f) (HomotopyCategory.mappingCone_triangleh_distinguished f)).symm |
| 30 | |
| 31 | variable {X : TopCat.{0}} {K L : CochainComplex (FlasqueBiproduct.ComplexSheaves X) ℤ} (f : K ⟶ L) |
| 32 | |
| 33 | theorem cone_flasque (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 34 | (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) (n : ℤ) : |
| 35 | TopCat.Sheaf.IsFlasque ((CochainComplex.mappingCone f).X n) := by |
| 36 | have := hK (n + 1) |
| 37 | have := hL n |
| 38 | have := FlasqueBiproduct.biprod_flasque (K.X (n + 1)) (L.X n) |
| 39 | exact FlasqueBiproduct.flasque_of_iso (HomologicalComplex.homotopyCofiber.XIsoBiprod f n (n + 1) rfl).symm |
| 40 | |
| 41 | /-- The section functor preserves the actual comparison under the stated geometric sheaf properties. -/ |
| 42 | theorem sections_quasiIso (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 43 | (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) |
| 44 | (k l : ℤ) (hKbound : ∀ n, n < k → IsZero (K.X n)) |
| 45 | (hLbound : ∀ n, n < l → IsZero (L.X n)) (hf : QuasiIso f) (U : Opens X) : |
| 46 | QuasiIso (((FlasqueBiproduct.sections U).mapHomologicalComplex (ComplexShape.up ℤ)).map f) := by |
| 47 | have hcone := (cone_acyclic_iff f).mpr hf |
| 48 | have hbound : ∀ n, n < min (k - 1) l → IsZero ((CochainComplex.mappingCone f).X n) := by |
| 49 | intro n hn |
| 50 | exact (CochainComplex.mappingCone.isZero_X_iff f n).mpr |
| 51 | ⟨hKbound (n + 1) (by omega), hLbound n (by omega)⟩ |
| 52 | have hs := FlasqueBoundedExactness.bounded_sections_acyclic (CochainComplex.mappingCone f) |
| 53 | (cone_flasque f hK hL) hcone (min (k - 1) l) hbound U |
| 54 | apply (cone_acyclic_iff _).mp |
| 55 | intro n |
| 56 | exact (hs n).of_iso (CochainComplex.mappingCone.mapHomologicalComplexIso f (FlasqueBiproduct.sections U)) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! The nonnegative-complex form of the proved flasque section comparison. -/ |
| 61 | |
| 62 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 63 | |
| 64 | variable {X : TopCat.{0}} |
| 65 | |
| 66 | theorem flasque_of_isZero (F : FlasqueBiproduct.ComplexSheaves X) (hF : IsZero F) : TopCat.Sheaf.IsFlasque F := by |
| 67 | constructor |
| 68 | intro U V i |
| 69 | have hzero := ((evaluation (Opens X)ᵒᵖ (ModuleCat.{0} ℂ)).obj V).map_isZero |
| 70 | ((TopCat.Sheaf.forget (ModuleCat.{0} ℂ) X).map_isZero hF) |
| 71 | exact hzero.epi (F.obj.map i) |
| 72 | |
| 73 | theorem extend_flasque (K : CochainComplex (FlasqueBiproduct.ComplexSheaves X) ℕ) |
| 74 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (i : ℤ) : |
| 75 | TopCat.Sheaf.IsFlasque ((K.extend (ComplexShape.embeddingUpIntGE 0)).X i) := by |
| 76 | classical |
| 77 | let e := ComplexShape.embeddingUpIntGE 0 |
| 78 | change TopCat.Sheaf.IsFlasque (HomologicalComplex.extend.X K (e.r i)) |
| 79 | cases h : e.r i with |
| 80 | | none => exact flasque_of_isZero _ (isZero_zero _) |
| 81 | | some n => exact hK n |
| 82 | |
| 83 | theorem extend_zero_below (K : CochainComplex (FlasqueBiproduct.ComplexSheaves X) ℕ) (i : ℤ) (hi : i < 0) : |
| 84 | IsZero ((K.extend (ComplexShape.embeddingUpIntGE 0)).X i) := |
| 85 | K.isZero_extend_X (ComplexShape.embeddingUpIntGE 0) i |
| 86 | ((ComplexShape.notMem_range_embeddingUpIntGE_iff 0 i).mpr hi) |
| 87 | |
| 88 | /-- Actual open sections preserve a quasi-isomorphism between nonnegative flasque complexes. -/ |
| 89 | theorem nat_sections_quasiIso {K L : CochainComplex (FlasqueBiproduct.ComplexSheaves X) ℕ} (f : K ⟶ L) |
| 90 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) |
| 91 | (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) (hf : QuasiIso f) (U : Opens X) : |
| 92 | QuasiIso (((FlasqueBiproduct.sections U).mapHomologicalComplex (ComplexShape.up ℕ)).map f) := by |
| 93 | let e := ComplexShape.embeddingUpIntGE 0 |
| 94 | have hfe : QuasiIso (HomologicalComplex.extendMap f e) := |
| 95 | (HomologicalComplex.quasiIso_extendMap_iff f e).mpr hf |
| 96 | have he := sections_quasiIso (HomologicalComplex.extendMap f e) |
| 97 | (extend_flasque K hK) (extend_flasque L hL) 0 0 (extend_zero_below K) (extend_zero_below L) hfe U |
| 98 | let a := Complex.Extension.mapExtendIso (FlasqueBiproduct.sections U) e K |
| 99 | let b := Complex.Extension.mapExtendIso (FlasqueBiproduct.sections U) e L |
| 100 | let ei : Arrow.mk (((FlasqueBiproduct.sections U).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 101 | (HomologicalComplex.extendMap f e)) ≅ |
| 102 | Arrow.mk (HomologicalComplex.extendMap |
| 103 | (((FlasqueBiproduct.sections U).mapHomologicalComplex (ComplexShape.up ℕ)).map f) e) := |
| 104 | Arrow.isoMk a b (Complex.Extension.mapExtendIso_naturality (FlasqueBiproduct.sections U) e f).symm |
| 105 | apply (HomologicalComplex.quasiIso_extendMap_iff _ e).mp |
| 106 | exact (quasiIso_iff_of_arrow_mk_iso _ _ ei).mp he |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.Comparison.Betti.FlasqueNatQuasiIso |