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.Quotients.FiniteDescent.ModelSection |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechModelBaseChange |
| 3 | import Mathlib.AlgebraicGeometry.Fiber |
| 4 | |
| 5 | /-! # Fiber Section -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FiberSection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Closedness of the locus where a fiber has a nonzero global section. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.FiberSectionSupport |
| 21 | |
| 22 | variable {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 23 | |
| 24 | def locus : Set S := {x | Nontrivial Γ((Scheme.Modules.pullback (π.fiberι x)).obj M, ⊤)} |
| 25 | |
| 26 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 27 | variable {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 28 | variable (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U) |
| 29 | variable [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 30 | variable [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 31 | |
| 32 | include hU |
| 33 | |
| 34 | theorem locus_eq |
| 35 | (hφ : ∀ x, QuasiIsoAt (CechModelBaseChange.Construction.CechBaseChangeMap.modelMap (π.fiberι x) π |
| 36 | (π.fiberToSpecResidueField x) (S.fromSpecResidueField x) (π.fiber_fac x) M U φ) 0) : |
| 37 | locus π M = S.toSpecΓ ⁻¹' Module.support Γ(S, ⊤) |
| 38 | (KernelSupportIs.Construction.KernelSupport.dualCokernel (D.d 0 1).hom) := by |
| 39 | ext x |
| 40 | have := hφ x |
| 41 | have h := ModelSection.Construction.ModelSectionSupport.sections_iff (π.fiberι x) π |
| 42 | (π.fiberToSpecResidueField x) (S.fromSpecResidueField x) (π.fiber_fac x) M U hU φ |
| 43 | (IsLocalRing.closedPoint (S.residueField x)) |
| 44 | change Nontrivial Γ((Scheme.Modules.pullback (π.fiberι x)).obj M, ⊤) ↔ _ |
| 45 | have hx : (S.fromSpecResidueField x) (IsLocalRing.closedPoint (S.residueField x)) = x := |
| 46 | S.fromSpecResidueField_apply x _ |
| 47 | exact h.trans (iff_of_eq (congrArg (fun z => S.toSpecΓ z ∈ Module.support Γ(S, ⊤) |
| 48 | (KernelSupportIs.Construction.KernelSupport.dualCokernel (D.d 0 1).hom)) hx)) |
| 49 | |
| 50 | theorem isClosed_of_model [IsAffine S] [M.IsQuasicoherent] [Finite ι] |
| 51 | (ha : ∀ (q : ℕ) (i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q), IsAffineOpen (∏ᶜ fun k => U (i.1 k))) |
| 52 | (hφ : ∀ (A : Type u) [AddCommGroup A] [Module Γ(S, ⊤) A], |
| 53 | QuasiIso (ModuleTensor.Construction.ModuleTensorFunctor.map A φ)) : IsClosed (locus π M) := by |
| 54 | have he := locus_eq π M U hU φ (fun x => by |
| 55 | have hp : IsPullback (π.fiberι x) (π.fiberToSpecResidueField x) π |
| 56 | (S.fromSpecResidueField x) := IsPullback.of_hasPullback _ _ |
| 57 | have := CechModelBaseChange.Construction.CechBaseChangeMap.modelMap_quasiIso (π.fiberι x) π |
| 58 | (π.fiberToSpecResidueField x) (S.fromSpecResidueField x) M U φ hp ha hφ |
| 59 | infer_instance) |
| 60 | rw [he] |
| 61 | exact (Module.isClosed_support (R := Γ(S, ⊤)) |
| 62 | (M := KernelSupportIs.Construction.KernelSupport.dualCokernel (D.d 0 1).hom)).preimage S.toSpecΓ.continuous |
| 63 | |
| 64 | end Construction.FiberSectionSupport |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FiberSection |