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.Cohomology.Singular.Formulas |
| 2 | import Mathlib.Topology.Homotopy.Lifting |
| 3 | import OAI.Geometry.Foundations.ConvexStdSimplexMetric |
| 4 | import Mathlib.Topology.Homeomorph.Lemmas |
| 5 | import Mathlib.Analysis.Convex.Contractible |
| 6 | import Mathlib.Topology.Algebra.Module.LocallyConvex |
| 7 | |
| 8 | /-! # Singular Covering Lift -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularCoveringLift.Constructions.SingularCovering |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # DegreeTwo: singular cochains and covering projections |
| 16 | |
| 17 | Every actual singular simplex lifts through a surjective covering map. |
| 18 | Consequently pullback is injective on singular cochains, in every degree. |
| 19 | This will let the lattice-period comparison test equations on the vector |
| 20 | space covering without losing cochain information. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory Opposite |
| 24 | open scoped Simplicial |
| 25 | |
| 26 | open OAI.AlgebraicTopology.Cohomology.Singular.Formulas |
| 27 | |
| 28 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) (hf : IsCoveringMap f) |
| 29 | (hs : Function.Surjective f) |
| 30 | |
| 31 | include hf hs |
| 32 | |
| 33 | /-- Every continuous standard simplex has an actual continuous lift. -/ |
| 34 | theorem exists_simplex_lift (n : ℕ) (σ : C(Convexity.StdSimplex ℝ (Fin (n + 1)), Y)) : |
| 35 | ∃ τ : C(Convexity.StdSimplex ℝ (Fin (n + 1)), X), (f : X → Y) ∘ τ = σ := by |
| 36 | let S := Convexity.StdSimplex ℝ (Fin (n + 1)) |
| 37 | let a : S := Convexity.StdSimplex.single 0 |
| 38 | let coord : S → Fin (n + 1) → ℝ := fun x => x.weights |
| 39 | have hconv : Convex ℝ (Set.range coord) := by |
| 40 | rintro _ ⟨u, rfl⟩ _ ⟨v, rfl⟩ c d hc hd hcd |
| 41 | refine ⟨Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex.ofCoordinates (c • coord u + d • coord v) ?_ ?_, ?_⟩ |
| 42 | · intro i |
| 43 | exact add_nonneg (mul_nonneg hc (u.weights_nonneg i)) |
| 44 | (mul_nonneg hd (v.weights_nonneg i)) |
| 45 | · simp only [Pi.add_apply, Pi.smul_apply, smul_eq_mul, Finset.sum_add_distrib, |
| 46 | ← Finset.mul_sum, coord, Convexity.StdSimplex.total_of_fintype, mul_one, hcd] |
| 47 | · funext i |
| 48 | simp [coord, Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex.ofCoordinates] |
| 49 | let e : S ≃ₜ Set.range coord := |
| 50 | (Convexity.StdSimplex.isEmbedding_toFun_comp_weights ℝ (Fin (n + 1))).toHomeomorph |
| 51 | let : ContractibleSpace (Set.range coord) := |
| 52 | hconv.contractibleSpace ⟨coord a, ⟨a, rfl⟩⟩ |
| 53 | let : LocallyPathConnectedSpace (Set.range coord) := hconv.locallyPathConnectedSpace |
| 54 | let : ContractibleSpace S := e.contractibleSpace |
| 55 | let : LocallyPathConnectedSpace S := e.symm.locallyPathConnectedSpace |
| 56 | obtain ⟨x, hx⟩ := hs (σ a) |
| 57 | obtain ⟨τ, hτ, _⟩ := hf.existsUnique_continuousMap_lifts σ a x hx |
| 58 | exact ⟨τ, hτ.2⟩ |
| 59 | |
| 60 | /-- The map on genuine singular simplices of a surjective covering is |
| 61 | surjective in each simplicial degree. -/ |
| 62 | theorem singularSimplex_map_surjective (n : ℕ) : |
| 63 | Function.Surjective ((TopCat.toSSet.map f).app (op ⦋n⦌)) := by |
| 64 | intro s |
| 65 | let σ := (TopCat.toSSetObjEquiv Y (op ⦋n⦌)) s |
| 66 | obtain ⟨τ, hτ⟩ := exists_simplex_lift f hf hs n σ |
| 67 | refine ⟨(TopCat.toSSetObjEquiv X (op ⦋n⦌)).symm τ, ?_⟩ |
| 68 | apply (TopCat.toSSetObjEquiv Y (op ⦋n⦌)).injective |
| 69 | ext z |
| 70 | change f (τ z) = σ z |
| 71 | exact congrFun hτ z |
| 72 | |
| 73 | /-- Pullback by a surjective covering is injective on actual singular |
| 74 | cochains; no assertion of injectivity on cohomology is made. -/ |
| 75 | theorem singularPullback_injective {R : Type} [Ring R] (M : ModuleCat.{0} R) (n : ℕ) : |
| 76 | Function.Injective ((AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M f).f n) := by |
| 77 | intro a b hab |
| 78 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj Y) M n).toLinearEquiv.injective |
| 79 | ext s |
| 80 | obtain ⟨t, rfl⟩ := singularSimplex_map_surjective f hf hs n s |
| 81 | have h := congrArg |
| 82 | (fun c => (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj X) M n).hom c t) hab |
| 83 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj X) M n).hom |
| 84 | ((AlgebraicTopology.Cohomology.Singular.Functor.simplicialPullback M (TopCat.toSSet.map f)).f n a) t = |
| 85 | (AlgebraicTopology.Cohomology.Singular.Coefficients.degreewiseFunctionIso (TopCat.toSSet.obj X) M n).hom |
| 86 | ((AlgebraicTopology.Cohomology.Singular.Functor.simplicialPullback M (TopCat.toSSet.map f)).f n b) t at h |
| 87 | rw [AlgebraicTopology.Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback, AlgebraicTopology.Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback] at h |
| 88 | exact h |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularCoveringLift.Constructions.SingularCovering |