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.Geometry.Foundations.ConvexStdSimplexMetric |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.DuffyFaces |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.EvaluationNaturality |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts |
| 6 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ClosedBall |
| 7 | |
| 8 | /-! # Local Simplex -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Integration: the positively ordered affine simplex defines an actual local cycle. |
| 15 | Its vertices are `-b, e₁-b,..., e_d-b`, where every coordinate of `b` is |
| 16 | `1/(d+1)`. The origin is its barycenter. This fixes the sign geometrically, |
| 17 | without choosing an arbitrary generator of a rank-one homology group. -/ |
| 18 | |
| 19 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 21 | open OAI.AlgebraicTopology.Cohomology.Singular.EvaluationNaturality |
| 22 | open scoped Simplicial |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | |
| 26 | def positiveSimplex (d : ℕ) : |
| 27 | C(Convexity.StdSimplex ℝ (Fin (d + 1)), Fin d → ℝ) where |
| 28 | toFun t i := t.weights i.succ - ((d + 1 : ℕ) : ℝ)⁻¹ |
| 29 | continuous_toFun := continuous_pi fun i => |
| 30 | (Convexity.StdSimplex.continuous_weights_apply ℝ i.succ).sub continuous_const |
| 31 | |
| 32 | theorem positiveSimplex_zero_coordinates (d : ℕ) |
| 33 | (t : Convexity.StdSimplex ℝ (Fin (d + 1))) (ht : positiveSimplex d t = 0) |
| 34 | (i : Fin (d + 1)) : t.weights i = ((d + 1 : ℕ) : ℝ)⁻¹ := by |
| 35 | have hs (j : Fin d) : t.weights j.succ = ((d + 1 : ℕ) : ℝ)⁻¹ := by |
| 36 | have h := congrFun ht j |
| 37 | exact sub_eq_zero.mp h |
| 38 | refine Fin.cases ?_ hs i |
| 39 | have hsum := t.total_of_fintype |
| 40 | rw [Fin.sum_univ_succ] at hsum |
| 41 | simp only [hs, Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul] at hsum |
| 42 | have hd : (((d + 1 : ℕ) : ℝ)) ≠ 0 := by positivity |
| 43 | have hmul := mul_inv_cancel₀ hd |
| 44 | push_cast at hmul |
| 45 | push_cast at hsum ⊢ |
| 46 | nlinarith |
| 47 | |
| 48 | theorem positiveSimplex_face_ne_zero (d : ℕ) (i : Fin (d + 2)) |
| 49 | (t : Convexity.StdSimplex ℝ (Fin (d + 1))) : |
| 50 | positiveSimplex (d + 1) (Convexity.StdSimplex.map i.succAbove t) ≠ 0 := by |
| 51 | intro h |
| 52 | have hi := positiveSimplex_zero_coordinates (d + 1) _ h i |
| 53 | rw [DeRham.Comparison.DuffyFaces.Duffy.simplexFace_eq_insertNth, Fin.insertNth_apply_same] at hi |
| 54 | have : (((d + 1 + 1 : ℕ) : ℝ))⁻¹ ≠ 0 := inv_ne_zero (by positivity) |
| 55 | exact this hi.symm |
| 56 | |
| 57 | def positiveSingularSimplex (d : ℕ) : |
| 58 | Cohomology.Singular.Basic.singularSimplices (TopCat.of (Fin d → ℝ)) d := |
| 59 | (TopCat.toSSetObjEquiv (TopCat.of (Fin d → ℝ)) (op ⦋d⦌)).symm |
| 60 | (positiveSimplex d) |
| 61 | |
| 62 | /-- A simplex whose image is in the subspace projects to zero in relative chains. -/ |
| 63 | theorem relativeProjection_simplex_zero {X : TopCat.{0}} (A : Set X) {d : ℕ} |
| 64 | (s : Cohomology.Singular.Basic.singularSimplices X d) |
| 65 | (hs : ∀ t, X.toSSetObjEquiv (op ⦋d⦌) s t ∈ A) : |
| 66 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X A).f d |
| 67 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) s) = 0 := by |
| 68 | let lift : C(Convexity.StdSimplex ℝ (Fin (d + 1)), A) := |
| 69 | ⟨fun t => ⟨X.toSSetObjEquiv (op ⦋d⦌) s t, hs t⟩, |
| 70 | (X.toSSetObjEquiv (op ⦋d⦌) s).continuous.subtype_mk _⟩ |
| 71 | let t := (TopCat.toSSetObjEquiv (TopCat.of A) (op ⦋d⦌)).symm lift |
| 72 | have ht : (TopCat.toSSet.map (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X A)).app (op ⦋d⦌) t = s := by |
| 73 | apply (X.toSSetObjEquiv (op ⦋d⦌)).injective |
| 74 | rfl |
| 75 | have hmap : (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceChainInclusion X A).f d |
| 76 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj (TopCat.of A)) t) = |
| 77 | Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) s := by |
| 78 | change (Cohomology.Singular.EvaluationNaturality.simplicialScalarChainMap (R := ℤ) |
| 79 | (TopCat.toSSet.map (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X A))).f d _ = _ |
| 80 | rw [Cohomology.Singular.EvaluationNaturality.simplicialScalarChainMap_simplex, ht] |
| 81 | rw [← hmap] |
| 82 | exact ConcreteCategory.congr_hom |
| 83 | (HomologicalComplex.congr_hom (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.subspaceChainInclusion_projection X A) d) |
| 84 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj (TopCat.of A)) t) |
| 85 | |
| 86 | def positiveLocalChain (d : ℕ) : |
| 87 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains (TopCat.of (Fin d → ℝ)) ({0}ᶜ : Set (Fin d → ℝ))).X d := |
| 88 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of (Fin d → ℝ)) {0}ᶜ).f d |
| 89 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj (TopCat.of (Fin d → ℝ))) |
| 90 | (positiveSingularSimplex d)) |
| 91 | |
| 92 | theorem positiveLocalChain_cycle (d : ℕ) : |
| 93 | positiveLocalChain d ∈ Cohomology.Singular.ChainRepresentatives.chainCycles |
| 94 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains (TopCat.of (Fin d → ℝ)) ({0}ᶜ : Set (Fin d → ℝ))) d := by |
| 95 | cases d with |
| 96 | | zero => exact Cohomology.Singular.ChainRepresentatives.mem_chainCycles_zero _ _ |
| 97 | | succ d => |
| 98 | rw [Cohomology.Singular.ChainRepresentatives.mem_chainCycles_iff_succ] |
| 99 | let X := TopCat.of (Fin (d + 1) → ℝ) |
| 100 | let π := AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X ({0}ᶜ : Set X) |
| 101 | change (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains X {0}ᶜ).d (d + 1) d |
| 102 | (π.f (d + 1) (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) |
| 103 | (positiveSingularSimplex (d + 1)))) = 0 |
| 104 | have hcomm := ConcreteCategory.congr_hom (π.comm (d + 1) d).symm |
| 105 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) (positiveSingularSimplex (d + 1))) |
| 106 | change π.f d ((Cohomology.Singular.Evaluation.singularScalarChains (R := ℤ) X).d (d + 1) d |
| 107 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) (positiveSingularSimplex (d + 1)))) = |
| 108 | (AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.relativeSingularChains X {0}ᶜ).d (d + 1) d |
| 109 | (π.f (d + 1) (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) |
| 110 | (positiveSingularSimplex (d + 1)))) at hcomm |
| 111 | rw [← hcomm] |
| 112 | change π.f d ((Cohomology.Singular.Evaluation.singularScalarChains (R := ℤ) X).d (d + 1) d |
| 113 | (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) (positiveSingularSimplex (d + 1)))) = 0 |
| 114 | rw [Cohomology.Singular.ChainDual.simplexChain_boundary, map_sum] |
| 115 | apply Finset.sum_eq_zero |
| 116 | intro i _ |
| 117 | rw [map_zsmul] |
| 118 | have hi : π.f d (Cohomology.Singular.ChainDual.simplexChain (R := ℤ) (TopCat.toSSet.obj X) |
| 119 | ((TopCat.toSSet.obj X).δ i (positiveSingularSimplex (d + 1)))) = 0 := by |
| 120 | apply relativeProjection_simplex_zero |
| 121 | intro t |
| 122 | exact positiveSimplex_face_ne_zero d i t |
| 123 | rw [hi] |
| 124 | exact zsmul_zero _ |
| 125 | |
| 126 | /-- The actual local integral class of the positively ordered affine simplex. -/ |
| 127 | def positiveLocalClass (d : ℕ) : |
| 128 | AlgebraicGeometry.CycleClass.Geometric.LocalHomology.Cycles.localSingularHomology (TopCat.of (Fin d → ℝ)) 0 d := |
| 129 | Cohomology.Singular.ChainRepresentatives.chainClass _ d ⟨positiveLocalChain d, positiveLocalChain_cycle d⟩ |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicTopology.FundamentalClass.LocalSimplex.IntegrationGeometry |