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.CechPresheaf.TopCone |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.TotalProjection |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCechEdge |
| 4 | |
| 5 | /-! # Ordinary Ordered Edge -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrdinaryOrderedEdge.Ordinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal global-section edge into the ordinary Čech total |
| 12 | projects to the global-section edge into the ordered Čech total. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCechEdge |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe v |
| 19 | variable {X : TopCat.{0}} {ι : Type} [LinearOrder ι] (V : ι → Opens X) |
| 20 | {D : Type v} [Category D] [Abelian D] [HasProducts.{0} D] [HasCoproducts.{0} D] |
| 21 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 22 | |
| 23 | def ordinary : OrderedCechEdge.sections K ⟶ (OrderedCech.TotalProjection.ordinary V).obj K := |
| 24 | GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map V K (OrderedCechEdge.sections K) (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) K) |
| 25 | |
| 26 | omit [HasCoproducts D] in |
| 27 | theorem component (q : ℕ) : |
| 28 | GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.component V K (OrderedCechEdge.sections K) |
| 29 | (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) K) q ≫ |
| 30 | (OrderedCech.Projection.map V (K.X q)).f 0 = OrderedCechEdge.augmentation V (K.X q) := by |
| 31 | apply Pi.hom_ext |
| 32 | intro (a : OrderedCech.Projection.Index (ι := ι) 0) |
| 33 | change (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.component V K (OrderedCechEdge.sections K) |
| 34 | (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) K) q ≫ |
| 35 | OrderedCech.Projection.mapF V (K.X q) 0) ≫ |
| 36 | OrderedCech.Projection.projection V (K.X q) 0 a = |
| 37 | OrderedCechEdge.augmentation V (K.X q) ≫ OrderedCech.Projection.projection V (K.X q) 0 a |
| 38 | rw [Category.assoc, OrderedCech.Projection.mapF_projection] |
| 39 | change Pi.lift (fun t : Fin 1 → ι => |
| 40 | (K.X q).map (homOfLE (le_top : (∏ᶜ (V ∘ t)) ≤ ⊤)).op) ≫ |
| 41 | Pi.π (fun t : Fin 1 → ι => (K.X q).obj (op (∏ᶜ (V ∘ t)))) a.val = _ |
| 42 | rw [Pi.lift_comp_π] |
| 43 | exact (OrderedCechEdge.augmentation_projection V (K.X q) a).symm |
| 44 | |
| 45 | theorem comparison : |
| 46 | ordinary V K ≫ OrderedCech.TotalProjection.map V K = OrderedCechEdge.edge V K := by |
| 47 | have h := BicomplexHorizontalEdge.naturality |
| 48 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex V K) (OrderedCechEdge.sections K) |
| 49 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.component V K (OrderedCechEdge.sections K) (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) K)) |
| 50 | (fun q q' _ => GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.comm V K (OrderedCechEdge.sections K) |
| 51 | (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) K) q q') |
| 52 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.cocycle V K (OrderedCechEdge.sections K) (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) K)) |
| 53 | (OrderedCechEdge.bicomplex V K) (OrderedCechEdge.sections K) |
| 54 | (fun q => OrderedCechEdge.augmentation V (K.X q)) |
| 55 | (fun q q' _ => OrderedCechEdge.augmentation_comm V K q q') (OrderedCechEdge.augmentation_cocycle V K) |
| 56 | (OrderedCech.TotalProjection.bicomplexMap V K) (𝟙 _) (fun q => by |
| 57 | change GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.component V K (OrderedCechEdge.sections K) |
| 58 | (GeometricComparison.CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) K) q ≫ |
| 59 | (OrderedCech.Projection.map V (K.X q)).f 0 = 𝟙 _ ≫ OrderedCechEdge.augmentation V (K.X q) |
| 60 | rw [Category.id_comp] |
| 61 | exact component V K q) |
| 62 | simpa only [ordinary, GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map, OrderedCech.TotalProjection.map, |
| 63 | OrderedCechEdge.edge, Category.id_comp] using h |
| 64 | |
| 65 | theorem homology (q : ℕ) : |
| 66 | homologyMap (ordinary V K) q ≫ homologyMap (OrderedCech.TotalProjection.map V K) q = |
| 67 | homologyMap (OrderedCechEdge.edge V K) q := by |
| 68 | rw [← homologyMap_comp, comparison] |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrdinaryOrderedEdge.Ordinary |