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.ReferenceFamily.LineBundleIsoFrames |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.BinaryTensorId |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorFrameSections |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.InvertibleRightTensorMap |
| 5 | |
| 6 | /-! # Iso Frame Tensor Formula -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IsoFrameTensorFormula |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The isomorphism-to-frame equivalence uses the actual binary tensor |
| 13 | map. These formulas expose its section-level operation for base change. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | variable {X : Scheme.{u}} |
| 20 | |
| 21 | local instance isoFrameTensorFormula_monoidal : MonoidalCategory X.Modules := |
| 22 | SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 23 | local instance isoFrameTensorFormula_presheafMonoidal : MonoidalCategory X.PresheafOfModules := |
| 24 | PresheafOfModulesOfCommRing.monoidalCategory (R := X.presheaf) |
| 25 | |
| 26 | theorem isoFrame_tensorMap_eq {M M' N N' : X.Modules} (f : M ⟶ M') (g : N ⟶ N') : |
| 27 | HilbertConstruction.Tensor.Bifunctor.tensorModuleMap f g = Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.map f g := by |
| 28 | apply (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _).injective |
| 29 | rw [← HilbertConstruction.Tensor.Bifunctor.tensorBilinear_postcomp, HilbertConstruction.Tensor.Bifunctor.tensorModuleMap_spec] |
| 30 | have he := (PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv_naturality_left |
| 31 | (f.val ⊗ₘ g.val) (𝟙 (HilbertConstruction.Tensor.ProductSheaf.tensorModule M' N')) |
| 32 | change HilbertConstruction.Tensor.ProductSheaf.tensorModuleHomEquiv M N (HilbertConstruction.Tensor.ProductSheaf.tensorModule M' N') |
| 33 | (Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.map f g ≫ 𝟙 _) = |
| 34 | (f.val ⊗ₘ g.val) ≫ HilbertConstruction.Tensor.ProductSheaf.tensorModuleHomEquiv M' N' (HilbertConstruction.Tensor.ProductSheaf.tensorModule M' N') (𝟙 _) at he |
| 35 | rw [Category.comp_id] at he |
| 36 | change (HilbertConstruction.Tensor.Bifunctor.tensorBilinear M' N').precomp f g = |
| 37 | HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.ofTensorPresheafHom |
| 38 | (HilbertConstruction.Tensor.ProductSheaf.tensorModuleHomEquiv M N _ (Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.map f g)) |
| 39 | rw [he] |
| 40 | ext U x y |
| 41 | change _ = ((HilbertConstruction.Tensor.ProductSheaf.tensorModuleHomEquiv M' N' _ (𝟙 _)).app (.op U)) |
| 42 | ((f.val ⊗ₘ g.val).app (.op U) (x ⊗ₜ y)) |
| 43 | erw [PresheafOfModulesOfCommRing.Monoidal.tensorHom_app, ModuleCat.MonoidalCategory.tensorHom_tmul] |
| 44 | rfl |
| 45 | |
| 46 | theorem lineBundleIsoFrameEquivOfPairing_apply (L K D : HilbertConstruction.Line.Bundles.LineBundle X) |
| 47 | (e : (L.tensor D).sheaf ≅ HilbertConstruction.Line.Bundles.structureModule X) (u : L.sheaf ≅ K.sheaf) : |
| 48 | LineBundleIsoFrames.lineBundleIsoFrameEquivOfPairing L K D e u = |
| 49 | e.symm ≪≫ HilbertConstruction.Tensor.Bifunctor.tensorModuleMapIso u (Iso.refl D.sheaf) := by |
| 50 | apply Iso.ext |
| 51 | change (e.inv ≫ (SheafCohomology.Projective.TensorSections.monoidalTensorObjIso L.sheaf D.sheaf).inv) ≫ |
| 52 | (SheafCohomology.Projective.InvertibleTensorEquivalence.invertibleRightTensorEquivalence D.sheaf (Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible D)).functor.map u.hom ≫ |
| 53 | (SheafCohomology.Projective.TensorSections.monoidalTensorObjIso K.sheaf D.sheaf).hom = e.inv ≫ HilbertConstruction.Tensor.Bifunctor.tensorModuleMap u.hom (𝟙 D.sheaf) |
| 54 | rw [SheafCohomology.Projective.InvertibleRightTensorMap.invertibleRightTensorEquivalence_map, ← tensorHom_id] |
| 55 | have h := congrArg (fun a => a ≫ (SheafCohomology.Projective.TensorSections.monoidalTensorObjIso K.sheaf D.sheaf).hom) |
| 56 | (SheafCohomology.Projective.TensorFrameSections.monoidalTensorObjIso_inv_natural u.hom (𝟙 D.sheaf)) |
| 57 | erw [Category.assoc, Iso.inv_hom_id, Category.comp_id, Category.assoc] at h |
| 58 | erw [Category.assoc] |
| 59 | exact congrArg (e.inv ≫ ·) (h.symm.trans (isoFrame_tensorMap_eq u.hom (𝟙 D.sheaf)).symm) |
| 60 | |
| 61 | theorem lineIsoPairingExpansion {C : Type*} [Category C] {A B C' D E F : C} |
| 62 | (a : A ≅ B) (b : A ≅ C') (c : C' ≅ D) (d : B ≅ E) (e : E ≅ F) : |
| 63 | Iso.refl D ≪≫ ((a.symm ≪≫ b ≪≫ c).symm ≪≫ d) ≪≫ e = |
| 64 | c.symm ≪≫ b.symm ≪≫ a ≪≫ d ≪≫ e := by |
| 65 | ext |
| 66 | simp |
| 67 | |
| 68 | theorem pulledLineBundleIsoFrameEquiv_apply {Y : Scheme.{u}} (f : Y ⟶ X) |
| 69 | (L K : HilbertConstruction.Line.Bundles.LineBundle X) (u : (L.pullback f).sheaf ≅ (K.pullback f).sheaf) : |
| 70 | LineBundleIsoFrames.pulledLineBundleIsoFrameEquiv f L K u = |
| 71 | (HilbertConstruction.Line.Bundles.structureModulePullbackIso f).symm ≪≫ |
| 72 | (Scheme.Modules.pullback f).mapIso (Quotients.FiniteDescent.DualEvaluationIs.Construction.DualEvaluation.iso L).symm ≪≫ |
| 73 | HilbertConstruction.Line.Bundles.LineBundle.tensorBaseChangeIso f L (Quotients.FiniteDescent.DualLine.Construction.DualLineBundle.dual L) ≪≫ |
| 74 | HilbertConstruction.Tensor.Bifunctor.tensorModuleMapIso u (Iso.refl ((Quotients.FiniteDescent.DualLine.Construction.DualLineBundle.dual L).pullback f).sheaf) ≪≫ |
| 75 | (HilbertConstruction.Line.Bundles.LineBundle.tensorBaseChangeIso f K (Quotients.FiniteDescent.DualLine.Construction.DualLineBundle.dual L)).symm := by |
| 76 | let D := Quotients.FiniteDescent.DualLine.Construction.DualLineBundle.dual L |
| 77 | let e : ((L.pullback f).tensor (D.pullback f)).sheaf ≅ HilbertConstruction.Line.Bundles.structureModule Y := |
| 78 | (HilbertConstruction.Line.Bundles.LineBundle.tensorBaseChangeIso f L D).symm ≪≫ |
| 79 | (Scheme.Modules.pullback f).mapIso (Quotients.FiniteDescent.DualEvaluationIs.Construction.DualEvaluation.iso L) ≪≫ HilbertConstruction.Line.Bundles.structureModulePullbackIso f |
| 80 | change (Iso.refl (HilbertConstruction.Line.Bundles.structureModule Y)).symm ≪≫ |
| 81 | LineBundleIsoFrames.lineBundleIsoFrameEquivOfPairing (L.pullback f) (K.pullback f) (D.pullback f) e u ≪≫ |
| 82 | (HilbertConstruction.Line.Bundles.LineBundle.tensorBaseChangeIso f K D).symm = _ |
| 83 | rw [lineBundleIsoFrameEquivOfPairing_apply] |
| 84 | exact lineIsoPairingExpansion (HilbertConstruction.Line.Bundles.LineBundle.tensorBaseChangeIso f L D) |
| 85 | ((Scheme.Modules.pullback f).mapIso (Quotients.FiniteDescent.DualEvaluationIs.Construction.DualEvaluation.iso L)) (HilbertConstruction.Line.Bundles.structureModulePullbackIso f) |
| 86 | (HilbertConstruction.Tensor.Bifunctor.tensorModuleMapIso u (Iso.refl (D.pullback f).sheaf)) (HilbertConstruction.Line.Bundles.LineBundle.tensorBaseChangeIso f K D).symm |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IsoFrameTensorFormula |