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.OrderedCech.TensorTerms |
| 2 | |
| 3 | /-! # Tensor Cofaces -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.TensorCofaces.CechTensorComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A tensor comparison compatible with open restriction commutes with every ordered Cech coface. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 11 | open scoped TensorProduct |
| 12 | universe u |
| 13 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 14 | variable (A : Type u) [AddCommGroup A] [Module R A] |
| 15 | variable (c : R →+* Γ(X, ⊤)) (M N : X.Modules) |
| 16 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 17 | variable (β : ∀ V : X.Opens, A ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)) →ₗ[R] |
| 18 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V)) |
| 19 | |
| 20 | variable (hβ : ∀ (V W : X.Opens) (i : V ⟶ W) (a : A) |
| 21 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op W)), |
| 22 | β V (a ⊗ₜ[R] (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map i.op x) = |
| 23 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map i.op (β W (a ⊗ₜ[R] x))) |
| 24 | |
| 25 | include hβ |
| 26 | |
| 27 | theorem coface_comm (q : ℕ) (k : Fin (q + 2)) : |
| 28 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A).map (Ordered.CoefficientCechTerms.orderedCoefficientCechCoface c M U q k) ≫ |
| 29 | TensorTerms.CechTensorComparison.mapF A c M N U β (q + 1) = |
| 30 | TensorTerms.CechTensorComparison.mapF A c M N U β q ≫ Ordered.CoefficientCechTerms.orderedCoefficientCechCoface c N U q k := by |
| 31 | apply Pi.hom_ext |
| 32 | intro i |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply TensorProduct.ext' |
| 35 | intro a x |
| 36 | have hM := ConcreteCategory.congr_hom (Ordered.CoefficientCechTerms.orderedCoefficientCechCoface_comp_π c M U q k i) x |
| 37 | have hN := ConcreteCategory.congr_hom (Ordered.CoefficientCechTerms.orderedCoefficientCechCoface_comp_π c N U q k i) |
| 38 | (TensorTerms.CechTensorComparison.mapF A c M N U β q (a ⊗ₜ[R] x)) |
| 39 | let j := (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ k).toOrderHom.toFun).φ i.1) |
| 40 | have h₁ := TensorTerms.CechTensorComparison.mapF_tmul_π A c M N U β (q + 1) i a (Ordered.CoefficientCechTerms.orderedCoefficientCechCoface c M U q k x) |
| 41 | have h₂ := congrArg (fun z => β (∏ᶜ fun l => U (i.1 l)) (a ⊗ₜ[R] z)) hM |
| 42 | have h₃ := hβ _ _ j a |
| 43 | (Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι q => Ordered.CoefficientCechTerms.coefficientCechFactor c M U q j.1) (i.delete k) x) |
| 44 | have h₄ := congrArg ((Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map j.op) |
| 45 | (TensorTerms.CechTensorComparison.mapF_tmul_π A c M N U β q (i.delete k) a x) |
| 46 | exact h₁.trans (h₂.trans (h₃.trans (h₄.symm.trans hN.symm))) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.TensorCofaces.CechTensorComparison |