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.Concentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CoefficientTotal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleAdditiveSections |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.SupportedCoordinates |
| 5 | |
| 6 | /-! # Additive Cech Concentration -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechConcentration |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original additive relative Čech source preserves the canonical |
| 13 | concentration of a quasicoherent complex on affine intersections. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentration |
| 20 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 21 | (U : X.Opens) (hU : IsAffineOpen U) |
| 22 | {ι : Type u} [LinearOrder ι] (V : ι → X.Opens) (hV : ∀ i, IsAffineOpen (V i)) |
| 23 | |
| 24 | abbrev presheaves : X.Modules ⥤ X.Opensᵒᵖ ⥤ AddCommGrpCat.{u} := |
| 25 | SheafOfModules.toSheaf X.ringCatSheaf ⋙ |
| 26 | sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} |
| 27 | |
| 28 | instance presheaves_additive : (presheaves (X := X)).Additive where |
| 29 | map_add := rfl |
| 30 | |
| 31 | abbrev coefficients (K : CochainComplex X.Modules ℕ) := |
| 32 | ((presheaves (X := X)).mapHomologicalComplex (.up ℕ)).obj K |
| 33 | |
| 34 | abbrev coefficientMap {K L : CochainComplex X.Modules ℕ} (a : K ⟶ L) := |
| 35 | ((presheaves (X := X)).mapHomologicalComplex (.up ℕ)).map a |
| 36 | |
| 37 | def totalFunctor : CochainComplex X.Modules ℕ ⥤ CochainComplex AddCommGrpCat.{u} ℕ := |
| 38 | (presheaves (X := X)).mapHomologicalComplex (.up ℕ) ⋙ |
| 39 | (RelativeCech.Total.localFunctor U V).mapHomologicalComplex (.up ℕ) ⋙ |
| 40 | HomologicalComplex₂.totalFunctor AddCommGrpCat.{u} (.up ℕ) (.up ℕ) (.up ℕ) |
| 41 | |
| 42 | def functor (q : ℕ) : CochainComplex X.Modules ℕ ⥤ AddCommGrpCat.{u} := |
| 43 | AdditiveCechConcentration.totalFunctor U V ⋙ homologyFunctor AddCommGrpCat.{u} (.up ℕ) q |
| 44 | |
| 45 | include hU hV in |
| 46 | theorem quasiIso {K L : CochainComplex X.Modules ℕ} |
| 47 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 48 | (a : K ⟶ L) [QuasiIso a] : QuasiIso ((AdditiveCechConcentration.totalFunctor U V).map a) := by |
| 49 | let := RelativeCech.CoefficientQuasiIso.quasiIso (𝟙 X) U hU V hV a |
| 50 | exact RelativeCech.CoefficientTotal.quasiIso U V |
| 51 | (forget₂ (ModuleCat.{u} Γ(X, ⊤)) AddCommGrpCat.{u}) |
| 52 | (RelativeCech.CoefficientQuasiIso.coefficientMap (𝟙 X) a) |
| 53 | |
| 54 | variable (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 55 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 56 | |
| 57 | include hU hV hK in |
| 58 | theorem projection_isIso (q : ℕ) : IsIso ((functor U V q).map (CohomologyConcentration.projection K c)) := by |
| 59 | let (k : ℕ) := QuasicoherentTruncation.truncation K c k |
| 60 | let := CohomologyConcentration.projection_quasiIso K c hK |
| 61 | let := quasiIso U hU V hV (CohomologyConcentration.projection K c) |
| 62 | change IsIso (homologyMap ((AdditiveCechConcentration.totalFunctor U V).map (CohomologyConcentration.projection K c)) q) |
| 63 | infer_instance |
| 64 | |
| 65 | include hU hV hK in |
| 66 | theorem inclusion_isIso (q : ℕ) : IsIso ((functor U V q).map (CohomologyConcentration.inclusion K c)) := by |
| 67 | let (k : ℕ) := QuasicoherentTruncation.truncation K c k |
| 68 | let := QuasicoherentTruncation.cohomology K c |
| 69 | let (k : ℕ) := QuasicoherentTruncation.single (K.homology c) c k |
| 70 | let := CohomologyConcentration.inclusion_quasiIso K c hK |
| 71 | let := quasiIso U hU V hV (CohomologyConcentration.inclusion K c) |
| 72 | change IsIso (homologyMap ((AdditiveCechConcentration.totalFunctor U V).map (CohomologyConcentration.inclusion K c)) q) |
| 73 | infer_instance |
| 74 | |
| 75 | def iso (q : ℕ) := by |
| 76 | letI := projection_isIso U hU V hV K c hK q |
| 77 | letI := inclusion_isIso U hU V hV K c hK q |
| 78 | exact Functor.ConcentrationSingle.iso (functor U V q) K c |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechConcentration |