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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DoubleTensorCochainMap |
| 3 | |
| 4 | /-! # Tensor Comparison Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.TensorComparisonComposition.CechTensorComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Composition of actual section tensor pairings induces composition of their actual ordered Cech cochain maps. The specified combination of tensor factors is retained explicitly. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 15 | variable (A B C : Type u) [AddCommGroup A] [Module R A] [AddCommGroup B] [Module R B] |
| 16 | variable [AddCommGroup C] [Module R C] |
| 17 | variable (c : R →+* Γ(X, ⊤)) (M N P : X.Modules) |
| 18 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 19 | variable (μ : B ⊗[R] A →ₗ[R] C) |
| 20 | variable (β : ∀ V : X.Opens, A ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)) →ₗ[R] |
| 21 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V)) |
| 22 | variable (γ : ∀ V : X.Opens, B ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V)) →ₗ[R] |
| 23 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c P).obj (op V)) |
| 24 | variable (δ : ∀ V : X.Opens, C ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)) →ₗ[R] |
| 25 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c P).obj (op V)) |
| 26 | variable (hcompat : ∀ (V : X.Opens) (b : B) (a : A) |
| 27 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)), |
| 28 | γ V (b ⊗ₜ[R] β V (a ⊗ₜ[R] x)) = δ V (μ (b ⊗ₜ[R] a) ⊗ₜ[R] x)) |
| 29 | |
| 30 | include hcompat in |
| 31 | theorem mapF_comp_tensor (n : ℕ) : |
| 32 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor B).map (OrderedCech.TensorTerms.CechTensorComparison.mapF A c M N U β n) ≫ OrderedCech.TensorTerms.CechTensorComparison.mapF B c N P U γ n = |
| 33 | ModuleCat.ofHom (DoubleTensorCochainMap.doubleTensorCollapse μ (Ordered.CoefficientCechTerms.orderedCoefficientCechObject c M U n)) ≫ |
| 34 | OrderedCech.TensorTerms.CechTensorComparison.mapF C c M P U δ n := by |
| 35 | apply Pi.hom_ext |
| 36 | intro i |
| 37 | change Ordered.SectionCechIndices.OrderedCechIndex ι n at i |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply TensorProduct.ext' |
| 40 | intro b z |
| 41 | change Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => Ordered.CoefficientCechTerms.coefficientCechFactor c P U n j.1) i |
| 42 | (OrderedCech.TensorTerms.CechTensorComparison.mapF B c N P U γ n (b ⊗ₜ[R] OrderedCech.TensorTerms.CechTensorComparison.mapF A c M N U β n z)) = |
| 43 | Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => Ordered.CoefficientCechTerms.coefficientCechFactor c P U n j.1) i |
| 44 | (OrderedCech.TensorTerms.CechTensorComparison.mapF C c M P U δ n (DoubleTensorCochainMap.doubleTensorCollapse μ (Ordered.CoefficientCechTerms.orderedCoefficientCechObject c M U n) (b ⊗ₜ[R] z))) |
| 45 | let OM := Ordered.CoefficientCechTerms.orderedCoefficientCechObject c M U n |
| 46 | let ON := Ordered.CoefficientCechTerms.orderedCoefficientCechObject c N U n |
| 47 | let OP := Ordered.CoefficientCechTerms.orderedCoefficientCechObject c P U n |
| 48 | let π : OP →ₗ[R] Ordered.CoefficientCechTerms.coefficientCechFactor c P U n i.1 := |
| 49 | (Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => Ordered.CoefficientCechTerms.coefficientCechFactor c P U n j.1) i).hom |
| 50 | let fA : A ⊗[R] OM →ₗ[R] ON := (OrderedCech.TensorTerms.CechTensorComparison.mapF A c M N U β n).hom |
| 51 | let fB : B ⊗[R] ON →ₗ[R] OP := (OrderedCech.TensorTerms.CechTensorComparison.mapF B c N P U γ n).hom |
| 52 | let fC : C ⊗[R] OM →ₗ[R] OP := (OrderedCech.TensorTerms.CechTensorComparison.mapF C c M P U δ n).hom |
| 53 | let l := π.comp (fB.comp ((TensorProduct.mk R B ON b).comp fA)) |
| 54 | let r := π.comp (fC.comp ((DoubleTensorCochainMap.doubleTensorCollapse μ OM).comp |
| 55 | (TensorProduct.mk R B (A ⊗[R] OM) b))) |
| 56 | have he : l = r := by |
| 57 | apply TensorProduct.ext' |
| 58 | intro a x |
| 59 | change Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => Ordered.CoefficientCechTerms.coefficientCechFactor c P U n j.1) i |
| 60 | (OrderedCech.TensorTerms.CechTensorComparison.mapF B c N P U γ n (b ⊗ₜ[R] OrderedCech.TensorTerms.CechTensorComparison.mapF A c M N U β n (a ⊗ₜ[R] x))) = |
| 61 | Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => Ordered.CoefficientCechTerms.coefficientCechFactor c P U n j.1) i |
| 62 | (OrderedCech.TensorTerms.CechTensorComparison.mapF C c M P U δ n (μ (b ⊗ₜ[R] a) ⊗ₜ[R] x)) |
| 63 | let V := ∏ᶜ fun k => U (i.1 k) |
| 64 | let xi : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V) := |
| 65 | Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => Ordered.CoefficientCechTerms.coefficientCechFactor c M U n j.1) i x |
| 66 | have hA := OrderedCech.TensorTerms.CechTensorComparison.mapF_tmul_π A c M N U β n i a x |
| 67 | have hB := OrderedCech.TensorTerms.CechTensorComparison.mapF_tmul_π B c N P U γ n i b (OrderedCech.TensorTerms.CechTensorComparison.mapF A c M N U β n (a ⊗ₜ[R] x)) |
| 68 | have hC := OrderedCech.TensorTerms.CechTensorComparison.mapF_tmul_π C c M P U δ n i (μ (b ⊗ₜ[R] a)) x |
| 69 | exact hB.trans ((congrArg (fun v : (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V) => |
| 70 | γ V (b ⊗ₜ[R] v)) hA).trans ((hcompat V b a xi).trans hC.symm)) |
| 71 | exact LinearMap.congr_fun he z |
| 72 | |
| 73 | include hcompat in |
| 74 | theorem map_comp_tensor |
| 75 | (hβ : ∀ (V W : X.Opens) (i : V ⟶ W) (a : A) |
| 76 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op W)), |
| 77 | β V (a ⊗ₜ[R] (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map i.op x) = |
| 78 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map i.op (β W (a ⊗ₜ[R] x))) |
| 79 | (hγ : ∀ (V W : X.Opens) (i : V ⟶ W) (b : B) |
| 80 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op W)), |
| 81 | γ V (b ⊗ₜ[R] (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map i.op x) = |
| 82 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c P).map i.op (γ W (b ⊗ₜ[R] x))) |
| 83 | (hδ : ∀ (V W : X.Opens) (i : V ⟶ W) (a : C) |
| 84 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op W)), |
| 85 | δ V (a ⊗ₜ[R] (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map i.op x) = |
| 86 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c P).map i.op (δ W (a ⊗ₜ[R] x))) : |
| 87 | HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B (OrderedCech.TensorComplex.CechTensorComparison.map A c M N U β hβ) ≫ OrderedCech.TensorComplex.CechTensorComparison.map B c N P U γ hγ = |
| 88 | DoubleTensorCochainMap.doubleTensorCochainMap μ (Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U) ≫ OrderedCech.TensorComplex.CechTensorComparison.map C c M P U δ hδ := by |
| 89 | apply HomologicalComplex.Hom.ext |
| 90 | funext n |
| 91 | exact mapF_comp_tensor A B C c M N P U μ β γ δ hcompat n |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.TensorComparisonComposition.CechTensorComparison |