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.FiberResidueModelExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.KernelBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FaithfulScalarExactness |
| 4 | |
| 5 | /-! # Fiber Kernel Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberKernelExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Degree-one exactness of the actual fiber scalar extension makes the original differential-kernel sequence exact after that scalar extension. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | |
| 16 | theorem fiber_native_kernel_exact_of_degree_one_exact |
| 17 | (S : Scheme.{u}) [IsAffine S] (x : S) |
| 18 | (D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) |
| 19 | [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 20 | [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 21 | [Module.Finite Γ(S, ⊤) (D.X 2)] [Module.Projective Γ(S, ⊤) (D.X 2)] |
| 22 | (h : (((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 23 | (.up ℕ)).obj D).ExactAt 1) : |
| 24 | ((D.d 0 1).hom.shortComplexKer.map |
| 25 | (ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom)).Exact := by |
| 26 | let A := S.presheaf.stalk x |
| 27 | let : Algebra Γ(S, ⊤) A := (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 28 | have : Module.Flat Γ(S, ⊤) A := FiberScalar.FiberScalarMaps.stalk_flat S x |
| 29 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₁ := |
| 30 | inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 0)) |
| 31 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₁ := |
| 32 | inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 0)) |
| 33 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₂ := |
| 34 | inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 1)) |
| 35 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₂ := |
| 36 | inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 1)) |
| 37 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₃ := |
| 38 | inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 2)) |
| 39 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₃ := |
| 40 | inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 2)) |
| 41 | let C := (D.d 0 1).hom.shortComplexKer |
| 42 | have hi : (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex A (IsLocalRing.ResidueField A) |
| 43 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex Γ(S, ⊤) A C)).Exact := by |
| 44 | apply (ShortComplex.moduleCat_exact_iff_ker_sub_range _).mpr |
| 45 | intro z hz |
| 46 | exact Residue.KernelBaseChange.residue_cycle_mem_original_kernel_range (D.sc' 0 1 2) |
| 47 | (FiberResidueModelExactness.fiber_model_residue_exact S x D h) z hz |
| 48 | have hc : (C.map (ModuleCat.extendScalars (S.Γevaluation x).hom)).Exact := |
| 49 | (Iterated.TensorExactness.iterated_tensor_exact_iff_composite (A := A) (B := IsLocalRing.ResidueField A) C).mp hi |
| 50 | let a := (S.fromSpecResidueField x).appTop.hom |
| 51 | let b := (Scheme.ΓSpecIso (S.residueField x)).hom.hom |
| 52 | have he : b.comp a = (S.Γevaluation x).hom := |
| 53 | congrArg (fun q : Γ(S, ⊤) ⟶ S.residueField x => q.hom) (FiberScalar.FiberScalarMaps.fromResidue_appTop S x) |
| 54 | have hc' : (C.map (ModuleCat.extendScalars (b.comp a))).Exact := he.symm ▸ hc |
| 55 | have ht : ((C.map (ModuleCat.extendScalars a)).map (ModuleCat.extendScalars b)).Exact := |
| 56 | (ShortComplex.exact_iff_of_iso (C.mapNatIso (ModuleCat.extendScalarsComp a b))).mp hc' |
| 57 | exact (FaithfulScalarExactness.native_scalar_exact_iff_of_faithfullyFlat b |
| 58 | (RingHom.FaithfullyFlat.of_bijective |
| 59 | (Scheme.ΓSpecIso (S.residueField x)).commRingCatIsoToRingEquiv.bijective) _).mp ht |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberKernelExactness |