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.Quotients.FiniteDescent.CechTupleValues |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechComparison |
| 3 | |
| 4 | /-! # Cech Differential Values -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechDifferentialValues |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Cech differential is the alternating sum of restrictions, on each |
| 11 | tuple and after restriction to any smaller open. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.CechTupleCoordinates |
| 21 | |
| 22 | private theorem sum_apply {R : Type u} [CommRing R] {A B : ModuleCat.{u} R} |
| 23 | {I : Type*} [Fintype I] (v : I → (A ⟶ B)) (x : A) : |
| 24 | (∑ i, v i) x = ∑ i, v i x := by |
| 25 | change (∑ i, v i).hom x = _ |
| 26 | rw [ModuleCat.hom_sum, LinearMap.sum_apply] |
| 27 | |
| 28 | private theorem zsmul_apply {R : Type u} [CommRing R] {A B : ModuleCat.{u} R} |
| 29 | (n : ℤ) (v : A ⟶ B) (x : A) : (n • v) x = n • v x := rfl |
| 30 | |
| 31 | variable {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 32 | variable {ι : Type u} (U : ι → X.Opens) |
| 33 | |
| 34 | def delete (q : ℕ) (a : Fin (q + 2) → ι) (k : Fin (q + 2)) : Fin (q + 1) → ι := |
| 35 | a ∘ (SimplexCategory.δ k).toOrderHom.toFun |
| 36 | |
| 37 | def face (q : ℕ) (a : Fin (q + 2) → ι) (k : Fin (q + 2)) : |
| 38 | (∏ᶜ fun j => U (a j)) ⟶ ∏ᶜ fun j => U (delete q a k j) := |
| 39 | ((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ k).toOrderHom.toFun).φ a |
| 40 | |
| 41 | theorem differential_value (q : ℕ) (z : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X q) (a : Fin (q + 2) → ι) : |
| 42 | CechTupleValues.Construction.CechTupleCoordinates.value π M U (q + 1) ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).d q (q + 1) z) a = |
| 43 | ∑ k : Fin (q + 2), (-1 : ℤ) ^ (k : ℕ) • |
| 44 | M.presheaf.map (face U q a k).op (CechTupleValues.Construction.CechTupleCoordinates.value π M U q z (delete q a k)) := by |
| 45 | have h := ConcreteCategory.congr_hom (SheafCohomology.Projective.OrderedBaseCechComparison.Scheme.Modules.baseCechComplex_d_comp_π π M U q a) z |
| 46 | rw [CechTupleCoordinates.sum_apply] at h |
| 47 | simp only [zsmul_apply, ModuleCat.comp_apply] at h |
| 48 | exact h |
| 49 | |
| 50 | def restrictedValue (q : ℕ) (z : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X q) |
| 51 | (a : Fin (q + 1) → ι) (W : X.Opens) (hW : W ≤ ∏ᶜ fun j => U (a j)) : Γ(M, W) := |
| 52 | M.presheaf.map (homOfLE hW).op (CechTupleValues.Construction.CechTupleCoordinates.value π M U q z a) |
| 53 | |
| 54 | theorem restricted_index (q : ℕ) (z : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X q) |
| 55 | (a b : Fin (q + 1) → ι) (hab : a = b) (W : X.Opens) |
| 56 | (ha : W ≤ ∏ᶜ fun j => U (a j)) (hb : W ≤ ∏ᶜ fun j => U (b j)) : |
| 57 | restrictedValue π M U q z a W ha = restrictedValue π M U q z b W hb := by |
| 58 | subst b |
| 59 | rfl |
| 60 | |
| 61 | theorem restricted_differential (q : ℕ) (z : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X q) |
| 62 | (a : Fin (q + 2) → ι) (W : X.Opens) (hW : W ≤ ∏ᶜ fun j => U (a j)) : |
| 63 | restrictedValue π M U (q + 1) ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).d q (q + 1) z) a W hW = |
| 64 | ∑ k : Fin (q + 2), (-1 : ℤ) ^ (k : ℕ) • |
| 65 | restrictedValue π M U q z (delete q a k) W |
| 66 | (hW.trans (leOfHom (face U q a k))) := by |
| 67 | unfold restrictedValue |
| 68 | rw [differential_value, map_sum] |
| 69 | apply Finset.sum_congr rfl |
| 70 | intro k _ |
| 71 | rw [map_zsmul, ← M.presheaf.map_comp_apply] |
| 72 | rfl |
| 73 | |
| 74 | end Construction.CechTupleCoordinates |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechDifferentialValues |