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.RelativeCupHomotopy |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupSheaf |
| 3 | |
| 4 | /-! # Relative Cup Presheaf Homotopy -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupPresheafHomotopy.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Relative cup primitives retain every open-set restriction and support condition. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable (X : TopCat.{0}) (C : Set X) |
| 19 | |
| 20 | theorem relativeCochainMap_cast {Y : TopCat.{0}} {D : Set Y} |
| 21 | (f : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C ⟶ |
| 22 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) Y D) {i j : ℕ} (h : i=j) |
| 23 | (b : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C).X i) : |
| 24 | f.f j (CycleClass.Geometric.RelativeCup.Cycles.relativeCochainCast (ModuleCat.of ℚ ℚ) X C h b) = |
| 25 | CycleClass.Geometric.RelativeCup.Cycles.relativeCochainCast (ModuleCat.of ℚ ℚ) Y D h (f.f i b) := by |
| 26 | subst j |
| 27 | rfl |
| 28 | |
| 29 | variable (v : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C).X 1) |
| 30 | |
| 31 | theorem relativeOneCupSuccessorMap_naturality {Y : TopCat.{0}} (f : Y ⟶ X) |
| 32 | (D : Set Y) (hf : Set.MapsTo f D C) (n : ℕ) : |
| 33 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) f).f (n+1) ≫ |
| 34 | RelativeCupHomotopy.Constructions.relativeOneCupSuccessorMap Y D |
| 35 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) f hf).f 1 v) n = |
| 36 | RelativeCupHomotopy.Constructions.relativeOneCupSuccessorMap X C v n ≫ |
| 37 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) f hf).f (2+n) := by |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply LinearMap.ext |
| 40 | intro b |
| 41 | change CycleClass.Geometric.RelativeCup.Cycles.relativeCochainCast (ModuleCat.of ℚ ℚ) Y D _ |
| 42 | (CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCup Y D 1 (n+1) |
| 43 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) f hf).f 1 v) |
| 44 | ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) f).f (n+1) b)) = |
| 45 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) f hf).f (2+n) |
| 46 | (CycleClass.Geometric.RelativeCup.Cycles.relativeCochainCast (ModuleCat.of ℚ ℚ) X C _ (CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCup X C 1 (n+1) v b)) |
| 47 | rw [relativeCochainMap_cast] |
| 48 | apply congrArg (CycleClass.Geometric.RelativeCup.Cycles.relativeCochainCast (ModuleCat.of ℚ ℚ) Y D _) |
| 49 | exact (CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCupWith_pullback Y D |
| 50 | (M := ModuleCat.of ℚ ℚ) (N := ModuleCat.of ℚ ℚ) (L := ModuleCat.of ℚ ℚ) |
| 51 | (LinearMap.mul ℚ ℚ) f hf v b).symm |
| 52 | |
| 53 | theorem relativeOneCupZeroMap_naturality {Y : TopCat.{0}} (f : Y ⟶ X) |
| 54 | (D : Set Y) (hf : Set.MapsTo f D C) : |
| 55 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) f).f 0 ≫ |
| 56 | RelativeCupHomotopy.Constructions.relativeOneCupZeroMap Y D |
| 57 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) f hf).f 1 v) = |
| 58 | RelativeCupHomotopy.Constructions.relativeOneCupZeroMap X C v ≫ |
| 59 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) f hf).f 1 := by |
| 60 | apply ModuleCat.hom_ext |
| 61 | apply LinearMap.ext |
| 62 | intro b |
| 63 | exact (CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCupWith_pullback Y D |
| 64 | (M := ModuleCat.of ℚ ℚ) (N := ModuleCat.of ℚ ℚ) (L := ModuleCat.of ℚ ℚ) |
| 65 | (LinearMap.mul ℚ ℚ) f hf v b).symm |
| 66 | |
| 67 | def relativeOneCochainOpenRestriction (U : Opens X) : |
| 68 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U)).X 1 := |
| 69 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) (Opens.inclusion' U) (fun _ hx => hx)).f 1 v |
| 70 | |
| 71 | theorem relativeOneCochainOpenRestriction_naturality {U W : Opens X} (i : U ⟶ W) : |
| 72 | ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainPresheaf (ModuleCat.of ℚ ℚ) X C).map i.op).f 1 |
| 73 | (relativeOneCochainOpenRestriction X C v W) = |
| 74 | relativeOneCochainOpenRestriction X C v U := by |
| 75 | have h := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp (ModuleCat.of ℚ ℚ) |
| 76 | ((Opens.toTopCat X).map i) (Opens.inclusion' W) |
| 77 | (A := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U) (B := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C W) (C := C) |
| 78 | (fun _ hx => hx) (fun _ hx => hx) |
| 79 | exact ConcreteCategory.congr_hom (congrArg (fun f => f.f 1) h) v |
| 80 | |
| 81 | def relativeOneCupSuccessorPresheafMap (n : ℕ) : |
| 82 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).X (n+1) ⟶ |
| 83 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafComplex (ModuleCat.of ℚ ℚ) X C).X (2+n) where |
| 84 | app U := RelativeCupHomotopy.Constructions.relativeOneCupSuccessorMap (TopCat.of U.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U.unop) |
| 85 | (relativeOneCochainOpenRestriction X C v U.unop) n |
| 86 | naturality U W i := by |
| 87 | have h := relativeOneCupSuccessorMap_naturality (TopCat.of U.unop) |
| 88 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U.unop) (relativeOneCochainOpenRestriction X C v U.unop) |
| 89 | ((Opens.toTopCat X).map i.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C W.unop) (fun _ hx => hx) n |
| 90 | have hc := congrArg (fun w => |
| 91 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) ((Opens.toTopCat X).map i.unop)).f (n+1) ≫ |
| 92 | RelativeCupHomotopy.Constructions.relativeOneCupSuccessorMap (TopCat.of W.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C W.unop) w n) |
| 93 | (relativeOneCochainOpenRestriction_naturality X C v i.unop) |
| 94 | exact hc.symm.trans h |
| 95 | |
| 96 | def relativeOneCupZeroPresheafMap : |
| 97 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).X 0 ⟶ |
| 98 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafComplex (ModuleCat.of ℚ ℚ) X C).X 1 where |
| 99 | app U := RelativeCupHomotopy.Constructions.relativeOneCupZeroMap (TopCat.of U.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U.unop) |
| 100 | (relativeOneCochainOpenRestriction X C v U.unop) |
| 101 | naturality U W i := by |
| 102 | have h := relativeOneCupZeroMap_naturality (TopCat.of U.unop) |
| 103 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U.unop) (relativeOneCochainOpenRestriction X C v U.unop) |
| 104 | ((Opens.toTopCat X).map i.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C W.unop) (fun _ hx => hx) |
| 105 | have hc := congrArg (fun w => |
| 106 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℚ ℚ) ((Opens.toTopCat X).map i.unop)).f 0 ≫ |
| 107 | RelativeCupHomotopy.Constructions.relativeOneCupZeroMap (TopCat.of W.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C W.unop) w) |
| 108 | (relativeOneCochainOpenRestriction_naturality X C v i.unop) |
| 109 | exact hc.symm.trans h |
| 110 | |
| 111 | end |
| 112 | |
| 113 | /-! The global primitive restricts to coherent primitive identities of presheaves. -/ |
| 114 | |
| 115 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 116 | |
| 117 | set_option backward.isDefEq.respectTransparency false |
| 118 | |
| 119 | variable (X : TopCat.{0}) (C : Set X) |
| 120 | variable (v : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C).X 1) |
| 121 | variable (a b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2) |
| 122 | variable (hv : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C).d 1 2 v = a.val-b.val) |
| 123 | |
| 124 | include hv in |
| 125 | theorem relativeOneCochainOpenRestriction_d (U : Opens X) : |
| 126 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U)).d 1 2 |
| 127 | (relativeOneCochainOpenRestriction X C v U) = |
| 128 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X C a U).val - |
| 129 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X C b U).val := by |
| 130 | let f := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) (Opens.inclusion' U) |
| 131 | (A := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U) (B := C) (fun _ hx => hx) |
| 132 | have h := ConcreteCategory.congr_hom (f.comm 1 2) v |
| 133 | simp only [ConcreteCategory.comp_apply, hv, map_sub] at h |
| 134 | exact h |
| 135 | |
| 136 | include hv in |
| 137 | theorem relativeTwoCupPresheafPrimitive_zero : |
| 138 | (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X C a).f 0 - (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X C b).f 0 = |
| 139 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).d 0 1 ≫ |
| 140 | relativeOneCupSuccessorPresheafMap X C v 0 + |
| 141 | relativeOneCupZeroPresheafMap X C v ≫ |
| 142 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafComplex (ModuleCat.of ℚ ℚ) X C).d 1 2 := by |
| 143 | apply NatTrans.ext |
| 144 | funext U |
| 145 | exact RelativeCupHomotopy.Constructions.relativeTwoCupPrimitive_zero (TopCat.of U.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U.unop) |
| 146 | (relativeOneCochainOpenRestriction X C v U.unop) |
| 147 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X C a U.unop) |
| 148 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X C b U.unop) |
| 149 | (relativeOneCochainOpenRestriction_d X C v a b hv U.unop) |
| 150 | |
| 151 | include hv in |
| 152 | theorem relativeTwoCupPresheafPrimitive_successor (n : ℕ) : |
| 153 | (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X C a).f (n+1) - |
| 154 | (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X C b).f (n+1) = |
| 155 | (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of ℚ ℚ) X).d (n+1) (n+2) ≫ |
| 156 | relativeOneCupSuccessorPresheafMap X C v (n+1) + |
| 157 | relativeOneCupSuccessorPresheafMap X C v n ≫ |
| 158 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafComplex (ModuleCat.of ℚ ℚ) X C).d (2+n) (2+(n+1)) := by |
| 159 | apply NatTrans.ext |
| 160 | funext U |
| 161 | exact RelativeCupHomotopy.Constructions.relativeTwoCupPrimitive_successor (TopCat.of U.unop) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace C U.unop) |
| 162 | (relativeOneCochainOpenRestriction X C v U.unop) |
| 163 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X C a U.unop) |
| 164 | (RelativeCupPresheaf.Constructions.relativeTwoCocycleOpenRestriction X C b U.unop) |
| 165 | (relativeOneCochainOpenRestriction_d X C v a b hv U.unop) n |
| 166 | |
| 167 | end |
| 168 | |
| 169 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupPresheafHomotopy.Constructions |