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.Picard.PoincareBundle.Tensor.PullbackMap |
| 2 | |
| 3 | /-! # Open Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.OpenPullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The canonical tensor comparison is invertible for open pullback |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | section |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.PullbackMap |
| 20 | |
| 21 | /-- Isomorphisms of the two input sheaves give an equivalence of bilinear maps. -/ |
| 22 | def bilinearPrecompEquiv {X : Scheme.{u}} {M M' N N' P : X.Modules} (a : M' ≅ M) (b : N' ≅ N) : |
| 23 | AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap M N P ≃ AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap M' N' P where |
| 24 | toFun β := β.precomp a.hom b.hom |
| 25 | invFun β := β.precomp a.inv b.inv |
| 26 | left_inv β := by |
| 27 | dsimp only |
| 28 | rw [AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.precomp_comp, a.inv_hom_id, b.inv_hom_id, AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.precomp_id] |
| 29 | right_inv β := by |
| 30 | dsimp only |
| 31 | rw [AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.precomp_comp, a.hom_inv_id, b.hom_inv_id, AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.precomp_id] |
| 32 | |
| 33 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 34 | |
| 35 | /-- The units of restriction and pullback agree through their actual uniqueness isomorphism. -/ |
| 36 | theorem unit_comparison (M : Y.Modules) : |
| 37 | (Scheme.Modules.restrictAdjunction f).unit.app M ≫ (Scheme.Modules.pushforward f).map |
| 38 | ((Scheme.Modules.restrictFunctorIsoPullback f).app M).hom = |
| 39 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M := |
| 40 | Adjunction.unit_leftAdjointUniq_hom_app (Scheme.Modules.restrictAdjunction f) |
| 41 | (Scheme.Modules.pullbackPushforwardAdjunction f) M |
| 42 | |
| 43 | /-- The canonical bilinear adjoint for open pullback is the actual restriction adjunction. -/ |
| 44 | theorem bilinearAdjoint_eq_restrict (M N : Y.Modules) {P : X.Modules} |
| 45 | (β : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) P) : |
| 46 | PullbackMap.bilinearAdjoint f M N β = AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N P |
| 47 | (β.precomp ((Scheme.Modules.restrictFunctorIsoPullback f).app M).hom |
| 48 | ((Scheme.Modules.restrictFunctorIsoPullback f).app N).hom) := by |
| 49 | change _ = ((β.precomp _ _).pushforward f).precomp _ _ |
| 50 | rw [PullbackMap.pushforward_precomp, AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.precomp_comp, unit_comparison f M, unit_comparison f N] |
| 51 | rfl |
| 52 | |
| 53 | /-- For an open immersion, the actual canonical bilinear adjoint is an equivalence. -/ |
| 54 | def bilinearAdjointEquiv (M N : Y.Modules) (P : X.Modules) : |
| 55 | AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) P ≃ |
| 56 | AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap M N ((Scheme.Modules.pushforward f).obj P) := |
| 57 | (bilinearPrecompEquiv ((Scheme.Modules.restrictFunctorIsoPullback f).app M) |
| 58 | ((Scheme.Modules.restrictFunctorIsoPullback f).app N)).trans (AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N P) |
| 59 | |
| 60 | /-- The equivalence uses precisely the unit-defined map, so it identifies the canonical comparison. -/ |
| 61 | theorem bilinearAdjointEquiv_apply (M N : Y.Modules) (P : X.Modules) |
| 62 | (β : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) P) : |
| 63 | bilinearAdjointEquiv f M N P β = PullbackMap.bilinearAdjoint f M N β := |
| 64 | (bilinearAdjoint_eq_restrict f M N β).symm |
| 65 | |
| 66 | end |
| 67 | |
| 68 | section |
| 69 | |
| 70 | /-- Bijectivity of precomposition into every target constructs an actual two-sided inverse. -/ |
| 71 | theorem isIso_of_precomp_bijective {C : Type*} [Category C] {A B : C} (a : A ⟶ B) |
| 72 | (h : ∀ P : C, Function.Bijective (fun t : B ⟶ P => a ≫ t)) : IsIso a := by |
| 73 | obtain ⟨b, hb⟩ := (h A).surjective (𝟙 A) |
| 74 | change a ≫ b = 𝟙 A at hb |
| 75 | have hb' : b ≫ a = 𝟙 B := (h B).injective (by rw [← Category.assoc, hb, Category.id_comp, Category.comp_id]) |
| 76 | exact ⟨⟨b, hb, hb'⟩⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.PullbackMap |
| 81 | |
| 82 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 83 | |
| 84 | /-- The canonical tensor comparison for an open immersion is an isomorphism. -/ |
| 85 | theorem pullbackMap_isIso (M N : Y.Modules) : IsIso (PullbackMap.pullbackMap f M N) := by |
| 86 | apply isIso_of_precomp_bijective |
| 87 | intro P |
| 88 | let e := ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) P).trans |
| 89 | (AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N ((Scheme.Modules.pushforward f).obj P)) |
| 90 | let d := (AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv ((Scheme.Modules.pullback f).obj M) ((Scheme.Modules.pullback f).obj N) P).trans |
| 91 | (bilinearAdjointEquiv f M N P) |
| 92 | have he : (fun t => e (PullbackMap.pullbackMap f M N ≫ t)) = d := by |
| 93 | funext t |
| 94 | exact (PullbackMap.pullbackMap_postcomp f M N t).trans (bilinearAdjointEquiv_apply f M N P _).symm |
| 95 | constructor |
| 96 | · intro x y hxy |
| 97 | apply d.injective |
| 98 | rw [← congrFun he x, ← congrFun he y] |
| 99 | exact congrArg e hxy |
| 100 | · intro x |
| 101 | obtain ⟨y, hy⟩ := d.surjective (e x) |
| 102 | exact ⟨y, e.injective ((congrFun he y).trans hy)⟩ |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.OpenPullback |