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.RelativeCech.CommonRefinement |
| 2 | |
| 3 | /-! # Common Refinement Naturality -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CommonRefinementNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The relative extension through a common Čech refinement commutes |
| 10 | with maps of the original coefficient complexes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 13 | |
| 14 | private theorem inverse_naturality {D : Type*} [Category D] {A B C E : D} |
| 15 | (a : A ⟶ B) (b : C ⟶ E) (e : A ⟶ C) (f : B ⟶ E) |
| 16 | [IsIso e] [IsIso f] (h : a ≫ f = e ≫ b) : b ≫ inv f = inv e ≫ a := by |
| 17 | simpa only [Category.assoc, IsIso.inv_hom_id_assoc, IsIso.hom_inv_id, |
| 18 | Category.comp_id] using congrArg (fun z => inv e ≫ z ≫ inv f) h.symm |
| 19 | |
| 20 | private theorem composition_naturality {D : Type*} [Category D] |
| 21 | {A₀ A₁ B₀ B₁ C₀ C₁ T₀ T₁ : D} |
| 22 | (a : A₀ ⟶ A₁) (b : B₀ ⟶ B₁) (c : C₀ ⟶ C₁) (d : T₀ ⟶ T₁) |
| 23 | (r₀ : A₀ ⟶ B₀) (r₁ : A₁ ⟶ B₁) (s₀ : C₀ ⟶ B₀) (s₁ : C₁ ⟶ B₁) |
| 24 | (e₀ : C₀ ⟶ T₀) (e₁ : C₁ ⟶ T₁) [IsIso s₀] [IsIso s₁] |
| 25 | (hr : a ≫ r₁ = r₀ ≫ b) (hs : c ≫ s₁ = s₀ ≫ b) (he : c ≫ e₁ = e₀ ≫ d) : |
| 26 | a ≫ (r₁ ≫ inv s₁ ≫ e₁) = (r₀ ≫ inv s₀ ≫ e₀) ≫ d := by |
| 27 | calc |
| 28 | _ = (a ≫ r₁) ≫ inv s₁ ≫ e₁ := by simp only [Category.assoc] |
| 29 | _ = (r₀ ≫ b) ≫ inv s₁ ≫ e₁ := by rw [hr] |
| 30 | _ = r₀ ≫ (b ≫ inv s₁) ≫ e₁ := by simp only [Category.assoc] |
| 31 | _ = r₀ ≫ (inv s₀ ≫ c) ≫ e₁ := by rw [inverse_naturality c b s₀ s₁ hs] |
| 32 | _ = _ := by simp only [Category.assoc]; rw [he] |
| 33 | |
| 34 | set_option backward.isDefEq.respectTransparency false |
| 35 | set_option backward.isDefEq.respectTransparency.types false |
| 36 | set_option backward.defeqAttrib.useBackward true |
| 37 | |
| 38 | universe u |
| 39 | variable {X : TopCat.{u}} (U : Opens X) |
| 40 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 41 | (V : ι → Opens X) (W : κ → Opens X) (T : ν → Opens X) |
| 42 | (r : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι V) |
| 43 | (s : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ W) |
| 44 | {D : Type (u+1)} [Category.{u} D] [Abelian D] [HasLimitsOfSize.{u,u} D] |
| 45 | [HasCoproducts.{0} D] |
| 46 | {K L : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ} (a : K ⟶ L) (n : ℕ) |
| 47 | [IsIso (Refinement.homology U W T s K n)] |
| 48 | [IsIso (Refinement.homology U W T s L n)] |
| 49 | |
| 50 | theorem naturality : homologyMap (Total.sourceMap U V a) n ≫ |
| 51 | CommonRefinement.comparison U V W T r s L n = |
| 52 | CommonRefinement.comparison U V W T r s K n ≫ homologyMap (Total.targetMap U W a) n := |
| 53 | composition_naturality _ _ _ _ _ _ _ _ _ _ |
| 54 | (Refinement.homology_naturality U V T r a n) |
| 55 | (Refinement.homology_naturality U W T s a n) |
| 56 | (Total.homology_naturality U W a n) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CommonRefinementNaturality |