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.RelativeCupPresheafHomotopy |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SheafLiftHomotopy |
| 3 | |
| 4 | /-! # Relative Cup Sheaf Homotopy -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupSheafHomotopy.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual supported sheaf cup depends only on the relative cohomology class. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Preadditive _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable (X : TopCat.{0}) (O : Opens X) |
| 17 | variable (v : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)).X 1) |
| 18 | variable (a b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) 2) |
| 19 | |
| 20 | def relativeTwoCupGoodShiftSheafHomotopy |
| 21 | (hv : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)).d 1 2 v = a.val-b.val) : |
| 22 | Homotopy (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X O a) (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X O b) := by |
| 23 | let t := RelativeCupSheaf.Constructions.relativeToSupportedPresheafComplexMap X O |
| 24 | apply SheafLiftHomotopy.Constructions.sheafLiftTwoGoodShiftHomotopy |
| 25 | (RelativeCupSheaf.Constructions.relativeTwoCupToSupportedPresheafComplexMap X O a) |
| 26 | (RelativeCupSheaf.Constructions.relativeTwoCupToSupportedPresheafComplexMap X O b) |
| 27 | (fun n => RelativeCupPresheafHomotopy.Constructions.relativeOneCupSuccessorPresheafMap X (O : Set X) v n ≫ t.f (2+n)) |
| 28 | (RelativeCupPresheafHomotopy.Constructions.relativeOneCupZeroPresheafMap X (O : Set X) v ≫ t.f 1) |
| 29 | · change (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X (O : Set X) a).f 0 ≫ t.f 2 - |
| 30 | (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X (O : Set X) b).f 0 ≫ t.f 2 = _ |
| 31 | rw [← sub_comp, RelativeCupPresheafHomotopy.Constructions.relativeTwoCupPresheafPrimitive_zero X (O : Set X) v a b hv, |
| 32 | add_comp] |
| 33 | simp only [Category.assoc] |
| 34 | rw [← t.comm 1 2] |
| 35 | rfl |
| 36 | · intro n |
| 37 | change (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X (O : Set X) a).f (n+1) ≫ t.f (2+(n+1)) - |
| 38 | (RelativeCupPresheaf.Constructions.relativeTwoCupPresheafComplexMap X (O : Set X) b).f (n+1) ≫ t.f (2+(n+1)) = _ |
| 39 | rw [← sub_comp, RelativeCupPresheafHomotopy.Constructions.relativeTwoCupPresheafPrimitive_successor X (O : Set X) v a b hv, |
| 40 | add_comp] |
| 41 | simp only [Category.assoc] |
| 42 | rw [← t.comm (2+n) (2+(n+1))] |
| 43 | rfl |
| 44 | |
| 45 | theorem relativeTwoCupGoodShiftSheaf_homotopic_of_class_eq |
| 46 | (hab : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) 2 a = |
| 47 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) 2 b) : |
| 48 | Nonempty (Homotopy (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X O a) |
| 49 | (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X O b)) := by |
| 50 | obtain ⟨v,hv⟩ := (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_eq_iff_exists_succ |
| 51 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) 1 a b).mp hab |
| 52 | exact ⟨relativeTwoCupGoodShiftSheafHomotopy X O v a b hv⟩ |
| 53 | |
| 54 | theorem relativeTwoCupGoodShiftSheaf_sections_homologyMap_eq |
| 55 | (hab : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) 2 a = |
| 56 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (O : Set X)) 2 b) |
| 57 | (U : Opens X) (n : ℕ) : |
| 58 | HomologicalComplex.homologyMap |
| 59 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 60 | (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X O a)) n = |
| 61 | HomologicalComplex.homologyMap |
| 62 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 63 | (RelativeCupSheaf.Constructions.relativeTwoCupGoodShiftSheafMap X O b)) n := by |
| 64 | obtain ⟨h⟩ := relativeTwoCupGoodShiftSheaf_homotopic_of_class_eq X O a b hab |
| 65 | exact ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomotopy h).homologyMap_eq n |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupSheafHomotopy.Constructions |