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.FormalGeometry.Completion.Affine.ProEtaleRepresentation |
| 2 | import Mathlib.CategoryTheory.Sites.DenseSubsite.Basic |
| 3 | |
| 4 | /-! # Site Density -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.SiteDensity.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: affine spectra cover the actual pro-étale site |
| 12 | |
| 13 | Every site object has its ordinary affine open cover, and every member |
| 14 | is recovered from its coordinate algebra by the checked spectrum isomorphism. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {X : Scheme.{u}} (U : X.ProEt) |
| 25 | |
| 26 | /-- An affine open of a site object is again an actual site object. -/ |
| 27 | def proEtaleAffineOpen (i : U.left.affineCover.I₀) : X.ProEt := |
| 28 | Scheme.ProEt.mk (U.left.affineCover.f i ≫ U.hom) |
| 29 | |
| 30 | /-- The inclusion of an affine open in the actual site. -/ |
| 31 | def proEtaleAffineOpenInclusion (i : U.left.affineCover.I₀) : proEtaleAffineOpen U i ⟶ U := |
| 32 | MorphismProperty.Over.homMk (U.left.affineCover.f i) rfl |
| 33 | |
| 34 | instance (i : U.left.affineCover.I₀) : IsAffine (proEtaleAffineOpen U i).left := |
| 35 | inferInstanceAs (IsAffine (U.left.affineCover.X i)) |
| 36 | |
| 37 | /-- The ordinary affine open cover is a covering family in the actual site. -/ |
| 38 | theorem proEtaleAffineOpen_cover : |
| 39 | Sieve.generate (Presieve.ofArrows (proEtaleAffineOpen U) (proEtaleAffineOpenInclusion U)) ∈ |
| 40 | Scheme.ProEt.topology X U := by |
| 41 | apply Precoverage.generate_mem_toGrothendieck |
| 42 | change (Presieve.ofArrows (proEtaleAffineOpen U) (proEtaleAffineOpenInclusion U)).map |
| 43 | (Scheme.ProEt.forget X ⋙ Over.forget X) ∈ Scheme.proetalePrecoverage U.left |
| 44 | rw [Presieve.map_ofArrows] |
| 45 | exact Scheme.zariskiPrecoverage_le_propQCPrecoverage _ U.left.affineCover.mem₀ |
| 46 | |
| 47 | /-- Actual weakly étale affine algebras form a cover-dense subcategory of the site. -/ |
| 48 | theorem proEtaleAlgebraSpecCoverDense (R : Type u) [CommRing R] : |
| 49 | (ProEtale.Algebras.Construction.proEtaleAlgebraSpec R).IsCoverDense (Scheme.ProEt.topology (Spec (CommRingCat.of R))) where |
| 50 | is_cover U := by |
| 51 | apply (Scheme.ProEt.topology (Spec (CommRingCat.of R))).superset_covering |
| 52 | ((Sieve.generate_le_iff _ _).mpr ?_) (proEtaleAffineOpen_cover U) |
| 53 | intro V g hg |
| 54 | cases hg with |
| 55 | | mk i => |
| 56 | let e := ProEtaleRepresentation.Construction.proEtaleAlgebraOfAffineIso (proEtaleAffineOpen U i) |
| 57 | exact ⟨⟨op (ProEtaleRepresentation.Construction.proEtaleAlgebraOfAffine (proEtaleAffineOpen U i)), e.inv, |
| 58 | e.hom ≫ proEtaleAffineOpenInclusion U i, by simp⟩⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.SiteDensity.Construction |