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.CycleClass.Thom.TripleDiagonalCup |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorAssociativity |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction |
| 4 | |
| 5 | /-! # Supported Cup Degrees -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.SupportedCupDegrees.Constructions.TwoSupportAssociativity |
| 12 | |
| 13 | /-! Associativity for three genuinely supported singular cup classes, |
| 14 | with the literal union of their complements and degree transport. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.TripleDiagonalCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorAssociativity.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorDegreeEvaluation.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Relative.CrossAssociateForward.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TripleCross.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.Product.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | theorem twoSupportCohomologyCup_associative (X : TopCat) (A B C : Set X) |
| 25 | (hA : IsOpen A) (hB : IsOpen B) (hC : IsOpen C) (p q r : ℕ) |
| 26 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 27 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) |
| 28 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X C r) : |
| 29 | eqToHom (congrArg (fun d => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X ((A ∪ B) ∪ C) d) |
| 30 | (Nat.add_assoc p q r)) |
| 31 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X (A ∪ B) C (hA.union hB) hC (p + q) r |
| 32 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q a b) c) = |
| 33 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) (TripleDiagonalCup.Constructions.unionAssociate_mapsTo X A B C) (p + (q + r)) |
| 34 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A (B ∪ C) hA (hB.union hC) p (q + r) a |
| 35 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X B C hB hC q r b c)) := by |
| 36 | let AB := HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X X A B |
| 37 | let BC := HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X X B C |
| 38 | let left := HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup (TopCat.of (X × X)) X AB C |
| 39 | ((hA.preimage continuous_fst).union (hB.preimage continuous_snd)) hC (p + q) r |
| 40 | (HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X X A B hA hB p q a b) c |
| 41 | let right := HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X (TopCat.of (X × X)) A BC hA |
| 42 | ((hB.preimage continuous_fst).union (hC.preimage continuous_snd)) p (q + r) a |
| 43 | (HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X X B C hB hC q r b c) |
| 44 | have hleft := (Normal.Product.Constructions.Class.relativeCohomologyMap_degreeCast (TripleDiagonalCup.Constructions.leftTripleMap X) (TripleDiagonalCup.Constructions.leftTriple_mapsTo X A B C) |
| 45 | (Nat.add_assoc p q r) left).symm.trans |
| 46 | (congrArg (eqToHom (congrArg (fun d => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X ((A ∪ B) ∪ C) d) |
| 47 | (Nat.add_assoc p q r))) (TripleDiagonalCup.Constructions.leftTriple_pullback X A B C hA hB hC p q r a b c)) |
| 48 | have hassoc := congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (TripleDiagonalCup.Constructions.leftTripleMap X) |
| 49 | (TripleDiagonalCup.Constructions.leftTriple_mapsTo X A B C) (p + (q + r))) |
| 50 | (Relative.ExteriorAssociativity.Constructions.relativeExteriorCup_associative X X X A B C hA hB hC p q r a b c) |
| 51 | have hmaps : |
| 52 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (TripleCross.Constructions.spaceAssociate ((X, X), X)).hom |
| 53 | (Relative.CrossAssociateForward.Constructions.leftSupportMapsTo ((X, X), X) A B C) (p + (q + r)) ≫ |
| 54 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (TripleDiagonalCup.Constructions.leftTripleMap X) (TripleDiagonalCup.Constructions.leftTriple_mapsTo X A B C) (p + (q + r)) = |
| 55 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (TripleDiagonalCup.Constructions.rightTripleMap X) (TripleDiagonalCup.Constructions.rightTriple_mapsTo X A B C) (p + (q + r)) ≫ |
| 56 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) (TripleDiagonalCup.Constructions.unionAssociate_mapsTo X A B C) (p + (q + r)) := by |
| 57 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp, AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp] |
| 58 | exact ThomOpenRestriction.Constructions.pairMap_congr ((TripleDiagonalCup.Constructions.tripleMap_associate X).trans (Category.id_comp (TripleDiagonalCup.Constructions.rightTripleMap X)).symm) _ _ (p + (q + r)) |
| 59 | have hright := (ConcreteCategory.congr_hom hmaps right).trans |
| 60 | (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) |
| 61 | (TripleDiagonalCup.Constructions.unionAssociate_mapsTo X A B C) (p + (q + r))) (TripleDiagonalCup.Constructions.rightTriple_pullback X A B C hA hB hC p q r a b c)) |
| 62 | exact hleft.symm.trans (hassoc.trans hright) |
| 63 | |
| 64 | end AlgebraicGeometry.CycleClass.Thom.SupportedCupDegrees.Constructions.TwoSupportAssociativity |
| 65 | |
| 66 | namespace AlgebraicGeometry.CycleClass.Thom.SupportedCupDegrees.Constructions |
| 67 | |
| 68 | /-! Explicit output degrees for the genuine supported cup, including |
| 69 | associativity with independent intermediate degree identifications. -/ |
| 70 | |
| 71 | open _root_.CategoryTheory |
| 72 | |
| 73 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportedCupDegrees.Constructions.TwoSupportAssociativity OAI.AlgebraicGeometry.CycleClass.Thom.TripleDiagonalCup.Constructions |
| 74 | |
| 75 | set_option backward.isDefEq.respectTransparency false |
| 76 | set_option backward.isDefEq.respectTransparency.types false |
| 77 | |
| 78 | def cupAt (X : TopCat) (A B : Set X) (hA : IsOpen A) (hB : IsOpen B) |
| 79 | (p q n : ℕ) (h : p + q = n) |
| 80 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 81 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) : |
| 82 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (A ∪ B) n := |
| 83 | eqToHom (congrArg (fun d => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (A ∪ B) d) h) |
| 84 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q a b) |
| 85 | |
| 86 | theorem cupAt_associative (X : TopCat) (A B C : Set X) (hA : IsOpen A) (hB : IsOpen B) (hC : IsOpen C) |
| 87 | (p q r m l n : ℕ) (hm : p + q = m) (hl : q + r = l) (hn : p + l = n) (hmr : m + r = n) |
| 88 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 89 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) |
| 90 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X C r) : |
| 91 | cupAt X (A ∪ B) C (hA.union hB) hC m r n hmr (cupAt X A B hA hB p q m hm a b) c = |
| 92 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) (TripleDiagonalCup.Constructions.unionAssociate_mapsTo X A B C) n |
| 93 | (cupAt X A (B ∪ C) hA (hB.union hC) p l n hn a (cupAt X B C hB hC q r l hl b c)) := by |
| 94 | cases hm |
| 95 | cases hl |
| 96 | cases hn |
| 97 | exact TwoSupportAssociativity.twoSupportCohomologyCup_associative X A B C hA hB hC p q r a b c |
| 98 | |
| 99 | theorem cupAt_cast_output (X : TopCat) (A B : Set X) (hA : IsOpen A) (hB : IsOpen B) |
| 100 | (p q n m : ℕ) (hn : p + q = n) (hm : n = m) |
| 101 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 102 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) : |
| 103 | eqToHom (congrArg (fun d => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (A ∪ B) d) hm) |
| 104 | (cupAt X A B hA hB p q n hn a b) = cupAt X A B hA hB p q m (hn.trans hm) a b := by |
| 105 | cases hm |
| 106 | rfl |
| 107 | |
| 108 | end AlgebraicGeometry.CycleClass.Thom.SupportedCupDegrees.Constructions |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI |