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.External.OpenSectionsRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.CechTupleComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PushforwardModuleComparison |
| 4 | |
| 5 | /-! # External Section Cech Linearity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalSectionCechLinearity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Cech section comparison for an external tensor bundle is an |
| 12 | isomorphism over the original coefficient ring. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 14 | open _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option cleanup.letToHave false |
| 19 | variable {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 20 | variable [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 21 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 22 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 23 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 24 | variable (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 25 | variable (heV : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 26 | variable {κ : Type u} [Finite κ] (U : κ → Y.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 27 | variable (heU : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 28 | |
| 29 | def fieldExternalSectionsCechModuleIso : |
| 30 | ((tensorRight ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf)).mapHomologicalComplex |
| 31 | (.up ℕ)).obj (Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom N.sheaf U) ≅ |
| 32 | Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom |
| 33 | ((Scheme.Modules.pushforward b).obj (((L.pullback a).tensor (N.pullback b)).sheaf)) U := by |
| 34 | let : Field Γ(Spec (.of k), ⊤) := |
| 35 | ((Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 36 | (Field.toIsField k)).toField |
| 37 | let B := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf |
| 38 | let T := tensorRight B |
| 39 | let F := Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf ⋙ T |
| 40 | let E := ((L.pullback a).tensor (N.pullback b)).sheaf |
| 41 | let G := (Opens.map b.base).op ⋙ Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp f.appTop.hom) E |
| 42 | let W (p : ℕ) (i : Fin (p + 1) → κ) : Y.Opens := ∏ᶜ fun j => U (i j) |
| 43 | have hW (p : ℕ) (i : Fin (p + 1) → κ) : IsAffineOpen (W p i) := Affine.CechIntersections.affine_cechIntersection U haU p i |
| 44 | let eW (p : ℕ) (i : Fin (p + 1) → κ) : |
| 45 | (Scheme.Modules.pullback (W p i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (W p i).toScheme := |
| 46 | N.frameRestrict (leOfHom (Pi.π (fun j : Fin (p + 1) => U (i j)) 0)) (heU (i 0)).some |
| 47 | let e (p : ℕ) (i : Fin (p + 1) → κ) : F.obj (op (W p i)) ≅ G.obj (op (W p i)) := |
| 48 | External.OpenSectionsLinearity.externalOpenSectionsModuleIso H L N (W p i) (hW p i) (eW p i) V hV haV heV |
| 49 | let he (p : ℕ) (j : Fin (p + 2)) (i : Fin (p + 2) → κ) := |
| 50 | External.OpenSectionsRestriction.externalOpenSectionsModuleIso_restrict H L N |
| 51 | (W p (i ∘ (SimplexCategory.δ j).toOrderHom.toFun)) |
| 52 | (hW p (i ∘ (SimplexCategory.δ j).toOrderHom.toFun)) |
| 53 | (eW p (i ∘ (SimplexCategory.δ j).toOrderHom.toFun)) |
| 54 | V hV haV heV (W (p + 1) i) (hW (p + 1) i) (eW (p + 1) i) |
| 55 | (Cech.SheafCofaces.IntrinsicCech.cechTupleLE U p j i) |
| 56 | let eBase := eqToIso (congrArg (fun c => (Opens.map b.base).op ⋙ Coefficient.ModulePresheaf.coefficientModulePresheaf c E) |
| 57 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm) |
| 58 | let eP := eBase ≪≫ (Coefficient.PushforwardModuleComparison.coefficientPushforwardModuleIso b g.appTop.hom E).symm |
| 59 | have result := HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso T (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf) U ≪≫ |
| 60 | Module.CechTupleComparison.moduleCechComplexIsoOfTupleIsos U e he ≪≫ (cechComplexFunctor U).mapIso eP |
| 61 | exact result |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalSectionCechLinearity |