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 Open -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Invertibility of the canonical tensor comparison on open immersions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | def Bilinear.Sheaves.SheafBilinearMap.sourceIso {M M' N N' : X.Modules} (e : M ≅ M') (f : N ≅ N') |
| 18 | (P : X.Modules) : Bilinear.Sheaves.SheafBilinearMap M N P ≃ Bilinear.Sheaves.SheafBilinearMap M' N' P where |
| 19 | toFun β := β.precomp e.inv f.inv |
| 20 | invFun β := β.precomp e.hom f.hom |
| 21 | left_inv β := (β.precomp_comp e.inv f.inv e.hom f.hom).trans |
| 22 | ((congrArg₂ (fun a b => β.precomp a b) e.hom_inv_id f.hom_inv_id).trans β.precomp_id) |
| 23 | right_inv β := (β.precomp_comp e.hom f.hom e.inv f.inv).trans |
| 24 | ((congrArg₂ (fun a b => β.precomp a b) e.inv_hom_id f.inv_hom_id).trans β.precomp_id) |
| 25 | |
| 26 | def Tensor.PullbackOpen.bilinearOpenPullbackEquiv (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 27 | (P : X.Modules) : |
| 28 | Bilinear.Sheaves.SheafBilinearMap ((Scheme.Modules.pullback f).obj M) |
| 29 | ((Scheme.Modules.pullback f).obj N) P ≃ |
| 30 | Bilinear.Sheaves.SheafBilinearMap M N ((Scheme.Modules.pushforward f).obj P) := |
| 31 | (Bilinear.Sheaves.SheafBilinearMap.sourceIso ((Scheme.Modules.restrictFunctorIsoPullback f).app M).symm |
| 32 | ((Scheme.Modules.restrictFunctorIsoPullback f).app N).symm P).trans |
| 33 | (Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N P) |
| 34 | |
| 35 | theorem Tensor.PullbackOpen.bilinearOpenPullbackEquiv_apply (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 36 | (P : X.Modules) (β : Bilinear.Sheaves.SheafBilinearMap ((Scheme.Modules.pullback f).obj M) |
| 37 | ((Scheme.Modules.pullback f).obj N) P) : |
| 38 | Tensor.PullbackOpen.bilinearOpenPullbackEquiv f M N P β = Tensor.PullbackComparison.bilinearPullbackUnit f M N P β := by |
| 39 | change ((β.precomp ((Scheme.Modules.restrictFunctorIsoPullback f).app M).hom |
| 40 | ((Scheme.Modules.restrictFunctorIsoPullback f).app N).hom).pushforward f).precomp |
| 41 | ((Scheme.Modules.restrictAdjunction f).unit.app M) |
| 42 | ((Scheme.Modules.restrictAdjunction f).unit.app N) = _ |
| 43 | rw [Bilinear.Sheaves.SheafBilinearMap.pushforward_precomp, Bilinear.Sheaves.SheafBilinearMap.precomp_comp] |
| 44 | exact congrArg₂ (fun a b => (β.pushforward f).precomp a b) |
| 45 | ((Scheme.Modules.restrictAdjunction f).unit_leftAdjointUniq_hom_app |
| 46 | (Scheme.Modules.pullbackPushforwardAdjunction f) M) |
| 47 | ((Scheme.Modules.restrictAdjunction f).unit_leftAdjointUniq_hom_app |
| 48 | (Scheme.Modules.pullbackPushforwardAdjunction f) N) |
| 49 | |
| 50 | theorem Tensor.PullbackOpen.tensorPullbackComparison_homEquiv (f : X ⟶ Y) (M N : Y.Modules) (P : X.Modules) |
| 51 | (h : Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback f).obj M) |
| 52 | ((Scheme.Modules.pullback f).obj N) ⟶ P) : |
| 53 | Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _ |
| 54 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _ |
| 55 | (Tensor.PullbackComparison.tensorPullbackComparison f M N ≫ h)) = |
| 56 | Tensor.PullbackComparison.bilinearPullbackUnit f M N P |
| 57 | (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ P h) := by |
| 58 | rw [(Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv_naturality_right, |
| 59 | Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv_postcomp, Tensor.PullbackComparison.tensorPullbackComparison_spec, |
| 60 | ← Tensor.PullbackComparison.bilinearPullbackUnit_postcomp, Tensor.Bifunctor.tensorBilinear_postcomp] |
| 61 | |
| 62 | theorem Tensor.PullbackOpen.tensorPullbackComparison_isIso_of_bilinearUnit (f : X ⟶ Y) (M N : Y.Modules) |
| 63 | (h : ∀ P : X.Modules, Function.Bijective (Tensor.PullbackComparison.bilinearPullbackUnit f M N P)) : |
| 64 | IsIso (Tensor.PullbackComparison.tensorPullbackComparison f M N) := by |
| 65 | rw [isIso_iff_coyoneda_map_bijective] |
| 66 | intro P |
| 67 | let e := ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ P).trans |
| 68 | (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _) |
| 69 | apply (e.bijective.of_comp_iff' _).mp |
| 70 | change Function.Bijective (fun a => e (Tensor.PullbackComparison.tensorPullbackComparison f M N ≫ a)) |
| 71 | have he : (fun a => e (Tensor.PullbackComparison.tensorPullbackComparison f M N ≫ a)) = |
| 72 | fun a => Tensor.PullbackComparison.bilinearPullbackUnit f M N P (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ P a) := by |
| 73 | funext a |
| 74 | exact Tensor.PullbackOpen.tensorPullbackComparison_homEquiv f M N P a |
| 75 | rw [he] |
| 76 | exact (h P).comp (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ P).bijective |
| 77 | |
| 78 | instance Tensor.PullbackOpen.tensorPullbackComparison_open_isIso (f : X ⟶ Y) [IsOpenImmersion f] |
| 79 | (M N : Y.Modules) : IsIso (Tensor.PullbackComparison.tensorPullbackComparison f M N) := by |
| 80 | apply Tensor.PullbackOpen.tensorPullbackComparison_isIso_of_bilinearUnit |
| 81 | intro P |
| 82 | have h : Tensor.PullbackComparison.bilinearPullbackUnit f M N P = Tensor.PullbackOpen.bilinearOpenPullbackEquiv f M N P := by |
| 83 | funext β |
| 84 | exact (Tensor.PullbackOpen.bilinearOpenPullbackEquiv_apply f M N P β).symm |
| 85 | rw [h] |
| 86 | exact (Tensor.PullbackOpen.bilinearOpenPullbackEquiv f M N P).bijective |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |