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.TensorComplex |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 3 | import Mathlib.CategoryTheory.Preadditive.AdditiveFunctor |
| 4 | |
| 5 | /-! # Tensor Isomorphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.TensorIsomorphism |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite ordered Cech tensor comparison is an isomorphism when each actual intersection-section comparison is an isomorphism. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | |
| 16 | private theorem pi_lift_map_factor {C D : Type*} [Category C] [Category D] |
| 17 | (F : C ⥤ D) {J : Type*} (P : J → C) (Q : J → D) |
| 18 | [HasProduct P] [HasProduct Q] [HasProduct (fun i => F.obj (P i))] |
| 19 | (b : ∀ i, F.obj (P i) ⟶ Q i) : |
| 20 | Pi.lift (fun i => F.map (Pi.π P i) ≫ b i) = piComparison F P ≫ Limits.Pi.map b := by |
| 21 | apply Pi.hom_ext |
| 22 | intro i |
| 23 | rw [Category.assoc, Pi.map_π, ← Category.assoc, piComparison_comp_π] |
| 24 | exact Pi.lift_comp_π _ i |
| 25 | |
| 26 | namespace CechTensorComparison |
| 27 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 28 | variable (A : Type u) [AddCommGroup A] [Module R A] |
| 29 | variable (c : R →+* Γ(X, ⊤)) (M N : X.Modules) |
| 30 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 31 | variable (β : ∀ V : X.Opens, A ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)) →ₗ[R] |
| 32 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V)) |
| 33 | |
| 34 | def factor (V : X.Opens) : |
| 35 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A).obj ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)) ⟶ |
| 36 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V) := |
| 37 | ModuleCat.ofHom |
| 38 | (X := (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A).obj ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V))) |
| 39 | (Y := (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V)) (β V) |
| 40 | |
| 41 | theorem mapF_factorization (q : ℕ) : |
| 42 | TensorTerms.CechTensorComparison.mapF A c M N U β q = |
| 43 | piComparison (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A) |
| 44 | (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι q => Ordered.CoefficientCechTerms.coefficientCechFactor c M U q i.1) ≫ |
| 45 | Limits.Pi.map (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι q => factor A c M N β (∏ᶜ fun k => U (i.1 k))) := |
| 46 | pi_lift_map_factor (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A) |
| 47 | (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι q => Ordered.CoefficientCechTerms.coefficientCechFactor c M U q i.1) |
| 48 | (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι q => Ordered.CoefficientCechTerms.coefficientCechFactor c N U q i.1) |
| 49 | (fun i => factor A c M N β (∏ᶜ fun k => U (i.1 k))) |
| 50 | |
| 51 | theorem mapF_isIso [Finite ι] (q : ℕ) |
| 52 | (h : ∀ i : Ordered.SectionCechIndices.OrderedCechIndex ι q, IsIso (factor A c M N β (∏ᶜ fun k => U (i.1 k)))) : |
| 53 | IsIso (TensorTerms.CechTensorComparison.mapF A c M N U β q) := by |
| 54 | have : ∀ i : Ordered.SectionCechIndices.OrderedCechIndex ι q, IsIso (factor A c M N β (∏ᶜ fun k => U (i.1 k))) := h |
| 55 | have : Finite (Ordered.SectionCechIndices.OrderedCechIndex ι q) := |
| 56 | inferInstanceAs (Finite {i : Fin (q + 1) → ι // StrictMono i}) |
| 57 | have hPi : IsIso (piComparison (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A) |
| 58 | (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι q => Ordered.CoefficientCechTerms.coefficientCechFactor c M U q i.1)) := by |
| 59 | infer_instance |
| 60 | have hmap : IsIso (piComparison (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A) |
| 61 | (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι q => Ordered.CoefficientCechTerms.coefficientCechFactor c M U q i.1) ≫ |
| 62 | Limits.Pi.map (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι q => factor A c M N β (∏ᶜ fun k => U (i.1 k)))) := by |
| 63 | infer_instance |
| 64 | exact (congrArg IsIso (mapF_factorization A c M N U β q)).mpr hmap |
| 65 | |
| 66 | variable (hβ : ∀ (V W : X.Opens) (i : V ⟶ W) (a : A) |
| 67 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op W)), |
| 68 | β V (a ⊗ₜ[R] (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map i.op x) = |
| 69 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map i.op (β W (a ⊗ₜ[R] x))) |
| 70 | |
| 71 | theorem map_isIso [Finite ι] |
| 72 | (h : ∀ q (i : Ordered.SectionCechIndices.OrderedCechIndex ι q), IsIso (factor A c M N β (∏ᶜ fun k => U (i.1 k)))) : |
| 73 | IsIso (TensorComplex.CechTensorComparison.map A c M N U β hβ) := by |
| 74 | have (q : ℕ) : IsIso ((TensorComplex.CechTensorComparison.map A c M N U β hβ).f q) := mapF_isIso A c M N U β q (h q) |
| 75 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 76 | |
| 77 | end CechTensorComparison |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.TensorIsomorphism |