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.Coefficient.PullbackSectionToOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.BilinearSections |
| 3 | |
| 4 | /-! # Ambient External Section Pairing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AmbientExternalSectionPairing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pair local sections on the two factors directly on the intersection of their inverse images in a fixed ambient scheme. This construction is natural under simultaneous shrinking of both opens. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y P : Scheme.{u}} {R : Type u} [CommRing R] |
| 16 | variable (a : P ⟶ X) (b : P ⟶ Y) |
| 17 | variable (cX : R →+* Γ(X, ⊤)) (cY : R →+* Γ(Y, ⊤)) |
| 18 | variable (hc : a.appTop.hom.comp cX = b.appTop.hom.comp cY) |
| 19 | variable (M : X.Modules) (N : Y.Modules) |
| 20 | |
| 21 | def ambientExternalSectionTensorMap (V : X.Opens) (U : Y.Opens) : |
| 22 | TensorProduct R ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) |
| 23 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj (op V)) →ₗ[R] |
| 24 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp cX) |
| 25 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N))).obj |
| 26 | (op (a ⁻¹ᵁ V ⊓ b ⁻¹ᵁ U)) := by |
| 27 | let W := a ⁻¹ᵁ V ⊓ b ⁻¹ᵁ U |
| 28 | let cP := a.appTop.hom.comp cX |
| 29 | let mMap := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen a cX cP rfl M V W inf_le_left |
| 30 | let nMap := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen b cY cP hc.symm N U W inf_le_right |
| 31 | exact TensorProduct.lift |
| 32 | ((Coefficient.BilinearSections.coefficientTensorSectionPairing cP ((Scheme.Modules.pullback a).obj M) |
| 33 | ((Scheme.Modules.pullback b).obj N) W).flip.compl₁₂ nMap mMap) |
| 34 | |
| 35 | theorem ambientExternalSectionTensorMap_tmul (V : X.Opens) (U : Y.Opens) |
| 36 | (n : (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) |
| 37 | (m : (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj (op V)) : |
| 38 | ambientExternalSectionTensorMap a b cX cY hc M N V U (n ⊗ₜ[R] m) = |
| 39 | (Tensor.Bifunctor.tensorBilinear ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)).app |
| 40 | (a ⁻¹ᵁ V ⊓ b ⁻¹ᵁ U) |
| 41 | (((Scheme.Modules.pullback a).obj M).presheaf.map (homOfLE inf_le_left).op |
| 42 | (((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app V m)) |
| 43 | (((Scheme.Modules.pullback b).obj N).presheaf.map (homOfLE inf_le_right).op |
| 44 | (((Scheme.Modules.pullbackPushforwardAdjunction b).unit.app N).app U n)) := by |
| 45 | change (Tensor.Bifunctor.tensorBilinear ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)).app |
| 46 | (a ⁻¹ᵁ V ⊓ b ⁻¹ᵁ U) |
| 47 | (Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen a cX (a.appTop.hom.comp cX) rfl M V _ inf_le_left m) |
| 48 | (Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen b cY (a.appTop.hom.comp cX) hc.symm N U _ inf_le_right n) = _ |
| 49 | rw [Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen_apply, Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen_apply] |
| 50 | |
| 51 | theorem ambientExternalIntersection_mono |
| 52 | {V V' : X.Opens} {U U' : Y.Opens} (hV : V' ≤ V) (hU : U' ≤ U) : |
| 53 | a ⁻¹ᵁ V' ⊓ b ⁻¹ᵁ U' ≤ a ⁻¹ᵁ V ⊓ b ⁻¹ᵁ U := |
| 54 | inf_le_inf (leOfHom ((TopologicalSpace.Opens.map a.base).map (homOfLE hV))) |
| 55 | (leOfHom ((TopologicalSpace.Opens.map b.base).map (homOfLE hU))) |
| 56 | |
| 57 | theorem ambientExternalSectionTensorMap_naturality |
| 58 | {V V' : X.Opens} {U U' : Y.Opens} (hV : V' ≤ V) (hU : U' ≤ U) |
| 59 | (n : (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) |
| 60 | (m : (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj (op V)) : |
| 61 | ambientExternalSectionTensorMap a b cX cY hc M N V' U' |
| 62 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op n ⊗ₜ[R] |
| 63 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).map (homOfLE hV).op m) = |
| 64 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp cX) |
| 65 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N))).map |
| 66 | (homOfLE (ambientExternalIntersection_mono a b hV hU)).op |
| 67 | (ambientExternalSectionTensorMap a b cX cY hc M N V U (n ⊗ₜ[R] m)) := by |
| 68 | let cP := a.appTop.hom.comp cX |
| 69 | let W := a ⁻¹ᵁ V ⊓ b ⁻¹ᵁ U |
| 70 | let W' := a ⁻¹ᵁ V' ⊓ b ⁻¹ᵁ U' |
| 71 | let hW : W' ≤ W := ambientExternalIntersection_mono a b hV hU |
| 72 | let Ma := (Scheme.Modules.pullback a).obj M |
| 73 | let Nb := (Scheme.Modules.pullback b).obj N |
| 74 | let mMap := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen a cX cP rfl M V W inf_le_left |
| 75 | let nMap := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen b cY cP hc.symm N U W inf_le_right |
| 76 | let mMap' := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen a cX cP rfl M V' W' inf_le_left |
| 77 | let nMap' := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen b cY cP hc.symm N U' W' inf_le_right |
| 78 | have hm := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen_naturality a cX cP rfl M |
| 79 | (W := W) (W' := W') inf_le_left inf_le_left hV hW m |
| 80 | have hn := Coefficient.PullbackSectionToOpen.coefficientPullbackSectionToOpen_naturality b cY cP hc.symm N |
| 81 | (W := W) (W' := W') inf_le_right inf_le_right hU hW n |
| 82 | change (Tensor.Bifunctor.tensorBilinear Ma Nb).coefficientApp cP W' |
| 83 | (mMap' ((Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).map (homOfLE hV).op m)) |
| 84 | (nMap' ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op n)) = |
| 85 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cP (Tensor.ProductSheaf.tensorModule Ma Nb)).map (homOfLE hW).op |
| 86 | ((Tensor.Bifunctor.tensorBilinear Ma Nb).coefficientApp cP W (mMap m) (nMap n)) |
| 87 | rw [Bilinear.Sheaves.SheafBilinearMap.coefficientApp_naturality, ← hm, ← hn] |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AmbientExternalSectionPairing |