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.ReversedCechSigns |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.DimensionShift |
| 3 | |
| 4 | /-! # Reversed Module Cech -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ReversedModuleCech.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reversing the variable order preserves the actual augmented Čech exactness in every homogeneous degree. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w |
| 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 | |
| 21 | local instance : Module (MvPolynomial σᵒᵈ R) M := ‹Module (MvPolynomial σ R) M› |
| 22 | local instance : IsScalarTower R (MvPolynomial σᵒᵈ R) M := ‹IsScalarTower R (MvPolynomial σ R) M› |
| 23 | |
| 24 | def reversedModuleCechDifferential : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M →ₗ[R] ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M := |
| 25 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σᵒᵈ) R M |
| 26 | |
| 27 | theorem moduleCechDifferential_orderDual (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) (s : Finset σ) : |
| 28 | reversedModuleCechDifferential R M f s = |
| 29 | (-1 : R) ^ (s.card - 1) • ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σ) R M f s := by |
| 30 | change (∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign (σ := σᵒᵈ) R s i • |
| 31 | Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.erase_subset i s) (f (s.erase i))) = |
| 32 | (-1 : R) ^ (s.card - 1) • ∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign R s i • |
| 33 | Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M (Finset.erase_subset i s) (f (s.erase i)) |
| 34 | rw [Finset.smul_sum] |
| 35 | apply Finset.sum_congr rfl |
| 36 | intro i hi |
| 37 | rw [ReversedCechSigns.ProjectiveCech.alternatingSign_orderDual R s i hi, mul_smul] |
| 38 | |
| 39 | theorem moduleCechDifferential_orderDual_card (q : ℕ) (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) |
| 40 | (hf : ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q f) : |
| 41 | reversedModuleCechDifferential R M f = (-1 : R) ^ q • ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σ) R M f := by |
| 42 | funext s |
| 43 | rw [moduleCechDifferential_orderDual] |
| 44 | by_cases hs : s.card = q + 1 |
| 45 | · rw [hs, Nat.add_sub_cancel] |
| 46 | rfl |
| 47 | · have hz := ModuleCech.Card.ProjectiveCech.moduleCechDifferential_card R M q f hf s hs |
| 48 | change (-1 : R) ^ (s.card - 1) • ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f s = |
| 49 | (-1 : R) ^ q • ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f s |
| 50 | rw [hz, smul_zero, smul_zero] |
| 51 | |
| 52 | theorem moduleCechDifferential_orderDual_eq_zero_iff (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M) : |
| 53 | reversedModuleCechDifferential R M f = 0 ↔ ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σ) R M f = 0 := by |
| 54 | constructor |
| 55 | · intro h |
| 56 | funext s |
| 57 | have hs := congrFun h s |
| 58 | rw [moduleCechDifferential_orderDual] at hs |
| 59 | have h' := congrArg (fun x : Graded.ModuleRestriction.ProjectiveCech.ModuleChart R M s => (-1 : R) ^ (s.card - 1) • x) hs |
| 60 | simpa only [smul_smul, ReversedCechSigns.ProjectiveCech.neg_one_power_square, one_smul, Pi.zero_apply, smul_zero] using h' |
| 61 | · intro h |
| 62 | funext s |
| 63 | rw [moduleCechDifferential_orderDual, show ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f s = 0 from congrFun h s, smul_zero] |
| 64 | rfl |
| 65 | |
| 66 | theorem moduleCechExactAt_orderDual (ℳ : ℤ → Submodule R M) (d : ℤ) (q : ℕ) |
| 67 | (hex : Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q) : Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σᵒᵈ) R M ℳ d q := by |
| 68 | change ∀ f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 69 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f → ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M q f → reversedModuleCechDifferential R M f = 0 → |
| 70 | ∃ g : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 71 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d g ∧ ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M (q - 1) g ∧ reversedModuleCechDifferential R M g = f |
| 72 | intro f hf hfc hcycle |
| 73 | obtain ⟨g, hg, hgc, hgd⟩ := hex f hf hfc ((moduleCechDifferential_orderDual_eq_zero_iff (σ := σ) R M f).mp hcycle) |
| 74 | refine ⟨(-1 : R) ^ (q - 1) • g, fun s => Submodule.smul_mem _ _ (hg s), ?_, ?_⟩ |
| 75 | · intro s hs |
| 76 | change (-1 : R) ^ (q - 1) • g s = 0 |
| 77 | rw [hgc s hs, smul_zero] |
| 78 | · rw [map_smul, moduleCechDifferential_orderDual_card R M (q - 1) g hgc, hgd, |
| 79 | smul_smul, ReversedCechSigns.ProjectiveCech.neg_one_power_square, one_smul] |
| 80 | |
| 81 | theorem moduleCechExactAt_orderDual_iff (ℳ : ℤ → Submodule R M) (d : ℤ) (q : ℕ) : |
| 82 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σᵒᵈ) R M ℳ d q ↔ Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q := |
| 83 | ⟨moduleCechExactAt_orderDual (σ := σᵒᵈ) R M ℳ d q, moduleCechExactAt_orderDual R M ℳ d q⟩ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ReversedModuleCech.ProjectiveCech |