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.HomPresheafDualFrame |
| 2 | |
| 3 | /-! # Hom Coefficient Target -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientTarget |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Postcomposition of a Hom coefficient diagram preserves its literal |
| 10 | evaluation maps, including a change of the target diagram by an isomorphism. -/ |
| 11 | open _root_.CategoryTheory |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | universe u v |
| 15 | variable {C : Type v} [Category C] (R : Type u) [CommRing R] |
| 16 | (M : ModuleCat.{u} R) |
| 17 | |
| 18 | def map {P Q : C ⥤ ModuleCat.{u} R} (a : P ⟶ Q) : |
| 19 | HomCoefficientFunctor.homPresheaf R P M ⟶ HomCoefficientFunctor.homPresheaf R Q M where |
| 20 | app c := ModuleCat.ofHom |
| 21 | { toFun φ := (a.app c).hom.comp φ |
| 22 | map_add' φ ψ := by ext x; simp |
| 23 | map_smul' r φ := by ext x; simp } |
| 24 | naturality c d f := by |
| 25 | apply ModuleCat.hom_ext |
| 26 | apply LinearMap.ext |
| 27 | intro φ |
| 28 | change M →ₗ[R] P.obj c at φ |
| 29 | apply LinearMap.ext |
| 30 | intro x |
| 31 | exact ConcreteCategory.congr_hom (a.naturality f) (φ x) |
| 32 | |
| 33 | def iso {P Q : C ⥤ ModuleCat.{u} R} (a : P ≅ Q) : |
| 34 | HomCoefficientFunctor.homPresheaf R P M ≅ HomCoefficientFunctor.homPresheaf R Q M where |
| 35 | hom := map R M a.hom |
| 36 | inv := map R M a.inv |
| 37 | hom_inv_id := by |
| 38 | apply NatTrans.ext |
| 39 | funext c |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro φ |
| 43 | change M →ₗ[R] P.obj c at φ |
| 44 | apply LinearMap.ext |
| 45 | intro x |
| 46 | exact ConcreteCategory.congr_hom (congrArg (fun b => b.app c) a.hom_inv_id) (φ x) |
| 47 | inv_hom_id := by |
| 48 | apply NatTrans.ext |
| 49 | funext c |
| 50 | apply ModuleCat.hom_ext |
| 51 | apply LinearMap.ext |
| 52 | intro φ |
| 53 | change M →ₗ[R] Q.obj c at φ |
| 54 | apply LinearMap.ext |
| 55 | intro x |
| 56 | exact ConcreteCategory.congr_hom (congrArg (fun b => b.app c) a.inv_hom_id) (φ x) |
| 57 | |
| 58 | theorem evaluation {P Q : C ⥤ ModuleCat.{u} R} (a : P ⟶ Q) (x : M) : |
| 59 | map R M a ≫ HomPresheafDualFrame.evaluation R Q M x = |
| 60 | HomPresheafDualFrame.evaluation R P M x ≫ a := by |
| 61 | apply NatTrans.ext |
| 62 | funext c |
| 63 | rfl |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientTarget |