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.Cech.TensorCoefficientChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineCechTensorIsomorphism |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Coefficient Cech Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.CoefficientCechComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The coordinate ring of an affine test scheme is identified with its actual global functions. This transports the genuine Cartesian Cech comparison to the coordinate ring, with the coefficient action determined by the scheme morphism itself. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {S : Scheme.{u}} {B : Type u} [CommRing B] |
| 15 | |
| 16 | def specBaseCoefficientMap (g : Spec (.of B) ⟶ S) : Γ(S, ⊤) →+* B := |
| 17 | (Scheme.ΓSpecIso (.of B)).hom.hom.comp g.appTop.hom |
| 18 | |
| 19 | def specBaseCoefficientEquiv (g : Spec (.of B) ⟶ S) : |
| 20 | letI : Algebra Γ(S, ⊤) B := (specBaseCoefficientMap g).toAlgebra |
| 21 | B ≃ₐ[Γ(S, ⊤)] Affine.TensorSectionComparison.morphismGlobalAlgebra g := by |
| 22 | letI : Algebra Γ(S, ⊤) B := (specBaseCoefficientMap g).toAlgebra |
| 23 | refine { (Scheme.ΓSpecIso (.of B)).commRingCatIsoToRingEquiv.symm with commutes' := ?_ } |
| 24 | intro x |
| 25 | change (Scheme.ΓSpecIso (.of B)).inv ((Scheme.ΓSpecIso (.of B)).hom (g.appTop x)) = g.appTop x |
| 26 | exact ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of B)).hom_inv_id (g.appTop x) |
| 27 | |
| 28 | theorem specBaseCoefficientMap_surjective [IsAffine S] |
| 29 | (g : Spec (.of B) ⟶ S) [IsClosedImmersion g] : Function.Surjective (specBaseCoefficientMap g) := |
| 30 | (Scheme.ΓSpecIso (.of B)).commRingCatIsoToRingEquiv.surjective.comp |
| 31 | (IsClosedImmersion.isAffine_surjective_of_isAffine g).2 |
| 32 | |
| 33 | variable {X P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Spec (.of B)} |
| 34 | variable {f : X ⟶ S} {g : Spec (.of B) ⟶ S} (H : IsPullback a b f g) |
| 35 | |
| 36 | def specPullbackCoefficientMap : B →+* Γ(P, ⊤) := |
| 37 | b.appTop.hom.comp (Scheme.ΓSpecIso (.of B)).inv.hom |
| 38 | |
| 39 | include H in |
| 40 | theorem specPullbackCoefficient_compatible : |
| 41 | letI : Algebra Γ(S, ⊤) B := (specBaseCoefficientMap g).toAlgebra |
| 42 | (specPullbackCoefficientMap (b := b)).comp (algebraMap Γ(S, ⊤) B) = a.appTop.hom.comp f.appTop.hom := by |
| 43 | let : Algebra Γ(S, ⊤) B := (specBaseCoefficientMap g).toAlgebra |
| 44 | ext x |
| 45 | exact (congrArg b.appTop ((specBaseCoefficientEquiv g).commutes x)).trans |
| 46 | (DFunLike.congr_fun (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) x) |
| 47 | |
| 48 | variable (M : X.Modules) {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 49 | |
| 50 | theorem spec_coefficientCechModel_quasiIsoAt |
| 51 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 52 | (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom M U) (n : ℕ) |
| 53 | [hψ : QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 54 | Geometric.CechTensorComparison.geometricCechTensorPushforwardMap H M U) n] : |
| 55 | letI : Algebra Γ(S, ⊤) B := (specBaseCoefficientMap g).toAlgebra |
| 56 | QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 57 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a f.appTop.hom M (specPullbackCoefficientMap (b := b)) |
| 58 | (specPullbackCoefficient_compatible H) U) n := by |
| 59 | let : Algebra Γ(S, ⊤) B := (specBaseCoefficientMap g).toAlgebra |
| 60 | let K := Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom M U |
| 61 | let E := Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom |
| 62 | ((Scheme.Modules.pushforward a).obj ((Scheme.Modules.pullback a).obj M)) U |
| 63 | let u : Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) D ⟶ |
| 64 | Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) K := |
| 65 | Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ |
| 66 | let v : Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) K ⟶ E := |
| 67 | Geometric.CechTensorComparison.geometricCechTensorPushforwardMap H M U |
| 68 | let w : Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) K ⟶ E := |
| 69 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) a f.appTop.hom M |
| 70 | b.appTop.hom (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) U |
| 71 | have he : v = w := rfl |
| 72 | have hv : QuasiIsoAt (u ≫ v) n := hψ |
| 73 | have hw : QuasiIsoAt (u ≫ w) n := |
| 74 | (congrArg (fun z : Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) K ⟶ E => |
| 75 | QuasiIsoAt (u ≫ z) n) he).mp hv |
| 76 | exact Cech.TensorCoefficientChange.coefficientCechModel_quasiIsoAt_of_coefficient_equiv (C := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 77 | (hψ := hw) |
| 78 | a f.appTop.hom M (specPullbackCoefficientMap (b := b)) b.appTop.hom |
| 79 | (specPullbackCoefficient_compatible H) (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) U |
| 80 | (specBaseCoefficientEquiv g) rfl φ n |
| 81 | |
| 82 | theorem spec_affineFrame_coefficientCechModel_quasiIsoAt |
| 83 | [IsAffine S] [X.IsSeparated] [Finite ι] |
| 84 | (L : Line.Bundles.LineBundle X) |
| 85 | (ha : ∀ i, IsAffineOpen (U i)) |
| 86 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 87 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 88 | (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) (n : ℕ) |
| 89 | [QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ) n] : |
| 90 | letI : Algebra Γ(S, ⊤) B := (specBaseCoefficientMap g).toAlgebra |
| 91 | QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 92 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a f.appTop.hom L.sheaf (specPullbackCoefficientMap (b := b)) |
| 93 | (specPullbackCoefficient_compatible H) U) n := by |
| 94 | have : IsIso (Geometric.CechTensorComparison.geometricCechTensorPushforwardMap H L.sheaf U) := |
| 95 | Framed.AffineCechTensorIsomorphism.geometricCechTensorPushforwardMap_isIso H L U ha he |
| 96 | have : QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 97 | Geometric.CechTensorComparison.geometricCechTensorPushforwardMap H L.sheaf U) n := inferInstance |
| 98 | exact spec_coefficientCechModel_quasiIsoAt H L.sheaf U φ n |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.CoefficientCechComparison |