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.SupportedCupDegrees |
| 2 | |
| 3 | /-! # Even Intersection Associativity -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.CycleClass.Thom.EvenIntersectionAssociativity.Constructions |
| 10 | |
| 11 | /-! Associativity of the actual intersection cup in the original |
| 12 | twice-codimension grading, with the literal support reassociation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportedCupDegrees.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.TwoSupportCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normal.IntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TripleDiagonalCup.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | theorem evenIntersectionCup_eq_cupAt (X : TopCat) (A B : Set X) (hA : IsOpen A) (hB : IsOpen B) |
| 22 | (p q : ℕ) |
| 23 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A (2 * p)) |
| 24 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B (2 * q)) : |
| 25 | Normal.IntersectionCup.Constructions.evenIntersectionCup X A B hA hB p q a b = |
| 26 | SupportedCupDegrees.Constructions.cupAt X A B hA hB (2 * p) (2 * q) (2 * (p + q)) (Nat.mul_add 2 p q).symm a b := |
| 27 | Intersection.TwoSupportCup.Constructions.evenIntersectionCup_eq_twoSupport X A B hA hB p q a b |
| 28 | |
| 29 | theorem evenIntersectionCup_associative (X : TopCat) (A B C : Set X) |
| 30 | (hA : IsOpen A) (hB : IsOpen B) (hC : IsOpen C) (p q r : ℕ) |
| 31 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A (2 * p)) |
| 32 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B (2 * q)) |
| 33 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X C (2 * r)) : |
| 34 | eqToHom (congrArg (fun d => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X ((A ∪ B) ∪ C) (2 * d)) |
| 35 | (Nat.add_assoc p q r)) |
| 36 | (Normal.IntersectionCup.Constructions.evenIntersectionCup X (A ∪ B) C (hA.union hB) hC (p + q) r |
| 37 | (Normal.IntersectionCup.Constructions.evenIntersectionCup X A B hA hB p q a b) c) = |
| 38 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) (TripleDiagonalCup.Constructions.unionAssociate_mapsTo X A B C) (2 * (p + (q + r))) |
| 39 | (Normal.IntersectionCup.Constructions.evenIntersectionCup X A (B ∪ C) hA (hB.union hC) p (q + r) a |
| 40 | (Normal.IntersectionCup.Constructions.evenIntersectionCup X B C hB hC q r b c)) := by |
| 41 | simp_rw [evenIntersectionCup_eq_cupAt] |
| 42 | have he := SupportedCupDegrees.Constructions.cupAt_cast_output X (A ∪ B) C (hA.union hB) hC |
| 43 | (2 * (p + q)) (2 * r) (2 * ((p + q) + r)) (2 * (p + (q + r))) |
| 44 | (Nat.mul_add 2 (p + q) r).symm (congrArg (fun n => 2 * n) (Nat.add_assoc p q r)) |
| 45 | (SupportedCupDegrees.Constructions.cupAt X A B hA hB (2 * p) (2 * q) (2 * (p + q)) (Nat.mul_add 2 p q).symm a b) c |
| 46 | exact he.trans (SupportedCupDegrees.Constructions.cupAt_associative X A B C hA hB hC |
| 47 | (2 * p) (2 * q) (2 * r) (2 * (p + q)) (2 * (q + r)) (2 * (p + (q + r))) |
| 48 | (Nat.mul_add 2 p q).symm (Nat.mul_add 2 q r).symm (Nat.mul_add 2 p (q + r)).symm (by omega) a b c) |
| 49 | |
| 50 | end AlgebraicGeometry.CycleClass.Thom.EvenIntersectionAssociativity.Constructions |
| 51 | |
| 52 | namespace AlgebraicGeometry.CycleClass.Thom.EvenIntersectionAssociativity.Constructions.SupportedCupTargets |
| 53 | |
| 54 | /-! The actual supported cup with explicitly identified output |
| 55 | complement and degree. This keeps intersection complements literal |
| 56 | when composing geometric section steps. -/ |
| 57 | |
| 58 | open _root_.CategoryTheory |
| 59 | |
| 60 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportedCupDegrees.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TripleDiagonalCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EvenIntersectionAssociativity.Constructions |
| 61 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Normal OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions |
| 62 | |
| 63 | set_option backward.isDefEq.respectTransparency false |
| 64 | set_option backward.isDefEq.respectTransparency.types false |
| 65 | |
| 66 | theorem id_mapsTo_eq (X : TopCat) (A B : Set X) (h : A = B) : Set.MapsTo (𝟙 X) A B := |
| 67 | fun _ hx => h ▸ hx |
| 68 | |
| 69 | theorem relativeMap_id_eqToHom (X : TopCat) (A B : Set X) (h : A = B) (n : ℕ) : |
| 70 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) (id_mapsTo_eq X A B h) n = |
| 71 | eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) h.symm) := by |
| 72 | cases h |
| 73 | exact AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id (ModuleCat.of ℚ ℚ) X A n |
| 74 | |
| 75 | def cupTo (X : TopCat) (A B S : Set X) (hA : IsOpen A) (hB : IsOpen B) (hS : A ∪ B = S) |
| 76 | (p q n : ℕ) (hn : p + q = n) |
| 77 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 78 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) : |
| 79 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n := |
| 80 | eqToHom (congrArg (fun T => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X T n) hS) |
| 81 | (SupportedCupDegrees.Constructions.cupAt X A B hA hB p q n hn a b) |
| 82 | |
| 83 | theorem cupTo_associative (X : TopCat) (A B C AB BC ABC : Set X) |
| 84 | (hA : IsOpen A) (hB : IsOpen B) (hC : IsOpen C) (hAB : IsOpen AB) (hBC : IsOpen BC) |
| 85 | (eAB : A ∪ B = AB) (eBC : B ∪ C = BC) (eL : AB ∪ C = ABC) (eR : A ∪ BC = ABC) |
| 86 | (p q r m l n : ℕ) (hm : p + q = m) (hl : q + r = l) (hn : p + l = n) (hmr : m + r = n) |
| 87 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 88 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) |
| 89 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X C r) : |
| 90 | cupTo X AB C ABC hAB hC eL m r n hmr (cupTo X A B AB hA hB eAB p q m hm a b) c = |
| 91 | cupTo X A BC ABC hA hBC eR p l n hn a (cupTo X B C BC hB hC eBC q r l hl b c) := by |
| 92 | cases eAB |
| 93 | cases eBC |
| 94 | cases eR |
| 95 | have h := SupportedCupDegrees.Constructions.cupAt_associative X A B C hA hB hC p q r m l n hm hl hn hmr a b c |
| 96 | have he := relativeMap_id_eqToHom X ((A ∪ B) ∪ C) (A ∪ (B ∪ C)) (Set.union_assoc A B C) n |
| 97 | rw [he] at h |
| 98 | have hc := congrArg (eqToHom (congrArg |
| 99 | (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) (Set.union_assoc A B C))) h |
| 100 | simpa only [cupTo, eqToHom_refl, ConcreteCategory.id_apply, |
| 101 | ← ConcreteCategory.comp_apply, eqToHom_trans] using hc |
| 102 | |
| 103 | theorem imageIntersectionCup_eq_cupTo {M N P : Type} [TopologicalSpace N] (u : M → N) (v : P → N) |
| 104 | (hu : IsOpen (Set.range u)ᶜ) (hv : IsOpen (Set.range v)ᶜ) (p q : ℕ) |
| 105 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range u)ᶜ (2 * p)) |
| 106 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range v)ᶜ (2 * q)) : |
| 107 | ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p q a b = |
| 108 | cupTo (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ (Set.range u ∩ Set.range v)ᶜ hu hv |
| 109 | (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq u v) (2 * p) (2 * q) (2 * (p + q)) (Nat.mul_add 2 p q).symm a b := |
| 110 | (ImageIntersectionTo.Constructions.Normal.imageIntersectionCup_eq_even u v hu hv p q a b).trans |
| 111 | (congrArg (eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) S |
| 112 | (2 * (p + q))) (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq u v))) (evenIntersectionCup_eq_cupAt _ _ _ hu hv p q a b)) |
| 113 | |
| 114 | end AlgebraicGeometry.CycleClass.Thom.EvenIntersectionAssociativity.Constructions.SupportedCupTargets |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI |