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.SupportCupCochain |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.BinarySmallRightCup |
| 3 | |
| 4 | /-! # Support Cup Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportCupLift.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # Genuine union-relative cup representatives with a controlled correction |
| 14 | |
| 15 | The correction vanishes on both individual complements. It is obtained from |
| 16 | equality in the actual small-quotient cohomology, including degree zero. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | variable (X : TopCat.{0}) (A B : Set X) (hA : IsOpen A) (hB : IsOpen B) |
| 24 | variable {p q : ℕ} |
| 25 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p) |
| 26 | variable (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B) q) |
| 27 | |
| 28 | theorem twoSupportCup_exists_small_primitive : |
| 29 | ∃ (u : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)) (p+q)) |
| 30 | (v : ((BinarySmallCochains.Constructions.binarySmallCochains X A B).sc (p+q)).X₁), |
| 31 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (p+q) u = |
| 32 | SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p a) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q b) ∧ |
| 33 | ((BinarySmallCochains.Constructions.binarySmallCochains X A B).sc (p+q)).f v = |
| 34 | (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B).f (p+q) u.val - |
| 35 | SupportCupCochain.Constructions.twoSupportSmallCupCochain X A B a.val b.val := by |
| 36 | obtain ⟨u,hu⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective |
| 37 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)) (p+q) |
| 38 | (SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p a) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q b)) |
| 39 | have he := SupportCupCochain.Constructions.twoSupportCohomologyCup_smallCochain_class X A B hA hB a b |
| 40 | rw [← hu, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] at he |
| 41 | obtain ⟨v,hv⟩ := (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_eq_iff_exists (BinarySmallCochains.Constructions.binarySmallCochains X A B) (p+q) |
| 42 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B) (p+q) u) |
| 43 | (SupportCupCochain.Constructions.twoSupportSmallCupCocycle X A B a b)).mp he |
| 44 | exact ⟨u,v,hu,hv⟩ |
| 45 | |
| 46 | theorem twoSupportCup_exists_relative_representative : |
| 47 | ∃ (u : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)) (p+q)) |
| 48 | (v : ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).sc (p+q)).X₁), |
| 49 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (p+q) u = |
| 50 | SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p a) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q b) ∧ |
| 51 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f ((ComplexShape.up ℕ).prev (p+q)) v = 0 ∧ |
| 52 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X B).f ((ComplexShape.up ℕ).prev (p+q)) v = 0 ∧ |
| 53 | ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).sc (p+q)).f v = |
| 54 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X (A ∪ B)).f (p+q) u.val - |
| 55 | AlgebraicTopology.Products.Cup.singularCup X ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f p a.val) |
| 56 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X B).f q b.val) := by |
| 57 | obtain ⟨u,v,hu,hv⟩ := twoSupportCup_exists_small_primitive X A B hA hB a b |
| 58 | let w := BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B ((ComplexShape.up ℕ).prev (p+q)) v |
| 59 | refine ⟨u,w,hu,?_,?_,?_⟩ |
| 60 | · exact BinarySmallRightCup.Constructions.binarySmallCochainInclusion_restriction X A B A |
| 61 | (CycleClass.Geometric.HomologyWithSupports.Cycles.subspaceChainInclusion_binarySmallComplement_left X A B) _ v |
| 62 | · exact BinarySmallRightCup.Constructions.binarySmallCochainInclusion_restriction X A B B |
| 63 | (CycleClass.Geometric.HomologyWithSupports.Cycles.subspaceChainInclusion_binarySmallComplement_right X A B) _ v |
| 64 | · have he := congrArg (BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B (p+q)) hv |
| 65 | change BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B (p+q) |
| 66 | ((BinarySmallCochains.Constructions.binarySmallCochains X A B).d ((ComplexShape.up ℕ).prev (p+q)) (p+q) v) = _ at he |
| 67 | rw [BinarySmallCochains.Constructions.binarySmallCochainInclusion_d, map_sub, BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap_inclusion, |
| 68 | SupportCupCochain.Constructions.twoSupportSmallCupCochain_inclusion] at he |
| 69 | exact he |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! The correction to a positive-degree supported cup lies in the explicit preceding degree. -/ |
| 74 | |
| 75 | open _root_.CategoryTheory |
| 76 | |
| 77 | set_option backward.isDefEq.respectTransparency false |
| 78 | |
| 79 | theorem twoSupportCup_exists_relative_representative_succ |
| 80 | (X : TopCat.{0}) (A B : Set X) (hA : IsOpen A) (hB : IsOpen B) (p q : ℕ) |
| 81 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p) |
| 82 | (b : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B) (q+1)) : |
| 83 | ∃ (u : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)) (p+q+1)) |
| 84 | (v : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).X (p+q)), |
| 85 | AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (p+q+1) u = |
| 86 | SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p (q+1) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p a) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (q+1) b) ∧ |
| 87 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X A).f (p+q) v = 0 ∧ |
| 88 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of ℚ ℚ) X B).f (p+q) v = 0 ∧ |
| 89 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X).d (p+q) (p+q+1) v = |
| 90 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X (A ∪ B)).f (p+q+1) u.val - |
| 91 | AlgebraicTopology.Products.Cup.singularCup X ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f p a.val) |
| 92 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X B).f (q+1) b.val) := by |
| 93 | obtain ⟨u,hu⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective |
| 94 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X (A ∪ B)) (p+q+1) |
| 95 | (SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p (q+1) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p a) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (q+1) b)) |
| 96 | have he := SupportCupCochain.Constructions.twoSupportCohomologyCup_smallCochain_class X A B hA hB a b |
| 97 | rw [← hu] at he |
| 98 | change HomologicalComplex.homologyMap (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B) (p+q+1) |
| 99 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (p+q+1) u) = AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (p+q+1) (SupportCupCochain.Constructions.twoSupportSmallCupCocycle X A B (p := p) (q := q+1) a b) at he |
| 100 | rw [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] at he |
| 101 | obtain ⟨v,hv⟩ := (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_eq_iff_exists_succ (BinarySmallCochains.Constructions.binarySmallCochains X A B) (p+q) |
| 102 | (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap (BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B) (p+q+1) u) |
| 103 | (SupportCupCochain.Constructions.twoSupportSmallCupCocycle X A B (p := p) (q := q+1) a b)).mp he |
| 104 | refine ⟨u,BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B (p+q) v,hu,?_,?_,?_⟩ |
| 105 | · exact BinarySmallRightCup.Constructions.binarySmallCochainInclusion_restriction X A B A |
| 106 | (CycleClass.Geometric.HomologyWithSupports.Cycles.subspaceChainInclusion_binarySmallComplement_left X A B) (p+q) v |
| 107 | · exact BinarySmallRightCup.Constructions.binarySmallCochainInclusion_restriction X A B B |
| 108 | (CycleClass.Geometric.HomologyWithSupports.Cycles.subspaceChainInclusion_binarySmallComplement_right X A B) (p+q) v |
| 109 | · have h := congrArg (BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B (p+q+1)) hv |
| 110 | change BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B (p+q+1) |
| 111 | ((BinarySmallCochains.Constructions.binarySmallCochains X A B).d (p+q) (p+q+1) v) = |
| 112 | BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B (p+q+1) |
| 113 | ((BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap X A B).f (p+q+1) u.val - |
| 114 | SupportCupCochain.Constructions.twoSupportSmallCupCochain X A B (p := p) (q := q+1) a.val b.val) at h |
| 115 | rw [BinarySmallCochains.Constructions.binarySmallCochainInclusion_d, map_sub, BinarySmallRelativeComparison.Constructions.binarySmallRelativeCochainMap_inclusion] at h |
| 116 | have hi : BinarySmallCochains.Constructions.binarySmallCochainInclusion X A B (p+q+1) (SupportCupCochain.Constructions.twoSupportSmallCupCochain X A B (p := p) (q := q+1) a.val b.val) = |
| 117 | AlgebraicTopology.Products.Cup.singularCup X ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A).f p a.val) |
| 118 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X B).f (q+1) b.val) := |
| 119 | SupportCupCochain.Constructions.twoSupportSmallCupCochain_inclusion X A B (p := p) (q := q+1) a.val b.val |
| 120 | rw [hi] at h |
| 121 | exact h |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportCupLift.Constructions |