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.HilbertScheme.Presentations.ModuleCech.ExactSequences |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.FreeModuleCechExactness |
| 3 | |
| 4 | /-! # Dimension Shift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DimensionShift.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact-sequence diagram chase used in eventual Čech vanishing. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | |
| 14 | universe u v w t |
| 15 | |
| 16 | variable {σ : Type u} [LinearOrder σ] |
| 17 | variable (R : Type v) [CommRing R] |
| 18 | variable (M : Type w) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 19 | [IsScalarTower R (MvPolynomial σ R) M] |
| 20 | variable (ℳ : ℤ → Submodule R M) |
| 21 | |
| 22 | /-- In degree zero the primitive has degree zero too; cardinal support |
| 23 | then forces the cocycle to vanish. In positive degrees this is ordinary exactness. -/ |
| 24 | def ModuleCechExactAt (d : ℤ) (q : ℕ) : Prop := |
| 25 | ∀ f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 26 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f → ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q f → |
| 27 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f = 0 → |
| 28 | ∃ g : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 29 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d g ∧ ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M (q - 1) g ∧ |
| 30 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M g = f |
| 31 | |
| 32 | theorem moduleCechExactAt_of_bounded [Fintype σ] (d : ℤ) (q : ℕ) (hq : Fintype.card σ < q) : |
| 33 | ModuleCechExactAt (σ := σ) R M ℳ d q := by |
| 34 | intro f _ hcard _ |
| 35 | have hf := ModuleCech.Card.ProjectiveCech.moduleCech_bounded R M q hq f hcard |
| 36 | refine ⟨0, fun s => Submodule.zero_mem _, fun _ _ => rfl, ?_⟩ |
| 37 | rw [map_zero, hf] |
| 38 | |
| 39 | variable {N : Type t} [AddCommGroup N] [Module R N] [Module (MvPolynomial σ R) N] |
| 40 | [IsScalarTower R (MvPolynomial σ R) N] |
| 41 | variable (𝒩 : ℤ → Submodule R N) |
| 42 | variable {P : Type*} [AddCommGroup P] [Module R P] [Module (MvPolynomial σ R) P] |
| 43 | [IsScalarTower R (MvPolynomial σ R) P] |
| 44 | variable (ℙ : ℤ → Submodule R P) |
| 45 | variable [Decomposition ℳ] [Decomposition 𝒩] [Decomposition ℙ] |
| 46 | variable [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 47 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) 𝒩] |
| 48 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℙ] |
| 49 | |
| 50 | theorem moduleCech_dimension_shift (i : M →ₗ[MvPolynomial σ R] N) (p : N →ₗ[MvPolynomial σ R] P) |
| 51 | (hi : ∀ d m, m ∈ ℳ d → i m ∈ 𝒩 d) (hp : ∀ d n, n ∈ 𝒩 d → p n ∈ ℙ d) |
| 52 | (hinj : Function.Injective i) (hsurj : Function.Surjective p) (hex : Function.Exact i p) |
| 53 | (d : ℤ) (q : ℕ) (hM : ModuleCechExactAt (σ := σ) R M ℳ d (q + 1)) |
| 54 | (hN : ModuleCechExactAt (σ := σ) R N 𝒩 d q) : ModuleCechExactAt (σ := σ) R P ℙ d q := by |
| 55 | intro f hf hcard hcycle |
| 56 | obtain ⟨y, hy, hycard, hyp⟩ := ModuleCech.ExactSequences.ProjectiveCech.moduleCechMap_lift R 𝒩 ℙ p hp hsurj d q f hf hcard |
| 57 | have hdy : ModuleCech.Maps.ProjectiveCech.moduleCechMap R p (ModuleCech.Card.ProjectiveCech.moduleCechDifferential R N y) = 0 := by |
| 58 | rw [ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, hyp, hcycle] |
| 59 | obtain ⟨z, hz, hzcard, hzi⟩ := ModuleCech.ExactSequences.ProjectiveCech.moduleCechMap_kernel_lift R ℳ 𝒩 ℙ i p hi hp hex d (q + 1) |
| 60 | (ModuleCech.Card.ProjectiveCech.moduleCechDifferential R N y) (ModuleCech.Card.ProjectiveCech.moduleCechDifferential_homogeneous R N 𝒩 d y hy) |
| 61 | (ModuleCech.Card.ProjectiveCech.moduleCechDifferential_card R N q y hycard) hdy |
| 62 | have hdz : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M z = 0 := by |
| 63 | apply ModuleCech.Maps.ProjectiveCech.moduleCechMap_injective R i hinj |
| 64 | rw [map_zero, ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, hzi, ModuleCech.Square.ProjectiveCech.moduleCechDifferential_square] |
| 65 | obtain ⟨u, hu, hucard, hdu⟩ := hM z hz hzcard hdz |
| 66 | simp only [Nat.add_sub_cancel] at hucard |
| 67 | let y' := y - ModuleCech.Maps.ProjectiveCech.moduleCechMap R i u |
| 68 | have hy' : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R N 𝒩 d y' := by |
| 69 | intro s |
| 70 | exact Submodule.sub_mem _ (hy s) (ModuleCech.Maps.ProjectiveCech.moduleCechMap_homogeneous R ℳ 𝒩 i hi d u hu s) |
| 71 | have hy'card : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R N q y' := by |
| 72 | intro s hs |
| 73 | change y s - ModuleCech.Maps.ProjectiveCech.moduleCechMap R i u s = 0 |
| 74 | rw [hycard s hs, ModuleCech.Maps.ProjectiveCech.moduleCechMap_card R i q u hucard s hs, sub_self] |
| 75 | have hdy' : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R N y' = 0 := by |
| 76 | change ModuleCech.Card.ProjectiveCech.moduleCechDifferential R N (y - ModuleCech.Maps.ProjectiveCech.moduleCechMap R i u) = 0 |
| 77 | rw [map_sub, ← ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, hdu, hzi, sub_self] |
| 78 | obtain ⟨v, hv, hvcard, hdv⟩ := hN y' hy' hy'card hdy' |
| 79 | refine ⟨ModuleCech.Maps.ProjectiveCech.moduleCechMap R p v, ModuleCech.Maps.ProjectiveCech.moduleCechMap_homogeneous R 𝒩 ℙ p hp d v hv, |
| 80 | ModuleCech.Maps.ProjectiveCech.moduleCechMap_card R p (q - 1) v hvcard, ?_⟩ |
| 81 | rw [← ModuleCech.Maps.ProjectiveCech.moduleCechMap_differential, hdv] |
| 82 | change ModuleCech.Maps.ProjectiveCech.moduleCechMap R p (y - ModuleCech.Maps.ProjectiveCech.moduleCechMap R i u) = f |
| 83 | rw [map_sub, hyp, (ModuleCech.Maps.ProjectiveCech.moduleCechMap_exact R i p hex (ModuleCech.Maps.ProjectiveCech.moduleCechMap R i u)).mpr ⟨u, rfl⟩, sub_zero] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DimensionShift.ProjectiveCech |