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.Cochain.HomAcyclicProducts |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | |
| 4 | /-! # Lift Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.LiftUniqueness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Supported lifts are unique up to actual cochain homotopy when |
| 11 | the coefficient Hom rows in the kernel are exact. A degreewise section |
| 12 | also allows a homotopy after forgetting support to be lifted. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | universe u v |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | {K L M : CochainComplex C ℕ} (p : L ⟶ M) |
| 19 | (hker : ∀ n, Cochain.HomAcyclic.Rows K ((kernel p).X n)) |
| 20 | |
| 21 | def null_of_comp_zero (f : K ⟶ L) (hf : f ≫ p = 0) : Homotopy f 0 := |
| 22 | (Homotopy.ofEq (kernel.lift_ι p f hf).symm).trans |
| 23 | (((Cochain.HomAcyclic.null (kernel p) hker (kernel.lift p f hf)).compRight |
| 24 | (kernel.ι p)).trans (Homotopy.ofEq (zero_comp))) |
| 25 | |
| 26 | def of_comp_eq (f g : K ⟶ L) (hfg : f ≫ p = g ≫ p) : Homotopy f g := |
| 27 | Homotopy.equivSubZero.symm (null_of_comp_zero p hker (f - g) |
| 28 | (by rw [sub_comp, hfg, sub_self])) |
| 29 | |
| 30 | variable (σ : ∀ n, M.X n ⟶ L.X n) (hσ : ∀ n, σ n ≫ p.f n = 𝟙 _) |
| 31 | (f g : K ⟶ L) (h : Homotopy (f ≫ p) (g ≫ p)) |
| 32 | |
| 33 | def correction : K ⟶ L := Homotopy.nullHomotopicMap (fun i j => h.hom i j ≫ σ j) |
| 34 | |
| 35 | def correction_null : Homotopy (correction p σ f g h) 0 := |
| 36 | Homotopy.nullHomotopy _ (fun i j hij => by rw [h.zero i j hij, zero_comp]) |
| 37 | |
| 38 | include hσ in |
| 39 | theorem correction_comp : correction p σ f g h ≫ p = (f - g) ≫ p := by |
| 40 | rw [correction, Homotopy.nullHomotopicMap_comp] |
| 41 | have he : (fun i j => h.hom i j ≫ σ j ≫ p.f j) = h.hom := by |
| 42 | funext i j |
| 43 | rw [hσ, Category.comp_id] |
| 44 | simp only [Category.assoc] |
| 45 | rw [he] |
| 46 | apply HomologicalComplex.Hom.ext |
| 47 | funext n |
| 48 | change dNext n h.hom + prevD n h.hom = (f.f n - g.f n) ≫ p.f n |
| 49 | rw [sub_comp] |
| 50 | exact (eq_sub_iff_add_eq).mpr (h.comm n).symm |
| 51 | |
| 52 | def of_comp_homotopy : Homotopy f g := by |
| 53 | let z := f - g - correction p σ f g h |
| 54 | have hz : z ≫ p = 0 := by |
| 55 | rw [show z = f - g - correction p σ f g h from rfl, sub_comp, |
| 56 | correction_comp p σ hσ f g h, sub_self] |
| 57 | refine Homotopy.equivSubZero.symm ?_ |
| 58 | refine (Homotopy.ofEq (show f - g = z + correction p σ f g h by dsimp [z]; abel)).trans ?_ |
| 59 | exact ((null_of_comp_zero p hker z hz).add (correction_null p σ f g h)).trans |
| 60 | (Homotopy.ofEq (zero_add _)) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.LiftUniqueness |