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.NonemptyCech.Refinement |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBaseChangeNaturality |
| 3 | |
| 4 | /-! # Refinement Product -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refinement of the original Cech cover commutes with the |
| 11 | actual tuple-product isomorphism into a thin category of opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v s t a b |
| 16 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 17 | {D : Type s} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 18 | {A : Type a} [Category.{b} A] [Preadditive A] [HasProducts.{0} A] |
| 19 | (F : C ⥤ D) {ι κ : Type} (U : ι → C) (V : κ → C) |
| 20 | [∀ (n : ℕ) (t : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 21 | [∀ (n : ℕ) (t : Fin (n + 1) → κ), PreservesLimit (Discrete.functor (V ∘ t)) F] |
| 22 | (r : FormalCoproduct.mk ι U ⟶ FormalCoproduct.mk κ V) |
| 23 | |
| 24 | def mappedCover : FormalCoproduct.mk ι (F.obj ∘ U) ⟶ FormalCoproduct.mk κ (F.obj ∘ V) where |
| 25 | f := r.f |
| 26 | φ j := F.map (r.φ j) |
| 27 | |
| 28 | variable (P : Dᵒᵖ ⥤ A) |
| 29 | |
| 30 | theorem naturality : Refinement.NonemptyCechRefinement.map V U r (F.op ⋙ P) ≫ |
| 31 | (ProductBaseChange.NonemptyCechProductBaseChange.complexIso F U P).hom = |
| 32 | (ProductBaseChange.NonemptyCechProductBaseChange.complexIso F V P).hom ≫ |
| 33 | Refinement.NonemptyCechRefinement.map (F.obj ∘ V) (F.obj ∘ U) (mappedCover F U V r) P := by |
| 34 | apply HomologicalComplex.Hom.ext |
| 35 | funext n |
| 36 | apply Pi.hom_ext |
| 37 | intro t |
| 38 | change Fin (n + 1) → ι at t |
| 39 | let A₀ := fun s : Fin (n + 1) → κ => P.obj (op (F.obj (∏ᶜ (V ∘ s)))) |
| 40 | let A₁ := fun s : Fin (n + 1) → ι => P.obj (op (F.obj (∏ᶜ (U ∘ s)))) |
| 41 | let B₀ := fun s : Fin (n + 1) → κ => P.obj (op (∏ᶜ ((F.obj ∘ V) ∘ s))) |
| 42 | let B₁ := fun s : Fin (n + 1) → ι => P.obj (op (∏ᶜ ((F.obj ∘ U) ∘ s))) |
| 43 | let a : ∀ s : Fin (n + 1) → ι, A₀ (r.f ∘ s) ⟶ A₁ s := fun s => P.map (F.map ((FormalCoproduct.powerMap r (Fin (n + 1))).φ s)).op |
| 44 | let b : ∀ s : Fin (n + 1) → ι, B₀ (r.f ∘ s) ⟶ B₁ s := fun s => |
| 45 | P.map ((FormalCoproduct.powerMap (mappedCover F U V r) (Fin (n + 1))).φ s).op |
| 46 | let e : ∀ s : Fin (n + 1) → κ, A₀ s ⟶ B₀ s := fun s => P.map (PreservesProduct.iso F (V ∘ s)).inv.op |
| 47 | let d : ∀ s : Fin (n + 1) → ι, A₁ s ⟶ B₁ s := fun s => P.map (PreservesProduct.iso F (U ∘ s)).inv.op |
| 48 | change (Pi.lift (fun s => Pi.π A₀ (r.f ∘ s) ≫ a s) ≫ Limits.Pi.map d) ≫ Pi.π B₁ t = |
| 49 | (Limits.Pi.map e ≫ Pi.lift (fun s => Pi.π B₀ (r.f ∘ s) ≫ b s)) ≫ Pi.π B₁ t |
| 50 | simp only [Category.assoc, Limits.Pi.map_π, Limits.Pi.lift_comp_π_assoc, Limits.Pi.lift_comp_π, Limits.Pi.map_π_assoc] |
| 51 | exact congrArg (fun x => Pi.π A₀ (r.f ∘ t) ≫ x) |
| 52 | ((P.map_comp _ _).symm.trans ((congrArg P.map (Subsingleton.elim _ _)).trans (P.map_comp _ _))) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.RefinementProduct.NonemptyCechRefinementProduct |