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.Homomorphisms.PresheafTensorHom |
| 2 | |
| 3 | /-! # Bilinear Sheafification -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Bilinear maps into a sheaf extend uniquely across sheafification of either input. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} {L M N K : X.PresheafOfModules} {P : X.Modules} |
| 18 | |
| 19 | def PresheafTensorHom.Construction.PresheafBilinearMap.precomp (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) (f : L ⟶ M) (g : K ⟶ N) : |
| 20 | PresheafTensorHom.Construction.PresheafBilinearMap L K P where |
| 21 | app U := (b.app U).compl₁₂ (f.app (.op U)).hom (g.app (.op U)).hom |
| 22 | naturality {U V} h l k := |
| 23 | (b.naturality h (f.app (.op U) l) (g.app (.op U) k)).trans |
| 24 | (congrArg₂ (fun (m : M.obj (.op V)) (n : N.obj (.op V)) => b.app V m n) |
| 25 | (PresheafOfModules.naturality_apply f h.op l).symm |
| 26 | (PresheafOfModules.naturality_apply g h.op k).symm) |
| 27 | |
| 28 | def PresheafTensorHom.Construction.PresheafBilinearMap.flip (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) : PresheafTensorHom.Construction.PresheafBilinearMap N M P where |
| 29 | app U := (b.app U).flip |
| 30 | naturality f n m := b.naturality f m n |
| 31 | |
| 32 | def PresheafTensorHom.Construction.PresheafBilinearMap.flipEquiv : PresheafTensorHom.Construction.PresheafBilinearMap M N P ≃ PresheafTensorHom.Construction.PresheafBilinearMap N M P where |
| 33 | toFun := PresheafTensorHom.Construction.PresheafBilinearMap.flip |
| 34 | invFun := PresheafTensorHom.Construction.PresheafBilinearMap.flip |
| 35 | left_inv b := by ext U m n; rfl |
| 36 | right_inv b := by ext U n m; rfl |
| 37 | |
| 38 | theorem BilinearSheafification.Construction.presheafBilinearCurry_precomp_left (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) (f : L ⟶ M) : |
| 39 | PresheafTensorHom.Construction.presheafBilinearCurry (b.precomp f (𝟙 N)) = f ≫ PresheafTensorHom.Construction.presheafBilinearCurry b := by |
| 40 | apply PresheafTensorHom.Construction.presheafBilinearCurryEquiv.symm.injective |
| 41 | change PresheafTensorHom.Construction.presheafBilinearUncurry (PresheafTensorHom.Construction.presheafBilinearCurry _) = PresheafTensorHom.Construction.presheafBilinearUncurry _ |
| 42 | rw [PresheafTensorHom.Construction.presheafBilinearUncurry_curry] |
| 43 | ext U l n |
| 44 | change b.app U (f.app (.op U) l) n = b.app U (M.map (𝟙 U).op (f.app (.op U) l)) n |
| 45 | rw [op_id, M.map_id] |
| 46 | rfl |
| 47 | |
| 48 | def BilinearSheafification.Construction.moduleSheafify (M : X.PresheafOfModules) : X.Modules := |
| 49 | (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).obj M |
| 50 | |
| 51 | def BilinearSheafification.Construction.moduleSheafifyUnit (M : X.PresheafOfModules) : M ⟶ (BilinearSheafification.Construction.moduleSheafify M).val := |
| 52 | (PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).unit.app M |
| 53 | |
| 54 | def BilinearSheafification.Construction.bilinearSheafifyFirstEquiv (M N : X.PresheafOfModules) (P : X.Modules) : |
| 55 | PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val N P ≃ PresheafTensorHom.Construction.PresheafBilinearMap M N P := |
| 56 | PresheafTensorHom.Construction.presheafBilinearCurryEquiv.trans |
| 57 | (((SheafOfModules.fullyFaithfulForget X.ringCatSheaf).homEquiv |
| 58 | (X := BilinearSheafification.Construction.moduleSheafify M) (Y := PresheafHomSheaf.Construction.presheafInternalHom N P)).symm.trans |
| 59 | (((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv |
| 60 | M (PresheafHomSheaf.Construction.presheafInternalHom N P)).trans PresheafTensorHom.Construction.presheafBilinearCurryEquiv.symm)) |
| 61 | |
| 62 | theorem BilinearSheafification.Construction.bilinearSheafifyFirstEquiv_apply (M N : X.PresheafOfModules) (P : X.Modules) |
| 63 | (b : PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val N P) : |
| 64 | BilinearSheafification.Construction.bilinearSheafifyFirstEquiv M N P b = b.precomp (BilinearSheafification.Construction.moduleSheafifyUnit M) (𝟙 N) := by |
| 65 | apply PresheafTensorHom.Construction.presheafBilinearCurryEquiv.injective |
| 66 | change PresheafTensorHom.Construction.presheafBilinearCurry (PresheafTensorHom.Construction.presheafBilinearUncurry |
| 67 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv |
| 68 | M (PresheafHomSheaf.Construction.presheafInternalHom N P) ⟨PresheafTensorHom.Construction.presheafBilinearCurry b⟩)) = |
| 69 | PresheafTensorHom.Construction.presheafBilinearCurry (b.precomp (BilinearSheafification.Construction.moduleSheafifyUnit M) (𝟙 N)) |
| 70 | erw [PresheafTensorHom.Construction.presheafBilinearCurry_uncurry, BilinearSheafification.Construction.presheafBilinearCurry_precomp_left, |
| 71 | Adjunction.homEquiv_unit] |
| 72 | rfl |
| 73 | |
| 74 | def BilinearSheafification.Construction.bilinearSheafifyEquiv (M N : X.PresheafOfModules) (P : X.Modules) : |
| 75 | PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val (BilinearSheafification.Construction.moduleSheafify N).val P ≃ |
| 76 | PresheafTensorHom.Construction.PresheafBilinearMap M N P := |
| 77 | (BilinearSheafification.Construction.bilinearSheafifyFirstEquiv M (BilinearSheafification.Construction.moduleSheafify N).val P).trans |
| 78 | (PresheafTensorHom.Construction.PresheafBilinearMap.flipEquiv.trans |
| 79 | ((BilinearSheafification.Construction.bilinearSheafifyFirstEquiv N M P).trans PresheafTensorHom.Construction.PresheafBilinearMap.flipEquiv)) |
| 80 | |
| 81 | theorem BilinearSheafification.Construction.bilinearSheafifyEquiv_apply (M N : X.PresheafOfModules) (P : X.Modules) |
| 82 | (b : PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val (BilinearSheafification.Construction.moduleSheafify N).val P) : |
| 83 | BilinearSheafification.Construction.bilinearSheafifyEquiv M N P b = b.precomp (BilinearSheafification.Construction.moduleSheafifyUnit M) (BilinearSheafification.Construction.moduleSheafifyUnit N) := by |
| 84 | change (BilinearSheafification.Construction.bilinearSheafifyFirstEquiv N M P ((BilinearSheafification.Construction.bilinearSheafifyFirstEquiv M _ P b).flip)).flip = _ |
| 85 | rw [BilinearSheafification.Construction.bilinearSheafifyFirstEquiv_apply, BilinearSheafification.Construction.bilinearSheafifyFirstEquiv_apply] |
| 86 | ext U m n |
| 87 | rfl |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Picard.Homomorphisms |