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.SectionStructureParameter |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionParameterNaturality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineCechTensorIsomorphism |
| 4 | |
| 5 | /-! # Section Tensor Isomorphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionTensorIsomorphism |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On affine frame opens, the canonical external section pairing is an isomorphism when the parameter sheaf has a frame. Consequently it identifies the actual finite Cech complex with the tensor complex. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | |
| 16 | variable {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] |
| 17 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 18 | variable (H : IsPullback a b f g) (M : X.Modules) |
| 19 | |
| 20 | theorem affineFrame_externalStructureSectionTensorMap_isIso |
| 21 | (V : X.Opens) (hV : IsAffineOpen V) |
| 22 | (eV : (Scheme.Modules.pullback V.ι).obj M ≅ Line.Bundles.structureModule V.toScheme) : |
| 23 | IsIso (ModuleCat.ofHom (SectionTensorMap.externalSectionTensorMap a b f.appTop.hom g.appTop.hom |
| 24 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M (Line.Bundles.structureModule Y) V)) := by |
| 25 | let α := ModuleCat.ofHom (SectionTensorMap.externalSectionTensorMap a b f.appTop.hom g.appTop.hom |
| 26 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M (Line.Bundles.structureModule Y) V) |
| 27 | let β := ModuleCat.ofHom (Module.SectionTensorComparison.moduleSectionTensorComparisonApp (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 28 | a f.appTop.hom M b.appTop.hom (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) V) |
| 29 | let s := ((SectionStructureParameter.parameterStructureSectionsEquiv g).rTensor |
| 30 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (op V))).toModuleIso |
| 31 | let t := SectionStructureParameter.externalStructureParameterSectionsIso a b f.appTop.hom M V |
| 32 | have h : α ≫ t.hom = s.hom ≫ β := SectionStructureParameter.externalSectionTensorMap_structure_comparison H M V |
| 33 | have : IsIso β := AffineOpen.TensorBaseChange.affineFrame_moduleTensorComparison_isIso H M V hV eV |
| 34 | have : IsIso (α ≫ t.hom) := by |
| 35 | rw [h] |
| 36 | infer_instance |
| 37 | exact (isIso_comp_right_iff α t.hom).mp this |
| 38 | |
| 39 | theorem affineFrame_externalSectionTensorMap_isIso |
| 40 | (N : Y.Modules) (eN : N ≅ Line.Bundles.structureModule Y) |
| 41 | (V : X.Opens) (hV : IsAffineOpen V) |
| 42 | (eV : (Scheme.Modules.pullback V.ι).obj M ≅ Line.Bundles.structureModule V.toScheme) : |
| 43 | IsIso (ModuleCat.ofHom (SectionTensorMap.externalSectionTensorMap a b f.appTop.hom g.appTop.hom |
| 44 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M N V)) := by |
| 45 | let α := ModuleCat.ofHom (SectionTensorMap.externalSectionTensorMap a b f.appTop.hom g.appTop.hom |
| 46 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M N V) |
| 47 | let β := ModuleCat.ofHom (SectionTensorMap.externalSectionTensorMap a b f.appTop.hom g.appTop.hom |
| 48 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M (Line.Bundles.structureModule Y) V) |
| 49 | let eA := ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor g.appTop.hom).mapIso eN).app (op ⊤) |
| 50 | let s := (eA.toLinearEquiv.rTensor |
| 51 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (op V))).toModuleIso |
| 52 | let t := ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor f.appTop.hom).mapIso |
| 53 | ((Scheme.Modules.pushforward a).mapIso (Tensor.Bifunctor.tensorModuleMapIso |
| 54 | (Iso.refl ((Scheme.Modules.pullback a).obj M)) ((Scheme.Modules.pullback b).mapIso eN)))).app (op V) |
| 55 | have hs : Function.Bijective s.hom := s.toLinearEquiv.bijective |
| 56 | have ht : Function.Bijective t.hom := t.toLinearEquiv.bijective |
| 57 | have h : α ≫ t.hom = s.hom ≫ β := by |
| 58 | apply ModuleCat.hom_ext |
| 59 | apply TensorProduct.ext' |
| 60 | intro n m |
| 61 | exact (SectionParameterNaturality.externalSectionTensorMap_parameter_naturality a b f.appTop.hom g.appTop.hom |
| 62 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M eN.hom V n m).symm |
| 63 | have hβ : IsIso β := affineFrame_externalStructureSectionTensorMap_isIso H M V hV eV |
| 64 | have hb : Function.Bijective β := (ConcreteCategory.isIso_iff_bijective β).mp hβ |
| 65 | apply (ConcreteCategory.isIso_iff_bijective α).mpr |
| 66 | constructor |
| 67 | · intro x y hxy |
| 68 | apply hs.injective |
| 69 | apply hb.injective |
| 70 | exact (ConcreteCategory.congr_hom h x).symm.trans |
| 71 | ((congrArg t.hom hxy).trans (ConcreteCategory.congr_hom h y)) |
| 72 | · intro y |
| 73 | obtain ⟨u, hu⟩ := hb.surjective (t.hom y) |
| 74 | obtain ⟨x, hx⟩ := hs.surjective u |
| 75 | refine ⟨x, ht.injective ?_⟩ |
| 76 | exact (ConcreteCategory.congr_hom h x).trans ((congrArg β hx).trans hu) |
| 77 | |
| 78 | theorem externalSectionCechTensorMap_isIso [X.IsSeparated] |
| 79 | (L : Line.Bundles.LineBundle X) (N : Y.Modules) (eN : N ≅ Line.Bundles.structureModule Y) |
| 80 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 81 | (ha : ∀ i, IsAffineOpen (U i)) |
| 82 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) : |
| 83 | IsIso (SectionTensorMap.externalSectionCechTensorMap a b f.appTop.hom g.appTop.hom |
| 84 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N U) := by |
| 85 | apply OrderedCech.TensorIsomorphism.CechTensorComparison.map_isIso |
| 86 | intro q i |
| 87 | let V : X.Opens := ∏ᶜ fun k => U (i.1 k) |
| 88 | have hV : IsAffineOpen V := Affine.CechIntersections.affine_cechIntersection U ha q i.1 |
| 89 | have hle : V ≤ U (i.1 0) := leOfHom (Pi.π (fun k => U (i.1 k)) 0) |
| 90 | exact affineFrame_externalSectionTensorMap_isIso H L.sheaf N eN V hV |
| 91 | (L.frameRestrict hle (he (i.1 0)).some) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionTensorIsomorphism |