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.Relative.TripleCrossSpanning |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorDegreeEvaluation |
| 3 | |
| 4 | /-! # Exterior Associativity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorAssociativity.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Associativity of the actual relative exterior cup under the genuine |
| 11 | product reassociation, with explicit cohomological degree transport. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.HomologicalComplex |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Relative.CrossAssociateForward.Constructions.HomologyAssociativity OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorDegreeEvaluation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Relative.CrossAssociateForward.Constructions |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorCrossDegrees.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TripleCross.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | theorem relativeExteriorCup_associative (X Y Z : TopCat) (A : Set X) (B : Set Y) (C : Set Z) |
| 22 | (hA : IsOpen A) (hB : IsOpen B) (hC : IsOpen C) (p q r : ℕ) |
| 23 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 24 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y B q) |
| 25 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Z C r) : |
| 26 | ExteriorDegreeEvaluation.Constructions.exteriorAt (TopCat.of (X × Y)) Z (HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X Y A B) C |
| 27 | ((hA.preimage continuous_fst).union (hB.preimage continuous_snd)) hC |
| 28 | (p + q) r (p + (q + r)) (Nat.add_assoc p q r) |
| 29 | (HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X Y A B hA hB p q a b) c = |
| 30 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (TripleCross.Constructions.spaceAssociate ((X, Y), Z)).hom |
| 31 | (CrossAssociateForward.Constructions.leftSupportMapsTo ((X, Y), Z) A B C) (p + (q + r)) |
| 32 | (HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X (TopCat.of (Y × Z)) A (HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement Y Z B C) hA |
| 33 | ((hB.preimage continuous_fst).union (hC.preimage continuous_snd)) p (q + r) a |
| 34 | (HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup Y Z B C hB hC q r b c)) := by |
| 35 | let AB := HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X Y A B |
| 36 | let BC := HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement Y Z B C |
| 37 | let hAB := (hA.preimage continuous_fst).union (hB.preimage continuous_snd) |
| 38 | let hBC := (hB.preimage continuous_fst).union (hC.preimage continuous_snd) |
| 39 | let ab := HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X Y A B hA hB p q a b |
| 40 | let bc := HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup Y Z B C hB hC q r b c |
| 41 | let right := HodgeConjecture.DegreeTwo.ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X (TopCat.of (Y × Z)) A BC hA hBC p (q + r) a bc |
| 42 | apply (Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ (TopCat.of ((X × Y) × Z)) |
| 43 | (HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement (TopCat.of (X × Y)) Z AB C) (p + (q + r))).injective |
| 44 | apply TripleCrossSpanning.Constructions.linearMap_ext X Y Z A B C hA hB hC (p + (q + r)) |
| 45 | intro i j k m hij hmk u v w |
| 46 | rw [Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv_apply, Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv_apply] |
| 47 | have hn := Geometric.RelativeUniversalCoefficientNaturality.Cycles.relativeHomologyEvaluation_naturality (ModuleCat.of ℚ ℚ) |
| 48 | (X := TopCat.of ((X × Y) × Z)) (Y := TopCat.of (X × (Y × Z))) |
| 49 | (TripleCross.Constructions.spaceAssociate ((X, Y), Z)).hom (CrossAssociateForward.Constructions.leftSupportMapsTo ((X, Y), Z) A B C) (p + (q + r)) right |
| 50 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ (TopCat.of (X × Y)) Z AB C m k (p + (q + r)) hmk |
| 51 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ X Y A B i j m hij u v) w) |
| 52 | refine Eq.trans ?_ hn.symm |
| 53 | by_cases hi : i = p |
| 54 | · subst i |
| 55 | have hjk : j + k = q + r := by omega |
| 56 | have hc := ExteriorDegreeEvaluation.Constructions.cross_associate_at_targets X Y Z A B C p j k m (q + r) (p + (q + r)) hij hjk hmk u v w |
| 57 | have hr := (congrArg (Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) (TopCat.of (X × (Y × Z))) |
| 58 | (HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X (TopCat.of (Y × Z)) A BC) (p + (q + r)) right) hc).trans |
| 59 | (ExteriorDegreeEvaluation.Constructions.exteriorAt_cross_same X (TopCat.of (Y × Z)) A BC hA hBC p (q + r) (p + (q + r)) rfl a bc u |
| 60 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ Y Z B C j k (q + r) hjk v w)) |
| 61 | refine Eq.trans ?_ hr.symm |
| 62 | by_cases hj : j = q |
| 63 | · subst j |
| 64 | have hk : k = r := by omega |
| 65 | subst k |
| 66 | subst m |
| 67 | have hl := ExteriorDegreeEvaluation.Constructions.exteriorAt_cross_same (TopCat.of (X × Y)) Z AB C hAB hC |
| 68 | (p + q) r (p + (q + r)) (Nat.add_assoc p q r) ab c |
| 69 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ X Y A B p q (p + q) rfl u v) w |
| 70 | have h₁ := HodgeConjecture.DegreeTwo.ExteriorCupCrossEvaluation.Constructions.relativeExteriorCup_cross_evaluation X Y A B hA hB p q a b u v |
| 71 | have h₂ := HodgeConjecture.DegreeTwo.ExteriorCupCrossEvaluation.Constructions.relativeExteriorCup_cross_evaluation Y Z B C hB hC q r b c v w |
| 72 | exact hl.trans ((congrArg (fun z => z * Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) Z C r c w) h₁).trans |
| 73 | ((mul_assoc _ _ _).trans (congrArg (fun z => Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A p a u * z) h₂.symm))) |
| 74 | · have hm : m ≠ p + q := by omega |
| 75 | have hl := ExteriorDegreeEvaluation.Constructions.exteriorAt_cross_other (TopCat.of (X × Y)) Z AB C hAB hC |
| 76 | (p + q) r (p + (q + r)) (Nat.add_assoc p q r) m k hmk hm ab c |
| 77 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ X Y A B p j m hij u v) w |
| 78 | have hz := ExteriorCrossDegrees.Constructions.exterior_cross_other Y Z B C hB hC q r j k hjk hj b c v w |
| 79 | exact hl.trans ((congrArg (fun z => Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A p a u * z) hz).trans |
| 80 | (mul_zero _)).symm |
| 81 | · have hc := CrossAssociateForward.Constructions.cross_associate_at ℚ ((X, Y), Z) A B C i j k m (p + (q + r)) hij hmk u v w |
| 82 | have hr := (congrArg (Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) (TopCat.of (X × (Y × Z))) |
| 83 | (HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X (TopCat.of (Y × Z)) A BC) (p + (q + r)) right) hc).trans |
| 84 | (ExteriorCrossDegrees.Constructions.exterior_cross_other X (TopCat.of (Y × Z)) A BC hA hBC p (q + r) i (j + k) (by omega) hi a bc u |
| 85 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ Y Z B C j k (j + k) rfl v w)) |
| 86 | refine Eq.trans ?_ hr.symm |
| 87 | by_cases hm : m = p + q |
| 88 | · cases hm |
| 89 | have hk : k = r := by omega |
| 90 | subst k |
| 91 | have hl := ExteriorDegreeEvaluation.Constructions.exteriorAt_cross_same (TopCat.of (X × Y)) Z AB C hAB hC |
| 92 | (p + q) r (p + (q + r)) (Nat.add_assoc p q r) ab c |
| 93 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ X Y A B i j (p + q) hij u v) w |
| 94 | have hz := ExteriorCrossDegrees.Constructions.exterior_cross_other X Y A B hA hB p q i j hij hi a b u v |
| 95 | exact hl.trans ((congrArg (fun z => z * Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) Z C r c w) hz).trans |
| 96 | (zero_mul _)) |
| 97 | · exact ExteriorDegreeEvaluation.Constructions.exteriorAt_cross_other (TopCat.of (X × Y)) Z AB C hAB hC |
| 98 | (p + q) r (p + (q + r)) (Nat.add_assoc p q r) m k hmk hm ab c |
| 99 | (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ X Y A B i j m hij u v) w |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.CycleClass.Thom.Relative.ExteriorAssociativity.Constructions |