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.Intrinsic.ExternalZeroCohomologyScalars |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ExternalAllCohomologyNaturality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalFactorCechTensor |
| 4 | |
| 5 | /-! # Open Sections Linearity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.OpenSectionsLinearity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The affine-parameter external section comparison is linear for the |
| 12 | original coefficient action. The scalar identity comes from the native |
| 13 | pairing, rather than an action transported along an additive isomorphism. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 15 | open _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 16 | open scoped TensorProduct |
| 17 | universe u |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | theorem rTensor_smul_identity_apply |
| 22 | {R : Type u} [CommRing R] (A B : Type u) |
| 23 | [AddCommGroup A] [Module R A] [AddCommGroup B] [Module R B] |
| 24 | (r : R) (x : A ⊗[R] B) : ((r • (LinearMap.id : A →ₗ[R] A)).rTensor B) x = r • x := by |
| 25 | induction x using TensorProduct.inductionOn with |
| 26 | | tmul a b => simp only [LinearMap.rTensor_tmul, LinearMap.smul_apply, |
| 27 | LinearMap.id_apply, TensorProduct.smul_tmul'] |
| 28 | | add x y hx hy => simp only [map_add, smul_add, hx, hy] |
| 29 | |
| 30 | variable {S X Y P : Scheme.{u}} [IsAffine S] [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 31 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 32 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 33 | variable (U : Y.Opens) (haU : IsAffineOpen U) |
| 34 | variable (eU : (Scheme.Modules.pullback U.ι).obj N.sheaf ≅ Line.Bundles.structureModule U.toScheme) |
| 35 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) (hV : iSup V = ⊤) |
| 36 | variable (ha : ∀ i, IsAffineOpen (V i)) |
| 37 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 38 | variable [Module.Flat Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U))] |
| 39 | |
| 40 | def externalOpenSectionsModuleIso : |
| 41 | (tensorRight ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf)).obj |
| 42 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U)) ≅ |
| 43 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp f.appTop.hom) |
| 44 | (((L.pullback a).tensor (N.pullback b)).sheaf)).obj (op (b ⁻¹ᵁ U)) := by |
| 45 | let A := (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U) |
| 46 | let B := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom 0).obj L.sheaf |
| 47 | let E := ((L.pullback a).tensor (N.pullback b)).sheaf |
| 48 | let F := UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf E |
| 49 | let e₀ := Intrinsic.ExternalFactorAllCohomology.nativeExternalFactorAllCohomologyIso H L N U haU eU V hV ha he 0 |
| 50 | let e₁ := Cech.FactorDegreeZero.IntrinsicCech.cechFactorZeroCohomologyIso F (b ⁻¹ᵁ U) |
| 51 | let φ := e₀ ≪≫ e₁ |
| 52 | let C := (Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp f.appTop.hom) E).obj (op (b ⁻¹ᵁ U)) |
| 53 | let eLin : A ⊗[Γ(S, ⊤)] B ≃ₗ[Γ(S, ⊤)] C := |
| 54 | { toAddEquiv := φ.addCommGroupIsoToAddEquiv |
| 55 | map_smul' := by |
| 56 | intro r x |
| 57 | let s := UnderlyingAdditiveSheafExactness.ModuleSheaf.Hom.sheafHom |
| 58 | (Global.ModuleScalars.globalModuleScalar E ((a.appTop.hom.comp f.appTop.hom) r)) |
| 59 | let t := Open.FactorSheafNaturality.IntrinsicCech.cechOpenFactorMap s (b ⁻¹ᵁ U) |
| 60 | have hs : e₀.hom (r • x) = |
| 61 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology P) 0).map t (e₀.hom x) := by |
| 62 | have h := ConcreteCategory.congr_hom |
| 63 | (Intrinsic.ExternalZeroCohomologyScalars.nativeExternalFactorZeroCohomologyIso_scalar H L N U haU eU V hV ha he r) x |
| 64 | change e₀.hom (((r • (LinearMap.id : A →ₗ[Γ(S, ⊤)] A)).rTensor B) x) = _ at h |
| 65 | simp only [rTensor_smul_identity_apply, ConcreteCategory.comp_apply] at h |
| 66 | exact h |
| 67 | have ht : e₁.hom |
| 68 | ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology P) 0).map t (e₀.hom x)) = |
| 69 | s.hom.app (op (b ⁻¹ᵁ U)) (e₁.hom (e₀.hom x)) := |
| 70 | ConcreteCategory.congr_hom |
| 71 | (Open.FactorSheafNaturality.IntrinsicCech.cechFactorZeroCohomologyIso_sheaf_naturality s (b ⁻¹ᵁ U)) (e₀.hom x) |
| 72 | change e₁.hom (e₀.hom (r • x)) = r • (show C from e₁.hom (e₀.hom x)) |
| 73 | rw [hs, ht] |
| 74 | rfl } |
| 75 | exact eLin.toModuleIso |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.OpenSectionsLinearity |