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.Intrinsic.AmbientSectionScalars |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechNaturality |
| 3 | |
| 4 | /-! # Ambient Cech Scalars -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechScalars |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Multiplication by a coefficient commutes with the actual native ambient |
| 11 | Cech tensor map and the scalar endomorphism of its open-factor sheaf. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {X Y P : Scheme.{u}} {R : Type u} [CommRing R] |
| 18 | variable (a : P ⟶ X) (b : P ⟶ Y) (cX : R →+* Γ(X, ⊤)) (cY : R →+* Γ(Y, ⊤)) |
| 19 | variable (hc : a.appTop.hom.comp cX = b.appTop.hom.comp cY) (M : X.Modules) (N : Y.Modules) |
| 20 | |
| 21 | def nativeAmbientFactorScalar (U : Y.Opens) (r : R) := |
| 22 | Open.FactorSheafNaturality.IntrinsicCech.cechOpenFactorMap |
| 23 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.Hom.sheafHom (Global.ModuleScalars.globalModuleScalar |
| 24 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)) |
| 25 | ((a.appTop.hom.comp cX) r))) (b ⁻¹ᵁ U) |
| 26 | |
| 27 | theorem nativeAmbientExternalComparisonPresheafMap_scalar (U : Y.Opens) (r : R) : |
| 28 | AmbientCechNaturality.nativeAmbientExternalComparisonPresheafMap a b cX cY hc M N U ≫ |
| 29 | Functor.whiskerLeft (Opens.map a.base).op |
| 30 | (nativeAmbientFactorScalar a b cX M N U r).hom = |
| 31 | Functor.whiskerLeft (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) |
| 32 | (Functor.whiskerRight (Module.TensorHomologyNaturality.ModuleTensorFunctor.scalarMap |
| 33 | (r • (LinearMap.id : ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) →ₗ[R] |
| 34 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U))))) (Module.ProductForget.moduleForget R)) ≫ |
| 35 | AmbientCechNaturality.nativeAmbientExternalComparisonPresheafMap a b cX cY hc M N U := by |
| 36 | apply NatTrans.ext |
| 37 | funext V |
| 38 | apply ConcreteCategory.hom_ext |
| 39 | intro z |
| 40 | let A := (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U) |
| 41 | let B := (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj V |
| 42 | change A ⊗[R] B at z |
| 43 | have hz : ((r • (LinearMap.id : A →ₗ[R] A)).rTensor B) z = r • z := by |
| 44 | induction z using TensorProduct.inductionOn with |
| 45 | | tmul n m => simp only [LinearMap.rTensor_tmul, LinearMap.smul_apply, |
| 46 | LinearMap.id_apply, TensorProduct.smul_tmul'] |
| 47 | | add x y hx hy => simp only [map_add, smul_add, hx, hy] |
| 48 | change (nativeAmbientFactorScalar a b cX M N U r).hom.app (op (a ⁻¹ᵁ V.unop)) |
| 49 | ((AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b cX cY hc M N U).app V z) = |
| 50 | (AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b cX cY hc M N U).app V |
| 51 | (((r • (LinearMap.id : A →ₗ[R] A)).rTensor B) z) |
| 52 | rw [hz] |
| 53 | exact AmbientSectionScalars.nativeAmbientExternalSectionMap_scalar a b cX cY hc M N V.unop U r z |
| 54 | |
| 55 | theorem nativeAmbientExternalCechTensorMap_scalar |
| 56 | (U : Y.Opens) (r : R) {ι : Type u} [Finite ι] (V : ι → X.Opens) : |
| 57 | AmbientCechTensor.nativeAmbientExternalCechTensorMap a b cX cY hc M N U V ≫ |
| 58 | (cechComplexFunctor V).map (Functor.whiskerLeft (Opens.map a.base).op |
| 59 | (nativeAmbientFactorScalar a b cX M N U r).hom) = |
| 60 | (NatTrans.mapHomologicalComplex |
| 61 | (Functor.whiskerRight (Module.TensorHomologyNaturality.ModuleTensorFunctor.scalarMap |
| 62 | (r • (LinearMap.id : ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) →ₗ[R] |
| 63 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U))))) (Module.ProductForget.moduleForget R)) (.up ℕ)).app |
| 64 | (CoefficientCechComplex.coefficientCechComplex cX M V) ≫ |
| 65 | AmbientCechTensor.nativeAmbientExternalCechTensorMap a b cX cY hc M N U V := by |
| 66 | let A := (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U) |
| 67 | let τ := Functor.whiskerRight (Module.TensorHomologyNaturality.ModuleTensorFunctor.scalarMap |
| 68 | (r • (LinearMap.id : A →ₗ[R] A))) (Module.ProductForget.moduleForget R) |
| 69 | let σ := AmbientCechNaturality.nativeAmbientExternalComparisonPresheafMap a b cX cY hc M N U |
| 70 | let ρ := Functor.whiskerLeft (Opens.map a.base).op |
| 71 | (nativeAmbientFactorScalar a b cX M N U r).hom |
| 72 | let F : ((Opens X)ᵒᵖ ⥤ AddCommGrpCat.{u}) ⥤ CochainComplex AddCommGrpCat.{u} ℕ := |
| 73 | cechComplexFunctor V |
| 74 | let E := HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso (Module.TensorFunctor.ModuleTensorFunctor.tensor A ⋙ Module.ProductForget.moduleForget R) |
| 75 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V |
| 76 | let m := (NatTrans.mapHomologicalComplex τ (.up ℕ)).app (CoefficientCechComplex.coefficientCechComplex cX M V) |
| 77 | let τ' := Functor.whiskerLeft (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) τ |
| 78 | have h : σ ≫ ρ = τ' ≫ σ := |
| 79 | nativeAmbientExternalComparisonPresheafMap_scalar a b cX cY hc M N U r |
| 80 | change (E.hom ≫ F.map σ) ≫ F.map ρ = m ≫ (E.hom ≫ F.map σ) |
| 81 | calc |
| 82 | _ = E.hom ≫ F.map (σ ≫ ρ) := |
| 83 | (Category.assoc _ _ _).trans (congrArg (fun k => E.hom ≫ k) (F.map_comp σ ρ).symm) |
| 84 | _ = E.hom ≫ F.map (τ' ≫ σ) := congrArg (fun k => E.hom ≫ F.map k) h |
| 85 | _ = (E.hom ≫ F.map τ') ≫ F.map σ := |
| 86 | (congrArg (fun k => E.hom ≫ k) (F.map_comp τ' σ)).trans (Category.assoc _ _ _).symm |
| 87 | _ = (m ≫ E.hom) ≫ F.map σ := congrArg (fun k => k ≫ F.map σ) |
| 88 | (HilbertConstruction.Finite.CechFunctorNaturality.finiteCechFunctorIso_functor_naturality τ (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V).symm |
| 89 | _ = _ := Category.assoc _ _ _ |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechScalars |