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.FiberKernelExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberKernelTensorInjection |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | import Mathlib.AlgebraicGeometry.ResidueField |
| 5 | |
| 6 | /-! # Point Kernel Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointKernelBaseChange |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exactness and injectivity of the finite model's kernel sequence on |
| 13 | residue fibers persist at every field-valued point, by its canonical |
| 14 | factorization through the residue field and flat extension of fields. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry IsLocalRing |
| 16 | universe u |
| 17 | |
| 18 | theorem fieldPoint_native_kernel_exact_and_mono |
| 19 | (S : Scheme.{u}) [IsAffine S] (D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) |
| 20 | [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 21 | [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 22 | [Module.Finite Γ(S, ⊤) (D.X 2)] [Module.Projective Γ(S, ⊤) (D.X 2)] |
| 23 | (hD : ∀ x : S, (((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 24 | (.up ℕ)).obj D).ExactAt 1) |
| 25 | (K : Type u) [Field K] (b : Spec (.of K) ⟶ S) : |
| 26 | ((D.d 0 1).hom.shortComplexKer.map (ModuleCat.extendScalars b.appTop.hom)).Exact ∧ |
| 27 | Mono ((ModuleCat.extendScalars b.appTop.hom).map |
| 28 | (ModuleCat.ofHom (D.d 0 1).hom.ker.subtype)) := by |
| 29 | let x := b (closedPoint K) |
| 30 | let φ : S.residueField x ⟶ .of K := S.descResidueField (Scheme.stalkClosedPointTo b) |
| 31 | let c := Spec.map φ |
| 32 | have hc : c ≫ S.fromSpecResidueField x = b := |
| 33 | Scheme.descResidueField_stalkClosedPointTo_fromSpecResidueField K S b |
| 34 | let : Algebra (S.residueField x) K := φ.hom.toAlgebra |
| 35 | have : Flat c := (HasRingHomProperty.Spec_iff (P := @Flat)).mpr |
| 36 | (RingHom.flat_algebraMap_iff.mpr (inferInstance : Module.Flat (S.residueField x) K)) |
| 37 | have hflat : c.appTop.hom.Flat := HasRingHomProperty.appTop (P := @Flat) c inferInstance |
| 38 | let F := ModuleCat.extendScalars c.appTop.hom |
| 39 | have : PreservesFiniteLimits F := ModuleCat.preservesFiniteLimits_extendScalars_of_flat hflat |
| 40 | let a := (S.fromSpecResidueField x).appTop.hom |
| 41 | have he : c.appTop.hom.comp a = b.appTop.hom := |
| 42 | congrArg (fun f : Spec (.of K) ⟶ S => f.appTop.hom) hc |
| 43 | let C := (D.d 0 1).hom.shortComplexKer |
| 44 | have hC : (C.map (ModuleCat.extendScalars a)).Exact := |
| 45 | FiberKernelExactness.fiber_native_kernel_exact_of_degree_one_exact S x D (hD x) |
| 46 | have hCt : (C.map (ModuleCat.extendScalars (c.appTop.hom.comp a))).Exact := |
| 47 | (ShortComplex.exact_iff_of_iso (C.mapNatIso (ModuleCat.extendScalarsComp a c.appTop.hom))).mpr |
| 48 | (hC.map F) |
| 49 | let i : ModuleCat.of Γ(S, ⊤) (D.d 0 1).hom.ker ⟶ D.X 0 := |
| 50 | ModuleCat.ofHom (D.d 0 1).hom.ker.subtype |
| 51 | have : Mono ((ModuleCat.extendScalars a).map i) := |
| 52 | FiberKernelTensorInjection.fiber_native_kernel_mono_of_degree_one_exact S x D (hD x) |
| 53 | have hi : Mono ((ModuleCat.extendScalars (c.appTop.hom.comp a)).map i) := |
| 54 | (Scalar.Monomorphisms.mono_map_iff_of_functor_iso (ModuleCat.extendScalarsComp a c.appTop.hom) i).mpr |
| 55 | (inferInstance : Mono (F.map ((ModuleCat.extendScalars a).map i))) |
| 56 | rw [he] at hCt hi |
| 57 | exact ⟨hCt, hi⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointKernelBaseChange |