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.AmbientAffinePairing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CechFunctorComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineCechTensorIsomorphism |
| 4 | |
| 5 | /-! # Ambient Cech Tensor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechTensor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a finite affine frame cover of the proper factor, the native ambient pairing identifies the actual Cech cochain complex with the tensor of the coefficient Cech complex by parameter-chart sections. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 13 | universe u |
| 14 | |
| 15 | private theorem isIso_iso_hom_comp_cochain |
| 16 | {K L M : CochainComplex AddCommGrpCat.{u} ℕ} (e : K ≅ L) |
| 17 | (a : L ⟶ M) (ha : IsIso a) : IsIso (e.hom ≫ a) := by |
| 18 | have : IsIso a := ha |
| 19 | infer_instance |
| 20 | |
| 21 | variable {X Y P : Scheme.{u}} {R : Type u} [CommRing R] |
| 22 | variable (a : P ⟶ X) (b : P ⟶ Y) (cX : R →+* Γ(X, ⊤)) (cY : R →+* Γ(Y, ⊤)) |
| 23 | variable (hc : a.appTop.hom.comp cX = b.appTop.hom.comp cY) (M : X.Modules) (N : Y.Modules) |
| 24 | variable (U : Y.Opens) {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 25 | |
| 26 | def nativeAmbientExternalCechTensorMap : |
| 27 | ((Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) ⋙ Module.ProductForget.moduleForget R).mapHomologicalComplex |
| 28 | (.up ℕ)).obj (CoefficientCechComplex.coefficientCechComplex cX M V) ⟶ |
| 29 | (cechComplexFunctor V).obj (AmbientOpenFactorSections.ambientOpenFactorSectionPresheaf a (b ⁻¹ᵁ U) |
| 30 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 31 | ((Scheme.Modules.pullback b).obj N)))) := |
| 32 | (HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso |
| 33 | (Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) ⋙ Module.ProductForget.moduleForget R) |
| 34 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V).hom ≫ |
| 35 | (cechComplexFunctor V).map |
| 36 | ((Functor.associator (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) |
| 37 | (Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U))) (Module.ProductForget.moduleForget R)).inv ≫ |
| 38 | AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b cX cY hc M N U) |
| 39 | |
| 40 | theorem nativeAmbientExternalCechTensorMap_isIso |
| 41 | {S X Y P : Scheme.{u}} [IsAffine S] [X.IsSeparated] |
| 42 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 43 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Y.Modules) |
| 44 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 45 | (eU : (Scheme.Modules.pullback U.ι).obj N ≅ Line.Bundles.structureModule U.toScheme) |
| 46 | {ι : Type u} [Finite ι] (V : ι → X.Opens) (ha : ∀ i, IsAffineOpen (V i)) |
| 47 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) : |
| 48 | IsIso (nativeAmbientExternalCechTensorMap a b f.appTop.hom g.appTop.hom |
| 49 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N U V) := by |
| 50 | let A := (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N).obj (op U) |
| 51 | let α := (Functor.associator (Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf) |
| 52 | (Module.TensorFunctor.ModuleTensorFunctor.tensor A) (Module.ProductForget.moduleForget Γ(S, ⊤))).inv ≫ |
| 53 | AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b f.appTop.hom g.appTop.hom |
| 54 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N U |
| 55 | have hα : IsIso ((cechComplexFunctor V).map α) := by |
| 56 | apply HilbertConstruction.Finite.CechFunctorComparison.cechComplex_map_isIso_of_intersections V α |
| 57 | intro n i |
| 58 | let W : X.Opens := ∏ᶜ fun k : Fin (n + 1) => V (i k) |
| 59 | have hW : IsAffineOpen W := Affine.CechIntersections.affine_cechIntersection V ha n i |
| 60 | have hle : W ≤ V (i 0) := leOfHom (Pi.π (fun k : Fin (n + 1) => V (i k)) 0) |
| 61 | have : IsIso ((AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b f.appTop.hom g.appTop.hom |
| 62 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N U).app (op W)) := |
| 63 | AmbientAffinePairing.affineFrames_nativeAmbientExternalSectionMap_isIso H L.sheaf N W U hW hU |
| 64 | (L.frameRestrict hle (he (i 0)).some) eU |
| 65 | change IsIso ((_ ≫ AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b f.appTop.hom g.appTop.hom |
| 66 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N U).app (op W)) |
| 67 | rw [NatTrans.comp_app] |
| 68 | infer_instance |
| 69 | exact isIso_iso_hom_comp_cochain |
| 70 | (HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso |
| 71 | (Module.TensorFunctor.ModuleTensorFunctor.tensor (R := Γ(S, ⊤)) A ⋙ Module.ProductForget.moduleForget Γ(S, ⊤)) |
| 72 | (Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf) V) |
| 73 | ((cechComplexFunctor V).map α) hα |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechTensor |