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.AlgebraicTopology.FundamentalClass.SimplexGeometry |
| 2 | import OAI.AlgebraicTopology.FundamentalClass.IntegrationOrientation |
| 3 | |
| 4 | /-! # Simplex Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.FundamentalClass.SimplexSupport.IntegrationConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The positively ordered affine simplex represents the normalized |
| 11 | orientation class over every compact subset of its interior. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Set |
| 14 | open OAI.AlgebraicTopology.FundamentalClass.IntegrationOrientation.Geometry |
| 15 | open scoped Simplicial |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | def positiveInteriorChain (d : ℕ) : |
| 21 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d)ᶜ).X d := |
| 22 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d)ᶜ).f d |
| 23 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj (TopCat.of (Fin d → ℝ))) |
| 24 | (LocalSimplex.IntegrationGeometry.positiveSingularSimplex d)) |
| 25 | |
| 26 | theorem positiveInteriorChain_cycle (d : ℕ) : |
| 27 | positiveInteriorChain d ∈ Cohomology.Singular.ChainRepresentatives.chainCycles |
| 28 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d)ᶜ) d := by |
| 29 | cases d with |
| 30 | | zero => exact Cohomology.Singular.ChainRepresentatives.mem_chainCycles_zero _ _ |
| 31 | | succ d => |
| 32 | rw [Cohomology.Singular.ChainRepresentatives.mem_chainCycles_iff_succ] |
| 33 | let X := TopCat.of (Fin (d + 1) → ℝ) |
| 34 | let π := AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X (SimplexGeometry.IntegrationConstruction.positiveInterior (d + 1))ᶜ |
| 35 | have hcomm := ConcreteCategory.congr_hom (π.comm (d + 1) d).symm |
| 36 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) (LocalSimplex.IntegrationGeometry.positiveSingularSimplex (d + 1))) |
| 37 | change π.f d ((Cohomology.Singular.Evaluation.singularScalarChains (R := ℤ) X).d (d + 1) d |
| 38 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) (LocalSimplex.IntegrationGeometry.positiveSingularSimplex (d + 1)))) = |
| 39 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains X (SimplexGeometry.IntegrationConstruction.positiveInterior (d + 1))ᶜ).d (d + 1) d |
| 40 | (positiveInteriorChain (d + 1)) at hcomm |
| 41 | rw [← hcomm, Cohomology.Singular.ChainDual.simplexChain_boundary, map_sum] |
| 42 | apply Finset.sum_eq_zero |
| 43 | intro i _ |
| 44 | rw [map_zsmul] |
| 45 | have hi : π.f d (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) |
| 46 | ((TopCat.toSSet.obj X).δ i (LocalSimplex.IntegrationGeometry.positiveSingularSimplex (d + 1)))) = 0 := by |
| 47 | apply LocalSimplex.IntegrationGeometry.relativeProjection_simplex_zero |
| 48 | intro t |
| 49 | exact SimplexGeometry.IntegrationConstruction.positiveSimplex_face_outside d i t |
| 50 | rw [hi] |
| 51 | exact zsmul_zero _ |
| 52 | |
| 53 | def positiveInteriorClass (d : ℕ) : |
| 54 | AlgebraicGeometry.CycleClass.Geometric.HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d) d := |
| 55 | Cohomology.Singular.ChainRepresentatives.chainClass _ d ⟨positiveInteriorChain d, positiveInteriorChain_cycle d⟩ |
| 56 | |
| 57 | theorem positiveInteriorClass_at_origin (d : ℕ) : |
| 58 | AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d) 0 |
| 59 | (SimplexGeometry.IntegrationConstruction.zero_mem_positiveInterior d) d (positiveInteriorClass d) = LocalSimplex.IntegrationGeometry.positiveLocalClass d := by |
| 60 | rw [positiveInteriorClass] |
| 61 | change HomologicalComplex.homologyMap |
| 62 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d) 0 |
| 63 | (SimplexGeometry.IntegrationConstruction.zero_mem_positiveInterior d)) d (Cohomology.Singular.ChainRepresentatives.chainClass _ d _) = _ |
| 64 | rw [Cohomology.Singular.EvaluationNaturality.chainClass_naturality] |
| 65 | apply congrArg (Cohomology.Singular.ChainRepresentatives.chainClass _ d) |
| 66 | apply Subtype.ext |
| 67 | exact ConcreteCategory.congr_hom (HomologicalComplex.congr_hom |
| 68 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint_projection (TopCat.of (Fin d → ℝ)) |
| 69 | (SimplexGeometry.IntegrationConstruction.positiveInterior d) 0 (SimplexGeometry.IntegrationConstruction.zero_mem_positiveInterior d)) d) |
| 70 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj (TopCat.of (Fin d → ℝ))) |
| 71 | (LocalSimplex.IntegrationGeometry.positiveSingularSimplex d)) |
| 72 | |
| 73 | section ConvexTranslation |
| 74 | |
| 75 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 76 | |
| 77 | theorem convexTranslation_mapsTo (U : Set E) (hU : Convex ℝ U) (h0 : (0 : E) ∈ U) |
| 78 | (x : E) (hx : x ∈ U) (t : unitInterval) : |
| 79 | Set.MapsTo (fun y => AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles.coordinateTranslationHomotopy E x (t, y)) Uᶜ ({0}ᶜ : Set E) := by |
| 80 | intro y hy hz |
| 81 | have hyx : y = (t : ℝ) • x := sub_eq_zero.mp hz |
| 82 | have ht : (t : ℝ) • x ∈ U := by |
| 83 | simpa only [smul_zero, zero_add] using |
| 84 | hU h0 hx (sub_nonneg.mpr t.property.2) t.property.1 (sub_add_cancel 1 (t : ℝ)) |
| 85 | exact hy (hyx ▸ ht) |
| 86 | |
| 87 | theorem convexPointHomologyMap_translation (U : Set E) (hU : Convex ℝ U) |
| 88 | (h0 : (0 : E) ∈ U) (x : E) (hx : x ∈ U) (n : ℕ) : |
| 89 | AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) U x hx n ≫ (AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles.localTranslationHomologyIso E x n).hom = |
| 90 | AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) U 0 h0 n := by |
| 91 | let hf : MapsTo (𝟙 (TopCat.of E)) Uᶜ ({0}ᶜ : Set E) := by |
| 92 | intro y hy heq |
| 93 | change y = 0 at heq |
| 94 | exact hy (heq ▸ h0) |
| 95 | let hg : MapsTo (TopCat.isoOfHomeo (X := TopCat.of E) (Y := TopCat.of E) |
| 96 | (Homeomorph.subRight x)).hom Uᶜ ({0}ᶜ : Set E) := by |
| 97 | intro y hy heq |
| 98 | exact hy ((sub_eq_zero.mp heq) ▸ hx) |
| 99 | let hxMap : MapsTo (𝟙 (TopCat.of E)) Uᶜ ({x}ᶜ : Set E) := by |
| 100 | intro y hy heq |
| 101 | change y = x at heq |
| 102 | exact hy (heq ▸ hx) |
| 103 | let htrans : MapsTo (TopCat.isoOfHomeo (X := TopCat.of E) (Y := TopCat.of E) |
| 104 | (Homeomorph.subRight x)).hom ({x}ᶜ : Set E) ({0}ᶜ : Set E) := by |
| 105 | intro y hy |
| 106 | change y - x ≠ 0 |
| 107 | exact sub_ne_zero.mpr hy |
| 108 | change AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap (𝟙 (TopCat.of E)) hxMap n ≫ |
| 109 | AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap (TopCat.isoOfHomeo (X := TopCat.of E) (Y := TopCat.of E) |
| 110 | (Homeomorph.subRight x)).hom htrans n = AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap (𝟙 (TopCat.of E)) hf n |
| 111 | rw [AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap_comp] |
| 112 | exact (AlgebraicGeometry.CycleClass.Geometric.RelativeHomotopy.Cycles.relativeSingularHomologyMap_eq_of_homotopy hf hg (AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles.coordinateTranslationHomotopy E x) |
| 113 | (convexTranslation_mapsTo E U hU h0 x hx) n).symm |
| 114 | |
| 115 | end ConvexTranslation |
| 116 | |
| 117 | theorem positiveInteriorClass_atPoint (d : ℕ) (x : Fin d → ℝ) (hx : x ∈ SimplexGeometry.IntegrationConstruction.positiveInterior d) : |
| 118 | AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d) x hx d |
| 119 | (positiveInteriorClass d) = IntegrationOrientation.Geometry.positiveCoordinateClass d x := by |
| 120 | apply (AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles.localTranslationHomologyIso (Fin d → ℝ) x d).toLinearEquiv.injective |
| 121 | change (AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles.localTranslationHomologyIso (Fin d → ℝ) x d).hom |
| 122 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin d → ℝ)) (SimplexGeometry.IntegrationConstruction.positiveInterior d) x hx d |
| 123 | (positiveInteriorClass d)) = |
| 124 | (AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles.localTranslationHomologyIso (Fin d → ℝ) x d).hom |
| 125 | ((AlgebraicGeometry.CycleClass.Geometric.ClosedBall.Cycles.localTranslationHomologyIso (Fin d → ℝ) x d).inv (LocalSimplex.IntegrationGeometry.positiveLocalClass d)) |
| 126 | rw [CategoryTheory.Iso.inv_hom_id_apply] |
| 127 | have h := ConcreteCategory.congr_hom |
| 128 | (convexPointHomologyMap_translation (Fin d → ℝ) (SimplexGeometry.IntegrationConstruction.positiveInterior d) |
| 129 | (SimplexGeometry.IntegrationConstruction.positiveInterior_convex d) (SimplexGeometry.IntegrationConstruction.zero_mem_positiveInterior d) x hx d) (positiveInteriorClass d) |
| 130 | exact h.trans (positiveInteriorClass_at_origin d) |
| 131 | |
| 132 | theorem positiveInteriorClass_restrict_compact (d : ℕ) (K : Set (Fin d → ℝ)) |
| 133 | (hK : IsCompact K) (hKs : K ⊆ SimplexGeometry.IntegrationConstruction.positiveInterior d) : |
| 134 | AlgebraicGeometry.CycleClass.Geometric.CompactSupportAssembly.Cycles.homologyWithSupportRestriction (TopCat.of (Fin d → ℝ)) hKs d (positiveInteriorClass d) = |
| 135 | IntegrationOrientation.Geometry.coordinateCompactClass d K hK := by |
| 136 | apply RealSupport.IntegrationGeometry.realManifold_compactSupport_point_ext d K hK |
| 137 | intro x hx |
| 138 | rw [AlgebraicGeometry.CycleClass.Geometric.FiniteSupportAssembly.Cycles.homologyWithSupportRestriction_toPoint_apply, positiveInteriorClass_atPoint, |
| 139 | IntegrationOrientation.Geometry.coordinateCompactClass_atPoint] |
| 140 | |
| 141 | end |
| 142 | |
| 143 | end OAI.AlgebraicTopology.FundamentalClass.SimplexSupport.IntegrationConstruction |