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.AbelianModuli.HilbertConstruction.Ordered.CoefficientCechComplex |
| 2 | |
| 3 | /-! # Augmentation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.Augmentation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a global section to ordered Čech intersections gives an actual zero cycle in degree zero. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 16 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 17 | |
| 18 | def orderedCechSectionMap (q : ℕ) : |
| 19 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op ⊤) ⟶ Ordered.CoefficientCechTerms.orderedCoefficientCechObject c M U q := |
| 20 | CategoryTheory.Limits.Pi.lift fun a : Ordered.SectionCechIndices.OrderedCechIndex ι q ↦ |
| 21 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map |
| 22 | (homOfLE (show (∏ᶜ fun k : Fin (q + 1) ↦ U (a.val k)) ≤ ⊤ from le_top)).op |
| 23 | |
| 24 | theorem orderedCechSectionMap_comp_π (q : ℕ) (a : Ordered.SectionCechIndices.OrderedCechIndex ι q) : |
| 25 | orderedCechSectionMap c M U q ≫ CategoryTheory.Limits.Pi.π |
| 26 | (fun b : Ordered.SectionCechIndices.OrderedCechIndex ι q ↦ Ordered.CoefficientCechTerms.coefficientCechFactor c M U q b.val) a = |
| 27 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map |
| 28 | (homOfLE (show (∏ᶜ fun k : Fin (q + 1) ↦ U (a.val k)) ≤ ⊤ from le_top)).op := |
| 29 | CategoryTheory.Limits.Pi.lift_comp_π _ a |
| 30 | |
| 31 | theorem orderedCechSectionMap_comp_coface (q : ℕ) (k : Fin (q + 2)) : |
| 32 | orderedCechSectionMap c M U q ≫ Ordered.CoefficientCechTerms.orderedCoefficientCechCoface c M U q k = |
| 33 | orderedCechSectionMap c M U (q + 1) := by |
| 34 | apply CategoryTheory.Limits.Pi.hom_ext |
| 35 | (f := fun a : Ordered.SectionCechIndices.OrderedCechIndex ι (q + 1) ↦ Ordered.CoefficientCechTerms.coefficientCechFactor c M U (q + 1) a.val) |
| 36 | intro a |
| 37 | let F := Coefficient.ModulePresheaf.coefficientModulePresheaf c M |
| 38 | let A : ModuleCat.{u} R := F.obj (op ⊤) |
| 39 | let B : ModuleCat.{u} R := Ordered.CoefficientCechTerms.coefficientCechFactor c M U q (a.delete k).val |
| 40 | let D : ModuleCat.{u} R := Ordered.CoefficientCechTerms.coefficientCechFactor c M U (q + 1) a.val |
| 41 | let p : Ordered.CoefficientCechTerms.orderedCoefficientCechObject c M U q ⟶ B := CategoryTheory.Limits.Pi.π |
| 42 | (fun b : Ordered.SectionCechIndices.OrderedCechIndex ι q ↦ Ordered.CoefficientCechTerms.coefficientCechFactor c M U q b.val) (a.delete k) |
| 43 | let t : Ordered.CoefficientCechTerms.orderedCoefficientCechObject c M U (q + 1) ⟶ D := CategoryTheory.Limits.Pi.π |
| 44 | (fun b : Ordered.SectionCechIndices.OrderedCechIndex ι (q + 1) ↦ Ordered.CoefficientCechTerms.coefficientCechFactor c M U (q + 1) b.val) a |
| 45 | let r : B ⟶ D := F.map (((FormalCoproduct.mk _ U).mapPower |
| 46 | (SimplexCategory.δ k).toOrderHom.toFun).φ a.val).op |
| 47 | have hc : Ordered.CoefficientCechTerms.orderedCoefficientCechCoface c M U q k ≫ t = p ≫ r := |
| 48 | Ordered.CoefficientCechTerms.orderedCoefficientCechCoface_comp_π c M U q k a |
| 49 | have hcomp : (orderedCechSectionMap c M U q ≫ p) ≫ r = |
| 50 | F.map (homOfLE (show (∏ᶜ fun j : Fin (q + 2) ↦ U (a.val j)) ≤ ⊤ from le_top)).op := by |
| 51 | calc |
| 52 | _ = F.map (homOfLE (show (∏ᶜ fun j : Fin (q + 1) ↦ U ((a.delete k).val j)) ≤ ⊤ |
| 53 | from le_top)).op ≫ r := |
| 54 | congrArg (fun f : A ⟶ B ↦ f ≫ r) (orderedCechSectionMap_comp_π c M U q (a.delete k)) |
| 55 | _ = _ := (F.map_comp _ _).symm.trans (congrArg F.map (Subsingleton.elim _ _)) |
| 56 | exact (Category.assoc _ _ t).trans |
| 57 | ((congrArg (fun f : Ordered.CoefficientCechTerms.orderedCoefficientCechObject c M U q ⟶ D ↦ |
| 58 | orderedCechSectionMap c M U q ≫ f) hc).trans |
| 59 | ((Category.assoc _ p r).symm.trans |
| 60 | (hcomp.trans (orderedCechSectionMap_comp_π c M U (q + 1) a).symm))) |
| 61 | |
| 62 | theorem orderedCechSectionMap_comp_differential : |
| 63 | orderedCechSectionMap c M U 0 ≫ Ordered.CoefficientCechComplex.orderedCoefficientCechDifferential c M U 0 = 0 := by |
| 64 | rw [Ordered.CoefficientCechComplex.orderedCoefficientCechDifferential, Preadditive.comp_sum] |
| 65 | simp only [Preadditive.comp_zsmul, orderedCechSectionMap_comp_coface] |
| 66 | change (∑ k : Fin 2, (-1 : ℤ) ^ k.val • orderedCechSectionMap c M U 1) = 0 |
| 67 | rw [Fin.sum_univ_two] |
| 68 | simp only [Fin.val_zero, pow_zero, one_zsmul, |
| 69 | Fin.val_one, pow_one, neg_one_zsmul, add_neg_cancel] |
| 70 | |
| 71 | def orderedCechSectionToCycles : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op ⊤) →ₗ[R] |
| 72 | ((Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U).d 0 1).hom.ker := |
| 73 | (orderedCechSectionMap c M U 0).hom.codRestrict _ (by |
| 74 | intro x |
| 75 | change ((Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U).d 0 1).hom |
| 76 | ((orderedCechSectionMap c M U 0).hom x) = 0 |
| 77 | rw [Ordered.CoefficientCechComplex.orderedCoefficientCechComplex_d] |
| 78 | exact ConcreteCategory.congr_hom (orderedCechSectionMap_comp_differential c M U) x) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.Augmentation |