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.Semilattice.MappedChartTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ExactInjectiveResolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionHomotopy |
| 4 | |
| 5 | /-! # Mapped Injective -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.MappedInjective.SemilatticeMappedInjectiveComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The chart cone gives the original augmentation-preserving map |
| 12 | to an exactly restricted injective resolution. Its induced map is |
| 13 | independent of any other augmented comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u v w z t |
| 21 | variable (C : Type u) [SemilatticeInf C] {ι : Type} [Finite ι] |
| 22 | (U : ι → C) (V : C) |
| 23 | {A : Type v} [Category.{w} A] [Abelian A] |
| 24 | [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 25 | {B : Type z} [Category.{t} B] [Abelian B] |
| 26 | [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 27 | (F : A ⥤ B) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 28 | [F.PreservesInjectiveObjects] (P : Cᵒᵖ ⥤ CochainComplex A ℕ) |
| 29 | (h : ∀ T : C, IsIso ((F.mapHomologicalComplex (.up ℕ)).map |
| 30 | (P.map (homOfLE (inf_le_left : T ⊓ V ≤ T)).op))) |
| 31 | {Z : A} (η : (Functor.const Cᵒᵖ).obj ((CochainComplex.single₀ A).obj Z) ⟶ P) |
| 32 | {K : CochainComplex A ℕ} (e : K ≅ CechCone.Total.CechConeTotal.total U P) |
| 33 | (a : (CochainComplex.single₀ A).obj Z ⟶ K) |
| 34 | (ha : a ≫ e.hom = CechCone.Total.CechConeTotal.augmentation U P ((CochainComplex.single₀ A).obj Z) η) |
| 35 | (J : InjectiveResolution Z) (b : K ⟶ J.cocomplex) (hb : a ≫ b = J.ι) |
| 36 | |
| 37 | local notation "G" => F.mapHomologicalComplex (ComplexShape.up ℕ) |
| 38 | |
| 39 | def augmentation : (CochainComplex.single₀ B).obj (F.obj Z) ⟶ (G).obj (P.obj (op V)) := |
| 40 | (IntegralComparison.ExactInjectiveResolution.sourceIso F).inv ≫ (G).map (η.app (op V)) |
| 41 | |
| 42 | def map : (G).obj (P.obj (op V)) ⟶ (IntegralComparison.ExactInjectiveResolution.map F J).cocomplex := |
| 43 | (MappedChartTotal.SemilatticeMappedChartTotal.map C U V F P h ≫ (G).map e.inv) ≫ (G).map b |
| 44 | |
| 45 | include ha hb in |
| 46 | theorem augmentation_map : augmentation C V F P η ≫ SemilatticeMappedInjectiveComparison.map C U V F P h e J b = |
| 47 | (IntegralComparison.ExactInjectiveResolution.map F J).ι := by |
| 48 | have hchart := MappedChartTotal.SemilatticeMappedChartTotal.factorization_through_iso |
| 49 | C U V F P h ((CochainComplex.single₀ A).obj Z) η e a ha |
| 50 | change ((IntegralComparison.ExactInjectiveResolution.sourceIso F).inv ≫ (G).map (η.app (op V))) ≫ |
| 51 | ((MappedChartTotal.SemilatticeMappedChartTotal.map C U V F P h ≫ (G).map e.inv) ≫ (G).map b) = |
| 52 | (IntegralComparison.ExactInjectiveResolution.sourceIso F).inv ≫ (G).map J.ι |
| 53 | rw [Category.assoc, ← Category.assoc ((G).map (η.app (op V))), hchart, |
| 54 | ← CategoryTheory.Functor.map_comp, hb] |
| 55 | |
| 56 | variable [QuasiIso ((F.mapHomologicalComplex (.up ℕ)).map (η.app (op V)))] |
| 57 | |
| 58 | instance augmentation_quasiIso : QuasiIso (augmentation C V F P η) := by |
| 59 | dsimp only [augmentation] |
| 60 | infer_instance |
| 61 | |
| 62 | def homotopy (c : (G).obj (P.obj (op V)) ⟶ (IntegralComparison.ExactInjectiveResolution.map F J).cocomplex) |
| 63 | (hc : augmentation C V F P η ≫ c = (IntegralComparison.ExactInjectiveResolution.map F J).ι) : |
| 64 | Homotopy (SemilatticeMappedInjectiveComparison.map C U V F P h e J b) c := |
| 65 | IntegralComparison.Augmented.ResolutionHomotopy.homotopy _ (augmentation C V F P η) |
| 66 | (IntegralComparison.ExactInjectiveResolution.map F J) _ c |
| 67 | ((augmentation_map C U V F P h η e a ha J b hb).trans hc.symm) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.MappedInjective.SemilatticeMappedInjectiveComparison |