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.OpenModule.MapRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.TensorCompositionUnits |
| 3 | |
| 4 | /-! # Module Values -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.ModuleValues |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ambient section values for local maps between canonical pullbacks of module sheaves. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 17 | |
| 18 | theorem openPullbackUnit_app_isIso (M : Y.Modules) (U : Y.Opens) (hU : U ≤ f.opensRange) : |
| 19 | IsIso (((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M).app U) := by |
| 20 | let : IsIso (((Scheme.Modules.restrictAdjunction f).unit.app M).app U) := |
| 21 | OpenModule.MapValues.moduleRestrictionUnit_app_isIso f M U hU |
| 22 | have h := congrArg (fun ψ : M ⟶ (Scheme.Modules.pushforward f).obj |
| 23 | ((Scheme.Modules.pullback f).obj M) => ψ.app U) |
| 24 | ((Scheme.Modules.restrictAdjunction f).unit_leftAdjointUniq_hom_app |
| 25 | (Scheme.Modules.pullbackPushforwardAdjunction f) M) |
| 26 | rw [← h, Scheme.Modules.Hom.comp_app] |
| 27 | infer_instance |
| 28 | |
| 29 | variable {M N : Y.Modules} |
| 30 | |
| 31 | def pullbackModuleRestrictionMap |
| 32 | (φ : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) : |
| 33 | M.restrict f ⟶ N.restrict f := |
| 34 | (Scheme.Modules.restrictFunctorIsoPullback f).hom.app M ≫ φ ≫ |
| 35 | (Scheme.Modules.restrictFunctorIsoPullback f).inv.app N |
| 36 | |
| 37 | def openPullbackModuleValue |
| 38 | (φ : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 39 | (U : Y.Opens) (hU : U ≤ f.opensRange) : Γ(M, U) →ₗ[Γ(Y, U)] Γ(N, U) := by |
| 40 | letI := openPullbackUnit_app_isIso f N U hU |
| 41 | exact Module.MapLocalFactor.moduleMapLocalFactor |
| 42 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M ≫ (Scheme.Modules.pushforward f).map φ) |
| 43 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app N) U |
| 44 | |
| 45 | theorem openPullbackModuleValue_spec |
| 46 | (φ : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 47 | (U : Y.Opens) (hU : U ≤ f.opensRange) (s : Γ(M, U)) : |
| 48 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app N).app U |
| 49 | (openPullbackModuleValue f φ U hU s) = |
| 50 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M ≫ |
| 51 | (Scheme.Modules.pushforward f).map φ).app U s := by |
| 52 | let := openPullbackUnit_app_isIso f N U hU |
| 53 | exact Module.MapLocalFactor.moduleMapLocalFactor_spec _ _ U s |
| 54 | |
| 55 | theorem openPullbackModuleValue_restriction |
| 56 | (φ : (Scheme.Modules.pullback f).obj M ⟶ (Scheme.Modules.pullback f).obj N) |
| 57 | (U : Y.Opens) (hU : U ≤ f.opensRange) : |
| 58 | OpenModule.MapValues.openModuleMapValue f (pullbackModuleRestrictionMap f φ) U hU = |
| 59 | openPullbackModuleValue f φ U hU := by |
| 60 | let := openPullbackUnit_app_isIso f N U hU |
| 61 | have hM : (Scheme.Modules.restrictAdjunction f).unit.app M ≫ |
| 62 | (Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app M) = |
| 63 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M := |
| 64 | (Scheme.Modules.restrictAdjunction f).unit_leftAdjointUniq_hom_app |
| 65 | (Scheme.Modules.pullbackPushforwardAdjunction f) M |
| 66 | have hN : (Scheme.Modules.restrictAdjunction f).unit.app N ≫ |
| 67 | (Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app N) = |
| 68 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app N := |
| 69 | (Scheme.Modules.restrictAdjunction f).unit_leftAdjointUniq_hom_app |
| 70 | (Scheme.Modules.pullbackPushforwardAdjunction f) N |
| 71 | have hα : ((Scheme.Modules.restrictAdjunction f).unit.app M ≫ |
| 72 | (Scheme.Modules.pushforward f).map (pullbackModuleRestrictionMap f φ)) ≫ |
| 73 | (Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app N) = |
| 74 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M ≫ |
| 75 | (Scheme.Modules.pushforward f).map φ := by |
| 76 | have he : pullbackModuleRestrictionMap f φ ≫ |
| 77 | (Scheme.Modules.restrictFunctorIsoPullback f).hom.app N = |
| 78 | (Scheme.Modules.restrictFunctorIsoPullback f).hom.app M ≫ φ := by |
| 79 | simp only [pullbackModuleRestrictionMap, Category.assoc, |
| 80 | (Scheme.Modules.restrictFunctorIsoPullback f).inv_hom_id_app, Category.comp_id] |
| 81 | rw [Category.assoc, ← Functor.map_comp, he, Functor.map_comp, ← Category.assoc, hM] |
| 82 | apply Module.MapLocalFactor.moduleMapLocalFactor_unique |
| 83 | intro s |
| 84 | have hNs := congrArg (fun ψ : N ⟶ (Scheme.Modules.pushforward f).obj |
| 85 | ((Scheme.Modules.pullback f).obj N) => ψ.app U) hN |
| 86 | rw [← hNs] |
| 87 | change ((Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app N)).app U |
| 88 | (((Scheme.Modules.restrictAdjunction f).unit.app N).app U |
| 89 | (OpenModule.MapValues.openModuleMapValue f (pullbackModuleRestrictionMap f φ) U hU s)) = _ |
| 90 | rw [OpenModule.MapRecovery.openModuleMapValue_spec] |
| 91 | exact ConcreteCategory.congr_hom (congrArg (fun ψ => ψ.app U) hα) s |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenPullback.ModuleValues |