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 Mathlib.CategoryTheory.Sites.DenseSubsite.Basic |
| 2 | import Mathlib.CategoryTheory.Sites.Subcanonical |
| 3 | |
| 4 | /-! # Dense Representation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DenseRepresentation.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: extending a representative from a cover-dense full subcategory |
| 12 | |
| 13 | The ordinary dense-subsite sheaf theorem extends a representing isomorphism |
| 14 | on the affine objects to the whole site. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Opposite |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u v u' v' w |
| 23 | |
| 24 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 25 | (G : C ⥤ D) (ff : G.FullyFaithful) |
| 26 | (J : GrothendieckTopology D) [J.Subcanonical] [G.IsCoverDense J] |
| 27 | (F : Sheaf J (Type (max w v'))) {A : C} |
| 28 | (rep : (G.op ⋙ F.obj).RepresentableBy A) |
| 29 | |
| 30 | /-- The representing isomorphism on the image objects uses the actual full embedding. -/ |
| 31 | def denseRepresentativeRestrictedIso : |
| 32 | G.op ⋙ uliftYoneda.{w}.obj (G.obj A) ≅ G.op ⋙ F.obj := |
| 33 | NatIso.ofComponents |
| 34 | (fun X => equivEquivIso (Equiv.ulift.trans (ff.homEquiv.symm.trans rep.homEquiv))) |
| 35 | (by |
| 36 | intro X Y g |
| 37 | ext x |
| 38 | change rep.homEquiv (ff.preimage (G.map g.unop ≫ x.down)) = |
| 39 | F.obj.map (G.map g.unop).op (rep.homEquiv (ff.preimage x.down)) |
| 40 | rw [ff.preimage_comp, ff.preimage_map] |
| 41 | exact rep.homEquiv_comp g.unop _) |
| 42 | |
| 43 | /-- A sheaf represented on a full cover-dense subcategory is represented on the whole site. -/ |
| 44 | def representableByOfCoverDense : F.obj.RepresentableBy (G.obj A) := by |
| 45 | have := ff.full |
| 46 | let Y : Sheaf J (Type (max w v')) := |
| 47 | ⟨uliftYoneda.{w}.obj (G.obj A), (isSheaf_iff_isSheaf_of_type _ _).mpr |
| 48 | (GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable _)⟩ |
| 49 | let e : Y.obj ≅ F.obj := |
| 50 | Functor.IsCoverDense.Types.presheafIso (G := G) |
| 51 | (denseRepresentativeRestrictedIso G ff J F rep) |
| 52 | exact (Functor.RepresentableBy.equivUliftYonedaIso F.obj (G.obj A)).symm e |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DenseRepresentation.Construction |