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.GeometricComparison.CechTopConeCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrdinaryOrderedEdge |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.TotalProjectionQuasiIso |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ordered.EdgeCoefficientHomology |
| 5 | |
| 6 | /-! # Flasque Ordered Global -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueOrderedGlobal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original ordered global edge is an isomorphism for a complex |
| 13 | of flasque module sheaves, on every genuine open cover. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 15 | section |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u w |
| 19 | variable (R : Type u) [CommRing R] (X : TopCat.{0}) |
| 20 | {ι : Type} [LinearOrder ι] (U : ι → Opens X) |
| 21 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{max u w} R)) ℕ) |
| 22 | |
| 23 | abbrev underlying := GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison.presheafComplex R X K |
| 24 | |
| 25 | theorem quasiIso (hU : iSup U = ⊤) |
| 26 | (hK : ∀ q, TopCat.Presheaf.IsFlasque (X := X) (K.X q).obj) : |
| 27 | QuasiIso (IntegralComparison.Presheaf.OrderedCechEdge.edge U (underlying R X K)) := by |
| 28 | let : QuasiIso (IntegralComparison.Presheaf.OrdinaryOrderedEdge.Ordinary.ordinary U (underlying R X K)) := by |
| 29 | change QuasiIso (GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison.map R X U K) |
| 30 | exact GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison.quasiIso R X U K hU hK |
| 31 | let := OrderedCech.TotalProjectionQuasiIso.quasiIso U (underlying R X K) |
| 32 | rw [← IntegralComparison.Presheaf.OrdinaryOrderedEdge.Ordinary.comparison] |
| 33 | infer_instance |
| 34 | |
| 35 | theorem homology_isIso (hU : iSup U = ⊤) |
| 36 | (hK : ∀ q, TopCat.Presheaf.IsFlasque (X := X) (K.X q).obj) (q : ℕ) : |
| 37 | IsIso (homologyMap (IntegralComparison.Presheaf.OrderedCechEdge.edge U (underlying R X K)) q) := by |
| 38 | let := quasiIso R X U K hU hK |
| 39 | infer_instance |
| 40 | |
| 41 | end |
| 42 | |
| 43 | namespace EdgeCoefficient |
| 44 | set_option backward.isDefEq.respectTransparency false |
| 45 | set_option backward.isDefEq.respectTransparency.types false |
| 46 | universe u vA uA vB uB |
| 47 | variable {X : TopCat.{u}} {ι : Type u} [LinearOrder ι] (U : ι → Opens X) |
| 48 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 49 | [HasFiniteBiproducts A] |
| 50 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] [HasCoproducts.{0} B] |
| 51 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] [G.PreservesHomology] |
| 52 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ A) ℕ) (q : ℕ) |
| 53 | [IsIso (homologyMap (IntegralComparison.Presheaf.OrderedCechEdge.edge U K) q)] |
| 54 | |
| 55 | theorem homology_isIso : |
| 56 | IsIso (homologyMap (IntegralComparison.Presheaf.OrderedCechEdge.edge U |
| 57 | (OrderedCech.CoefficientTotal.mapped G K)) q) := by |
| 58 | have he : homologyMap (IntegralComparison.Presheaf.OrderedCechEdge.edge U |
| 59 | (OrderedCech.CoefficientTotal.mapped G K)) q = |
| 60 | (((IntegralComparison.Presheaf.OrderedCechEdge.sections K).sc q).mapHomologyIso G).hom ≫ |
| 61 | G.map (homologyMap (IntegralComparison.Presheaf.OrderedCechEdge.edge U K) q) ≫ |
| 62 | (OrderedCech.CoefficientTotal.homologyIso U G K q).hom := by |
| 63 | apply (cancel_epi (((IntegralComparison.Presheaf.OrderedCechEdge.sections K).sc q).mapHomologyIso G).inv).mp |
| 64 | simp only [Iso.inv_hom_id_assoc] |
| 65 | exact (Ordered.EdgeCoefficientHomology.homology U G K q).symm |
| 66 | rw [he] |
| 67 | infer_instance |
| 68 | |
| 69 | end EdgeCoefficient |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueOrderedGlobal |