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.OrderedCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.EdgeRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeSupportedClass |
| 4 | |
| 5 | /-! # Pure Section Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Global.PureSectionClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A global section of the surviving cohomology sheaf gives the same |
| 12 | original total class on any affine cover, including actual refinements. -/ |
| 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 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 19 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 20 | (U : ι → X.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 21 | (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 22 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 23 | |
| 24 | abbrev sheafCoefficients (M : X.Modules) (c : ℕ) := |
| 25 | RelativeCech.SupportedCoordinates.underlying AddCommGrpCat.{u} X |
| 26 | (Principal.SingleAdditiveSections.sheafSingle M c) |
| 27 | |
| 28 | def singleIso (M : X.Modules) (c q : ℕ) := |
| 29 | homologyMapIso (HomologicalComplex₂.total.mapIso |
| 30 | (((OrderedCech.Functor.Projection.functor U).mapHomologicalComplex (.up ℕ)).mapIso |
| 31 | (Principal.RelativeSupportedClass.singleCoefficientIso M c)) (.up ℕ)) q |
| 32 | |
| 33 | def survivorIso (q : ℕ) := Additive.OrderedCechConcentration.iso U haU K c hK q ≪≫ |
| 34 | singleIso U (K.homology c) c q |
| 35 | |
| 36 | abbrev edge (q : ℕ) := homologyMap |
| 37 | (Presheaf.OrderedCechEdge.edge U (sheafCoefficients (K.homology c) c)) q |
| 38 | |
| 39 | def map (q : ℕ) := edge U K c q ≫ (survivorIso U haU K c hK q).inv |
| 40 | |
| 41 | variable (V : κ → X.Opens) (haV : ∀ i, IsAffineOpen (V i)) |
| 42 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 43 | |
| 44 | omit [X.IsSeparated] in |
| 45 | private theorem coefficient_square (M : X.Modules) (c q : ℕ) : |
| 46 | (singleIso U M c q).hom ≫ |
| 47 | homologyMap (OrderedCech.Refinement.totalMap U V r (sheafCoefficients M c)) q = |
| 48 | Additive.OrderedCoverRefinement.homology U V r |
| 49 | ((single X.Modules (.up ℕ) c).obj M) q ≫ (singleIso V M c q).hom := by |
| 50 | let T := Functor.whiskerRight |
| 51 | (NatTrans.mapHomologicalComplex (OrderedCech.Refinement.transformation U V r |
| 52 | (D := AddCommGrpCat.{u})) (.up ℕ)) |
| 53 | (HomologicalComplex₂.totalFunctor AddCommGrpCat.{u} (.up ℕ) (.up ℕ) (.up ℕ)) |
| 54 | have h := congrArg (fun f => homologyMap f q) |
| 55 | (T.naturality (Principal.RelativeSupportedClass.singleCoefficientIso M c).hom) |
| 56 | simp only [homologyMap_comp] at h |
| 57 | exact h |
| 58 | |
| 59 | theorem survivor_refinement (q : ℕ) : |
| 60 | (survivorIso U haU K c hK q).hom ≫ |
| 61 | homologyMap (OrderedCech.Refinement.totalMap U V r (sheafCoefficients (K.homology c) c)) q = |
| 62 | Additive.OrderedCoverRefinement.homology U V r K q ≫ |
| 63 | (survivorIso V haV K c hK q).hom := by |
| 64 | exact (DualComplexHomology.compose_squares _ _ _ _ _ _ _ |
| 65 | (Additive.OrderedCoverRefinement.concentration U V r haU haV K c hK q).symm |
| 66 | (coefficient_square U V r (K.homology c) c q).symm).symm |
| 67 | |
| 68 | theorem refinement (q : ℕ) : map U haU K c hK q ≫ |
| 69 | Additive.OrderedCoverRefinement.homology U V r K q = map V haV K c hK q := by |
| 70 | apply (cancel_mono (survivorIso V haV K c hK q).hom).mp |
| 71 | simp only [map, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 72 | rw [← survivor_refinement U haU K c hK V haV r q, Iso.inv_hom_id_assoc] |
| 73 | exact OrderedCech.EdgeRefinement.homology U V r (sheafCoefficients (K.homology c) c) q |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Global.PureSectionClass |