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.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Refinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.AffineHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechQuasiIso |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.Cochains |
| 5 | |
| 6 | /-! # Coefficient Quasi Iso -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CoefficientQuasiIso |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Relative augmented Čech totals preserve quasicoherent quasi-isomorphisms |
| 13 | on affine intersections, without requiring the family to cover the ambient scheme. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | variable {X S : Scheme.{u}} (π : X ⟶ S) [X.IsSeparated] |
| 20 | (U : X.Opens) (hU : IsAffineOpen U) |
| 21 | {ι : Type u} [LinearOrder ι] (V : ι → X.Opens) |
| 22 | (hV : ∀ i, IsAffineOpen (V i)) |
| 23 | |
| 24 | include hU hV in |
| 25 | theorem intersection_affine (p : ℕ) (a : AugmentedOrdered.Cech.Index ι p) : |
| 26 | IsAffineOpen (U ⊓ (AugmentedOrdered.Cech.formal V p).obj a) := by |
| 27 | cases p with |
| 28 | | zero => |
| 29 | have he : (AugmentedOrdered.Cech.formal V 0).obj a = ⊤ := by |
| 30 | change (∏ᶜ fun j : Fin 0 => V (a.val j)) = ⊤ |
| 31 | apply le_antisymm le_top |
| 32 | exact leOfHom (Pi.lift (fun j => Fin.elim0 j)) |
| 33 | simpa only [he, inf_top_eq] using hU |
| 34 | | succ p => |
| 35 | exact hU.inf (AlgebraicGeometry.SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection V hV p a.val) |
| 36 | |
| 37 | abbrev coefficients (K : CochainComplex X.Modules ℕ) := |
| 38 | ((AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).mapHomologicalComplex (.up ℕ)).obj K |
| 39 | |
| 40 | abbrev coefficientMap {K L : CochainComplex X.Modules ℕ} (a : K ⟶ L) := |
| 41 | ((AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).mapHomologicalComplex (.up ℕ)).map a |
| 42 | |
| 43 | include hU hV in |
| 44 | theorem quasiIso {K L : CochainComplex X.Modules ℕ} |
| 45 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 46 | (a : K ⟶ L) [QuasiIso a] : |
| 47 | QuasiIso (Total.sourceMap U V (coefficientMap π a)) := by |
| 48 | apply AugmentedOrdered.CechQuasiIso.quasiIso_of_evaluation V Γ(S, ⊤) |
| 49 | (((Refinement.restriction U).mapHomologicalComplex (.up ℕ)).map |
| 50 | (coefficientMap π a)) |
| 51 | intro p i |
| 52 | exact Geometric.AffineHomology.quasiIso π _ (intersection_affine U hU V hV p i) a |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CoefficientQuasiIso |