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.Affine.GeometricSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenModule.PullbackSquare |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictedSectionBases |
| 4 | |
| 5 | /-! # Restricted Pullback Basis -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RestrictedPullbackBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual basis of a comparison sheaf on a preimage open gives a basis of the affine scalar extension of the original sheaf's sections. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 13 | universe u |
| 14 | variable {X Y : Scheme.{u}} (f : Y ⟶ X) (U : X.Opens) |
| 15 | [IsAffine U.toScheme] [IsAffine (f ⁻¹ᵁ U).toScheme] |
| 16 | (M : X.Modules) [M.IsQuasicoherent] (Q : Y.Modules) |
| 17 | |
| 18 | def affineRestrictedPullbackBasis |
| 19 | (e : (Scheme.Modules.pullback f).obj M ≅ Q) |
| 20 | (basis : Γ(Q, f ⁻¹ᵁ U) ≃ₗ[Γ(Y, f ⁻¹ᵁ U)] Γ(Y, f ⁻¹ᵁ U)) : |
| 21 | letI : Algebra Γ(U.toScheme, ⊤) Γ((f ⁻¹ᵁ U).toScheme, ⊤) := |
| 22 | (f ∣_ U).appTop.hom.toAlgebra |
| 23 | Γ((f ⁻¹ᵁ U).toScheme, ⊤) ⊗[Γ(U.toScheme, ⊤)] Γ(M.restrict U.ι, ⊤) ≃ₗ[ |
| 24 | Γ((f ⁻¹ᵁ U).toScheme, ⊤)] Γ((f ⁻¹ᵁ U).toScheme, ⊤) := by |
| 25 | letI : Algebra Γ(U.toScheme, ⊤) Γ((f ⁻¹ᵁ U).toScheme, ⊤) := |
| 26 | (f ∣_ U).appTop.hom.toAlgebra |
| 27 | let comparison : (Scheme.Modules.pullback (f ∣_ U)).obj (M.restrict U.ι) ≅ |
| 28 | Q.restrict (f ⁻¹ᵁ U).ι := |
| 29 | (OpenModule.PullbackSquare.OpenPullbackSquare.adjointPullbackSquare f U).app M ≪≫ |
| 30 | (Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).mapIso e |
| 31 | exact (GeometricSections.AffineGeometricSections.iso (f ∣_ U) (M.restrict U.ι)).toLinearEquiv ≪≫ₗ |
| 32 | ((SectionAdjunction.AffineSectionAdjunction.sections (f ⁻¹ᵁ U).toScheme).mapIso comparison).toLinearEquiv ≪≫ₗ |
| 33 | Open.RestrictedSectionBases.moduleRestrictTopBasisEquiv Q (f ⁻¹ᵁ U) basis |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.RestrictedPullbackBasis |