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.Geometric.RelativeCohomologyExcision |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainFunctoriality |
| 3 | import Mathlib.Analysis.Normed.Group.Basic |
| 4 | |
| 5 | /-! # Normal Ball Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.NormalBallRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Actual restriction from a punctured normal space to a punctured ball |
| 13 | |
| 14 | Closed-support excision for the singleton at the origin proves that restriction |
| 15 | to any positive-radius open ball is an isomorphism in rational relative |
| 16 | cohomology. The maps are the actual pullbacks along subtype inclusions. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainFunctoriality.Cohomology |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | |
| 25 | namespace Cycles |
| 26 | |
| 27 | variable (F : Type) [NormedAddCommGroup F] |
| 28 | |
| 29 | /-- The center as an actual point of a positive-radius normal ball. -/ |
| 30 | def normalBallCenter (r : ℝ) (hr : 0 < r) : Metric.ball (0 : F) r := |
| 31 | ⟨0, Metric.mem_ball_self hr⟩ |
| 32 | |
| 33 | @[simp] |
| 34 | theorem normalBallCenter_val (r : ℝ) (hr : 0 < r) : |
| 35 | (normalBallCenter F r hr).val = 0 := rfl |
| 36 | |
| 37 | /-- The actual subtype inclusion of the normal ball into the normal space. -/ |
| 38 | abbrev normalBallInclusion (r : ℝ) : |
| 39 | TopCat.of (Metric.ball (0 : F) r) ⟶ TopCat.of F := |
| 40 | LocalHomology.Cycles.subspaceInclusion (TopCat.of F) (Metric.ball (0 : F) r) |
| 41 | |
| 42 | @[simp] |
| 43 | theorem normalBall_preimage_zero (r : ℝ) (hr : 0 < r) : |
| 44 | (normalBallInclusion F r) ⁻¹' ({0} : Set F) = |
| 45 | ({normalBallCenter F r hr} : Set (Metric.ball (0 : F) r)) := by |
| 46 | ext x |
| 47 | change x.val = 0 ↔ x = normalBallCenter F r hr |
| 48 | exact ⟨fun h => Subtype.ext h, fun h => congrArg Subtype.val h⟩ |
| 49 | |
| 50 | @[simp] |
| 51 | theorem normalBall_preimage_puncture (r : ℝ) (hr : 0 < r) : |
| 52 | (normalBallInclusion F r) ⁻¹' ({0}ᶜ : Set F) = |
| 53 | ({normalBallCenter F r hr}ᶜ : Set (Metric.ball (0 : F) r)) := by |
| 54 | rw [Set.preimage_compl, normalBall_preimage_zero F r hr] |
| 55 | |
| 56 | /-- The subtype inclusion is a map of the actual punctured pairs. -/ |
| 57 | theorem normalBallInclusion_mapsTo (r : ℝ) (hr : 0 < r) : |
| 58 | Set.MapsTo (normalBallInclusion F r) |
| 59 | ({normalBallCenter F r hr}ᶜ : Set (Metric.ball (0 : F) r)) ({0}ᶜ : Set F) := by |
| 60 | intro x hx |
| 61 | change x.val ≠ 0 |
| 62 | intro h |
| 63 | exact hx (Subtype.ext h) |
| 64 | |
| 65 | /-- The actual restriction on rational relative cohomology of the punctured pair. -/ |
| 66 | abbrev normalBallCohomologyRestriction (r : ℝ) (hr : 0 < r) (n : ℕ) : |
| 67 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of F) ({0}ᶜ : Set F) n ⟶ |
| 68 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 69 | (TopCat.of (Metric.ball (0 : F) r)) |
| 70 | ({normalBallCenter F r hr}ᶜ : Set (Metric.ball (0 : F) r)) n := |
| 71 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (normalBallInclusion F r) |
| 72 | (normalBallInclusion_mapsTo F r hr) n |
| 73 | |
| 74 | /-- Closed-support excision makes the actual ball restriction invertible. -/ |
| 75 | theorem normalBallCohomologyRestriction_isIso (r : ℝ) (hr : 0 < r) (n : ℕ) : |
| 76 | IsIso (normalBallCohomologyRestriction F r hr n) := by |
| 77 | have transport (A : Set (Metric.ball (0 : F) r)) |
| 78 | (hA : A = (normalBallInclusion F r) ⁻¹' ({0}ᶜ : Set F)) |
| 79 | (hmap : Set.MapsTo (normalBallInclusion F r) A ({0}ᶜ : Set F)) : |
| 80 | IsIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 81 | (normalBallInclusion F r) hmap n) := by |
| 82 | subst A |
| 83 | exact RelativeCohomologyExcision.Cycles.closedSupportCohomologyRestriction_isIso (TopCat.of F) |
| 84 | (Metric.ball (0 : F) r) ({0} : Set F) isClosed_singleton Metric.isOpen_ball |
| 85 | (Set.singleton_subset_iff.mpr (Metric.mem_ball_self hr)) n |
| 86 | exact transport _ (normalBall_preimage_puncture F r hr).symm _ |
| 87 | |
| 88 | /-- Rational relative cohomology of the normal space restricts isomorphically |
| 89 | to any positive-radius punctured normal ball. -/ |
| 90 | def normalBallRestrictionIso (r : ℝ) (hr : 0 < r) (n : ℕ) : |
| 91 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of F) ({0}ᶜ : Set F) n ≅ |
| 92 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 93 | (TopCat.of (Metric.ball (0 : F) r)) |
| 94 | ({normalBallCenter F r hr}ᶜ : Set (Metric.ball (0 : F) r)) n := by |
| 95 | have := normalBallCohomologyRestriction_isIso F r hr n |
| 96 | exact asIso (normalBallCohomologyRestriction F r hr n) |
| 97 | |
| 98 | /-- The comparison map is literally pullback by the subtype inclusion of pairs. -/ |
| 99 | @[simp] |
| 100 | theorem normalBallRestrictionIso_hom (r : ℝ) (hr : 0 < r) (n : ℕ) : |
| 101 | (normalBallRestrictionIso F r hr n).hom = |
| 102 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (normalBallInclusion F r) |
| 103 | (normalBallInclusion_mapsTo F r hr) n := rfl |
| 104 | |
| 105 | /-- The actual inclusion of a smaller concentric normal ball into a larger one. -/ |
| 106 | abbrev normalBallRadiusInclusion {r s : ℝ} (hrs : r ≤ s) : |
| 107 | TopCat.of (Metric.ball (0 : F) r) ⟶ TopCat.of (Metric.ball (0 : F) s) := |
| 108 | LocalHomology.Cycles.subspaceMap (𝟙 (TopCat.of F)) (Metric.ball_subset_ball hrs) |
| 109 | |
| 110 | @[simp] |
| 111 | theorem normalBallRadiusInclusion_val {r s : ℝ} (hrs : r ≤ s) |
| 112 | (x : Metric.ball (0 : F) r) : |
| 113 | (normalBallRadiusInclusion F hrs x).val = x.val := rfl |
| 114 | |
| 115 | /-- Nested-radius inclusion followed by ambient inclusion is ambient inclusion. -/ |
| 116 | @[reassoc (attr := simp)] |
| 117 | theorem normalBallRadiusInclusion_comp {r s : ℝ} (hrs : r ≤ s) : |
| 118 | normalBallRadiusInclusion F hrs ≫ normalBallInclusion F s = normalBallInclusion F r := by |
| 119 | ext x |
| 120 | rfl |
| 121 | |
| 122 | theorem normalBallRadiusInclusion_mapsTo {r s : ℝ} |
| 123 | (hr : 0 < r) (hs : 0 < s) (hrs : r ≤ s) : |
| 124 | Set.MapsTo (normalBallRadiusInclusion F hrs) |
| 125 | ({normalBallCenter F r hr}ᶜ : Set (Metric.ball (0 : F) r)) |
| 126 | ({normalBallCenter F s hs}ᶜ : Set (Metric.ball (0 : F) s)) := by |
| 127 | intro x hx h |
| 128 | have hval : x.val = (0 : F) := |
| 129 | congrArg (fun y : Metric.ball (0 : F) s => y.val) h |
| 130 | exact hx (Subtype.ext hval) |
| 131 | |
| 132 | /-- The actual relative-cohomology restriction between two positive-radius balls. -/ |
| 133 | abbrev normalBallRadiusCohomologyRestriction {r s : ℝ} |
| 134 | (hr : 0 < r) (hs : 0 < s) (hrs : r ≤ s) (n : ℕ) : |
| 135 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 136 | (TopCat.of (Metric.ball (0 : F) s)) |
| 137 | ({normalBallCenter F s hs}ᶜ : Set (Metric.ball (0 : F) s)) n ⟶ |
| 138 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 139 | (TopCat.of (Metric.ball (0 : F) r)) |
| 140 | ({normalBallCenter F r hr}ᶜ : Set (Metric.ball (0 : F) r)) n := |
| 141 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (normalBallRadiusInclusion F hrs) |
| 142 | (normalBallRadiusInclusion_mapsTo F hr hs hrs) n |
| 143 | |
| 144 | /-- Ambient-to-ball excision is natural for the actual restriction between nested balls. -/ |
| 145 | @[reassoc] |
| 146 | theorem normalBallRestrictionIso_naturality {r s : ℝ} |
| 147 | (hr : 0 < r) (hs : 0 < s) (hrs : r ≤ s) (n : ℕ) : |
| 148 | (normalBallRestrictionIso F s hs n).hom ≫ |
| 149 | normalBallRadiusCohomologyRestriction F hr hs hrs n = |
| 150 | (normalBallRestrictionIso F r hr n).hom := by |
| 151 | rw [normalBallRestrictionIso_hom, normalBallRestrictionIso_hom] |
| 152 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (normalBallInclusion F s) _ n ≫ |
| 153 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (normalBallRadiusInclusion F hrs) _ n = _ |
| 154 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp] |
| 155 | rfl |
| 156 | |
| 157 | /-- Restriction between nested punctured balls is itself the corresponding |
| 158 | composite of the canonical excision isomorphisms. -/ |
| 159 | theorem normalBallRadiusCohomologyRestriction_eq {r s : ℝ} |
| 160 | (hr : 0 < r) (hs : 0 < s) (hrs : r ≤ s) (n : ℕ) : |
| 161 | normalBallRadiusCohomologyRestriction F hr hs hrs n = |
| 162 | (normalBallRestrictionIso F s hs n).inv ≫ (normalBallRestrictionIso F r hr n).hom := by |
| 163 | apply (cancel_epi (normalBallRestrictionIso F s hs n).hom).mp |
| 164 | rw [Iso.hom_inv_id_assoc, normalBallRestrictionIso_naturality] |
| 165 | |
| 166 | /-- The actual nested-ball restriction is invertible. -/ |
| 167 | theorem normalBallRadiusCohomologyRestriction_isIso {r s : ℝ} |
| 168 | (hr : 0 < r) (hs : 0 < s) (hrs : r ≤ s) (n : ℕ) : |
| 169 | IsIso (normalBallRadiusCohomologyRestriction F hr hs hrs n) := by |
| 170 | rw [normalBallRadiusCohomologyRestriction_eq F hr hs hrs n] |
| 171 | infer_instance |
| 172 | |
| 173 | end Cycles |
| 174 | |
| 175 | end |
| 176 | |
| 177 | end OAI.AlgebraicGeometry.CycleClass.Geometric.NormalBallRestriction |