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 | |
| 3 | /-! # Simplicial Cochain Of Values -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicTopology.DeRham.Comparison.SimplicialCochainOfValues |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Cochain maps specified by actual simplex values |
| 11 | |
| 12 | The existing simplicial cochain objects are canonically all functions on |
| 13 | simplices. A degreewise linear family of such functions defines a cochain |
| 14 | map exactly when it satisfies the alternating-face formula. This file |
| 15 | packages that elementary implication and its naturality; analytic Stokes |
| 16 | identities remain explicit premises until supplied by actual integration. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | open scoped Simplicial |
| 21 | |
| 22 | open OAI.AlgebraicTopology.Cohomology.Singular.Formulas |
| 23 | |
| 24 | variable {R : Type} [Ring R] |
| 25 | variable (C : CochainComplex (ModuleCat.{0} R) ℕ) |
| 26 | (S : SSet.{0}) (A : ModuleCat.{0} R) |
| 27 | (I : ∀ n : ℕ, C.X n →ₗ[R] (S _⦋n⦌ → A)) |
| 28 | |
| 29 | /-- Convert an actual function-valued linear map to the existing simplicial |
| 30 | cochain object, using its proved degreewise function isomorphism. -/ |
| 31 | def simplicialCochainOfValues (n : ℕ) : C.X n ⟶ (Cohomology.Singular.Basic.simplicialCochains S A).X n := |
| 32 | ModuleCat.ofHom (I n) ≫ (Cohomology.Singular.Coefficients.degreewiseFunctionIso S A n).inv |
| 33 | |
| 34 | @[simp] |
| 35 | theorem simplicialCochainOfValues_function (n : ℕ) (x : C.X n) : |
| 36 | (Cohomology.Singular.Coefficients.degreewiseFunctionIso S A n).hom (simplicialCochainOfValues C S A I n x) = |
| 37 | I n x := |
| 38 | Iso.inv_hom_id_apply (Cohomology.Singular.Coefficients.degreewiseFunctionIso S A n) (I n x) |
| 39 | |
| 40 | /-- An actual alternating-face identity is precisely the condition needed |
| 41 | to package the specified simplex values as a cochain map. -/ |
| 42 | def simplicialCochainMapOfValues |
| 43 | (hI : ∀ (n : ℕ) (x : C.X n) (s : S _⦋n + 1⦌), |
| 44 | I (n + 1) (C.d n (n + 1) x) s = |
| 45 | ∑ i : Fin (n + 2), (-1 : ℤ) ^ i.val • I n x (S.δ i s)) : |
| 46 | C ⟶ Cohomology.Singular.Basic.simplicialCochains S A := |
| 47 | CochainComplex.ofHom (simplicialCochainOfValues C S A I) (fun n => by |
| 48 | apply ModuleCat.hom_ext |
| 49 | apply LinearMap.ext |
| 50 | intro x |
| 51 | apply (Cohomology.Singular.Coefficients.degreewiseFunctionIso S A (n + 1)).toLinearEquiv.injective |
| 52 | funext s |
| 53 | change (Cohomology.Singular.Coefficients.degreewiseFunctionIso S A (n + 1)).hom |
| 54 | ((Cohomology.Singular.Basic.simplicialCochains S A).d n (n + 1) |
| 55 | (simplicialCochainOfValues C S A I n x)) s = |
| 56 | (Cohomology.Singular.Coefficients.degreewiseFunctionIso S A (n + 1)).hom |
| 57 | (simplicialCochainOfValues C S A I (n + 1) (C.d n (n + 1) x)) s |
| 58 | rw [Cohomology.Singular.Formulas.degreewiseFunctionIso_coboundary] |
| 59 | change (∑ i : Fin (n + 2), (-1 : ℤ) ^ i.val • |
| 60 | ((Cohomology.Singular.Coefficients.degreewiseFunctionIso S A n).hom |
| 61 | ((Cohomology.Singular.Coefficients.degreewiseFunctionIso S A n).inv (I n x))) (S.δ i s)) = |
| 62 | ((Cohomology.Singular.Coefficients.degreewiseFunctionIso S A (n + 1)).hom |
| 63 | ((Cohomology.Singular.Coefficients.degreewiseFunctionIso S A (n + 1)).inv |
| 64 | (I (n + 1) (C.d n (n + 1) x)))) s |
| 65 | simp only [Iso.inv_hom_id_apply] |
| 66 | exact (hI n x s).symm) |
| 67 | |
| 68 | variable (hI : ∀ (n : ℕ) (x : C.X n) (s : S _⦋n + 1⦌), |
| 69 | I (n + 1) (C.d n (n + 1) x) s = |
| 70 | ∑ i : Fin (n + 2), (-1 : ℤ) ^ i.val • I n x (S.δ i s)) |
| 71 | |
| 72 | @[simp] |
| 73 | theorem simplicialCochainMapOfValues_f (n : ℕ) : |
| 74 | (simplicialCochainMapOfValues C S A I hI).f n = |
| 75 | simplicialCochainOfValues C S A I n := rfl |
| 76 | |
| 77 | @[simp] |
| 78 | theorem simplicialCochainMapOfValues_function (n : ℕ) (x : C.X n) : |
| 79 | (Cohomology.Singular.Coefficients.degreewiseFunctionIso S A n).hom |
| 80 | ((simplicialCochainMapOfValues C S A I hI).f n x) = I n x := |
| 81 | simplicialCochainOfValues_function C S A I n x |
| 82 | |
| 83 | /-- Evaluation of the packaged cochain gives exactly the prescribed actual |
| 84 | simplex value. -/ |
| 85 | @[simp] |
| 86 | theorem simplicialCochainMapOfValues_evaluation (n : ℕ) (x : C.X n) |
| 87 | (s : S _⦋n⦌) : |
| 88 | Cohomology.Singular.Coefficients.simplicialEvaluation S A s ((simplicialCochainMapOfValues C S A I hI).f n x) = |
| 89 | I n x s := by |
| 90 | rw [← Cohomology.Singular.Coefficients.degreewiseFunctionIso_hom_apply, simplicialCochainMapOfValues_function] |
| 91 | |
| 92 | variable {C S A I} |
| 93 | variable {D : CochainComplex (ModuleCat.{0} R) ℕ} {T : SSet.{0}} |
| 94 | (J : ∀ n : ℕ, D.X n →ₗ[R] (T _⦋n⦌ → A)) |
| 95 | (hJ : ∀ (n : ℕ) (x : D.X n) (s : T _⦋n + 1⦌), |
| 96 | J (n + 1) (D.d n (n + 1) x) s = |
| 97 | ∑ i : Fin (n + 2), (-1 : ℤ) ^ i.val • J n x (T.δ i s)) |
| 98 | |
| 99 | /-- Compatibility of the actual simplex values implies naturality of the |
| 100 | packaged cochain maps under a source cochain map and simplicial pullback. -/ |
| 101 | theorem simplicialCochainMapOfValues_naturality |
| 102 | (α : C ⟶ D) (f : T ⟶ S) |
| 103 | (hnat : ∀ (n : ℕ) (x : C.X n) (s : T _⦋n⦌), |
| 104 | J n (α.f n x) s = I n x (f.app _ s)) : |
| 105 | α ≫ simplicialCochainMapOfValues D T A J hJ = |
| 106 | simplicialCochainMapOfValues C S A I hI ≫ Cohomology.Singular.Functor.simplicialPullback A f := by |
| 107 | apply HomologicalComplex.Hom.ext |
| 108 | funext n |
| 109 | apply ModuleCat.hom_ext |
| 110 | apply LinearMap.ext |
| 111 | intro x |
| 112 | apply (Cohomology.Singular.Coefficients.degreewiseFunctionIso T A n).toLinearEquiv.injective |
| 113 | funext s |
| 114 | change (Cohomology.Singular.Coefficients.degreewiseFunctionIso T A n).hom |
| 115 | ((simplicialCochainMapOfValues D T A J hJ).f n (α.f n x)) s = |
| 116 | (Cohomology.Singular.Coefficients.degreewiseFunctionIso T A n).hom |
| 117 | ((Cohomology.Singular.Functor.simplicialPullback A f).f n |
| 118 | ((simplicialCochainMapOfValues C S A I hI).f n x)) s |
| 119 | rw [simplicialCochainMapOfValues_function, Cohomology.Singular.Formulas.degreewiseFunctionIso_pullback, |
| 120 | simplicialCochainMapOfValues_function] |
| 121 | exact hnat n x s |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicTopology.DeRham.Comparison.SimplicialCochainOfValues |