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.SectionSpanning |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PushforwardModuleComparison |
| 3 | |
| 4 | /-! # Tensor Coefficient Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.TensorCoefficientDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Surjectivity of the actual section pairing over an original coefficient ring implies surjectivity of the native Cartesian comparison over all functions on the base. The proof uses the same scalar functions and pulled-back sections. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | |
| 15 | private def coefficientPushforwardTopSectionsAddEquiv |
| 16 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] |
| 17 | (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : Y.Modules) : |
| 18 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c ((Scheme.Modules.pushforward a).obj M)).obj (op ⊤) ≃+ Γ(M, ⊤) := |
| 19 | (Coefficient.PushforwardModuleComparison.coefficientPushforwardModuleComponent a c M ⊤).toAddEquiv |
| 20 | |
| 21 | theorem cartesian_sectionTensor_surjective_of_coefficient_pairing |
| 22 | {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 23 | (H : IsPullback a b f g) (M : X.Modules) |
| 24 | {R : Type u} [CommRing R] [Algebra R (Affine.TensorSectionComparison.morphismGlobalAlgebra g)] |
| 25 | (c : R →+* Γ(X, ⊤)) |
| 26 | (hc : b.appTop.hom.comp (algebraMap R (Affine.TensorSectionComparison.morphismGlobalAlgebra g)) = a.appTop.hom.comp c) |
| 27 | (h : Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 28 | a c M b.appTop.hom hc ⊤)) : |
| 29 | Function.Surjective ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (op ⊤)) := by |
| 30 | let L : P.Modules := (Scheme.Modules.pullback a).obj M |
| 31 | let E := coefficientPushforwardTopSectionsAddEquiv a f.appTop.hom L |
| 32 | let F : TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 33 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (op ⊤)) →+ Γ(L, ⊤) := |
| 34 | E.toAddMonoidHom.comp ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (op ⊤)).hom.toAddMonoidHom |
| 35 | intro y |
| 36 | let t : Line.Bundles.structureModule P ⟶ L := (Global.Sections.moduleSectionHomEquiv L).symm (E y) |
| 37 | obtain ⟨k, q, s, ht⟩ := Coefficient.SectionSpanning.coefficient_sections_spanned_of_tensor_surjective |
| 38 | (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) a c M b.appTop.hom hc h t |
| 39 | let x : Fin k → (Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (op ⊤) := |
| 40 | fun i => Global.Sections.moduleSectionHomEquiv M (s i) |
| 41 | refine ⟨∑ i, q i ⊗ₜ[Γ(S, ⊤)] x i, ?_⟩ |
| 42 | apply E.injective |
| 43 | change F (∑ i, q i ⊗ₜ[Γ(S, ⊤)] x i) = E y |
| 44 | let σ : Fin k → (Line.Bundles.structureModule P ⟶ L) := |
| 45 | fun i => Scalar.SectionValues.scalarSection (b.appTop (q i)) (Ample.LineBundles.pullbackSection a (s i)) |
| 46 | have hF (z : TensorProduct Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 47 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (op ⊤))) : |
| 48 | F z = E ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (op ⊤) z) := rfl |
| 49 | have hsum : (∑ i, F (q i ⊗ₜ[Γ(S, ⊤)] x i)) = ∑ i, Global.Sections.moduleSectionHomEquiv L (σ i) := by |
| 50 | apply Finset.sum_congr rfl |
| 51 | intro i _ |
| 52 | have hi := Tensor.ScalarSectionValues.tensorComparison_scalarSectionValue H M (q i) (x i) |
| 53 | have hi' : E ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (op ⊤) |
| 54 | (q i ⊗ₜ[Γ(S, ⊤)] x i)) = Global.Sections.moduleSectionHomEquiv L (σ i) := by |
| 55 | change (show Γ(L, ⊤) from (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (op ⊤) |
| 56 | (q i ⊗ₜ[Γ(S, ⊤)] x i)) = Global.Sections.moduleSectionHomEquiv L (σ i) |
| 57 | simpa only [x, σ, L, Equiv.symm_apply_apply] using hi |
| 58 | exact (hF _).trans hi' |
| 59 | have hs : (∑ i, Global.Sections.moduleSectionHomEquiv L (σ i)) = Global.Sections.moduleSectionHomEquiv L t := |
| 60 | (Module.SectionValueAdditive.moduleSectionHomEquiv_sum L Finset.univ σ).symm.trans |
| 61 | (congrArg (Global.Sections.moduleSectionHomEquiv L) ht.symm) |
| 62 | exact (map_sum F _ _).trans (hsum.trans (hs.trans ((Global.Sections.moduleSectionHomEquiv L).apply_symm_apply (E y)))) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.TensorCoefficientDetection |