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 Mathlib.AlgebraicGeometry.Fiber |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.QuotientSectionSurjectivity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuotientCoefficientMap |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.CoefficientComposition |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.TensorCoefficientSurjectivity |
| 6 | |
| 7 | /-! # Quotient Residue Sections -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.QuotientResidueSections |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Quotienting by the coefficients of the actual minimal first differential gives surjectivity of the native residue-fiber section comparison. The quotient and residue coefficient maps, their scalar tower, and the geometric model comparisons are derived from the actual affine schemes. -/ |
| 14 | set_option backward.dsimp.instances true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | universe u |
| 18 | |
| 19 | theorem minimal_quotient_residue_sectionTensor_surjective |
| 20 | {S X : Scheme.{u}} [IsAffine S] [X.IsSeparated] [IsLocalRing Γ(S, ⊤)] |
| 21 | (f : X ⟶ S) (L : Line.Bundles.LineBundle X) |
| 22 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 23 | (ha : ∀ i, IsAffineOpen (U i)) |
| 24 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 25 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 26 | (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) |
| 27 | (ht : ∀ (A : Type u) [AddCommGroup A] [Module Γ(S, ⊤) A], QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map A φ)) |
| 28 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (D.sc' 0 1 2)) : |
| 29 | let I := Q.firstDifferentialIdeal |
| 30 | let t := Affine.QuotientCoefficientMap.affineCoordinateMap (S := S) (Ideal.Quotient.mk I) |
| 31 | let b := pullback.snd f t |
| 32 | ∀ x : Spec (.of (Γ(S, ⊤) ⧸ I)), |
| 33 | Function.Surjective ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison |
| 34 | (IsPullback.of_hasPullback b ((Spec (.of (Γ(S, ⊤) ⧸ I))).fromSpecResidueField x)) |
| 35 | (L.pullback (pullback.fst f t)).sheaf).app (op ⊤)) := by |
| 36 | let R := Γ(S, ⊤) |
| 37 | let I : Ideal R := Q.firstDifferentialIdeal |
| 38 | let B := R ⧸ I |
| 39 | let : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 40 | let : Module R B := Algebra.toModule |
| 41 | let T := Spec (.of B) |
| 42 | let t : T ⟶ S := Affine.QuotientCoefficientMap.affineCoordinateMap (Ideal.Quotient.mk I) |
| 43 | let Y := pullback f t |
| 44 | let g : Y ⟶ X := pullback.fst f t |
| 45 | let b : Y ⟶ T := pullback.snd f t |
| 46 | let HB : IsPullback g b f t := IsPullback.of_hasPullback f t |
| 47 | change ∀ x : T, Function.Surjective ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison |
| 48 | (IsPullback.of_hasPullback b (T.fromSpecResidueField x)) (L.pullback g).sheaf).app (op ⊤)) |
| 49 | intro x |
| 50 | let C := T.residueField x |
| 51 | let j : Spec C ⟶ T := T.fromSpecResidueField x |
| 52 | let P := b.fiber x |
| 53 | let a : P ⟶ Y := b.fiberι x |
| 54 | let c : P ⟶ Spec C := b.fiberToSpecResidueField x |
| 55 | let HC : IsPullback a c b j := IsPullback.of_hasPullback b j |
| 56 | let HD : IsPullback (a ≫ g) c f (j ≫ t) := HC.paste_horiz HB |
| 57 | let : Algebra B C := (HilbertConstruction.Spec.CoefficientComposition.specCoordinateRingMap j).toAlgebra |
| 58 | let : Algebra R C := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap (j ≫ t)).toAlgebra |
| 59 | let : Algebra Γ(S, ⊤) (IsLocalRing.ResidueField (T.presheaf.stalk x)) := |
| 60 | (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap (j ≫ t)).toAlgebra |
| 61 | have hAlg : (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap t).toAlgebra = (inferInstance : Algebra R B) := |
| 62 | Affine.QuotientCoefficientMap.affineQuotientCoefficientAlgebra_eq I |
| 63 | have hm : HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap t = algebraMap R B := |
| 64 | Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap (Ideal.Quotient.mk I) |
| 65 | have : IsScalarTower R B C := by |
| 66 | apply IsScalarTower.of_algebraMap_eq' |
| 67 | exact ((congrArg (fun q : R →+* B => (HilbertConstruction.Spec.CoefficientComposition.specCoordinateRingMap j).comp q) hm.symm).trans |
| 68 | (HilbertConstruction.Spec.CoefficientComposition.specCoordinateRingMap_comp j t)).symm |
| 69 | let qB : B →+* Γ(Y, ⊤) := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := b) |
| 70 | let qC : C →+* Γ(P, ⊤) := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := c) |
| 71 | have hqB : qB.comp (algebraMap R B) = g.appTop.hom.comp f.appTop.hom := by |
| 72 | have hh := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficient_compatible HB |
| 73 | change qB.comp (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap t) = g.appTop.hom.comp f.appTop.hom at hh |
| 74 | exact (congrArg (fun q : R →+* B => qB.comp q) hm.symm).trans hh |
| 75 | have hqC : qC.comp (algebraMap R C) = (a ≫ g).appTop.hom.comp f.appTop.hom := |
| 76 | HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficient_compatible HD |
| 77 | have hα : qC.comp (algebraMap B C) = a.appTop.hom.comp qB := |
| 78 | HilbertConstruction.Spec.CoefficientComposition.specPullbackCoefficient_refinement a b c j HC.w |
| 79 | have hB : QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 80 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap g f.appTop.hom L.sheaf qB hqB U) 0 := by |
| 81 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra t) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra t) |
| 82 | have hcomparison := HilbertConstruction.Spec.CoefficientCechComparison.spec_affineFrame_coefficientCechModel_quasiIsoAt HB U L ha he φ 0 |
| 83 | let property (alg : Algebra R B) : Prop := |
| 84 | letI : Algebra R B := alg |
| 85 | letI : Module R B := Algebra.toModule |
| 86 | ∀ hq : qB.comp (algebraMap R B) = g.appTop.hom.comp f.appTop.hom, |
| 87 | QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 88 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap g f.appTop.hom L.sheaf qB hq U) 0 |
| 89 | have hp : property (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap t).toAlgebra := by |
| 90 | intro hq |
| 91 | exact hcomparison |
| 92 | have hp' : property (inferInstance : Algebra R B) := hAlg ▸ hp |
| 93 | exact hp' hqB |
| 94 | have hC : QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map C φ ≫ |
| 95 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap (a ≫ g) f.appTop.hom L.sheaf qC hqC U) 0 := by |
| 96 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra (j ≫ t)) φ) := |
| 97 | ht (Affine.TensorSectionComparison.morphismGlobalAlgebra (j ≫ t)) |
| 98 | exact HilbertConstruction.Spec.CoefficientCechComparison.spec_affineFrame_coefficientCechModel_quasiIsoAt HD U L ha he φ 0 |
| 99 | have hsurj : Function.Surjective (algebraMap R B) := by |
| 100 | simpa only [Ideal.Quotient.algebraMap_eq] using! (Ideal.Quotient.mk_surjective (I := I)) |
| 101 | have hQ : Q.complex.f.hom.baseChange B = 0 := Q.firstDifferential_quotient_zero |
| 102 | have hs := QuotientSectionSurjectivity.minimal_quotient_sectionTensor_surjective |
| 103 | a g f.appTop.hom L.sheaf qB qC hqB hqC U hsurj hU hα φ Q hQ |
| 104 | exact Section.TensorCoefficientSurjectivity.cartesian_sectionTensor_surjective_of_spec_pairing HC (L.pullback g).sheaf |
| 105 | (g.appTop.hom.comp f.appTop.hom) |
| 106 | (Iterated.SectionTensorValues.sectionTensor_composite_coefficients a g f.appTop.hom qC hqC) hs |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.QuotientResidueSections |