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.RelativeCochainHomotopy |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.NormalProductPair |
| 3 | |
| 4 | /-! # Product Support Retraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ProductSupportRetraction.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # DegreeTwo: retract a product test while preserving tangential support |
| 14 | |
| 15 | A relative test on a product, with complement pulled back from the |
| 16 | tangential factor, is exactly the pullback of its zero-normal restriction. |
| 17 | The actual normal contraction preserves that complement at every time. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainHomotopy.Cohomology OAI.AlgebraicGeometry.CycleClass.Geometric.NormalProductPair.Cycles |
| 22 | |
| 23 | variable (E F : Type) [TopologicalSpace E] [TopologicalSpace F] |
| 24 | |
| 25 | def tangentProjection : TopCat.of (E × F) ⟶ TopCat.of E := |
| 26 | TopCat.ofHom ⟨Prod.fst, continuous_fst⟩ |
| 27 | |
| 28 | def tangentSection (z : F) : TopCat.of E ⟶ TopCat.of (E × F) := |
| 29 | TopCat.ofHom ⟨fun x => (x, z), continuous_id.prodMk continuous_const⟩ |
| 30 | |
| 31 | def tangentSupport (A : Set E) : Set (E × F) := Prod.fst ⁻¹' A |
| 32 | |
| 33 | theorem tangentProjection_mapsTo (A : Set E) : |
| 34 | Set.MapsTo (tangentProjection E F) (tangentSupport E F A) A := fun _ hx => hx |
| 35 | |
| 36 | theorem tangentSection_mapsTo (z : F) (A : Set E) : |
| 37 | Set.MapsTo (tangentSection E F z) A (tangentSupport E F A) := fun _ hx => hx |
| 38 | |
| 39 | /-- Contract only the normal coordinate; the tangential support is fixed. -/ |
| 40 | def tangentRetractionHomotopy (z : F) |
| 41 | (H : ContinuousMap.Homotopy (ContinuousMap.const F z) (ContinuousMap.id F)) : |
| 42 | TopCat.Homotopy (tangentProjection E F ≫ tangentSection E F z) |
| 43 | (𝟙 (TopCat.of (E × F))) where |
| 44 | toFun x := (x.2.1, H (x.1, x.2.2)) |
| 45 | continuous_toFun := (continuous_fst.comp continuous_snd).prodMk |
| 46 | (H.continuous.comp (continuous_fst.prodMk (continuous_snd.comp continuous_snd))) |
| 47 | map_zero_left x := by simp [tangentProjection, tangentSection] |
| 48 | map_one_left x := by simp |
| 49 | |
| 50 | theorem tangentRetractionHomotopy_preserves (z : F) |
| 51 | (H : ContinuousMap.Homotopy (ContinuousMap.const F z) (ContinuousMap.id F)) |
| 52 | (A : Set E) (t : unitInterval) : |
| 53 | Set.MapsTo (fun x => tangentRetractionHomotopy E F z H (t, x)) |
| 54 | (tangentSupport E F A) (tangentSupport E F A) := fun _ hx => hx |
| 55 | |
| 56 | variable {R : Type} [Ring R] (Q : ModuleCat.{0} R) |
| 57 | |
| 58 | /-- The actual projection and zero section induce inverse relative |
| 59 | cohomology maps for every tangential support and every degree. -/ |
| 60 | def tangentSupportCohomologyIso (z : F) |
| 61 | (H : ContinuousMap.Homotopy (ContinuousMap.const F z) (ContinuousMap.id F)) (A : Set E) (n : ℕ) : |
| 62 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of E) A n ≅ |
| 63 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of (E × F)) (tangentSupport E F A) n where |
| 64 | hom := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (tangentProjection E F) (tangentProjection_mapsTo E F A) n |
| 65 | inv := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (tangentSection E F z) (tangentSection_mapsTo E F z A) n |
| 66 | hom_inv_id := by |
| 67 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp] |
| 68 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (𝟙 (TopCat.of E)) (fun _ hx => hx) n = _ |
| 69 | exact AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id Q (TopCat.of E) A n |
| 70 | inv_hom_id := by |
| 71 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp] |
| 72 | have h := CycleClass.Geometric.RelativeCochainHomotopy.Cohomology.relativeSingularCohomologyMap_eq_of_homotopy Q |
| 73 | (A := tangentSupport E F A) (B := tangentSupport E F A) |
| 74 | (fun _ hx => hx) (fun _ hx => hx) (tangentRetractionHomotopy E F z H) |
| 75 | (tangentRetractionHomotopy_preserves E F z H A) n |
| 76 | exact h.trans (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id Q (TopCat.of (E × F)) (tangentSupport E F A) n) |
| 77 | |
| 78 | /-- A genuine relative class on the product is recovered from its |
| 79 | actual restriction to the zero-normal slice. -/ |
| 80 | theorem tangentSupport_class_eq_pullback (z : F) |
| 81 | (H : ContinuousMap.Homotopy (ContinuousMap.const F z) (ContinuousMap.id F)) (A : Set E) (n : ℕ) |
| 82 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of (E × F)) (tangentSupport E F A) n) : |
| 83 | b = AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (tangentProjection E F) (tangentProjection_mapsTo E F A) n |
| 84 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (tangentSection E F z) (tangentSection_mapsTo E F z A) n b) := |
| 85 | ((tangentSupportCohomologyIso E F Q z H A n).inv_hom_id_apply b).symm |
| 86 | |
| 87 | def normalBallTangentSupportIso |
| 88 | (T G : Type) [TopologicalSpace T] [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 89 | {S : Type} [Ring S] (Q : ModuleCat.{0} S) (r : ℝ) (hr : 0 < r) (A : Set T) (n : ℕ) : |
| 90 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of T) A n ≅ |
| 91 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of (T × Metric.ball (0 : G) r)) |
| 92 | (tangentSupport T (Metric.ball (0 : G) r) A) n := |
| 93 | tangentSupportCohomologyIso T (Metric.ball (0 : G) r) Q |
| 94 | ⟨0, Metric.mem_ball_self hr⟩ |
| 95 | (CycleClass.Geometric.NormalProductPair.Cycles.normalConvexContraction G (Metric.ball 0 r) (convex_ball 0 r) (Metric.mem_ball_self hr)) A n |
| 96 | |
| 97 | end |
| 98 | |
| 99 | /-! The actual product retraction for an arbitrary support in its second factor. -/ |
| 100 | |
| 101 | open _root_.CategoryTheory |
| 102 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainHomotopy.Cohomology OAI.AlgebraicGeometry.CycleClass.Geometric.NormalProductPair.Cycles |
| 103 | |
| 104 | set_option backward.isDefEq.respectTransparency false |
| 105 | |
| 106 | variable (E F : Type) [TopologicalSpace E] [TopologicalSpace F] |
| 107 | variable {R : Type} [Ring R] (Q : ModuleCat.{0} R) |
| 108 | |
| 109 | def secondSupportCohomologyIso (e : E) |
| 110 | (H : ContinuousMap.Homotopy (ContinuousMap.const E e) (ContinuousMap.id E)) |
| 111 | (A : Set F) (n : ℕ) : |
| 112 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of F) A n ≅ |
| 113 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of (E×F)) (Prod.snd ⁻¹' A) n where |
| 114 | hom := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (CycleClass.Geometric.NormalProductPair.Cycles.normalProductProjection E F) |
| 115 | (A := Prod.snd ⁻¹' A) (B := A) (fun _ hx => hx) n |
| 116 | inv := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (CycleClass.Geometric.NormalProductPair.Cycles.normalProductSection E F e) |
| 117 | (A := A) (B := Prod.snd ⁻¹' A) (fun _ hx => hx) n |
| 118 | hom_inv_id := by |
| 119 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp] |
| 120 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (𝟙 (TopCat.of F)) (fun _ hx => hx) n = _ |
| 121 | exact AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id Q (TopCat.of F) A n |
| 122 | inv_hom_id := by |
| 123 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp] |
| 124 | have h := CycleClass.Geometric.RelativeCochainHomotopy.Cohomology.relativeSingularCohomologyMap_eq_of_homotopy Q |
| 125 | (A := Prod.snd ⁻¹' A) (B := Prod.snd ⁻¹' A) |
| 126 | (fun _ hx => hx) (fun _ hx => hx) |
| 127 | (CycleClass.Geometric.NormalProductPair.Cycles.normalProductHomotopyOfContraction E F e H) (fun _ _ hx => hx) n |
| 128 | exact h.trans (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id Q (TopCat.of (E×F)) (Prod.snd ⁻¹' A) n) |
| 129 | |
| 130 | theorem secondSupport_class_eq_pullback (e : E) |
| 131 | (H : ContinuousMap.Homotopy (ContinuousMap.const E e) (ContinuousMap.id E)) |
| 132 | (A : Set F) (n : ℕ) |
| 133 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology Q (TopCat.of (E×F)) (Prod.snd ⁻¹' A) n) : |
| 134 | b = AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (CycleClass.Geometric.NormalProductPair.Cycles.normalProductProjection E F) (fun _ hx => hx) n |
| 135 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap Q (CycleClass.Geometric.NormalProductPair.Cycles.normalProductSection E F e) (fun _ hx => hx) n b) := |
| 136 | ((secondSupportCohomologyIso E F Q e H A n).inv_hom_id_apply b).symm |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ProductSupportRetraction.Constructions |