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.Geometric.AffineHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FormalCoproductQuasiIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Total |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TotalFlip |
| 5 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexMap |
| 6 | |
| 7 | /-! # Quasi Iso -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.QuasiIso |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A quasi-isomorphism of quasicoherent sheaf complexes induces a |
| 14 | quasi-isomorphism of their native ordered affine Čech totals. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X S : Scheme.{u}} (π : X ⟶ S) |
| 23 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 24 | {K L : CochainComplex X.Modules ℕ} (f : K ⟶ L) |
| 25 | |
| 26 | def bicomplexMap : Total.Comparison.bicomplex π U K ⟶ |
| 27 | Total.Comparison.bicomplex π U L := |
| 28 | ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).mapHomologicalComplex (.up ℕ)).map f |
| 29 | |
| 30 | def map : (Total.Comparison.bicomplex π U K).total (.up ℕ) ⟶ |
| 31 | (Total.Comparison.bicomplex π U L).total (.up ℕ) := |
| 32 | HomologicalComplex₂.total.map (bicomplexMap π U f) (.up ℕ) |
| 33 | |
| 34 | theorem column_quasiIso (p : ℕ) |
| 35 | (hf : ∀ i : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι p, |
| 36 | QuasiIso (((Geometric.AffineHomology.sections π |
| 37 | (∏ᶜ fun k : Fin (p + 1) => U (i.val k))).mapHomologicalComplex (.up ℕ)).map f)) : |
| 38 | QuasiIso ((GeometricComparison.TotalFlip.TotalFlipNaturality.flipped (bicomplexMap π U f)).f p) := |
| 39 | FormalCoproductQuasiIso.quasiIso Γ(S, ⊤) (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedCechFormalObject U p) |
| 40 | (((AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheafFunctor π).mapHomologicalComplex (.up ℕ)).map f) hf |
| 41 | |
| 42 | theorem quasiIso_of_sections |
| 43 | (hf : ∀ (p : ℕ) (i : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι p), |
| 44 | QuasiIso (((Geometric.AffineHomology.sections π |
| 45 | (∏ᶜ fun k : Fin (p + 1) => U (i.val k))).mapHomologicalComplex (.up ℕ)).map f)) : |
| 46 | QuasiIso (OrderedCech.QuasiIso.map π U f) := by |
| 47 | have : QuasiIso (HomologicalComplex₂.total.map |
| 48 | (GeometricComparison.TotalFlip.TotalFlipNaturality.flipped (bicomplexMap π U f)) (.up ℕ)) := |
| 49 | AlgebraicTopology.DeRham.Comparison.DoubleComplexMap.DoubleComplex.total_map_quasiIso_of_columns _ |
| 50 | (fun p => column_quasiIso π U f p (hf p)) |
| 51 | constructor |
| 52 | intro n |
| 53 | exact (GeometricComparison.TotalFlip.TotalFlipNaturality.quasiIsoAt_iff (bicomplexMap π U f) n).mp inferInstance |
| 54 | |
| 55 | theorem quasiIso [X.IsSeparated] (hU : ∀ i, IsAffineOpen (U i)) |
| 56 | [∀ n, (K.X n).IsQuasicoherent] [∀ n, (L.X n).IsQuasicoherent] [QuasiIso f] : |
| 57 | QuasiIso (OrderedCech.QuasiIso.map π U f) := |
| 58 | quasiIso_of_sections π U f (fun p i => |
| 59 | Geometric.AffineHomology.quasiIso π _ |
| 60 | (AlgebraicGeometry.SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U hU p i.val) f) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.QuasiIso |