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.AddedKernelExactness |
| 2 | |
| 3 | /-! # Cover Expansion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.CoverExpansion.ProjectiveCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Adjoining a homogeneous linear form to the coordinate cover preserves and reflects augmented Čech exactness. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial DirectSum |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {σ : Type u} [Fintype σ] [LinearOrder σ] |
| 16 | variable (R : Type v) [CommRing R] |
| 17 | variable [Algebra (MvPolynomial (WithBot σ) R) (MvPolynomial σ R)] |
| 18 | [IsScalarTower R (MvPolynomial (WithBot σ) R) (MvPolynomial σ R)] |
| 19 | variable (he : ∀ i : σ, algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X (i : WithBot σ)) = X i) |
| 20 | variable (M : Type w) [AddCommGroup M] [Module R M] |
| 21 | [Module (MvPolynomial (WithBot σ) R) M] [Module (MvPolynomial σ R) M] |
| 22 | [IsScalarTower R (MvPolynomial (WithBot σ) R) M] [IsScalarTower R (MvPolynomial σ R) M] |
| 23 | [IsScalarTower (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) M] |
| 24 | variable (l : MvPolynomial σ R) |
| 25 | variable (hl : algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X ⊥) = l) |
| 26 | variable (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 27 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 28 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := WithBot σ) R) ℳ] |
| 29 | |
| 30 | include he hl in |
| 31 | theorem linearCoverExpansion_moduleCechExactAt_iff (hlhom : l.IsHomogeneous 1) (d : ℤ) (q : ℕ) : |
| 32 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := WithBot σ) R M ℳ d q ↔ Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q := by |
| 33 | let p := ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M |
| 34 | let dB := ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := WithBot σ) R M |
| 35 | let dS := ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σ) R M |
| 36 | let e : σ ↪o WithBot σ := |
| 37 | { toEmbedding := Function.Embedding.coeWithBot, map_rel_iff' := WithBot.coe_le_coe } |
| 38 | have he' : ∀ i : σ, algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X (e i)) = X i := he |
| 39 | have hcomm (x : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) : p (dB x) = dS (p x) := |
| 40 | Cech.CechDifferential.ProjectiveCech.retainedModuleCechMap_differential R e he' M x |
| 41 | constructor |
| 42 | · intro hBig y hy hyc hyd |
| 43 | obtain ⟨x, hx, hxc, hpx⟩ := ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap_homogeneous_lift R Function.Embedding.coeWithBot he M ℳ d q y hy hyc |
| 44 | change p x = y at hpx |
| 45 | have hpdx : p (dB x) = 0 := by rw [hcomm, hpx]; exact hyd |
| 46 | obtain ⟨z, hz, hzc, hpz, hdz⟩ := AddedKernelExactness.ProjectiveCech.addedModuleCechKernel_exact R he M l hl ℳ hlhom d (q + 1) |
| 47 | (dB x) (ModuleCech.Card.ProjectiveCech.moduleCechDifferential_homogeneous R M ℳ d x hx) |
| 48 | (ModuleCech.Card.ProjectiveCech.moduleCechDifferential_card R M q x hxc) hpdx (ModuleCech.Square.ProjectiveCech.moduleCechDifferential_square R M x) |
| 49 | have hdiff : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d (x - z) := fun s => Submodule.sub_mem _ (hx s) (hz s) |
| 50 | have hdiffc : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q (x - z) := by |
| 51 | intro s hs |
| 52 | change x s - z s = 0 |
| 53 | rw [hxc s hs, hzc s (by simpa only [Nat.add_sub_cancel] using hs), sub_self] |
| 54 | have hcycle : dB (x - z) = 0 := by rw [map_sub, hdz, sub_self] |
| 55 | obtain ⟨a, ha, hac, had⟩ := hBig (x - z) hdiff hdiffc hcycle |
| 56 | refine ⟨p a, ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap_homogeneous R Function.Embedding.coeWithBot he M ℳ d a ha, |
| 57 | ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap_card R Function.Embedding.coeWithBot he M (q - 1) a hac, ?_⟩ |
| 58 | change dS (p a) = y |
| 59 | rw [← hcomm, had, map_sub, hpx, hpz, sub_zero] |
| 60 | · intro hSmall x hx hxc hxd |
| 61 | have hpxh := ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap_homogeneous R Function.Embedding.coeWithBot he M ℳ d x hx |
| 62 | have hpxc := ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap_card R Function.Embedding.coeWithBot he M q x hxc |
| 63 | have hpxd : dS (p x) = 0 := by rw [← hcomm, hxd, map_zero] |
| 64 | cases q with |
| 65 | | zero => |
| 66 | have hpxzero := Cech.ExactLeft.ProjectiveCech.moduleCechExactAt_zero_vanish R M ℳ d hSmall (p x) hpxh hpxc hpxd |
| 67 | obtain ⟨g, hg, hgc, _, hgd⟩ := AddedKernelExactness.ProjectiveCech.addedModuleCechKernel_exact R he M l hl ℳ hlhom d 0 x hx hxc hpxzero hxd |
| 68 | exact ⟨g, hg, hgc, hgd⟩ |
| 69 | | succ q => |
| 70 | obtain ⟨y, hy, hyc, hyd⟩ := hSmall (p x) hpxh hpxc hpxd |
| 71 | obtain ⟨z, hz, hzc, hpz⟩ := ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap_homogeneous_lift R Function.Embedding.coeWithBot he M ℳ d q |
| 72 | y hy (by simpa only [Nat.succ_sub_one] using hyc) |
| 73 | change p z = y at hpz |
| 74 | have hrh : ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d (x - dB z) := |
| 75 | fun s => Submodule.sub_mem _ (hx s) (ModuleCech.Card.ProjectiveCech.moduleCechDifferential_homogeneous R M ℳ d z hz s) |
| 76 | have hrc : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M (q + 1) (x - dB z) := by |
| 77 | intro s hs |
| 78 | change x s - dB z s = 0 |
| 79 | rw [hxc s hs, ModuleCech.Card.ProjectiveCech.moduleCechDifferential_card R M q z hzc s hs, sub_self] |
| 80 | have hrp : p (x - dB z) = 0 := by rw [map_sub, hcomm, hpz, hyd, sub_self] |
| 81 | have hrd : dB (x - dB z) = 0 := by rw [map_sub, hxd, ModuleCech.Square.ProjectiveCech.moduleCechDifferential_square, sub_self] |
| 82 | obtain ⟨a, ha, hac, _, had⟩ := AddedKernelExactness.ProjectiveCech.addedModuleCechKernel_exact R he M l hl ℳ hlhom d (q + 1) |
| 83 | (x - dB z) hrh hrc hrp hrd |
| 84 | refine ⟨z + a, fun s => Submodule.add_mem _ (hz s) (ha s), ?_, ?_⟩ |
| 85 | · intro s hs |
| 86 | change z s + a s = 0 |
| 87 | rw [hzc s (by simpa only [Nat.succ_sub_one] using hs), hac s hs, add_zero] |
| 88 | · change dB (z + a) = x |
| 89 | rw [map_add, had] |
| 90 | abel |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.CoverExpansion.ProjectiveCech |