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.Field.ExternalFactorCechTensor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ExternalAllCohomologyNaturality |
| 3 | |
| 4 | /-! # External All Cech Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalAllCechTensor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Cech complex of actual open-factor cohomology is the tensor product |
| 11 | with proper-factor cohomology in every degree, including degree zero. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 13 | open _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | variable {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 16 | variable [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 17 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 18 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 19 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 20 | variable (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 21 | variable (heV : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 22 | variable {κ : Type u} [Finite κ] (U : κ → Y.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 23 | variable (heU : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 24 | |
| 25 | def fieldExternalFactorAllCechTensorIso (n : ℕ) : |
| 26 | ((tensorRight ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom n).obj L.sheaf) ⋙ |
| 27 | Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)).mapHomologicalComplex (.up ℕ)).obj |
| 28 | (Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom N.sheaf U) ≅ |
| 29 | (cechComplexFunctor (fun i => b ⁻¹ᵁ U i)).obj |
| 30 | (Cech.SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf |
| 31 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf)) n) := by |
| 32 | let : Field Γ(Spec (.of k), ⊤) := |
| 33 | ((Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 34 | (Field.toIsField k)).toField |
| 35 | let W (p : ℕ) (i : Fin (p + 1) → κ) : Y.Opens := ∏ᶜ fun j => U (i j) |
| 36 | have hW (p : ℕ) (i : Fin (p + 1) → κ) : IsAffineOpen (W p i) := Affine.CechIntersections.affine_cechIntersection U haU p i |
| 37 | let eW (p : ℕ) (i : Fin (p + 1) → κ) : |
| 38 | (Scheme.Modules.pullback (W p i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (W p i).toScheme := |
| 39 | N.frameRestrict (leOfHom (Pi.π (fun j : Fin (p + 1) => U (i j)) 0)) (heU (i 0)).some |
| 40 | let B := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom n).obj L.sheaf |
| 41 | let T := tensorRight B ⋙ Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤) |
| 42 | let F := Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf ⋙ T |
| 43 | let E := UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf) |
| 44 | let G := (Opens.map b.base).op ⋙ Cech.SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf E n |
| 45 | let e (p : ℕ) (i : Fin (p + 1) → κ) : F.obj (op (W p i)) ≅ G.obj (op (W p i)) := |
| 46 | Intrinsic.ExternalFactorAllCohomology.nativeExternalFactorAllCohomologyIso H L N (W p i) (hW p i) (eW p i) V hV haV heV n |
| 47 | have he : ∀ (p : ℕ) (j : Fin (p + 2)) (i : Fin (p + 2) → κ), |
| 48 | F.map (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ j).toOrderHom.toFun).φ i).op ≫ |
| 49 | (e (p + 1) i).hom = |
| 50 | (e p (i ∘ (SimplexCategory.δ j).toOrderHom.toFun)).hom ≫ |
| 51 | G.map (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ j).toOrderHom.toFun).φ i).op := by |
| 52 | intro p j i |
| 53 | let i' := i ∘ (SimplexCategory.δ j).toOrderHom.toFun |
| 54 | let hle : W (p + 1) i ≤ W p i' := Cech.SheafCofaces.IntrinsicCech.cechTupleLE U p j i |
| 55 | have h := Intrinsic.ExternalAllCohomologyNaturality.nativeExternalFactorAllCohomologyIso_restrict H L N hle |
| 56 | (hW p i') (hW (p + 1) i) (eW p i') (eW (p + 1) i) V hV haV heV n |
| 57 | change (Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)).map |
| 58 | ((tensorRight B).map ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).map |
| 59 | (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ j).toOrderHom.toFun).φ i).op)) ≫ |
| 60 | (e (p + 1) i).hom = _ |
| 61 | rw [ExternalFactorCechTensor.moduleTensorRight_map_eq_scalarMap] |
| 62 | exact h |
| 63 | exact HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso T (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf) U ≪≫ |
| 64 | CechTuple.Isomorphism.cechComplexIsoOfTupleIsos U e he ≪≫ |
| 65 | (Additive.CechPushforward.additiveCechPushforwardComplexIso b (Cech.SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf E n) U).symm |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalAllCechTensor |