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.PELModuli.IntegralModel.Components |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.Contractible |
| 3 | import OAI.AlgebraicGeometry.Betti.Scheme |
| 4 | |
| 5 | /-! # Product -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Product |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Canonical restriction and projection maps for the Betti cohomology of a |
| 13 | product. Their splitting is proved from actual scheme morphisms and the |
| 14 | vanishing of positive-degree cohomology of a point. No product comparison |
| 15 | is assumed. ProductDimensions completes the degree-one isomorphism using |
| 16 | the proved Künneth dimension formula, finite-dimensionality, and connectedness. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.MonObj |
| 21 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.Betti.Scheme |
| 24 | |
| 25 | abbrev bettiQ (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) := |
| 26 | Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) X n |
| 27 | |
| 28 | abbrev bettiPullbackQ {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) (n : ℕ) : |
| 29 | bettiQ Y n →ₗ[ℚ] bettiQ X n := |
| 30 | (Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) n f).hom |
| 31 | |
| 32 | theorem bettiPullbackQ_comp {X Y Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 33 | (f : X ⟶ Y) (g : Y ⟶ Z) (n : ℕ) : |
| 34 | bettiPullbackQ (f ≫ g) n = (bettiPullbackQ f n).comp (bettiPullbackQ g n) := by |
| 35 | change ((Betti.Scheme.schemeBettiFunctor (ModuleCat.of ℚ ℚ) n).map (g.op ≫ f.op)).hom = _ |
| 36 | rw [Functor.map_comp] |
| 37 | rfl |
| 38 | |
| 39 | @[simp] theorem bettiPullbackQ_id (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) : |
| 40 | bettiPullbackQ (𝟙 X) n = LinearMap.id := by |
| 41 | change ((Betti.Scheme.schemeBettiFunctor (ModuleCat.of ℚ ℚ) n).map (𝟙 (Opposite.op X))).hom = _ |
| 42 | rw [CategoryTheory.Functor.map_id] |
| 43 | rfl |
| 44 | |
| 45 | /-- The constant group-identity map has zero pullback in positive degree. -/ |
| 46 | theorem bettiPullbackQ_one {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [MonObj Y] |
| 47 | (n : ℕ) (hn : n ≠ 0) : bettiPullbackQ (1 : X ⟶ Y) n = 0 := by |
| 48 | let pt := 𝟙_ (Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 49 | have : Subsingleton (Betti.Scheme.schemePointSpace pt) := |
| 50 | inferInstanceAs (Subsingleton (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ pt)) |
| 51 | let : Subsingleton (bettiQ pt n) := ModuleCat.subsingleton_of_isZero |
| 52 | (AlgebraicTopology.Cohomology.Singular.Contractible.isZero_singularCohomology_of_totallyDisconnected |
| 53 | (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace pt) n hn) |
| 54 | rw [CategoryTheory.Hom.one_def, bettiPullbackQ_comp] |
| 55 | ext x |
| 56 | change bettiPullbackQ (toUnit X) n (bettiPullbackQ η[Y] n x) = 0 |
| 57 | rw [show bettiPullbackQ η[Y] n x = 0 from Subsingleton.elim _ _, map_zero] |
| 58 | |
| 59 | namespace ProductBetti |
| 60 | |
| 61 | variable {r : ℕ} (A : Fin r → CommGrp (Over Foundations.Scheme.ProjectiveSpace.complexBase)) |
| 62 | |
| 63 | abbrev scheme : Over Foundations.Scheme.ProjectiveSpace.complexBase := ∏ᶜ fun j => (A j).X |
| 64 | |
| 65 | /-- The i-th axis inclusion uses the chosen group identities in other factors. -/ |
| 66 | def axis (i : Fin r) : (A i).X ⟶ scheme A := |
| 67 | Pi.lift (fun j => if h : i = j then eqToHom (congrArg (fun k => (A k).X) h) else 1) |
| 68 | |
| 69 | @[simp] theorem axis_self (i : Fin r) : |
| 70 | axis A i ≫ Pi.π (fun j => (A j).X) i = 𝟙 (A i).X := by |
| 71 | simp [axis] |
| 72 | |
| 73 | theorem axis_ne (i j : Fin r) (h : i ≠ j) : |
| 74 | axis A i ≫ Pi.π (fun k => (A k).X) j = 1 := by |
| 75 | simp [axis, h] |
| 76 | |
| 77 | def restriction (n : ℕ) : |
| 78 | bettiQ (scheme A) n →ₗ[ℚ] (∀ j, bettiQ (A j).X n) := |
| 79 | LinearMap.pi (fun j => bettiPullbackQ (axis A j) n) |
| 80 | |
| 81 | def projectionSum (n : ℕ) : |
| 82 | (∀ j, bettiQ (A j).X n) →ₗ[ℚ] bettiQ (scheme A) n := |
| 83 | ∑ j : Fin r, |
| 84 | (bettiPullbackQ (Pi.π (fun k => (A k).X) j) n).comp (LinearMap.proj j) |
| 85 | |
| 86 | /-- Restriction to axes is split by the sum of actual projection pullbacks. -/ |
| 87 | theorem restriction_projectionSum (n : ℕ) (hn : n ≠ 0) : |
| 88 | (restriction A n).comp (projectionSum A n) = LinearMap.id := by |
| 89 | apply LinearMap.ext |
| 90 | intro x |
| 91 | funext i |
| 92 | change bettiPullbackQ (axis A i) n |
| 93 | ((∑ j : Fin r, |
| 94 | (bettiPullbackQ (Pi.π (fun k => (A k).X) j) n).comp (LinearMap.proj j)) x) = x i |
| 95 | simp only [LinearMap.sum_apply, LinearMap.comp_apply, LinearMap.proj_apply, map_sum] |
| 96 | rw [Finset.sum_eq_single i] |
| 97 | · change ((bettiPullbackQ (axis A i) n).comp |
| 98 | (bettiPullbackQ (Pi.π (fun k => (A k).X) i) n)) (x i) = x i |
| 99 | rw [← bettiPullbackQ_comp, axis_self, bettiPullbackQ_id] |
| 100 | rfl |
| 101 | · intro j _ hji |
| 102 | change ((bettiPullbackQ (axis A i) n).comp |
| 103 | (bettiPullbackQ (Pi.π (fun k => (A k).X) j) n)) (x j) = 0 |
| 104 | rw [← bettiPullbackQ_comp, axis_ne A i j (Ne.symm hji), bettiPullbackQ_one n hn] |
| 105 | rfl |
| 106 | · simp |
| 107 | |
| 108 | theorem restriction_surjective (n : ℕ) (hn : n ≠ 0) : |
| 109 | Function.Surjective (restriction A n) := by |
| 110 | intro x |
| 111 | exact ⟨projectionSum A n x, LinearMap.congr_fun (restriction_projectionSum A n hn) x⟩ |
| 112 | |
| 113 | theorem projectionSum_injective (n : ℕ) (hn : n ≠ 0) : |
| 114 | Function.Injective (projectionSum A n) := by |
| 115 | apply Function.LeftInverse.injective (g := restriction A n) |
| 116 | intro x |
| 117 | exact LinearMap.congr_fun (restriction_projectionSum A n hn) x |
| 118 | |
| 119 | end ProductBetti |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Product |