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.AlgebraicGeometry.Picard.Homomorphisms.InternalHomUnit |
| 2 | |
| 3 | /-! # Internal Hom Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.InternalHomMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functoriality of the constructed internal Hom. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | namespace Construction |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X : Scheme.{u}} {K L M N P Q : X.Modules} |
| 20 | |
| 21 | def moduleInternalHomMap (f : L ⟶ M) (g : N ⟶ P) : |
| 22 | InternalHom.Construction.moduleInternalHom M N ⟶ InternalHom.Construction.moduleInternalHom L P := |
| 23 | TensorHom.Construction.sheafBilinearCurry |
| 24 | (((TensorHom.Construction.sheafBilinearUncurry (𝟙 (InternalHom.Construction.moduleInternalHom M N))).precomp (𝟙 _) f).postcomp g) |
| 25 | |
| 26 | theorem moduleInternalHomMap_app (f : L ⟶ M) (g : N ⟶ P) (U : X.Opens) |
| 27 | (a : Γ(InternalHom.Construction.moduleInternalHom M N, U)) (V : Over U) (s : Γ(L, V.left)) : |
| 28 | ((moduleInternalHomMap f g).app U a).val.app (.op V) s = |
| 29 | g.app V.left (a.val.app (.op V) (f.app V.left s)) := rfl |
| 30 | |
| 31 | theorem moduleInternalHomMap_id (M N : X.Modules) : |
| 32 | moduleInternalHomMap (𝟙 M) (𝟙 N) = 𝟙 (InternalHom.Construction.moduleInternalHom M N) := by |
| 33 | apply Scheme.Modules.hom_ext |
| 34 | intro U |
| 35 | apply AddCommGrpCat.ext |
| 36 | intro a |
| 37 | apply Subtype.ext |
| 38 | apply NatTrans.ext |
| 39 | funext V |
| 40 | apply AddCommGrpCat.ext |
| 41 | intro s |
| 42 | rfl |
| 43 | |
| 44 | theorem moduleInternalHomMap_comp (f : L ⟶ M) (f' : K ⟶ L) (g : N ⟶ P) (g' : P ⟶ Q) : |
| 45 | moduleInternalHomMap f g ≫ moduleInternalHomMap f' g' = |
| 46 | moduleInternalHomMap (f' ≫ f) (g ≫ g') := by |
| 47 | apply Scheme.Modules.hom_ext |
| 48 | intro U |
| 49 | apply AddCommGrpCat.ext |
| 50 | intro a |
| 51 | apply Subtype.ext |
| 52 | apply NatTrans.ext |
| 53 | funext V |
| 54 | apply AddCommGrpCat.ext |
| 55 | intro s |
| 56 | rfl |
| 57 | |
| 58 | def moduleInternalHomCongr (e : M ≅ L) (f : N ≅ P) : |
| 59 | InternalHom.Construction.moduleInternalHom M N ≅ InternalHom.Construction.moduleInternalHom L P where |
| 60 | hom := moduleInternalHomMap e.inv f.hom |
| 61 | inv := moduleInternalHomMap e.hom f.inv |
| 62 | hom_inv_id := by rw [moduleInternalHomMap_comp, e.hom_inv_id, f.hom_inv_id, |
| 63 | moduleInternalHomMap_id] |
| 64 | inv_hom_id := by rw [moduleInternalHomMap_comp, e.inv_hom_id, f.inv_hom_id, |
| 65 | moduleInternalHomMap_id] |
| 66 | |
| 67 | end Construction |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.InternalHomMaps |