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.AbelianModuli.HilbertConstruction.ConstantScheme.Iff |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Arbitrary base change of constant schemes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S S' : Scheme.{u}} |
| 16 | |
| 17 | /-- The set-valued functor of locally constant labels. -/ |
| 18 | def constantSetFunctor (S : Scheme.{u}) (I : Type u) : (Over S)ᵒᵖ ⥤ Type u where |
| 19 | obj T := LocallyConstant T.unop.left I |
| 20 | map f := TypeCat.ofHom (LocallyConstant.comap ⟨f.unop.left, f.unop.left.continuous⟩) |
| 21 | map_id T := by |
| 22 | ext c x |
| 23 | rfl |
| 24 | map_comp f h := by |
| 25 | ext c x |
| 26 | rfl |
| 27 | |
| 28 | /-- The disjoint union of bases represents the locally constant label functor. -/ |
| 29 | def constantSetRepresentable (S : Scheme.{u}) (I : Type u) : |
| 30 | (constantSetFunctor S I).RepresentableBy (ConstantScheme.Iff.constantScheme S I) where |
| 31 | homEquiv := ConstantScheme.Iff.constantSchemePointsEquiv S I _ |
| 32 | homEquiv_comp h t := by |
| 33 | apply LocallyConstant.ext |
| 34 | intro x |
| 35 | rfl |
| 36 | |
| 37 | /-- Pulling back the constant scheme still represents locally constant labels. -/ |
| 38 | def constantSetPullbackRepresentable (f : S' ⟶ S) (I : Type u) : |
| 39 | (constantSetFunctor S' I).RepresentableBy ((Over.pullback f).obj (ConstantScheme.Iff.constantScheme S I)) where |
| 40 | homEquiv {T} := ((Over.mapPullbackAdj f).homEquiv T (ConstantScheme.Iff.constantScheme S I)).symm.trans |
| 41 | (ConstantScheme.Iff.constantSchemePointsEquiv S I ((Over.map f).obj T)) |
| 42 | homEquiv_comp h t := by |
| 43 | apply LocallyConstant.ext |
| 44 | intro x |
| 45 | rfl |
| 46 | |
| 47 | /-- A constant scheme commutes with arbitrary changes of the base scheme. -/ |
| 48 | def constantSchemeBaseChangeIso (f : S' ⟶ S) (I : Type u) : |
| 49 | ConstantScheme.Iff.constantScheme S' I ≅ (Over.pullback f).obj (ConstantScheme.Iff.constantScheme S I) := |
| 50 | (constantSetRepresentable S' I).uniqueUpToIso (constantSetPullbackRepresentable f I) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChange |