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.SheafTensorFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange |
| 3 | |
| 4 | /-! # Frame Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.FrameCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual tensor-restriction isomorphism carries the original |
| 13 | bilinear section map to the canonical bilinear map on the restricted |
| 14 | factors. This fixes the meaning of tensor frames on common opens. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | section Yoneda |
| 19 | |
| 20 | variable {C : Type*} [Category C] {F : C ⥤ Type*} {X Y : C} |
| 21 | |
| 22 | theorem corepresentable_iso_unit (R : F.CorepresentableBy X) (T : F.CorepresentableBy Y) : |
| 23 | R.homEquiv (R.uniqueUpToIso T).hom = T.homEquiv (𝟙 Y) := by |
| 24 | exact R.homEquiv.apply_symm_apply _ |
| 25 | |
| 26 | end Yoneda |
| 27 | |
| 28 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange |
| 29 | |
| 30 | variable {X Y : Scheme.{0}} (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 31 | |
| 32 | theorem restrictedTensor_identity_meaning : |
| 33 | (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictedCorepresentable f M N).homEquiv (𝟙 _) = |
| 34 | (SheafTensorMaps.tensorBilinear M N).restrict f := by |
| 35 | apply (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N ((HilbertConstruction.Tensor.ProductSheaf.tensorModule M N).restrict f)).injective |
| 36 | change (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N _) |
| 37 | ((HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictHomEquiv f M N _).symm |
| 38 | (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _ |
| 39 | ((Scheme.Modules.restrictAdjunction f).homEquiv _ _ (𝟙 _)))) = _ |
| 40 | rw [Equiv.apply_symm_apply, Adjunction.homEquiv_id] |
| 41 | exact (SheafTensorMaps.tensorBilinear_postcomp _).symm.trans ((SheafTensorMaps.tensorBilinear M N).restrict_unit_naturality f).symm |
| 42 | |
| 43 | theorem tensorModuleRestrictIso_bilinear : |
| 44 | ((SheafTensorMaps.tensorBilinear M N).restrict f).postcomp (HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso f M N).hom = |
| 45 | SheafTensorMaps.tensorBilinear (M.restrict f) (N.restrict f) := by |
| 46 | have h := corepresentable_iso_unit (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictedCorepresentable f M N) |
| 47 | (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.corepresentable (M.restrict f) (N.restrict f)) |
| 48 | rw [Functor.CorepresentableBy.homEquiv_eq, restrictedTensor_identity_meaning] at h |
| 49 | exact h |
| 50 | |
| 51 | theorem restrictedTensor_homEquiv {P : X.Modules} (h : (HilbertConstruction.Tensor.ProductSheaf.tensorModule M N).restrict f ⟶ P) : |
| 52 | (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictedCorepresentable f M N).homEquiv h = |
| 53 | ((SheafTensorMaps.tensorBilinear M N).restrict f).postcomp h := by |
| 54 | rw [Functor.CorepresentableBy.homEquiv_eq, restrictedTensor_identity_meaning] |
| 55 | rfl |
| 56 | |
| 57 | /-- Restriction of the actual tensor map is the tensor of the restricted |
| 58 | maps, through the canonical sheaf comparison. -/ |
| 59 | theorem tensorModuleRestrictIso_naturality {P Q : Y.Modules} (a : M ⟶ P) (b : N ⟶ Q) : |
| 60 | (Scheme.Modules.restrictFunctor f).map (SheafTensorMaps.sheafTensorMap a b) ≫ |
| 61 | (HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso f P Q).hom = |
| 62 | (HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso f M N).hom ≫ |
| 63 | SheafTensorMaps.sheafTensorMap ((Scheme.Modules.restrictFunctor f).map a) |
| 64 | ((Scheme.Modules.restrictFunctor f).map b) := by |
| 65 | apply (HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrictedCorepresentable f M N).homEquiv.injective |
| 66 | rw [restrictedTensor_homEquiv, restrictedTensor_homEquiv, |
| 67 | HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.postcomp_comp, HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.postcomp_comp, |
| 68 | ← HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrict_postcomp, SheafTensorMaps.sheafTensorMap_spec, |
| 69 | HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.restrict_precomp, ← HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.precomp_postcomp, |
| 70 | tensorModuleRestrictIso_bilinear, tensorModuleRestrictIso_bilinear, |
| 71 | SheafTensorMaps.sheafTensorMap_spec] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | /-! Actual tensor-frame coordinates multiply on pure section tensors, |
| 76 | first on the opens of a trivializing subscheme and then on ambient opens. -/ |
| 77 | |
| 78 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 79 | |
| 80 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange |
| 81 | |
| 82 | variable {X : Scheme.{0}} (M N : X.Modules) (U : X.Opens) |
| 83 | (e : M.restrict U.ι ≅ HilbertConstruction.Line.Bundles.structureModule U.toScheme) |
| 84 | (f : N.restrict U.ι ≅ HilbertConstruction.Line.Bundles.structureModule U.toScheme) |
| 85 | |
| 86 | def tensorFrameOnDomain : (HilbertConstruction.Tensor.ProductSheaf.tensorModule M N).restrict U.ι ≅ HilbertConstruction.Line.Bundles.structureModule U.toScheme := |
| 87 | HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso U.ι M N ≪≫ SheafTensorFrames.tensorSheafFrame e f |
| 88 | |
| 89 | theorem tensorFrameOnImage_apply (W : U.toScheme.Opens) |
| 90 | (x : Γ(M, U.ι ''ᵁ W)) (y : Γ(N, U.ι ''ᵁ W)) : |
| 91 | DivisorClass.Chern.FramesFrame.Construction.frameOnImage (HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) U (tensorFrameOnDomain M N U e f) W |
| 92 | ((SheafTensorMaps.tensorBilinear M N).app (U.ι ''ᵁ W) x y) = |
| 93 | DivisorClass.Chern.FramesFrame.Construction.frameOnImage M U e W x * DivisorClass.Chern.FramesFrame.Construction.frameOnImage N U f W y := by |
| 94 | have h := congrArg |
| 95 | (fun β : HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap (M.restrict U.ι) (N.restrict U.ι) |
| 96 | (HilbertConstruction.Tensor.ProductSheaf.tensorModule (M.restrict U.ι) (N.restrict U.ι)) => β.app W x y) |
| 97 | (tensorModuleRestrictIso_bilinear U.ι M N) |
| 98 | change (SheafTensorFrames.tensorSheafFrame e f).hom.app W |
| 99 | ((HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso U.ι M N).hom.app W ((SheafTensorMaps.tensorBilinear M N).app (U.ι ''ᵁ W) x y)) = _ |
| 100 | change (HilbertConstruction.Tensor.ProductBaseChange.tensorModuleRestrictIso U.ι M N).hom.app W |
| 101 | ((SheafTensorMaps.tensorBilinear M N).app (U.ι ''ᵁ W) x y) = |
| 102 | (SheafTensorMaps.tensorBilinear (M.restrict U.ι) (N.restrict U.ι)).app W x y at h |
| 103 | rw [h] |
| 104 | exact SheafTensorFrames.tensorSheafFrame_apply e f W x y |
| 105 | |
| 106 | omit U e f in |
| 107 | theorem tensorFrame_transport {V W : X.Opens} (h : V = W) |
| 108 | (a : Γ(M, V) ≃ₗ[Γ(X, V)] Γ(X, V)) (b : Γ(N, V) ≃ₗ[Γ(X, V)] Γ(X, V)) |
| 109 | (c : Γ(HilbertConstruction.Tensor.ProductSheaf.tensorModule M N, V) ≃ₗ[Γ(X, V)] Γ(X, V)) |
| 110 | (hc : ∀ x y, c ((SheafTensorMaps.tensorBilinear M N).app V x y) = a x * b y) |
| 111 | (x : Γ(M, W)) (y : Γ(N, W)) : |
| 112 | DivisorClass.Chern.FramesFrame.Construction.transportFrame (HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) h c ((SheafTensorMaps.tensorBilinear M N).app W x y) = |
| 113 | DivisorClass.Chern.FramesFrame.Construction.transportFrame M h a x * DivisorClass.Chern.FramesFrame.Construction.transportFrame N h b y := by |
| 114 | subst W |
| 115 | exact hc x y |
| 116 | |
| 117 | theorem tensorFrameOnOpen_apply (V : X.Opens) (hV : V ≤ U) (x : Γ(M, V)) (y : Γ(N, V)) : |
| 118 | DivisorClass.Chern.FramesFrame.Construction.frameOnOpen (HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) U (tensorFrameOnDomain M N U e f) V hV |
| 119 | ((SheafTensorMaps.tensorBilinear M N).app V x y) = |
| 120 | DivisorClass.Chern.FramesFrame.Construction.frameOnOpen M U e V hV x * DivisorClass.Chern.FramesFrame.Construction.frameOnOpen N U f V hV y := |
| 121 | tensorFrame_transport M N (DivisorClass.Chern.FramesFrame.Construction.image_preimage_subopen U hV) |
| 122 | (DivisorClass.Chern.FramesFrame.Construction.frameOnImage M U e (U.ι ⁻¹ᵁ V)) (DivisorClass.Chern.FramesFrame.Construction.frameOnImage N U f (U.ι ⁻¹ᵁ V)) |
| 123 | (DivisorClass.Chern.FramesFrame.Construction.frameOnImage (HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) U (tensorFrameOnDomain M N U e f) (U.ι ⁻¹ᵁ V)) |
| 124 | (tensorFrameOnImage_apply M N U e f (U.ι ⁻¹ᵁ V)) x y |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.FrameCoordinates |