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.CoveringPresentationPresheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafLinear |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Adjunctions |
| 4 | |
| 5 | /-! # Presentation Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Free.PresentationSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Sections of free presentation presheaves are actual families of sections on the presenting objects. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type (max u v)} [Category.{v} C] {ι : Type v} (F : ι → C) |
| 18 | (R : Type (max u v)) [CommRing R] |
| 19 | |
| 20 | abbrev presheaf : Cᵒᵖ ⥤ ModuleCat.{max u v} R := |
| 21 | CoveringPresentationPresheaf.presentations F ⋙ ModuleCat.free R |
| 22 | |
| 23 | def lift (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) (s : ∀ i, H.obj (op (F i))) : |
| 24 | presheaf F R ⟶ H where |
| 25 | app U := ModuleCat.freeDesc (↾fun x => H.map x.down.2.op (s x.down.1)) |
| 26 | naturality U V α := by |
| 27 | apply ModuleCat.free_hom_ext |
| 28 | intro x |
| 29 | change ModuleCat.freeDesc _ ((ModuleCat.free R).map |
| 30 | ((CoveringPresentationPresheaf.presentations F).map α) (ModuleCat.freeMk x)) = _ |
| 31 | rw [ModuleCat.free_map_apply, ModuleCat.freeDesc_apply] |
| 32 | change H.map (α.unop ≫ x.down.2).op (s x.down.1) = |
| 33 | H.map α (ModuleCat.freeDesc _ (ModuleCat.freeMk x)) |
| 34 | rw [ModuleCat.freeDesc_apply, op_comp, H.map_comp] |
| 35 | rfl |
| 36 | |
| 37 | def evaluate (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) (a : presheaf F R ⟶ H) (i : ι) : |
| 38 | H.obj (op (F i)) := |
| 39 | a.app (op (F i)) (ModuleCat.freeMk ⟨⟨i, 𝟙 (F i)⟩⟩) |
| 40 | |
| 41 | theorem section_lift (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) (s : ∀ i, H.obj (op (F i))) (i : ι) : |
| 42 | evaluate F R H (lift F R H s) i = s i := by |
| 43 | change ModuleCat.freeDesc (↾fun x : ULift.{u} (Σ j, F i ⟶ F j) => |
| 44 | H.map x.down.2.op (s x.down.1)) (ModuleCat.freeMk ⟨⟨i, 𝟙 (F i)⟩⟩) = s i |
| 45 | rw [ModuleCat.freeDesc_apply] |
| 46 | change H.map (𝟙 (op (F i))) (s i) = s i |
| 47 | rw [H.map_id] |
| 48 | rfl |
| 49 | |
| 50 | theorem lift_section (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) (a : presheaf F R ⟶ H) : |
| 51 | lift F R H (evaluate F R H a) = a := by |
| 52 | apply NatTrans.ext |
| 53 | funext U |
| 54 | apply ModuleCat.free_hom_ext |
| 55 | intro x |
| 56 | change ULift.{u} (Σ i, U.unop ⟶ F i) at x |
| 57 | have h := congrArg (fun b => b (ModuleCat.freeMk ⟨⟨x.down.1, 𝟙 (F x.down.1)⟩⟩)) |
| 58 | (a.naturality x.down.2.op) |
| 59 | refine (ModuleCat.freeDesc_apply (↾fun y : ULift.{u} (Σ i, U.unop ⟶ F i) => |
| 60 | H.map y.down.2.op (evaluate F R H a y.down.1)) x).trans ?_ |
| 61 | have hx : (CoveringPresentationPresheaf.presentations F).map x.down.2.op |
| 62 | ⟨⟨x.down.1, 𝟙 (F x.down.1)⟩⟩ = x := by |
| 63 | apply ULift.ext |
| 64 | exact Sigma.ext rfl (heq_of_eq (Category.comp_id _)) |
| 65 | have hm := (ModuleCat.free_map_apply (R := R) |
| 66 | ((CoveringPresentationPresheaf.presentations F).map x.down.2.op) |
| 67 | ⟨⟨x.down.1, 𝟙 (F x.down.1)⟩⟩).trans (congrArg ModuleCat.freeMk hx) |
| 68 | exact ((congrArg (a.app U) hm).symm.trans h).symm |
| 69 | |
| 70 | def homEquiv (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) : |
| 71 | (presheaf F R ⟶ H) ≃+ (∀ i, H.obj (op (F i))) where |
| 72 | toFun := evaluate F R H |
| 73 | invFun := lift F R H |
| 74 | left_inv := lift_section F R H |
| 75 | right_inv s := funext (section_lift F R H s) |
| 76 | map_add' _ _ := rfl |
| 77 | |
| 78 | theorem homEquiv_natural {H K : Cᵒᵖ ⥤ ModuleCat.{max u v} R} (g : H ⟶ K) |
| 79 | (a : presheaf F R ⟶ H) (i : ι) : |
| 80 | homEquiv F R K (a ≫ g) i = g.app (op (F i)) (homEquiv F R H a i) := rfl |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Free.PresentationSections |