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.SectionsHomologyNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.BoundaryNaturality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ResolutionShiftNaturality |
| 4 | |
| 5 | /-! # Resolution Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.ResolutionNaturality.IntrinsicCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The positive-degree comparison for an acyclic resolution commutes with |
| 12 | maps of augmented resolutions. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | private def rebundleGroupHom {A B : AddCommGrpCat.{u}} (f : A ⟶ B) : |
| 19 | AddCommGrpCat.of A ⟶ AddCommGrpCat.of B := AddCommGrpCat.ofHom f.hom |
| 20 | |
| 21 | private def cohomologyMap {X : TopCat.{u}} {F G : TopCat.Sheaf AddCommGrpCat.{u} X} |
| 22 | (f : F ⟶ G) (n : ℕ) : |
| 23 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).obj F) ⟶ |
| 24 | AddCommGrpCat.of ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).obj G) := |
| 25 | rebundleGroupHom ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : _ ⥤ AddCommGrpCat.{u}).map f) |
| 26 | |
| 27 | private theorem compose_three_squares {D : Type*} [Category D] |
| 28 | {A₀ A₁ A₂ A₃ B₀ B₁ B₂ B₃ : D} |
| 29 | (f₁ : A₀ ⟶ A₁) (f₂ : A₁ ⟶ A₂) (f₃ : A₂ ⟶ A₃) |
| 30 | (g₁ : B₀ ⟶ B₁) (g₂ : B₁ ⟶ B₂) (g₃ : B₂ ⟶ B₃) |
| 31 | (z₀ : A₀ ⟶ B₀) (z₁ : A₁ ⟶ B₁) (z₂ : A₂ ⟶ B₂) (z₃ : A₃ ⟶ B₃) |
| 32 | (h₁ : z₀ ≫ g₁ = f₁ ≫ z₁) (h₂ : z₁ ≫ g₂ = f₂ ≫ z₂) |
| 33 | (h₃ : z₂ ≫ g₃ = f₃ ≫ z₃) : |
| 34 | z₀ ≫ (g₁ ≫ g₂ ≫ g₃) = (f₁ ≫ f₂ ≫ f₃) ≫ z₃ := by |
| 35 | rw [← Category.assoc z₀ g₁, h₁, Category.assoc, |
| 36 | ← Category.assoc z₁ g₂, h₂, Category.assoc, h₃] |
| 37 | simp only [Category.assoc] |
| 38 | |
| 39 | variable {X : TopCat.{u}} |
| 40 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} X) ℕ} |
| 41 | {F G : TopCat.Sheaf AddCommGrpCat.{u} X} |
| 42 | (eK : F ⟶ K.X 0) (wK : eK ≫ K.d 0 1 = 0) [Mono eK] |
| 43 | (eL : G ⟶ L.X 0) (wL : eL ≫ L.d 0 1 = 0) [Mono eL] |
| 44 | (haugK : (ShortComplex.mk eK (K.d 0 1) wK).Exact) |
| 45 | (haugL : (ShortComplex.mk eL (L.d 0 1) wL).Exact) |
| 46 | (hposK : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).Exact) |
| 47 | (hposL : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex L n).Exact) |
| 48 | (hK : ∀ p q, Subsingleton (CategoryTheory.Sheaf.H (K.X p) (q + 1))) |
| 49 | (hL : ∀ p q, Subsingleton (CategoryTheory.Sheaf.H (L.X p) (q + 1))) |
| 50 | (f : F ⟶ G) (ψ : K ⟶ L) (hψ : f ≫ eL = eK ≫ ψ.f 0) |
| 51 | |
| 52 | include hψ in |
| 53 | private theorem acyclicResolutionPositiveCohomologyIso_naturality_zero : |
| 54 | HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) (0 + 1) ≫ |
| 55 | (AcyclicResolutionCohomology.IntrinsicCech.acyclicResolutionPositiveCohomologyIso L eL wL haugL hposL hL 0).hom = |
| 56 | (AcyclicResolutionCohomology.IntrinsicCech.acyclicResolutionPositiveCohomologyIso K eK wK haugK hposK hK 0).hom ≫ |
| 57 | cohomologyMap f (0 + 1) := by |
| 58 | have hc := SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsHomologyCokernelIso_naturality ψ 0 |
| 59 | let bK := HilbertConstruction.Sheaf.BoundaryCokernel.IntrinsicCech.sheafSectionBoundaryCokernelIso |
| 60 | (AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact K eK wK haugK hposK) (hK 0 0) |
| 61 | let bL := HilbertConstruction.Sheaf.BoundaryCokernel.IntrinsicCech.sheafSectionBoundaryCokernelIso |
| 62 | (AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact L eL wL haugL hposL) (hL 0 0) |
| 63 | let aK := AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsHomologyCokernelIso K 0 |
| 64 | let aL := AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsHomologyCokernelIso L 0 |
| 65 | have hb : SectionsHomologyNaturality.IntrinsicCech.sectionsCycleCokernelMap ψ 0 ≫ bL.hom = bK.hom ≫ cohomologyMap f 1 := |
| 66 | HilbertConstruction.Sheaf.BoundaryNaturality.IntrinsicCech.sheafSectionBoundaryCokernelIso_naturality |
| 67 | (AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact K eK wK haugK hposK) |
| 68 | (AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact L eL wL haugL hposL) |
| 69 | (ResolutionCycleMaps.IntrinsicCech.initialResolutionCycleSequenceMap eK wK eL wL f ψ hψ) (hK 0 0) (hL 0 0) |
| 70 | change HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) 1 ≫ aL.hom = |
| 71 | aK.hom ≫ SectionsHomologyNaturality.IntrinsicCech.sectionsCycleCokernelMap ψ 0 at hc |
| 72 | change HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) 1 ≫ (aL.hom ≫ bL.hom) = |
| 73 | (aK.hom ≫ bK.hom) ≫ cohomologyMap f 1 |
| 74 | rw [← Category.assoc, hc, Category.assoc, hb, ← Category.assoc] |
| 75 | |
| 76 | include hψ in |
| 77 | private theorem acyclicResolutionPositiveCohomologyIso_naturality_succ (n : ℕ) : |
| 78 | HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) (n + 2) ≫ |
| 79 | (AcyclicResolutionCohomology.IntrinsicCech.acyclicResolutionPositiveCohomologyIso L eL wL haugL hposL hL (n + 1)).hom = |
| 80 | (AcyclicResolutionCohomology.IntrinsicCech.acyclicResolutionPositiveCohomologyIso K eK wK haugK hposK hK (n + 1)).hom ≫ |
| 81 | cohomologyMap f (n + 2) := by |
| 82 | have hc := SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsHomologyCokernelIso_naturality ψ (n + 1) |
| 83 | let bK := HilbertConstruction.Sheaf.BoundaryCokernel.IntrinsicCech.sheafSectionBoundaryCokernelIso |
| 84 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact K hposK n) (hK (n + 1) 0) |
| 85 | let bL := HilbertConstruction.Sheaf.BoundaryCokernel.IntrinsicCech.sheafSectionBoundaryCokernelIso |
| 86 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact L hposL n) (hL (n + 1) 0) |
| 87 | let dK := (AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift K eK wK haugK hposK hK n 0).toAddCommGrpIso |
| 88 | let dL := (AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift L eL wL haugL hposL hL n 0).toAddCommGrpIso |
| 89 | let hm := cohomologyMap (ShortComplex.cyclesMap (ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ n)) 1 |
| 90 | have hb : SectionsHomologyNaturality.IntrinsicCech.sectionsCycleCokernelMap ψ (n + 1) ≫ bL.hom = bK.hom ≫ hm := |
| 91 | HilbertConstruction.Sheaf.BoundaryNaturality.IntrinsicCech.sheafSectionBoundaryCokernelIso_naturality |
| 92 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact K hposK n) |
| 93 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact L hposL n) |
| 94 | (ResolutionCycleMaps.IntrinsicCech.successiveResolutionCycleSequenceMap ψ n) (hK (n + 1) 0) (hL (n + 1) 0) |
| 95 | have hd : hm ≫ dL.hom = dK.hom ≫ |
| 96 | cohomologyMap f (n + 2) := by |
| 97 | ext x |
| 98 | exact ResolutionShiftNaturality.IntrinsicCech.resolutionCycleCohomologyShift_naturality eK wK eL wL haugK haugL |
| 99 | hposK hposL hK hL f ψ hψ n 0 x |
| 100 | let aK := AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsHomologyCokernelIso K (n + 1) |
| 101 | let aL := AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsHomologyCokernelIso L (n + 1) |
| 102 | change HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) (n + 2) ≫ aL.hom = |
| 103 | aK.hom ≫ SectionsHomologyNaturality.IntrinsicCech.sectionsCycleCokernelMap ψ (n + 1) at hc |
| 104 | change HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) (n + 2) ≫ |
| 105 | (aL.hom ≫ bL.hom ≫ dL.hom) = |
| 106 | (aK.hom ≫ bK.hom ≫ dK.hom) ≫ cohomologyMap f (n + 2) |
| 107 | exact compose_three_squares aK.hom bK.hom dK.hom aL.hom bL.hom dL.hom |
| 108 | (HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) (n + 2)) |
| 109 | (SectionsHomologyNaturality.IntrinsicCech.sectionsCycleCokernelMap ψ (n + 1)) hm (cohomologyMap f (n + 2)) hc hb hd |
| 110 | |
| 111 | include hψ in |
| 112 | theorem acyclicResolutionPositiveCohomologyIso_naturality (n : ℕ) : |
| 113 | HomologicalComplex.homologyMap (SectionsHomologyNaturality.IntrinsicCech.sheafTopSectionsMap ψ) (n + 1) ≫ |
| 114 | (AcyclicResolutionCohomology.IntrinsicCech.acyclicResolutionPositiveCohomologyIso L eL wL haugL hposL hL n).hom = |
| 115 | (AcyclicResolutionCohomology.IntrinsicCech.acyclicResolutionPositiveCohomologyIso K eK wK haugK hposK hK n).hom ≫ |
| 116 | cohomologyMap f (n + 1) := by |
| 117 | cases n with |
| 118 | | zero => |
| 119 | exact acyclicResolutionPositiveCohomologyIso_naturality_zero |
| 120 | eK wK eL wL haugK haugL hposK hposL hK hL f ψ hψ |
| 121 | | succ n => |
| 122 | exact acyclicResolutionPositiveCohomologyIso_naturality_succ |
| 123 | eK wK eL wL haugK haugL hposK hposL hK hL f ψ hψ n |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.ResolutionNaturality.IntrinsicCech |