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.OrderedCech.Projection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.SortedProjection |
| 3 | |
| 4 | /-! # Retraction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Retraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ordered Čech cochains are a split cochain retract of the original |
| 11 | all-tuples cochains. Only finite signed sorting is used. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite |
| 14 | |
| 15 | universe u v |
| 16 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 18 | {ι : Type u} [LinearOrder ι] (U : ι → C) (P : Cᵒᵖ ⥤ D) |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Projection |
| 21 | |
| 22 | theorem sorted_mapF (n : ℕ) : |
| 23 | Cech.SortedProjection.component U P n ≫ Projection.mapF U P n = Projection.mapF U P n := by |
| 24 | apply Pi.hom_ext |
| 25 | intro (a : Projection.Index (ι := ι) n) |
| 26 | change _ ≫ Projection.projection U P n a = _ ≫ Projection.projection U P n a |
| 27 | rw [Category.assoc, Projection.mapF_projection, |
| 28 | Cech.SortedProjection.projection_strictMono U P n a.val a.property] |
| 29 | |
| 30 | theorem projection_zero_sorted (n : ℕ) : |
| 31 | (Projection.mapF U P n ≫ Projection.zeroExtension U P n) ≫ Cech.SortedProjection.component U P n = |
| 32 | Cech.SortedProjection.component U P n := by |
| 33 | apply Pi.hom_ext |
| 34 | intro (a : Fin (n + 1) → ι) |
| 35 | change _ ≫ Cech.TupleRestrictionFunctor.projection U P a = |
| 36 | _ ≫ Cech.TupleRestrictionFunctor.projection U P a |
| 37 | rw [Category.assoc] |
| 38 | by_cases ha : Function.Injective a |
| 39 | · rw [Cech.SortedProjection.projection_injective U P n a ha, comp_zsmul] |
| 40 | have hs : StrictMono (a ∘ Tuple.sort a) := |
| 41 | (Tuple.monotone_sort a).strictMono_of_injective (ha.comp (Tuple.sort a).injective) |
| 42 | have hr : Set.range (a ∘ Tuple.sort a) ⊆ Set.range a := by |
| 43 | rintro x ⟨i, rfl⟩ |
| 44 | exact ⟨Tuple.sort a i, rfl⟩ |
| 45 | rw [Cech.TupleRestrictionFunctor.rowBasis_of_subset U P a _ hr, |
| 46 | ← Category.assoc, Category.assoc (Projection.mapF U P n), |
| 47 | Projection.zeroExtension_projection U P n _ hs, Projection.mapF_projection] |
| 48 | · rw [Cech.SortedProjection.projection_not_injective U P n a ha, comp_zero] |
| 49 | |
| 50 | def inclusionF (n : ℕ) : Projection.object U P n ⟶ (Cech.TupleRestrictionFunctor.complex U P).X n := |
| 51 | Projection.zeroExtension U P n ≫ Cech.SortedProjection.component U P n |
| 52 | |
| 53 | theorem mapF_inclusionF (n : ℕ) : Projection.mapF U P n ≫ inclusionF U P n = |
| 54 | Cech.SortedProjection.component U P n := by |
| 55 | exact (Category.assoc _ _ _).symm.trans (projection_zero_sorted U P n) |
| 56 | |
| 57 | theorem inclusionF_mapF (n : ℕ) : inclusionF U P n ≫ Projection.mapF U P n = 𝟙 _ := by |
| 58 | erw [inclusionF, Category.assoc, sorted_mapF, Projection.zeroExtension_mapF] |
| 59 | |
| 60 | theorem inclusionF_d (n : ℕ) : |
| 61 | inclusionF U P n ≫ (Cech.TupleRestrictionFunctor.complex U P).d n (n + 1) = |
| 62 | (Projection.complex U P).d n (n + 1) ≫ inclusionF U P (n + 1) := by |
| 63 | apply (cancel_epi (Projection.mapF U P n)).mp |
| 64 | erw [← Category.assoc, mapF_inclusionF, Cech.SortedProjection.comm] |
| 65 | erw [show (Projection.complex U P).d n (n + 1) = Projection.differential U P n from CochainComplex.of_d _ _ n, |
| 66 | ← Category.assoc, Projection.mapF_d, Category.assoc, mapF_inclusionF] |
| 67 | |
| 68 | def inclusion : Projection.complex U P ⟶ Cech.TupleRestrictionFunctor.complex U P := |
| 69 | CochainComplex.ofHom (inclusionF U P) (inclusionF_d U P) |
| 70 | |
| 71 | theorem inclusion_map : inclusion U P ≫ Projection.map U P = 𝟙 _ := by |
| 72 | apply HomologicalComplex.hom_ext |
| 73 | intro n |
| 74 | exact inclusionF_mapF U P n |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Retraction |