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.RepresentativesNaturality |
| 2 | |
| 3 | /-! # Singular Coefficient Exact -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SingularCoefficientExact |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pointwise exactness of actual singular cochains in the coefficient module. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | open OAI.AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality |
| 14 | |
| 15 | variable {R : Type} [Ring R] {M N P : ModuleCat.{0} R} |
| 16 | (f : M ⟶ N) (g : N ⟶ P) (X : TopCat.{0}) |
| 17 | |
| 18 | theorem coefficientCochain_injective (hf : Function.Injective f) (n : ℕ) : |
| 19 | Function.Injective ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n) := by |
| 20 | intro a b hab |
| 21 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso M X n).toLinearEquiv.injective |
| 22 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso M X n).hom a = (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso M X n).hom b |
| 23 | ext s |
| 24 | apply hf |
| 25 | have h := congrArg (fun c => (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso N X n).hom c s) hab |
| 26 | exact (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_apply f X a s).symm.trans |
| 27 | (h.trans (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_apply f X b s)) |
| 28 | |
| 29 | theorem coefficientCochain_lift (n : ℕ) (b : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).X n) |
| 30 | (hb : ∀ s, ∃ a : M, f a = (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso N X n).hom b s) : |
| 31 | ∃ a : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X n, (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n a = b := by |
| 32 | let a := (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso M X n).inv (fun s => (hb s).choose) |
| 33 | refine ⟨a, ?_⟩ |
| 34 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso N X n).toLinearEquiv.injective |
| 35 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso N X n).hom ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n a) = |
| 36 | (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso N X n).hom b |
| 37 | ext s |
| 38 | rw [AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_apply f X a s] |
| 39 | change f ((AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso M X n).hom |
| 40 | ((AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso M X n).inv (fun s => (hb s).choose)) s) = _ |
| 41 | rw [Iso.inv_hom_id_apply] |
| 42 | exact (hb s).choose_spec |
| 43 | |
| 44 | theorem coefficientCochain_surjective (hf : Function.Surjective f) (n : ℕ) : |
| 45 | Function.Surjective ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n) := |
| 46 | fun b => coefficientCochain_lift f X n b (fun _ => hf _) |
| 47 | |
| 48 | theorem coefficientCochain_exact |
| 49 | (he : ∀ b : N, g b = 0 ↔ ∃ a : M, f a = b) |
| 50 | (n : ℕ) (b : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).X n) |
| 51 | (hb : (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f n b = 0) : |
| 52 | ∃ a : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X n, (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n a = b := by |
| 53 | apply coefficientCochain_lift f X n b |
| 54 | intro s |
| 55 | apply (he _).mp |
| 56 | have h := congrArg (fun c => (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso P X n).hom c s) hb |
| 57 | have hz : (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso P X n).hom 0 s = 0 := |
| 58 | congrFun (map_zero (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso P X n).hom.hom) s |
| 59 | exact (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_apply g X b s).symm.trans (h.trans hz) |
| 60 | |
| 61 | theorem coefficientCochain_comp_zero (hz : ∀ a : M, g (f a) = 0) |
| 62 | (n : ℕ) (a : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X n) : |
| 63 | (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f n ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n a) = 0 := by |
| 64 | apply (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso P X n).toLinearEquiv.injective |
| 65 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso P X n).hom |
| 66 | ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f n ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n a)) = |
| 67 | (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso P X n).hom 0 |
| 68 | ext s |
| 69 | rw [AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_apply g X ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n a) s, |
| 70 | AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap_apply f X a s] |
| 71 | exact (hz _).trans (congrFun (map_zero (AlgebraicTopology.Cohomology.Singular.Coefficients.singularDegreewiseFunctionIso P X n).hom.hom) s).symm |
| 72 | |
| 73 | theorem coefficientCochain_d (n : ℕ) (a : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).X n) : |
| 74 | (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).d n (n + 1) ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f n a) = |
| 75 | (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f (n + 1) ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d n (n + 1) a) := |
| 76 | ConcreteCategory.congr_hom ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).comm n (n + 1)) a |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SingularCoefficientExact |