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.AbelianScheme.CartierDuality.SliceRepresentabilityIs |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RelativeRepresentabilityP |
| 3 | |
| 4 | /-! # Local Representatives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LocalRepresentatives |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: local representatives over open base schemes |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | |
| 18 | attribute [local instance] Over.cartesianMonoidalCategory |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.Schemes |
| 23 | |
| 24 | /-- A representative of the restriction of a presheaf to an open base |
| 25 | piece defines a relatively representable open immersion into that presheaf. -/ |
| 26 | theorem sliceRepresentative_isOpen {S : Scheme.{u}} {U : Over S} |
| 27 | [IsOpenImmersion U.hom] {F : (Over S)ᵒᵖ ⥤ Type u} {Y : Over U} |
| 28 | (r : ((Over.forget U).op ⋙ F).RepresentableBy Y) : |
| 29 | (RelativeRepresentabilityP.Construction.Schemes.relativeOpenImmersion S).presheaf (SliceRepresentabilityIs.Construction.SliceRepresentability.canonicalMap r) := by |
| 30 | apply SliceRepresentabilityIs.Construction.SliceRepresentability.canonicalMap_relative r (RelativeRepresentabilityP.Construction.Schemes.relativeOpenImmersion S) |
| 31 | intro X |
| 32 | change IsOpenImmersion (Limits.pullback.fst X.hom U.hom) |
| 33 | infer_instance |
| 34 | |
| 35 | /-- A sheaf over a scheme is representable if its restrictions over |
| 36 | an open cover of the base are representable. -/ |
| 37 | theorem isRepresentable_of_openCover {S : Scheme.{u}} |
| 38 | (F : Sheaf (Scheme.zariskiTopology.over S) (Type u)) (𝒰 : Scheme.OpenCover.{u} S) |
| 39 | (h : ∀ i, ((Over.forget (Over.mk (𝒰.f i))).op ⋙ F.obj).IsRepresentable) : |
| 40 | F.obj.IsRepresentable := by |
| 41 | let U (i : 𝒰.I₀) : Over S := Over.mk (𝒰.f i) |
| 42 | let (i : 𝒰.I₀) : IsOpenImmersion (U i).hom := |
| 43 | inferInstanceAs (IsOpenImmersion (𝒰.f i)) |
| 44 | let (i : 𝒰.I₀) : ((Over.forget (U i)).op ⋙ F.obj).IsRepresentable := h i |
| 45 | let Y (i : 𝒰.I₀) := ((Over.forget (U i)).op ⋙ F.obj).reprX |
| 46 | let r (i : 𝒰.I₀) := ((Over.forget (U i)).op ⋙ F.obj).representableBy |
| 47 | have hcover : Sieve.ofArrows U (fun i => toUnit (U i)) ∈ |
| 48 | (Scheme.zariskiTopology.over S) (𝟙_ (Over S)) := by |
| 49 | rw [GrothendieckTopology.mem_over_iff, Sieve.overEquiv_ofArrows] |
| 50 | exact 𝒰.mem_grothendieckTopology |
| 51 | let : Presheaf.IsLocallySurjective (Scheme.zariskiTopology.over S) |
| 52 | (Sigma.desc (fun i => SliceRepresentabilityIs.Construction.SliceRepresentability.canonicalMap (r i))) := |
| 53 | SliceRepresentabilityIs.Construction.SliceRepresentability.canonicalMaps_locallySurjective (Scheme.zariskiTopology.over S) |
| 54 | U Y r hcover |
| 55 | exact RelativeRepresentabilityP.Construction.Schemes.RelativeRepresentability.isRepresentable F |
| 56 | (fun i => SliceRepresentabilityIs.Construction.SliceRepresentability.canonicalMap (r i)) |
| 57 | (fun i => sliceRepresentative_isOpen (r i)) |
| 58 | |
| 59 | end Construction.Schemes |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LocalRepresentatives |