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.SheafCohomology.Projective.OrderedBaseCech |
| 2 | |
| 3 | /-! # Ordered Cech Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The restriction of global sections to ordered Cech zero-cycles. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace Construction.OrderedCechAugmentation |
| 19 | |
| 20 | variable {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 21 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 22 | |
| 23 | def map : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj (op ⊤) ⟶ (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).X 0 := |
| 24 | Pi.lift (fun i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0 => |
| 25 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).map (homOfLE (show (∏ᶜ fun k => U (i.1 k)) ≤ ⊤ from le_top)).op) |
| 26 | |
| 27 | theorem map_π (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0) : |
| 28 | OrderedCechAugmentation.map π M U ≫ Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0 => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U 0 j.1) i = |
| 29 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).map (homOfLE (show (∏ᶜ fun k => U (i.1 k)) ≤ ⊤ from le_top)).op := |
| 30 | Pi.lift_comp_π _ i |
| 31 | |
| 32 | theorem map_coface_π (k : Fin 2) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 1) : |
| 33 | OrderedCechAugmentation.map π M U ≫ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface π M U 0 k ≫ |
| 34 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 1 => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U 1 j.1) i = |
| 35 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).map (homOfLE (show (∏ᶜ fun k => U (i.1 k)) ≤ ⊤ from le_top)).op := by |
| 36 | rw [SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface_comp_π, ← Category.assoc, map_π, |
| 37 | ← (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).map_comp] |
| 38 | exact (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).congr_map (Subsingleton.elim _ _) |
| 39 | |
| 40 | private theorem alternating_two {C : Type*} [Category C] [Preadditive C] |
| 41 | {A B D : C} (a : A ⟶ B) (d : Fin 2 → (B ⟶ D)) (h : a ≫ d 0 = a ≫ d 1) : |
| 42 | a ≫ (∑ k : Fin 2, (-1 : ℤ) ^ (k : ℕ) • d k) = 0 := by |
| 43 | simp only [Fin.sum_univ_two, Fin.val_zero, pow_zero, one_zsmul, |
| 44 | Fin.val_one, pow_one, neg_one_zsmul, Preadditive.comp_add, Preadditive.comp_neg] |
| 45 | rw [h, add_neg_cancel] |
| 46 | |
| 47 | theorem square : OrderedCechAugmentation.map π M U ≫ (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).d 0 1 = 0 := by |
| 48 | have h : OrderedCechAugmentation.map π M U ≫ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface π M U 0 0 = |
| 49 | OrderedCechAugmentation.map π M U ≫ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface π M U 0 1 := by |
| 50 | apply Pi.hom_ext (f := fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 1 => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U 1 j.1) |
| 51 | intro i |
| 52 | simp only [Category.assoc] |
| 53 | exact (map_coface_π π M U 0 i).trans (map_coface_π π M U 1 i).symm |
| 54 | exact alternating_two (OrderedCechAugmentation.map π M U) (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface π M U 0) h |
| 55 | |
| 56 | def toCycles : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj (op ⊤) →ₗ[Γ(S, ⊤)] |
| 57 | ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).d 0 1).hom.ker := |
| 58 | (OrderedCechAugmentation.map π M U).hom.codRestrict _ (fun s => ConcreteCategory.congr_hom (square π M U) s) |
| 59 | |
| 60 | theorem toCycles_π (s : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj (op ⊤)) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0) : |
| 61 | Pi.π (fun j : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0 => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U 0 j.1) i (toCycles π M U s).val = |
| 62 | M.presheaf.map (homOfLE (show (∏ᶜ fun k => U (i.1 k)) ≤ ⊤ from le_top)).op s := |
| 63 | ConcreteCategory.congr_hom (map_π π M U i) s |
| 64 | |
| 65 | end Construction.OrderedCechAugmentation |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechSquare |