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.AbelianModuli.ReferenceFamily.SingularCoefficientExact |
| 2 | |
| 3 | /-! # Singular Coefficient Injection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SingularCoefficientInjection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A cochain proof of degree-two coefficient injectivity from degree-one |
| 10 | lifting in a short exact coefficient sequence. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | variable {R : Type} [Ring R] {M N P : ModuleCat.{0} R} |
| 15 | (f : M ⟶ N) (g : N ⟶ P) (X : TopCat.{0}) |
| 16 | (hf : Function.Injective f) (hg : Function.Surjective g) |
| 17 | (he : ∀ b : N, g b = 0 ↔ ∃ a : M, f a = b) |
| 18 | (h1 : Function.Surjective (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap g X 1)) |
| 19 | |
| 20 | include hf hg he h1 |
| 21 | |
| 22 | theorem singularH2_coefficient_kernel_zero (c : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles M X 2) |
| 23 | (hc : AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap f X 2 (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass M X 2 c) = 0) : |
| 24 | AlgebraicTopology.Cohomology.Singular.Representatives.singularClass M X 2 c = 0 := by |
| 25 | have hfc : AlgebraicTopology.Cohomology.Singular.Representatives.singularClass N X 2 (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.coefficientCocycleMap f X 2 c) = |
| 26 | AlgebraicTopology.Cohomology.Singular.Representatives.singularClass N X 2 0 := by simpa only [AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.coefficientMap_class, map_zero] using hc |
| 27 | obtain ⟨b, hb⟩ := (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_eq_iff_exists_succ N X 1 _ _).mp hfc |
| 28 | have hdb : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).d 1 2 b = (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X).f 2 c.val := by |
| 29 | exact (hb.trans (sub_zero _)).trans (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainCocycleMap_val (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X) 2 c) |
| 30 | have hgf (a : M) : g (f a) = 0 := (he (f a)).mpr ⟨a, rfl⟩ |
| 31 | have hgb : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains P X).d 1 2 ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f 1 b) = 0 := by |
| 32 | rw [SingularCoefficientExact.coefficientCochain_d, hdb] |
| 33 | exact SingularCoefficientExact.coefficientCochain_comp_zero f g X hgf 2 c.val |
| 34 | let t : AlgebraicTopology.Cohomology.Singular.Representatives.singularCocycles P X 1 := |
| 35 | ⟨(AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f 1 b, (AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff _ _ _).mpr hgb⟩ |
| 36 | obtain ⟨a, ha⟩ := h1 (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass P X 1 t) |
| 37 | obtain ⟨ac, hac⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_surjective N X 1 a |
| 38 | have ht : AlgebraicTopology.Cohomology.Singular.Representatives.singularClass P X 1 t = AlgebraicTopology.Cohomology.Singular.Representatives.singularClass P X 1 (AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.coefficientCocycleMap g X 1 ac) := by |
| 39 | rw [← AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.coefficientMap_class, hac, ha] |
| 40 | obtain ⟨u, hu⟩ := (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_eq_iff_exists_succ P X 0 _ _).mp ht |
| 41 | obtain ⟨v, hv⟩ := SingularCoefficientExact.coefficientCochain_surjective g X hg 0 u |
| 42 | let b' := b - ac.val - (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).d 0 1 v |
| 43 | have hb' : (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f 1 b' = 0 := by |
| 44 | dsimp only [b'] |
| 45 | rw [map_sub, map_sub, ← SingularCoefficientExact.coefficientCochain_d, hv, hu] |
| 46 | change (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f 1 b - (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f 1 ac.val - |
| 47 | ((AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f 1 b - (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap g X).f 1 ac.val) = 0 |
| 48 | exact sub_self _ |
| 49 | obtain ⟨w, hw⟩ := SingularCoefficientExact.coefficientCochain_exact f g X he 1 b' hb' |
| 50 | have hacd : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).d 1 2 ac.val = 0 := |
| 51 | (AlgebraicTopology.Cohomology.Singular.Representatives.mem_cochainCocycles_iff _ _ _).mp ac.property |
| 52 | have hvdd : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).d 1 2 ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).d 0 1 v) = 0 := |
| 53 | ConcreteCategory.congr_hom ((AlgebraicTopology.Cohomology.Singular.Basic.singularCochains N X).d_comp_d 0 1 2) v |
| 54 | have hwc : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M X).d 1 2 w = c.val := by |
| 55 | apply SingularCoefficientExact.coefficientCochain_injective f X hf 2 |
| 56 | rw [← SingularCoefficientExact.coefficientCochain_d, hw] |
| 57 | dsimp only [b'] |
| 58 | rw [map_sub, map_sub, hacd, hvdd, sub_zero, sub_zero, hdb] |
| 59 | have h := (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_eq_iff_exists_succ M X 1 c 0).mpr |
| 60 | ⟨w, by simpa only [Submodule.coe_zero, sub_zero] using hwc⟩ |
| 61 | simpa only [map_zero] using h |
| 62 | |
| 63 | theorem singularH2_coefficient_injective : Function.Injective (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap f X 2) := by |
| 64 | intro a b hab |
| 65 | obtain ⟨c, hc⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.singularClass_surjective M X 2 (a - b) |
| 66 | have hz : AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap f X 2 (AlgebraicTopology.Cohomology.Singular.Representatives.singularClass M X 2 c) = 0 := by |
| 67 | rw [hc, map_sub, hab, sub_self] |
| 68 | have hz' := singularH2_coefficient_kernel_zero f g X hf hg he h1 c hz |
| 69 | rw [hc] at hz' |
| 70 | exact sub_eq_zero.mp hz' |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SingularCoefficientInjection |