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.Supported.ProjectionCup |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.BinarySmallCupReversal |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.TwoSupportCup |
| 4 | |
| 5 | /-! # Transport -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.Transport.Constructions.ProjectionRightCup |
| 12 | |
| 13 | /-! Compact-fiber projection also respects cup multiplication on the right by an even-degree base class, with the actual support and degree transports displayed. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped _root_.Manifold |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.BinarySmallSwap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.BinarySmallCupReversal.Constructions.TwoSupportCommutativity OAI.AlgebraicGeometry.CycleClass.Thom.Projection.CupEnlargement.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionCup.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | def cupSwapTransport (X : TopCat.{0}) (A B : Set X) (p q : ℕ) : |
| 25 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (B ∪ A) (q + p) →ₗ[ℚ] |
| 26 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (A ∪ B) (p + q) := |
| 27 | (eqToHom (congrArg (fun k => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (A ∪ B) k) |
| 28 | (Nat.add_comm q p))).hom.comp (HomologicalComplex.homologyMap (BinarySmallSwap.Constructions.unionSwap X A B) (q + p)).hom |
| 29 | |
| 30 | theorem evenCup_swap (X : TopCat.{0}) (A B : Set X) (hA : IsOpen A) (hB : IsOpen B) (p q : ℕ) |
| 31 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A (2 * p)) |
| 32 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) : |
| 33 | cupSwapTransport X A B (2 * p) q (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X B A hB hA q (2 * p) b a) = |
| 34 | HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB (2 * p) q a b := |
| 35 | (BinarySmallCupReversal.Constructions.TwoSupportCommutativity.twoSupportCup_even_comm X A B hA hB p q a b).symm |
| 36 | |
| 37 | def basePullback (X Z : TopCat.{0}) (A : Set X) (p : ℕ) : |
| 38 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p →ₗ[ℚ] |
| 39 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (X × Z)) (Prod.fst ⁻¹' A) p := |
| 40 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (TopCat.prodFst : TopCat.of (X × Z) ⟶ X) |
| 41 | (A := Prod.fst ⁻¹' A) (B := A) (fun _ hx => hx) p).hom |
| 42 | |
| 43 | variable (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] |
| 44 | [ChartedSpace (Fin d → ℂ) M] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 M] |
| 45 | |
| 46 | theorem projectComplement_rightCup (X : TopCat.{0}) (A B : Set X) |
| 47 | (hA : IsOpen A) (hB : IsOpen B) (K : Set M) (hK : IsCompact K) |
| 48 | (D : Set (X × M)) (hD : IsOpen D) |
| 49 | (hbound : HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X (TopCat.of M) B Kᶜ ⊆ D) (p q : ℕ) |
| 50 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A (2 * p)) |
| 51 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (X × M)) D (q + 2 * d)) : |
| 52 | ProjectionCup.Constructions.projectComplement d X (A ∪ B) K hK (Prod.fst ⁻¹' A ∪ D) |
| 53 | (Projection.CupEnlargement.Constructions.projectCupBound X (TopCat.of M) A B Kᶜ D hbound) |
| 54 | (2 * p + q) (2 * p + (q + 2 * d)) (Nat.add_assoc (2 * p) q (2 * d)) |
| 55 | (cupSwapTransport (TopCat.of (X × M)) (Prod.fst ⁻¹' A) D (2 * p) (q + 2 * d) |
| 56 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup (TopCat.of (X × M)) D (Prod.fst ⁻¹' A) |
| 57 | hD (hA.preimage continuous_fst) (q + 2 * d) (2 * p) c |
| 58 | (basePullback X (TopCat.of M) A (2 * p) a))) = |
| 59 | cupSwapTransport X A B (2 * p) q |
| 60 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X B A hB hA q (2 * p) |
| 61 | (ProjectionCup.Constructions.projectComplement d X B K hK D hbound q (q + 2 * d) rfl c) a) := by |
| 62 | rw [evenCup_swap, evenCup_swap] |
| 63 | exact ProjectionCup.Constructions.projectComplement_cup d X A B hA hB K hK D hD hbound (2 * p) q a c |
| 64 | |
| 65 | end AlgebraicGeometry.CycleClass.Thom.Supported.Transport.Constructions.ProjectionRightCup |
| 66 | |
| 67 | namespace AlgebraicGeometry.CycleClass.Thom.Supported.Transport.Constructions.Class |
| 68 | |
| 69 | /-! Explicit support and degree transport for actual supported classes, |
| 70 | including the transports in the image-intersection and cup-swap formulas. -/ |
| 71 | |
| 72 | open _root_.CategoryTheory |
| 73 | |
| 74 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Normal OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.TwoSupportCup.Constructions |
| 75 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Transport.Constructions.ProjectionRightCup OAI.AlgebraicGeometry.CycleClass.Thom.BinarySmallSwap.Constructions |
| 76 | |
| 77 | def supportDegreeTransport (X : TopCat.{0}) {A B : Set X} {n m : ℕ} (hA : A = B) (hn : n = m) : |
| 78 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A n →ₗ[ℚ] |
| 79 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B m := |
| 80 | (eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S m) hA)).hom.comp |
| 81 | (eqToHom (congrArg (fun k => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A k) hn)).hom |
| 82 | |
| 83 | theorem supportDegreeTransport_injective (X : TopCat.{0}) {A B : Set X} {n m : ℕ} |
| 84 | (hA : A = B) (hn : n = m) : Function.Injective (supportDegreeTransport X hA hn) := by |
| 85 | subst B |
| 86 | subst m |
| 87 | exact Function.injective_id |
| 88 | |
| 89 | theorem supportDegreeTransport_trans (X : TopCat.{0}) {A B C : Set X} {n m k : ℕ} |
| 90 | (hA : A = B) (hB : B = C) (hn : n = m) (hm : m = k) |
| 91 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A n) : |
| 92 | supportDegreeTransport X hB hm (supportDegreeTransport X hA hn c) = |
| 93 | supportDegreeTransport X (hA.trans hB) (hn.trans hm) c := by |
| 94 | subst B |
| 95 | subst C |
| 96 | subst m |
| 97 | subst k |
| 98 | rfl |
| 99 | |
| 100 | theorem identityMap_eq_supportCast (X : TopCat.{0}) {A B : Set X} (hA : A = B) |
| 101 | (h : Set.MapsTo (𝟙 X) B A) (n : ℕ) : |
| 102 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) h n = |
| 103 | eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) hA) := by |
| 104 | subst B |
| 105 | exact AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id (ModuleCat.of ℚ ℚ) X A n |
| 106 | |
| 107 | theorem supportDegreeTransport_degreeAfterSupport (X : TopCat.{0}) {A B : Set X} {n m : ℕ} |
| 108 | (hA : A = B) (hn : n = m) |
| 109 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A n) : |
| 110 | supportDegreeTransport X hA hn c = |
| 111 | eqToHom (congrArg (fun k => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B k) hn) |
| 112 | (eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) hA) c) := by |
| 113 | subst B |
| 114 | subst m |
| 115 | rfl |
| 116 | |
| 117 | theorem cupSwapTransport_eq_transport (X : TopCat.{0}) (A B : Set X) (p q : ℕ) |
| 118 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (B ∪ A) (q + p)) : |
| 119 | ProjectionRightCup.cupSwapTransport X A B p q c = |
| 120 | supportDegreeTransport X (Set.union_comm B A) (Nat.add_comm q p) c := by |
| 121 | have h : HomologicalComplex.homologyMap (BinarySmallSwap.Constructions.unionSwap X A B) (q + p) = |
| 122 | eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S (q + p)) (Set.union_comm B A)) := |
| 123 | identityMap_eq_supportCast X (Set.union_comm B A) (fun _ hx => hx.elim Or.inr Or.inl) (q + p) |
| 124 | change eqToHom (congrArg (fun k => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (A ∪ B) k) |
| 125 | (Nat.add_comm q p)) (HomologicalComplex.homologyMap (BinarySmallSwap.Constructions.unionSwap X A B) (q + p) c) = _ |
| 126 | rw [h] |
| 127 | exact (supportDegreeTransport_degreeAfterSupport X (Set.union_comm B A) (Nat.add_comm q p) c).symm |
| 128 | |
| 129 | theorem imageIntersectionCup_eq_transport {M P N : Type} [TopologicalSpace N] |
| 130 | (u : M → N) (v : P → N) (hu : IsOpen (Set.range u)ᶜ) (hv : IsOpen (Set.range v)ᶜ) (p q : ℕ) |
| 131 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range u)ᶜ (2 * p)) |
| 132 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of N) (Set.range v)ᶜ (2 * q)) : |
| 133 | ImageIntersectionCup.Constructions.imageIntersectionCup u v hu hv p q a b = |
| 134 | supportDegreeTransport (TopCat.of N) (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq u v) (Nat.mul_add 2 p q).symm |
| 135 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup (TopCat.of N) (Set.range u)ᶜ (Set.range v)ᶜ hu hv (2 * p) (2 * q) a b) := by |
| 136 | rw [ImageIntersectionTo.Constructions.Normal.imageIntersectionCup_eq_even, Intersection.TwoSupportCup.Constructions.evenIntersectionCup_eq_twoSupport] |
| 137 | rfl |
| 138 | |
| 139 | theorem twoSupportCup_degreeTransport (X : TopCat.{0}) (A B : Set X) (hA : IsOpen A) (hB : IsOpen B) |
| 140 | {p q r s : ℕ} (hp : p = r) (hq : q = s) |
| 141 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 142 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X B q) : |
| 143 | HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB r s |
| 144 | (supportDegreeTransport X rfl hp a) (supportDegreeTransport X rfl hq b) = |
| 145 | supportDegreeTransport X rfl (congrArg₂ Nat.add hp hq) |
| 146 | (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q a b) := by |
| 147 | subst r |
| 148 | subst s |
| 149 | rfl |
| 150 | |
| 151 | end AlgebraicGeometry.CycleClass.Thom.Supported.Transport.Constructions.Class |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI |