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.Relative.AdditiveCechRefinementConcentration |
| 2 | |
| 3 | /-! # Pure Refinement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PureRefinement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A relative refinement of a pure quasicoherent complex is invertible |
| 10 | once it is invertible on the actual surviving cohomology sheaf. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | private theorem isIso_of_square {C : Type*} [Category C] {A B D E : C} |
| 16 | (e : A ≅ B) (f : D ≅ E) (a : A ⟶ D) (b : B ⟶ E) [IsIso b] |
| 17 | (h : e.hom ≫ b = a ≫ f.hom) : IsIso a := by |
| 18 | have he : e.hom ≫ b ≫ f.inv = a := by |
| 19 | simpa only [Category.assoc, Iso.hom_inv_id, Category.comp_id] using |
| 20 | congrArg (fun z => z ≫ f.inv) h |
| 21 | rw [← he] |
| 22 | infer_instance |
| 23 | |
| 24 | universe u |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AdditiveCechRefinementConcentration |
| 26 | variable {X : Scheme.{u}} [X.IsSeparated] (U : X.Opens) (hU : IsAffineOpen U) |
| 27 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 28 | (V : ι → X.Opens) (hV : ∀ i, IsAffineOpen (V i)) |
| 29 | (W : κ → X.Opens) (hW : ∀ i, IsAffineOpen (W i)) |
| 30 | (r : FormalCoproduct.mk κ W ⟶ FormalCoproduct.mk ι V) |
| 31 | (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 32 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) (q : ℕ) |
| 33 | [hiso : IsIso (RelativeCech.Refinement.homology U V W r |
| 34 | (AdditiveCechConcentration.coefficients ((single X.Modules (.up ℕ) c).obj (K.homology c))) q)] |
| 35 | |
| 36 | include hU hV hW c hK hiso in |
| 37 | theorem isIso : IsIso (RelativeCech.Refinement.homology U V W r (AdditiveCechConcentration.coefficients K) q) := by |
| 38 | let b := RelativeCech.Refinement.homology U V W r |
| 39 | (AdditiveCechConcentration.coefficients ((single X.Modules (.up ℕ) c).obj (K.homology c))) q |
| 40 | let : IsIso b := hiso |
| 41 | exact isIso_of_square (AdditiveCechConcentration.iso U hU V hV K c hK q) (AdditiveCechConcentration.iso U hU W hW K c hK q) _ b |
| 42 | (AdditiveCechRefinementConcentration.refinement_square U hU V hV W hW r K c hK q) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PureRefinement |