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.Tensor.PullbackComparison |
| 2 | |
| 3 | /-! # Pullback Units -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackUnits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The arbitrary-pullback tensor comparison is invertible for trivial factors. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | local instance (X : Scheme.{u}) : MonoidalCategory X.PresheafOfModules := |
| 19 | PresheafOfModulesOfCommRing.monoidalCategory (R := X.presheaf) |
| 20 | |
| 21 | def unitLeftBilinear (M : X.Modules) : Bilinear.Sheaves.SheafBilinearMap (Line.Bundles.structureModule X) M M where |
| 22 | app U := LinearMap.lsmul Γ(X, U) Γ(M, U) |
| 23 | naturality h r m := M.val.map_smul h.op r m |
| 24 | |
| 25 | theorem tensorModuleUnitLeftIso_formula (M : X.Modules) : |
| 26 | Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv (Line.Bundles.structureModule X) M M |
| 27 | (ProductSheaf.tensorModuleUnitLeftIso M).hom = unitLeftBilinear M := by |
| 28 | let a : PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) |
| 29 | (Line.Bundles.structureModule X).val M.val ⟶ M.val := (λ_ M.val).hom |
| 30 | have h : ProductSheaf.tensorModuleHomEquiv (Line.Bundles.structureModule X) M M |
| 31 | (ProductSheaf.tensorModuleUnitLeftIso M).hom = a := by |
| 32 | exact ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv _ M).apply_symm_apply a |
| 33 | change Bilinear.Sheaves.SheafBilinearMap.ofTensorPresheafHom |
| 34 | (ProductSheaf.tensorModuleHomEquiv (Line.Bundles.structureModule X) M M (ProductSheaf.tensorModuleUnitLeftIso M).hom) = _ |
| 35 | rw [h] |
| 36 | ext U |
| 37 | rfl |
| 38 | |
| 39 | theorem structureModulePullbackIso_unit (f : X ⟶ Y) : |
| 40 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (Line.Bundles.structureModule Y) ≫ |
| 41 | (Scheme.Modules.pushforward f).map (Line.Bundles.structureModulePullbackIso f).hom = |
| 42 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom := by |
| 43 | have : (SheafOfModules.pushforward f.toRingCatSheafHom).IsRightAdjoint := |
| 44 | inferInstanceAs (Scheme.Modules.pushforward f).IsRightAdjoint |
| 45 | exact SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit |
| 46 | f.toRingCatSheafHom |
| 47 | |
| 48 | theorem unitLeftBilinear_pushforward (f : X ⟶ Y) : |
| 49 | ((unitLeftBilinear (Line.Bundles.structureModule X)).pushforward f).precomp |
| 50 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) |
| 51 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) = |
| 52 | (unitLeftBilinear (Line.Bundles.structureModule Y)).postcomp |
| 53 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) := by |
| 54 | apply Bilinear.Sheaves.SheafBilinearMap.ext |
| 55 | intro U |
| 56 | apply DFunLike.ext |
| 57 | intro r |
| 58 | apply DFunLike.ext |
| 59 | intro s |
| 60 | change Γ(Y, U) at r s |
| 61 | exact (map_mul (f.app U).hom r s).symm |
| 62 | |
| 63 | theorem tensorPullbackComparison_unit_formula (f : X ⟶ Y) : |
| 64 | PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y) ≫ |
| 65 | Bifunctor.tensorModuleMap (Line.Bundles.structureModulePullbackIso f).hom (Line.Bundles.structureModulePullbackIso f).hom ≫ |
| 66 | (ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule X)).hom = |
| 67 | (Scheme.Modules.pullback f).map (ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule Y)).hom ≫ |
| 68 | (Line.Bundles.structureModulePullbackIso f).hom := by |
| 69 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 70 | apply (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y) _).injective |
| 71 | rw [(Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv_naturality_right, |
| 72 | (Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv_naturality_left, |
| 73 | Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv_postcomp, PullbackComparison.tensorPullbackComparison_spec, |
| 74 | ← PullbackComparison.bilinearPullbackUnit_postcomp, Bilinear.Sheaves.SheafBilinearMap.postcomp_comp, |
| 75 | Bifunctor.tensorModuleMap_spec, ← Bilinear.Sheaves.SheafBilinearMap.precomp_postcomp, Bifunctor.tensorBilinear_postcomp, |
| 76 | tensorModuleUnitLeftIso_formula] |
| 77 | unfold PullbackComparison.bilinearPullbackUnit |
| 78 | rw [Bilinear.Sheaves.SheafBilinearMap.pushforward_precomp, Bilinear.Sheaves.SheafBilinearMap.precomp_comp, |
| 79 | structureModulePullbackIso_unit, unitLeftBilinear_pushforward] |
| 80 | rw [Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv_postcomp, tensorModuleUnitLeftIso_formula] |
| 81 | exact congrArg (fun a => (unitLeftBilinear (Line.Bundles.structureModule Y)).postcomp a) |
| 82 | (structureModulePullbackIso_unit f).symm |
| 83 | |
| 84 | instance tensorPullbackComparison_unit_isIso (f : X ⟶ Y) : |
| 85 | IsIso (PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y)) := by |
| 86 | have h : IsIso (PullbackComparison.tensorPullbackComparison f (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y) ≫ |
| 87 | Bifunctor.tensorModuleMap (Line.Bundles.structureModulePullbackIso f).hom (Line.Bundles.structureModulePullbackIso f).hom ≫ |
| 88 | (ProductSheaf.tensorModuleUnitLeftIso (Line.Bundles.structureModule X)).hom) := by |
| 89 | rw [tensorPullbackComparison_unit_formula] |
| 90 | infer_instance |
| 91 | exact (isIso_comp_right_iff _ _).mp h |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackUnits |