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.Affine.StructureBaseChangeValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.AffineCartesianFunctionTensor |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentPullback |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ModuleGlobalSectionsIsomorphism |
| 5 | |
| 6 | /-! # Structure Sheaf Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.StructureSheafBaseChange |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual structure-sheaf base-change morphism is an isomorphism for every Cartesian square of affine schemes. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 14 | universe u |
| 15 | variable {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine X] [IsAffine Y] |
| 16 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 17 | (H : IsPullback a b f g) |
| 18 | |
| 19 | theorem structureBaseChangeMap_appTop_bijective : |
| 20 | Function.Bijective ((Structure.SheafBaseChange.structureBaseChangeMap H).app ⊤) := by |
| 21 | let := g.appTop.hom.toAlgebra |
| 22 | let := f.appTop.hom.toAlgebra |
| 23 | let e := GeometricSections.AffineGeometricSections.iso g |
| 24 | ((Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule X)) |
| 25 | let l := (e.hom ≫ (SectionAdjunction.AffineSectionAdjunction.sections Y).map (Structure.SheafBaseChange.structureBaseChangeMap H)).hom |
| 26 | have hl : (fun t => l t) = (fun t => AffineCartesianFunctionTensor.CartesianFunctionTensor.map H t) := by |
| 27 | funext t |
| 28 | induction t using TensorProduct.inductionOn with |
| 29 | | tmul r s => exact StructureBaseChangeValues.structureBaseChangeMap_tmul H r s |
| 30 | | add t t' ht ht' => |
| 31 | exact (l.map_add t t').trans |
| 32 | ((congrArg₂ (fun z w : Γ(P, ⊤) => z + w) ht ht').trans |
| 33 | ((AffineCartesianFunctionTensor.CartesianFunctionTensor.map H).map_add t t').symm) |
| 34 | have hbij : Function.Bijective l := by |
| 35 | change Function.Bijective (fun t => l t) |
| 36 | rw [hl] |
| 37 | exact AffineCartesianFunctionTensor.CartesianFunctionTensor.map_bijective H |
| 38 | exact (Function.Bijective.of_comp_iff ((Structure.SheafBaseChange.structureBaseChangeMap H).app ⊤) |
| 39 | e.toLinearEquiv.bijective).mp hbij |
| 40 | |
| 41 | theorem affineStructureBaseChangeMap_isIso : IsIso (Structure.SheafBaseChange.structureBaseChangeMap H) := by |
| 42 | have : IsAffine P := .of_isPullback H |
| 43 | have : ((Scheme.Modules.pullback g).obj |
| 44 | ((Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule X))).IsQuasicoherent := |
| 45 | QuasicoherentPullback.affine_pullback_quasicoherent g _ |
| 46 | apply ModuleGlobalSectionsIsomorphism.affineModule_isIso_of_globalSections_isIso (Structure.SheafBaseChange.structureBaseChangeMap H) |
| 47 | rw [ConcreteCategory.isIso_iff_bijective] |
| 48 | exact structureBaseChangeMap_appTop_bijective H |
| 49 | |
| 50 | def affineStructureBaseChangeIso : |
| 51 | (Scheme.Modules.pullback g).obj ((Scheme.Modules.pushforward f).obj (Line.Bundles.structureModule X)) ≅ |
| 52 | (Scheme.Modules.pushforward b).obj (Line.Bundles.structureModule P) := by |
| 53 | have := affineStructureBaseChangeMap_isIso H |
| 54 | exact asIso (Structure.SheafBaseChange.structureBaseChangeMap H) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.StructureSheafBaseChange |