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.Coefficient.ModelFirstCycles |
| 2 | |
| 3 | /-! # Model Residue Linearity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModelResidueLinearity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! For surjective coefficient changes, the actual model's first-cycle/section comparison is linear over the final coefficient ring. In particular, the first rank of a local minimal model equals the dimension of the actual residue-fiber sections over the residue field. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 11 | open scoped TensorProduct |
| 12 | universe u |
| 13 | section |
| 14 | |
| 15 | variable {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 16 | |
| 17 | def baseChangeFirstCyclesTensorLinearEquiv (D : CochainComplex (ModuleCat.{u} R) ℕ) : |
| 18 | LinearMap.ker ((D.d 0 1).hom.baseChange B) ≃ₗ[R] |
| 19 | LinearMap.ker ((HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex B D).d 0 1).hom where |
| 20 | __ := ModelFirstCycles.baseChangeFirstCyclesTensorEquiv (B := B) D |
| 21 | map_add' _ _ := Subtype.ext rfl |
| 22 | map_smul' _ _ := Subtype.ext rfl |
| 23 | |
| 24 | private theorem coefficientSections_scalar_of_comp |
| 25 | {Y : Scheme.{u}} (L : Y.Modules) (q : B →+* Γ(Y, ⊤)) (c : R →+* Γ(Y, ⊤)) |
| 26 | (hq : q.comp (algebraMap R B) = c) (r : R) |
| 27 | (x : (ModulePresheaf.coefficientModulePresheaf q L).obj (op ⊤)) : |
| 28 | (algebraMap R B r) • x = |
| 29 | (show (ModulePresheaf.coefficientModulePresheaf q L).obj (op ⊤) from |
| 30 | r • (show (ModulePresheaf.coefficientModulePresheaf c L).obj (op ⊤) from x)) := by |
| 31 | change q (algebraMap R B r) • (show (Global.RingModulePresheaf.globalRingModulePresheaf L).obj (op ⊤) from x) = |
| 32 | c r • (show (Global.RingModulePresheaf.globalRingModulePresheaf L).obj (op ⊤) from x) |
| 33 | exact congrArg (fun z : Γ(Y, ⊤) => z • |
| 34 | (show (Global.RingModulePresheaf.globalRingModulePresheaf L).obj (op ⊤) from x)) (DFunLike.congr_fun hq r) |
| 35 | |
| 36 | variable {X Y : Scheme.{u}} (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 37 | variable (q : B →+* Γ(Y, ⊤)) (hq : q.comp (algebraMap R B) = a.appTop.hom.comp c) |
| 38 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 39 | variable {D : CochainComplex (ModuleCat.{u} R) ℕ} |
| 40 | variable (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U) |
| 41 | variable [hψ : QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 42 | SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a c M q hq U) 0] |
| 43 | |
| 44 | def coefficientCechModelFirstCyclesRLinearEquiv : |
| 45 | LinearMap.ker ((D.d 0 1).hom.baseChange B) ≃ₗ[R] |
| 46 | (ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp c) ((Scheme.Modules.pullback a).obj M)).obj (op ⊤) := by |
| 47 | let L := (Scheme.Modules.pullback a).obj M |
| 48 | let N := (Scheme.Modules.pushforward a).obj L |
| 49 | let ψ := HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a c M q hq U |
| 50 | have : QuasiIsoAt ψ 0 := hψ |
| 51 | exact (baseChangeFirstCyclesTensorLinearEquiv (B := B) D).trans |
| 52 | ((Cech.ModelGlobalSections.CechModelSections.equiv c N U hU ψ).trans (PushforwardModuleComparison.coefficientPushforwardModuleComponent a c L ⊤)) |
| 53 | |
| 54 | def coefficientCechModelFirstCyclesLinearEquiv |
| 55 | (hs : Function.Surjective (algebraMap R B)) : |
| 56 | LinearMap.ker ((D.d 0 1).hom.baseChange B) ≃ₗ[B] |
| 57 | (ModulePresheaf.coefficientModulePresheaf q ((Scheme.Modules.pullback a).obj M)).obj (op ⊤) := by |
| 58 | let L := (Scheme.Modules.pullback a).obj M |
| 59 | let V := LinearMap.ker ((D.d 0 1).hom.baseChange B) |
| 60 | let WR := (ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp c) L).obj (op ⊤) |
| 61 | let WB := (ModulePresheaf.coefficientModulePresheaf q L).obj (op ⊤) |
| 62 | let e : V ≃ₗ[R] WR := coefficientCechModelFirstCyclesRLinearEquiv a c M q hq U hU φ |
| 63 | refine { |
| 64 | toFun := fun x => e x |
| 65 | invFun := fun y => e.symm y |
| 66 | left_inv := e.left_inv |
| 67 | right_inv := e.right_inv |
| 68 | map_add' := fun x y => e.map_add x y |
| 69 | map_smul' := ?_ } |
| 70 | intro b x |
| 71 | obtain ⟨r, rfl⟩ := hs b |
| 72 | have hx : (algebraMap R B r) • x = r • x := |
| 73 | IsScalarTower.algebraMap_smul (R := R) (M := V) B r x |
| 74 | have he : (show WB from e (r • x)) = (show WB from r • e x) := |
| 75 | congrArg (fun w : WR => (show WB from w)) (e.map_smul r x) |
| 76 | exact (congrArg (fun v : V => (show WB from e v)) hx).trans |
| 77 | (he.trans (coefficientSections_scalar_of_comp L q (a.appTop.hom.comp c) hq r (e x)).symm) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | theorem minimal_firstModule_finrank_eq_residue_sections |
| 82 | {R : Type u} [CommRing R] [IsLocalRing R] |
| 83 | {X Y : Scheme.{u}} (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 84 | (q : IsLocalRing.ResidueField R →+* Γ(Y, ⊤)) |
| 85 | (hq : q.comp (algebraMap R (IsLocalRing.ResidueField R)) = a.appTop.hom.comp c) |
| 86 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 87 | {D : CochainComplex (ModuleCat.{u} R) ℕ} |
| 88 | (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U) |
| 89 | [QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (IsLocalRing.ResidueField R) φ ≫ |
| 90 | SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a c M q hq U) 0] |
| 91 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (D.sc' 0 1 2)) : |
| 92 | Module.finrank R Q.complex.X₁ = Module.finrank (IsLocalRing.ResidueField R) |
| 93 | ((ModulePresheaf.coefficientModulePresheaf q ((Scheme.Modules.pullback a).obj M)).obj (op ⊤)) := by |
| 94 | have hs : Function.Surjective (algebraMap R (IsLocalRing.ResidueField R)) := by |
| 95 | simpa only [IsLocalRing.ResidueField.algebraMap_eq] using (IsLocalRing.residue_surjective (R := R)) |
| 96 | exact Q.first_finrank_eq_residue_cycles.trans |
| 97 | (coefficientCechModelFirstCyclesLinearEquiv a c M q hq U hU φ hs).finrank_eq |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModelResidueLinearity |