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.BinarySmallForgetSupport |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportCupCochain |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology |
| 4 | |
| 5 | /-! # Support Cup Forget -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportCupForget.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Forgetting either support of the genuine two-support cup recovers the corresponding native relative cup. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCupCohomology.Cycles |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable (X : TopCat.{0}) (A B : Set X) |
| 19 | |
| 20 | theorem twoSupportSmallCup_forget_left {p q : ℕ} |
| 21 | (a : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A).X p) |
| 22 | (b : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B).X q) : |
| 23 | (BinarySmallForgetSupport.Constructions.binarySmallCochainToRelativeMap X A B B (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementRight X A B)).f (p+q) |
| 24 | (SupportCupCochain.Constructions.twoSupportSmallCupCochain X A B a b) = |
| 25 | CycleClass.Geometric.RelativeCup.Cycles.absoluteRelativeCup X B p q ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f p a) b := by |
| 26 | apply CycleClass.Geometric.RelativeCochainHomotopy.Cohomology.relativeCochainInclusion_injective (ModuleCat.of ℚ ℚ) X B (p+q) |
| 27 | rw [BinarySmallForgetSupport.Constructions.binarySmallCochainToRelativeMap_inclusion X A B B (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementRight X A B) |
| 28 | (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementRight_projection X A B), SupportCupCochain.Constructions.twoSupportSmallCupCochain_inclusion] |
| 29 | exact (CycleClass.Geometric.RelativeCup.Cycles.absoluteRelativeCupWith_inclusion X B |
| 30 | (M := ModuleCat.of ℚ ℚ) (N := ModuleCat.of ℚ ℚ) (L := ModuleCat.of ℚ ℚ) |
| 31 | (LinearMap.mul ℚ ℚ) ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f p a) b).symm |
| 32 | |
| 33 | theorem twoSupportSmallCup_forget_right {p q : ℕ} |
| 34 | (a : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A).X p) |
| 35 | (b : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B).X q) : |
| 36 | (BinarySmallForgetSupport.Constructions.binarySmallCochainToRelativeMap X A B A (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementLeft X A B)).f (p+q) |
| 37 | (SupportCupCochain.Constructions.twoSupportSmallCupCochain X A B a b) = |
| 38 | CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCup X A p q a ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X B).f q b) := by |
| 39 | apply CycleClass.Geometric.RelativeCochainHomotopy.Cohomology.relativeCochainInclusion_injective (ModuleCat.of ℚ ℚ) X A (p+q) |
| 40 | rw [BinarySmallForgetSupport.Constructions.binarySmallCochainToRelativeMap_inclusion X A B A (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementLeft X A B) |
| 41 | (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementLeft_projection X A B), SupportCupCochain.Constructions.twoSupportSmallCupCochain_inclusion] |
| 42 | exact (CycleClass.Geometric.RelativeCup.Cycles.relativeAbsoluteCupWith_inclusion X A |
| 43 | (M := ModuleCat.of ℚ ℚ) (N := ModuleCat.of ℚ ℚ) (L := ModuleCat.of ℚ ℚ) |
| 44 | (LinearMap.mul ℚ ℚ) a ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X B).f q b)).symm |
| 45 | |
| 46 | theorem twoSupportCohomologyCup_forget_left (hA : IsOpen A) (hB : IsOpen B) (p q : ℕ) |
| 47 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 48 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) : |
| 49 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) |
| 50 | (A := B) (B := A ∪ B) Set.subset_union_right (p+q) |
| 51 | (SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q a b) = |
| 52 | CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup (R := ℚ) X B p q |
| 53 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X A p a) b := by |
| 54 | obtain ⟨a,rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p a |
| 55 | obtain ⟨b,rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B) q b |
| 56 | have hm := congrArg (fun g => HomologicalComplex.homologyMap g (p+q)) |
| 57 | (BinarySmallForgetSupport.Constructions.binarySmallRelativeCochainMap_forget X A B B (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementRight X A B) |
| 58 | (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementRight_projection X A B) Set.subset_union_right) |
| 59 | rw [HomologicalComplex.homologyMap_comp] at hm |
| 60 | change HomologicalComplex.homologyMap (AlgebraicTopology.Duality.Poincare.SupportConnectingComponents.relativeRationalSubsetCochainMap X |
| 61 | (Set.subset_union_right : B ⊆ A ∪ B)) (p+q) _ = _ |
| 62 | rw [← hm] |
| 63 | change HomologicalComplex.homologyMap |
| 64 | (BinarySmallForgetSupport.Constructions.binarySmallCochainToRelativeMap X A B B (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementRight X A B)) (p+q) |
| 65 | (HomologicalComplex.homologyMap (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B) (p+q) _) = _ |
| 66 | rw [SupportCupCochain.Constructions.twoSupportCohomologyCup_smallCochain_class, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 67 | change _ = CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup (R := ℚ) X B p q |
| 68 | (HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A) p |
| 69 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p a)) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q b) |
| 70 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, CycleClass.Geometric.RelativeCupCohomology.Cycles.absoluteRelativeCohomologyCup_class_class] |
| 71 | apply congrArg (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B) (p+q)) |
| 72 | apply Subtype.ext |
| 73 | exact twoSupportSmallCup_forget_left X A B a.val b.val |
| 74 | |
| 75 | theorem twoSupportCohomologyCup_forget_right (hA : IsOpen A) (hB : IsOpen B) (p q : ℕ) |
| 76 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 77 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) : |
| 78 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) |
| 79 | (A := A) (B := A ∪ B) Set.subset_union_left (p+q) |
| 80 | (SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q a b) = |
| 81 | CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) X A p q a |
| 82 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X B q b) := by |
| 83 | obtain ⟨a,rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p a |
| 84 | obtain ⟨b,rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B) q b |
| 85 | have hm := congrArg (fun g => HomologicalComplex.homologyMap g (p+q)) |
| 86 | (BinarySmallForgetSupport.Constructions.binarySmallRelativeCochainMap_forget X A B A (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementLeft X A B) |
| 87 | (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementLeft_projection X A B) Set.subset_union_left) |
| 88 | rw [HomologicalComplex.homologyMap_comp] at hm |
| 89 | change HomologicalComplex.homologyMap (AlgebraicTopology.Duality.Poincare.SupportConnectingComponents.relativeRationalSubsetCochainMap X |
| 90 | (Set.subset_union_left : A ⊆ A ∪ B)) (p+q) _ = _ |
| 91 | rw [← hm] |
| 92 | change HomologicalComplex.homologyMap |
| 93 | (BinarySmallForgetSupport.Constructions.binarySmallCochainToRelativeMap X A B A (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementLeft X A B)) (p+q) |
| 94 | (HomologicalComplex.homologyMap (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B) (p+q) _) = _ |
| 95 | rw [SupportCupCochain.Constructions.twoSupportCohomologyCup_smallCochain_class, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 96 | change _ = CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) X A p q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p a) |
| 97 | (HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X B) q |
| 98 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q b)) |
| 99 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality, CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup_class_class] |
| 100 | apply congrArg (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) (p+q)) |
| 101 | apply Subtype.ext |
| 102 | exact twoSupportSmallCup_forget_right X A B a.val b.val |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportCupForget.Constructions |