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.RelativeCrystalline.FreePresheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology |
| 3 | import Mathlib.CategoryTheory.Limits.Shapes.Biproducts |
| 4 | |
| 5 | /-! # Free Presheaf Biproduct -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FreePresheafBiproduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: finite free ambient-ring presheaves are native biproducts |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FreeModule |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable {C : Type v} [Category.{w} C] {p : ℕ} {B : Type u} [CommRing B] |
| 22 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 23 | {f : X ⟶ Spec (CommRingCat.of B)} (H : C ⥤ BigCrystallineSite.Object p B J δ f) (ι : Type) [Fintype ι] |
| 24 | |
| 25 | abbrev ambientPresheaf : Cᵒᵖ ⥤ ModuleCat.{u} B := H.op ⋙ BigCrystallineCohomology.modulePresheaf f |
| 26 | |
| 27 | def projection (i : ι) : RelativeCrystalline.FreePresheaf.presheaf H ι ⟶ ambientPresheaf H where |
| 28 | app U := ModuleCat.ofHom (X := RelativeCrystalline.FreeModule.freeModule H ι U.unop) (Y := (ambientPresheaf H).obj U) |
| 29 | { toFun := fun x => x i |
| 30 | map_add' := fun _ _ => rfl |
| 31 | map_smul' := fun _ _ => rfl } |
| 32 | naturality _ _ _ := by |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply LinearMap.ext |
| 35 | intro x |
| 36 | rfl |
| 37 | |
| 38 | def fan : Fan (fun _ : ι => ambientPresheaf H) := |
| 39 | Fan.mk (RelativeCrystalline.FreePresheaf.presheaf H ι) (projection H ι) |
| 40 | |
| 41 | def lift (s : Fan (fun _ : ι => ambientPresheaf H)) : s.pt ⟶ RelativeCrystalline.FreePresheaf.presheaf H ι where |
| 42 | app U := ModuleCat.ofHom (X := s.pt.obj U) (Y := RelativeCrystalline.FreeModule.freeModule H ι U.unop) |
| 43 | { toFun := fun x i => ((s.π.app ⟨i⟩).app U) x |
| 44 | map_add' := fun x y => funext (fun i => ((s.π.app ⟨i⟩).app U).hom.map_add x y) |
| 45 | map_smul' := fun b x => funext (fun i => ((s.π.app ⟨i⟩).app U).hom.map_smul b x) } |
| 46 | naturality U V α := by |
| 47 | apply ModuleCat.hom_ext |
| 48 | apply LinearMap.ext |
| 49 | intro x |
| 50 | funext i |
| 51 | exact congrArg (fun g : s.pt.obj U ⟶ (ambientPresheaf H).obj V => g x) ((s.π.app ⟨i⟩).naturality α) |
| 52 | |
| 53 | def isLimit : IsLimit (fan H ι) where |
| 54 | lift := FreePresheafBiproduct.lift H ι |
| 55 | fac s j := by |
| 56 | apply NatTrans.ext |
| 57 | funext U |
| 58 | apply ModuleCat.hom_ext |
| 59 | apply LinearMap.ext |
| 60 | intro x |
| 61 | rfl |
| 62 | uniq s m hm := by |
| 63 | apply NatTrans.ext |
| 64 | funext U |
| 65 | apply ModuleCat.hom_ext |
| 66 | apply LinearMap.ext |
| 67 | intro x |
| 68 | funext i |
| 69 | exact congrArg (fun g : s.pt ⟶ ambientPresheaf H => (g.app U) x) (hm ⟨i⟩) |
| 70 | |
| 71 | instance hasFiniteBiproducts : HasFiniteBiproducts (Cᵒᵖ ⥤ ModuleCat.{u} B) := |
| 72 | HasFiniteBiproducts.of_hasFiniteProducts |
| 73 | |
| 74 | def iso : RelativeCrystalline.FreePresheaf.presheaf H ι ≅ ⨁ (fun _ : ι => ambientPresheaf H) := |
| 75 | (FreePresheafBiproduct.isLimit H ι).conePointUniqueUpToIso (biproduct.isLimit (fun _ : ι => ambientPresheaf H)) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.FreePresheafBiproduct |