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.AffineSection.Detection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CoherentHomology |
| 4 | import Mathlib.Algebra.Homology.QuasiIso |
| 5 | |
| 6 | /-! # Local Quasi Iso -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.LocalQuasiIso |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A map of quasicoherent complexes is a quasi-isomorphism whenever |
| 13 | the actual section complexes on an affine open cover have that property. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {X : Scheme.{u}} {ι : Type v} {c : ComplexShape ι} |
| 22 | |
| 23 | theorem homology_quasicoherent (K : HomologicalComplex X.Modules c) |
| 24 | [∀ i, (K.X i).IsQuasicoherent] (n : ι) : (K.homology n).IsQuasicoherent := by |
| 25 | let : (K.sc n).X₁.IsQuasicoherent := inferInstanceAs (K.X (c.prev n)).IsQuasicoherent |
| 26 | let : (K.sc n).X₂.IsQuasicoherent := inferInstanceAs (K.X n).IsQuasicoherent |
| 27 | let : (K.sc n).X₃.IsQuasicoherent := inferInstanceAs (K.X (c.next n)).IsQuasicoherent |
| 28 | exact Module.CoherentHomology.quasicoherent (K.sc n) |
| 29 | |
| 30 | variable {K L : HomologicalComplex X.Modules c} |
| 31 | [∀ i, (K.X i).IsQuasicoherent] [∀ i, (L.X i).IsQuasicoherent] |
| 32 | (a : K ⟶ L) |
| 33 | |
| 34 | theorem section_homology_isIso (U : X.Opens) (hU : IsAffineOpen U) (n : ι) |
| 35 | [QuasiIso (((ModuleExactSections.sections U).mapHomologicalComplex c).map a)] : |
| 36 | IsIso ((ModuleExactSections.sections U).map (HomologicalComplex.homologyMap a n)) := by |
| 37 | let F := ModuleExactSections.sections U |
| 38 | let : (K.sc n).X₁.IsQuasicoherent := inferInstanceAs (K.X (c.prev n)).IsQuasicoherent |
| 39 | let : (K.sc n).X₂.IsQuasicoherent := inferInstanceAs (K.X n).IsQuasicoherent |
| 40 | let : (K.sc n).X₃.IsQuasicoherent := inferInstanceAs (K.X (c.next n)).IsQuasicoherent |
| 41 | let : (L.sc n).X₁.IsQuasicoherent := inferInstanceAs (L.X (c.prev n)).IsQuasicoherent |
| 42 | let : (L.sc n).X₂.IsQuasicoherent := inferInstanceAs (L.X n).IsQuasicoherent |
| 43 | let : (L.sc n).X₃.IsQuasicoherent := inferInstanceAs (L.X (c.next n)).IsQuasicoherent |
| 44 | let : F.PreservesLeftHomologyOf (K.sc n) := ModuleHomology.preservesLeft U hU (K.sc n) |
| 45 | let : F.PreservesLeftHomologyOf (L.sc n) := ModuleHomology.preservesLeft U hU (L.sc n) |
| 46 | let b := (HomologicalComplex.shortComplexFunctor X.Modules c n).map a |
| 47 | have hn := ShortComplex.mapHomologyIso_hom_naturality b F |
| 48 | let : IsIso (ShortComplex.homologyMap (F.mapShortComplex.map b)) := |
| 49 | (quasiIsoAt_iff_isIso_homologyMap ((F.mapHomologicalComplex c).map a) n).mp inferInstance |
| 50 | have : IsIso ((K.sc n).mapHomologyIso F).hom := inferInstance |
| 51 | have : IsIso (((K.sc n).mapHomologyIso F).hom ≫ F.map (ShortComplex.homologyMap b)) := by |
| 52 | rw [← hn] |
| 53 | infer_instance |
| 54 | change IsIso (F.map (ShortComplex.homologyMap b)) |
| 55 | exact IsIso.of_isIso_comp_left ((K.sc n).mapHomologyIso F).hom _ |
| 56 | |
| 57 | theorem of_cover {τ : Type u} (U : τ → X.Opens) (hU : iSup U = ⊤) |
| 58 | (hAffine : ∀ i, IsAffineOpen (U i)) |
| 59 | (h : ∀ i, QuasiIso (((ModuleExactSections.sections (U i)).mapHomologicalComplex c).map a)) : |
| 60 | QuasiIso a := by |
| 61 | constructor |
| 62 | intro n |
| 63 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 64 | let := homology_quasicoherent K n |
| 65 | let := homology_quasicoherent L n |
| 66 | apply AffineSection.Detection.cover (HomologicalComplex.homologyMap a n) U hU hAffine |
| 67 | intro i |
| 68 | let := h i |
| 69 | exact section_homology_isIso a (U i) (hAffine i) n |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.LocalQuasiIso |