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.Additive.OrderedCechConcentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ConcentrationNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedPureClass |
| 4 | |
| 5 | /-! # Additive Cech Global Concentration -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechGlobalConcentration.SupportedPureClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The supported pure-complex lift extends to the same original global |
| 12 | Čech class, through the actual concentration maps in its original degree. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CohomologyConcentration |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleAdditiveSections |
| 20 | variable {X Z : Scheme.{u}} [X.IsSeparated] (U : X.Opens) (hU : IsAffineOpen U) |
| 21 | {ι : Type u} [LinearOrder ι] (V : ι → X.Opens) (hV : ∀ i, IsAffineOpen (V i)) |
| 22 | |
| 23 | abbrev cover := RelativeCech.Intersections.cover U V |
| 24 | abbrev globalFunctor (q : ℕ) := Additive.OrderedCechConcentration.functor (cover U V) q |
| 25 | abbrev extension (K : CochainComplex X.Modules ℕ) (q : ℕ) := |
| 26 | homologyMap (RelativeCech.Total.map U V (AdditiveCechConcentration.coefficients K)) q |
| 27 | |
| 28 | omit [X.IsSeparated] in |
| 29 | theorem extension_naturality {K L : CochainComplex X.Modules ℕ} (a : K ⟶ L) (q : ℕ) : |
| 30 | (AdditiveCechConcentration.functor U V q).map a ≫ extension U V L q = |
| 31 | extension U V K q ≫ (globalFunctor U V q).map a := |
| 32 | RelativeCech.Total.homology_naturality U V (AdditiveCechConcentration.coefficientMap a) q |
| 33 | |
| 34 | abbrev globalSingleIso (S : X.Modules) (c q : ℕ) := |
| 35 | homologyMapIso (HomologicalComplex₂.total.mapIso |
| 36 | (((OrderedCech.Functor.Projection.functor (cover U V)).mapHomologicalComplex (.up ℕ)).mapIso |
| 37 | (Principal.RelativeSupportedClass.singleCoefficientIso S c)) (.up ℕ)) q |
| 38 | |
| 39 | variable (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 40 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 41 | |
| 42 | abbrev globalIso (q : ℕ) := Additive.OrderedCechConcentration.iso (cover U V) |
| 43 | (RelativeCech.ConcentrationNaturality.cover_affine U hU V hV) K c hK q |
| 44 | |
| 45 | abbrev globalSurvivorIso (q : ℕ) := globalIso U hU V hV K c hK q ≪≫ |
| 46 | globalSingleIso U V (K.homology c) c q |
| 47 | |
| 48 | theorem extension_square (q : ℕ) : |
| 49 | (AdditiveCechConcentration.iso U hU V hV K c hK q).hom ≫ |
| 50 | extension U V ((single X.Modules (.up ℕ) c).obj (K.homology c)) q = |
| 51 | extension U V K q ≫ (globalIso U hU V hV K c hK q).hom := by |
| 52 | let := AdditiveCechConcentration.projection_isIso U hU V hV K c hK q |
| 53 | let := AdditiveCechConcentration.inclusion_isIso U hU V hV K c hK q |
| 54 | let := Additive.OrderedCechConcentration.projection_isIso (cover U V) |
| 55 | (RelativeCech.ConcentrationNaturality.cover_affine U hU V hV) K c hK q |
| 56 | let := Additive.OrderedCechConcentration.inclusion_isIso (cover U V) |
| 57 | (RelativeCech.ConcentrationNaturality.cover_affine U hU V hV) K c hK q |
| 58 | exact ConcentrationLocalRecovery.square (AdditiveCechConcentration.functor U V q) (globalFunctor U V q) K c |
| 59 | (extension U V K q) (extension U V (CohomologyConcentration.truncation K c) q) |
| 60 | (extension U V ((single X.Modules (.up ℕ) c).obj (K.homology c)) q) |
| 61 | (extension_naturality U V (CohomologyConcentration.projection K c) q) |
| 62 | (extension_naturality U V (CohomologyConcentration.inclusion K c) q) |
| 63 | |
| 64 | theorem survivor_extension (q : ℕ) : |
| 65 | (SupportedPureClass.survivorIso U hU V hV K c hK q).hom ≫ |
| 66 | homologyMap (RelativeCech.Total.map U V (SupportedPureClass.sheafCoefficients (K.homology c) c)) q = |
| 67 | extension U V K q ≫ (globalSurvivorIso U hU V hV K c hK q).hom := by |
| 68 | have hc := RelativeCech.Total.homology_naturality U V |
| 69 | (Principal.RelativeSupportedClass.singleCoefficientIso (K.homology c) c).hom q |
| 70 | exact (DualComplexHomology.compose_squares _ _ _ _ _ _ _ |
| 71 | (extension_square U hU V hV K c hK q).symm hc.symm).symm |
| 72 | |
| 73 | variable (f : Z ⟶ X) [IsClosedImmersion f] (N : Z.Modules) |
| 74 | (e : K.homology c ≅ (Scheme.Modules.pushforward f).obj N) |
| 75 | (hVO : ∀ i, V i ≤ SectionIdealPuncturedCover.outside f.ker) |
| 76 | |
| 77 | abbrev globalEdge (q : ℕ) := homologyMap |
| 78 | (Presheaf.OrderedCechEdge.edge (cover U V) (SupportedPureClass.sheafCoefficients (K.homology c) c)) q |
| 79 | |
| 80 | private theorem recover {C : Type*} [Category C] {A B D E F : C} |
| 81 | (e : B ≅ D) (f : E ≅ F) (r : B ⟶ E) (s : D ⟶ F) |
| 82 | (a : A ⟶ D) (b : A ⟶ F) |
| 83 | (he : e.hom ≫ s = r ≫ f.hom) (ha : a ≫ s = b) : |
| 84 | (a ≫ e.inv) ≫ r = b ≫ f.inv := by |
| 85 | apply (cancel_mono f.hom).mp |
| 86 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 87 | rw [← he, Iso.inv_hom_id_assoc, ha] |
| 88 | |
| 89 | include hVO in |
| 90 | theorem recovery (q : ℕ) : SupportedPureClass.lift U hU V hV K c hK f N e hVO q ≫ |
| 91 | extension U V K q = globalEdge U V K c q ≫ (globalSurvivorIso U hU V hV K c hK q).inv := |
| 92 | recover (SupportedPureClass.survivorIso U hU V hV K c hK q) (globalSurvivorIso U hU V hV K c hK q) _ _ _ _ |
| 93 | (survivor_extension U hU V hV K c hK q) |
| 94 | (RelativeCech.SupportedRecovery.homology_recovery AddCommGrpCat.{u} X U V |
| 95 | (SectionIdealPuncturedCover.outside f.ker) (Principal.SingleAdditiveSections.sheafSingle (K.homology c) c) |
| 96 | (Closed.SupportedSurvivor.terms_zero f N (K.homology c) e c) hVO q) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechGlobalConcentration.SupportedPureClass |