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.PELModuli.IntegralModel.FiberVanishing |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.FiberResidueExactness |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ResidueKernelBaseChange |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.QuasicoherentAffinePullback |
| 6 | |
| 7 | /-! # Concrete Fiber Cycle Lifting -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConcreteFiberCycleLifting |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Vanishing of actual first fiber cohomology makes all degree-zero |
| 14 | residue cycles come from tensors of cycles of the original model. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | theorem model_actualFiber_residue_exact |
| 24 | {X S : Scheme.{u}} [IsAffine S] [X.IsSeparated] |
| 25 | (f : X ⟶ S) (M : X.Modules) [M.IsQuasicoherent] |
| 26 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 27 | (hU : IsOpenCover U) (ha : ∀ i, IsAffineOpen (U i)) |
| 28 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 29 | (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f M U) (x : S) |
| 30 | [QuasiIsoAt (Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap (f.fiberι x) f (f.fiberToSpecResidueField x) |
| 31 | (S.fromSpecResidueField x) (f.fiber_fac x) M U φ) 1] |
| 32 | [Subsingleton (SheafCohomology.AffineH.Projective.H ((Scheme.Modules.pullback (f.fiberι x)).obj M) 1)] : |
| 33 | letI : Algebra Γ(S, ⊤) (S.presheaf.stalk x) := |
| 34 | (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 35 | (Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex (S.presheaf.stalk x) |
| 36 | (IsLocalRing.ResidueField (S.presheaf.stalk x)) |
| 37 | (Quotients.FiniteDescent.ModuleBaseChangeComplex.Construction.LocalSectionLifting.moduleBaseChangeComplex Γ(S, ⊤) (S.presheaf.stalk x) |
| 38 | (D.sc' 0 1 2))).Exact := by |
| 39 | have : IsAffineHom (f.fiberι x) := |
| 40 | MorphismProperty.pullback_fst f (S.fromSpecResidueField x) inferInstance |
| 41 | have : ((Scheme.Modules.pullback (f.fiberι x)).obj M).IsQuasicoherent := |
| 42 | SheafCohomology.Projective.QuasicoherentAffinePullback.quasicoherent_pullback_of_isAffineHom (f.fiberι x) M |
| 43 | have : (f.fiber x).IsSeparated := |
| 44 | ⟨by rw [← terminal.comp_from (f.fiberι x)]; infer_instance⟩ |
| 45 | apply FiberResidueExactness.fiber_model_residue_exact S x D |
| 46 | exact FiberVanishing.model_baseChange_exactAt_of_fiber_vanishing (f.fiberι x) f |
| 47 | (f.fiberToSpecResidueField x) (S.fromSpecResidueField x) (f.fiber_fac x) M U hU |
| 48 | (fun i => (ha i).preimage (f.fiberι x)) φ 1 |
| 49 | |
| 50 | theorem actualFiber_residue_cycle_mem_original_kernel_range |
| 51 | {X S : Scheme.{u}} [IsAffine S] [X.IsSeparated] |
| 52 | (f : X ⟶ S) (M : X.Modules) [M.IsQuasicoherent] |
| 53 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 54 | (hU : IsOpenCover U) (ha : ∀ i, IsAffineOpen (U i)) |
| 55 | {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 56 | (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f M U) (x : S) |
| 57 | [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 58 | [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 59 | [Module.Finite Γ(S, ⊤) (D.X 2)] [Module.Projective Γ(S, ⊤) (D.X 2)] |
| 60 | [QuasiIsoAt (Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap (f.fiberι x) f (f.fiberToSpecResidueField x) |
| 61 | (S.fromSpecResidueField x) (f.fiber_fac x) M U φ) 1] |
| 62 | [Subsingleton (SheafCohomology.AffineH.Projective.H ((Scheme.Modules.pullback (f.fiberι x)).obj M) 1)] : |
| 63 | letI : Algebra Γ(S, ⊤) (S.presheaf.stalk x) := |
| 64 | (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 65 | ∀ z : IsLocalRing.ResidueField (S.presheaf.stalk x) ⊗[S.presheaf.stalk x] |
| 66 | ((S.presheaf.stalk x) ⊗[Γ(S, ⊤)] D.X 0), |
| 67 | ((D.d 0 1).hom.baseChange (S.presheaf.stalk x)).baseChange |
| 68 | (IsLocalRing.ResidueField (S.presheaf.stalk x)) z = 0 → |
| 69 | z ∈ (((D.d 0 1).hom.ker.subtype.baseChange (S.presheaf.stalk x)).baseChange |
| 70 | (IsLocalRing.ResidueField (S.presheaf.stalk x))).range := by |
| 71 | let : Algebra Γ(S, ⊤) (S.presheaf.stalk x) := |
| 72 | (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 73 | have : Module.Flat Γ(S, ⊤) (S.presheaf.stalk x) := Quotients.FiniteDescent.FiberScalar.Construction.FiberScalarMaps.stalk_flat S x |
| 74 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 0)) |
| 75 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 0)) |
| 76 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 1)) |
| 77 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 1)) |
| 78 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 2)) |
| 79 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 2)) |
| 80 | exact ResidueKernelBaseChange.residue_cycle_mem_original_kernel_range (D.sc' 0 1 2) |
| 81 | (model_actualFiber_residue_exact f M U hU ha φ x) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConcreteFiberCycleLifting |