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.Ordered.SingleGlobalSource |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.MappedSingleCoordinates |
| 3 | |
| 4 | /-! # Single Global Source -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.SingleGlobalSource |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Globalizing an actual mapped single-sheaf complex uses the same |
| 11 | original single coordinates on every affine cover. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | private theorem inverse_coordinates {C : Type*} [Category C] {A B D : C} |
| 17 | (t : A ≅ B) (p : B ≅ D) (o : A ≅ D) (h : t.hom ≫ p.hom = o.hom) : |
| 18 | o.inv = p.inv ≫ t.inv := by |
| 19 | have hi : t ≪≫ p = o := Iso.ext h |
| 20 | exact (congrArg Iso.inv hi).symm |
| 21 | |
| 22 | universe u v w z |
| 23 | variable {X : TopCat.{u}} {D : Type v} [Category D] [Abelian D] |
| 24 | [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 25 | {C : Type w} [Category.{z} C] [Abelian C] |
| 26 | (J : C ⥤ (Opens X)ᵒᵖ ⥤ D) [J.Additive] (M : C) (g : ℕ) |
| 27 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) |
| 28 | (a : (J.mapHomologicalComplex (.up ℕ)).obj ((single C (.up ℕ) g).obj M) ⟶ K) |
| 29 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 30 | (U : ι → Opens X) (V : κ → Opens X) |
| 31 | |
| 32 | abbrev singleIso := (singleMapHomologicalComplex J (.up ℕ) g).app M |
| 33 | abbrev plainMap := (singleIso J M g).inv ≫ a |
| 34 | abbrev originalIso := IntegralComparison.Functor.SingleTotal.homologyIso (J ⋙ OrderedCech.Functor.Projection.functor U) M g g |
| 35 | |
| 36 | def totalIso := (OrderedCech.TotalProjection.ordered U).mapIso (singleIso J M g) |
| 37 | |
| 38 | theorem coordinates : |
| 39 | (homologyMapIso (totalIso J M g U) (g+g)).hom ≫ |
| 40 | (Ordered.SingleGlobalSource.sourceIso (J.obj M) g U).hom = |
| 41 | (originalIso J M g U).hom := |
| 42 | IntegralComparison.Functor.MappedSingleCoordinates.comparison J (OrderedCech.Functor.Projection.functor U) M g g |
| 43 | |
| 44 | variable [IsIso (Ordered.SingleGlobalSource.edgeMap g K U)] |
| 45 | |
| 46 | def map : (OrderedCech.Projection.complex U (J.obj M)).homology g ⟶ |
| 47 | (Presheaf.OrderedCechEdge.sections K).homology (g+g) := |
| 48 | (originalIso J M g U).inv ≫ |
| 49 | homologyMap ((OrderedCech.TotalProjection.ordered U).map a) (g+g) ≫ |
| 50 | inv (Ordered.SingleGlobalSource.edgeMap g K U) |
| 51 | |
| 52 | theorem map_eq : SingleGlobalSource.map J M g K a U = |
| 53 | Ordered.SingleGlobalSource.map (J.obj M) g K (plainMap J M g K a) U := by |
| 54 | have hi := inverse_coordinates (homologyMapIso (totalIso J M g U) (g+g)) |
| 55 | (Ordered.SingleGlobalSource.sourceIso (J.obj M) g U) (originalIso J M g U) |
| 56 | (coordinates J M g U) |
| 57 | dsimp only [SingleGlobalSource.map, Ordered.SingleGlobalSource.map, Ordered.SingleGlobalSource.totalMap, |
| 58 | plainMap] |
| 59 | rw [Functor.map_comp, homologyMap_comp, hi] |
| 60 | simp only [Category.assoc] |
| 61 | rfl |
| 62 | |
| 63 | theorem coordinates_map : |
| 64 | (originalIso J M g U).hom ≫ SingleGlobalSource.map J M g K a U = |
| 65 | homologyMap ((OrderedCech.TotalProjection.ordered U).map a) (g+g) ≫ |
| 66 | inv (Ordered.SingleGlobalSource.edgeMap g K U) := by |
| 67 | simp only [SingleGlobalSource.map, Iso.hom_inv_id_assoc] |
| 68 | |
| 69 | variable [IsIso (Ordered.SingleGlobalSource.edgeMap g K V)] |
| 70 | (T : ν → Opens X) |
| 71 | (rU : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι U) |
| 72 | (rV : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ V) |
| 73 | [IsIso (Ordered.SingleGlobalSource.edgeMap g K T)] |
| 74 | [IsIso (homologyMap (OrderedCech.Refinement.map V T rV (J.obj M)) g)] |
| 75 | |
| 76 | theorem common_refinement : SingleGlobalSource.map J M g K a U = |
| 77 | Ordered.SingleGlobalSource.coefficientComparison (J.obj M) g U V T rU rV ≫ |
| 78 | SingleGlobalSource.map J M g K a V := by |
| 79 | rw [map_eq, map_eq] |
| 80 | exact Ordered.SingleGlobalSource.common_refinement (J.obj M) g K (plainMap J M g K a) |
| 81 | U V T rU rV |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.SingleGlobalSource |