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.Geometric.CechTensorComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.TensorBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CechIntersections |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.Frames |
| 5 | |
| 6 | /-! # Affine Cech Tensor Isomorphism -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineCechTensorIsomorphism |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On a finite affine frame cover of a line bundle, the canonical Cech tensor map for arbitrary affine base change is invertible. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | variable {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] [X.IsSeparated] |
| 16 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 17 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 18 | variable {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 19 | variable (ha : ∀ i, IsAffineOpen (U i)) |
| 20 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 21 | |
| 22 | include ha he in |
| 23 | theorem geometricCechTensorPushforwardMap_isIso : IsIso (Geometric.CechTensorComparison.geometricCechTensorPushforwardMap H L.sheaf U) := by |
| 24 | apply OrderedCech.TensorIsomorphism.CechTensorComparison.map_isIso |
| 25 | intro q i |
| 26 | let V : X.Opens := ∏ᶜ fun k => U (i.1 k) |
| 27 | have hV : IsAffineOpen V := Affine.CechIntersections.affine_cechIntersection U ha q i.1 |
| 28 | have hle : V ≤ U (i.1 0) := leOfHom (Pi.π (fun k => U (i.1 k)) 0) |
| 29 | have hframe := L.frameRestrict hle (he (i.1 0)).some |
| 30 | exact AffineOpen.TensorBaseChange.affineFrame_moduleTensorComparison_isIso H L.sheaf V hV hframe |
| 31 | |
| 32 | include ha he in |
| 33 | theorem geometricCechTensorMap_isIso : IsIso (Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := by |
| 34 | have := geometricCechTensorPushforwardMap_isIso H L U ha he |
| 35 | change IsIso (Geometric.CechTensorComparison.geometricCechTensorPushforwardMap H L.sheaf U ≫ _) |
| 36 | infer_instance |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineCechTensorIsomorphism |