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.Positive.ModelBaseChangeLinearity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.CoefficientCechComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity |
| 4 | |
| 5 | /-! # Positive Base Change Linearity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.PositiveBaseChangeLinearity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual affine test algebra has a linear positive-degree comparison |
| 12 | with the universal finite Cech model; no special coefficient-map hypothesis is needed. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | def specModelPositiveCohomologyLinearEquiv |
| 17 | {S X : Scheme.{u}} [IsAffine S] [X.IsSeparated] |
| 18 | {B : Type u} [CommRing B] {P : Scheme.{u}} |
| 19 | {a : P ⟶ X} {b : P ⟶ Spec (.of B)} {f : X ⟶ S} {g : Spec (.of B) ⟶ S} |
| 20 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 21 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 22 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 23 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 24 | {C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 25 | (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) |
| 26 | (ht : ∀ (M : Type u) [AddCommGroup M] [Module Γ(S, ⊤) M], QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map M φ)) |
| 27 | (n : ℕ) : |
| 28 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra; |
| 29 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor Γ(S, ⊤) B).mapHomologicalComplex (.up ℕ)).obj C).homology (n + 1)) ≃ₗ[B] |
| 30 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) (n + 1)).obj |
| 31 | (L.pullback a).sheaf) := by |
| 32 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra |
| 33 | have : IsAffineHom g := isAffineHom_of_isAffine _ |
| 34 | have : IsAffineHom a := isAffineHom_isStableUnderBaseChange.of_isPullback H.flip inferInstance |
| 35 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from a]; infer_instance⟩ |
| 36 | have : (L.pullback a).sheaf.IsQuasicoherent := (L.pullback a).isQuasicoherent |
| 37 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 38 | have : QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 39 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a f.appTop.hom L.sheaf (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) |
| 40 | (CoefficientCechComparison.specPullbackCoefficient_compatible H) U) (n + 1) := |
| 41 | CoefficientCechComparison.spec_affineFrame_coefficientCechModel_quasiIsoAt (H := H) (U := U) L ha he φ (n + 1) |
| 42 | exact Positive.ModelBaseChangeLinearity.positiveCechModelBaseChangeLinearEquiv a f.appTop.hom L.sheaf |
| 43 | (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) (CoefficientCechComparison.specPullbackCoefficient_compatible H) U hU |
| 44 | (Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic (L.pullback a).sheaf |
| 45 | (fun i => a ⁻¹ᵁ U i) (fun i => (ha i).preimage a)) φ n |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.PositiveBaseChangeLinearity |