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.Residue.TensorKernelInjection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.KernelScalarInjection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberModelIntrinsicExactness |
| 4 | |
| 5 | /-! # Fiber Kernel Tensor Injection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberKernelTensorInjection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Vanishing of first fiber cohomology makes the canonical tensor map of the original degree-zero kernel injective. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem fiber_native_kernel_mono_of_degree_one_exact |
| 16 | (S : Scheme.{u}) [IsAffine S] (x : S) |
| 17 | (D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) |
| 18 | [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 19 | [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 20 | [Module.Finite Γ(S, ⊤) (D.X 2)] [Module.Projective Γ(S, ⊤) (D.X 2)] |
| 21 | (h : (((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 22 | (.up ℕ)).obj D).ExactAt 1) : |
| 23 | Mono ((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).map |
| 24 | (ModuleCat.ofHom (D.d 0 1).hom.ker.subtype)) := by |
| 25 | let A := S.presheaf.stalk x |
| 26 | let : Algebra Γ(S, ⊤) A := (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 27 | have : Module.Flat Γ(S, ⊤) A := FiberScalar.FiberScalarMaps.stalk_flat S x |
| 28 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 0)) |
| 29 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 0)) |
| 30 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 1)) |
| 31 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 1)) |
| 32 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 2)) |
| 33 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 2)) |
| 34 | let i : ModuleCat.of Γ(S, ⊤) (D.d 0 1).hom.ker ⟶ D.X 0 := ModuleCat.ofHom (D.d 0 1).hom.ker.subtype |
| 35 | have hi := Residue.TensorKernelInjection.iterated_tensor_original_kernel_injective (B := IsLocalRing.ResidueField A) (D.sc' 0 1 2) |
| 36 | (FiberResidueModelExactness.fiber_model_residue_exact S x D h) |
| 37 | have hc : Mono ((ModuleCat.extendScalars (S.Γevaluation x).hom).map i) := |
| 38 | (Scalar.Monomorphisms.native_iterated_scalar_mono_iff (A := A) (B := IsLocalRing.ResidueField A) i).mpr hi |
| 39 | let a := (S.fromSpecResidueField x).appTop.hom |
| 40 | let b := (Scheme.ΓSpecIso (S.residueField x)).hom.hom |
| 41 | have he : b.comp a = (S.Γevaluation x).hom := |
| 42 | congrArg (fun q : Γ(S, ⊤) ⟶ S.residueField x => q.hom) (FiberScalar.FiberScalarMaps.fromResidue_appTop S x) |
| 43 | have hc' : Mono ((ModuleCat.extendScalars (b.comp a)).map i) := he.symm ▸ hc |
| 44 | have ht : Mono ((ModuleCat.extendScalars b).map ((ModuleCat.extendScalars a).map i)) := |
| 45 | (Scalar.Monomorphisms.mono_map_iff_of_functor_iso (ModuleCat.extendScalarsComp a b) i).mp hc' |
| 46 | exact (Scalar.Monomorphisms.native_scalar_mono_iff_of_faithfullyFlat b |
| 47 | (RingHom.FaithfullyFlat.of_bijective (Scheme.ΓSpecIso (S.residueField x)).commRingCatIsoToRingEquiv.bijective) |
| 48 | ((ModuleCat.extendScalars a).map i)).mp ht |
| 49 | |
| 50 | theorem fiber_model_kernel_tensor_injective_of_H1_vanishing |
| 51 | {S X : Scheme.{u}} [IsAffine S] [X.IsSeparated] (f : X ⟶ S) (L : Line.Bundles.LineBundle X) |
| 52 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 53 | (ha : ∀ i, IsAffineOpen (U i)) {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 54 | (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) (x : S) |
| 55 | [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 56 | [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 57 | [Module.Finite Γ(S, ⊤) (D.X 2)] [Module.Projective Γ(S, ⊤) (D.X 2)] |
| 58 | [QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra (S.fromSpecResidueField x)) φ ≫ |
| 59 | Geometric.CechTensorComparison.geometricCechTensorMap (IsPullback.of_hasPullback f (S.fromSpecResidueField x)) L.sheaf U) 1] |
| 60 | (hH : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback (f.fiberι x)).sheaf 1)) : |
| 61 | Function.Injective ((D.d 0 1).hom.ker.subtype.lTensor (Affine.TensorSectionComparison.morphismGlobalAlgebra (S.fromSpecResidueField x))) := by |
| 62 | have hn := FiberModelIntrinsicExactness.fiber_model_native_exact_of_H1_vanishing f L U hU ha φ x hH |
| 63 | have hi := fiber_native_kernel_mono_of_degree_one_exact S x D hn |
| 64 | exact Tensor.KernelScalarInjection.tensor_kernel_injective_of_native_mono (S.fromSpecResidueField x).appTop.hom (D.d 0 1) hi |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberKernelTensorInjection |