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.ProperFlat.GeometricCechModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.ModelBaseChangeLinearity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.ScalarExtensionKernel |
| 5 | |
| 6 | /-! # Model Positive Cohomology -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.ModelPositiveCohomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual geometric Cech model computes positive cohomology over |
| 13 | the full ring of functions on an affine test scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | def geometricModelPositiveCohomologyLinearEquiv |
| 19 | {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] [X.IsSeparated] |
| 20 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 21 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 22 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 23 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 24 | {C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 25 | (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) (n : ℕ) |
| 26 | [QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 27 | CechTensorComparison.geometricCechTensorMap H L.sheaf U) (n + 1)] : |
| 28 | letI : Algebra Γ(S, ⊤) Γ(Y, ⊤) := g.appTop.hom.toAlgebra; |
| 29 | (Cochain.ScalarExtensionKernel.cochainScalarExtension C Γ(Y, ⊤)).homology (n + 1) ≃ₗ[Γ(Y, ⊤)] |
| 30 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor b.appTop.hom (n + 1)).obj |
| 31 | (L.pullback a).sheaf) := by |
| 32 | let : Algebra Γ(S, ⊤) Γ(Y, ⊤) := g.appTop.hom.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 | let v := Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 38 | CechTensorComparison.geometricCechTensorPushforwardMap H L.sheaf U |
| 39 | let e := OrderedCech.PushforwardComplex.orderedCoefficientCechComplexPushforwardIso a f.appTop.hom |
| 40 | ((Scheme.Modules.pullback a).obj L.sheaf) U |
| 41 | have : QuasiIsoAt (v ≫ e.inv) (n + 1) := by |
| 42 | change QuasiIsoAt ((Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 43 | CechTensorComparison.geometricCechTensorPushforwardMap H L.sheaf U) ≫ e.inv) (n + 1) |
| 44 | rw [Category.assoc] |
| 45 | exact inferInstanceAs (QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 46 | CechTensorComparison.geometricCechTensorMap H L.sheaf U) (n + 1)) |
| 47 | have : QuasiIsoAt v (n + 1) := quasiIsoAt_of_comp_right v e.inv (n + 1) |
| 48 | have hlin : QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 49 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 50 | a f.appTop.hom L.sheaf b.appTop.hom |
| 51 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) U) (n + 1) := inferInstanceAs (QuasiIsoAt v (n + 1)) |
| 52 | exact @Positive.ModelBaseChangeLinearity.positiveCechModelBaseChangeLinearEquiv X P Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) _ _ _ |
| 53 | a f.appTop.hom L.sheaf b.appTop.hom |
| 54 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) ι _ U hU |
| 55 | (Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic (L.pullback a).sheaf |
| 56 | (fun i => a ⁻¹ᵁ U i) (fun i => (ha i).preimage a)) C φ n hlin |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.ModelPositiveCohomology |