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.FiniteTorsor.AffineRepresentation |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.SiteDensity |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.DenseRepresentation |
| 4 | |
| 5 | /-! # Affine Scheme -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: actual finite étale torsor schemes on affine bases |
| 13 | |
| 14 | An affine faithfully flat trivialization gives a finite étale scheme |
| 15 | representing the original torsor on the whole pro-étale site. The identification |
| 16 | on arbitrary objects follows from the proved affine cover density. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 27 | (f : R →+* S) (hf : WeaklyEtale (Spec.map (CommRingCat.ofHom f))) |
| 28 | {ℓ n : ℕ} [NeZero (ℓ ^ n)] |
| 29 | |
| 30 | variable (E : App.Construction.FiniteCoefficientExtension ℓ n (Spec (CommRingCat.of R))) |
| 31 | (s : E.Fiber (Affine.CoverObject.Construction.affineCoverObject f hf)) (hflat : f.FaithfullyFlat) |
| 32 | |
| 33 | /-- The actual representing bijection on spectra, expressed as a presheaf representation. -/ |
| 34 | def App.Construction.FiniteCoefficientExtension.affineDescendedRestrictedRepresentative : |
| 35 | ((ProEtale.Algebras.Construction.proEtaleAlgebraSpec R).op ⋙ E.fiberPresheaf).RepresentableBy |
| 36 | (op (E.affineDescendedSiteAlgebra f hf s hflat)) where |
| 37 | homEquiv := { |
| 38 | toFun g := (E.affineDescendedCorepresentative f hf s hflat).homEquiv g.unop |
| 39 | invFun t := ((E.affineDescendedCorepresentative f hf s hflat).homEquiv.symm t).op |
| 40 | left_inv g := congrArg Quiver.Hom.op |
| 41 | ((E.affineDescendedCorepresentative f hf s hflat).homEquiv.symm_apply_apply g.unop) |
| 42 | right_inv t := (E.affineDescendedCorepresentative f hf s hflat).homEquiv.apply_symm_apply t } |
| 43 | homEquiv_comp g h := by |
| 44 | simpa only [unop_comp] using! |
| 45 | (E.affineDescendedCorepresentative f hf s hflat).homEquiv_comp g.unop h.unop |
| 46 | |
| 47 | /-- The actual descended finite étale scheme represents the original torsor on the whole site. -/ |
| 48 | def App.Construction.FiniteCoefficientExtension.affineDescendedRepresentative : |
| 49 | E.fiberPresheaf.RepresentableBy (E.affineDescendedProEt f hf s hflat) := by |
| 50 | have := Affine.SiteDensity.Construction.proEtaleAlgebraSpecCoverDense R |
| 51 | exact DenseRepresentation.Construction.representableByOfCoverDense.{u + 1, u, u + 1, u, u + 1} |
| 52 | (ProEtale.Algebras.Construction.proEtaleAlgebraSpec R) (ProEtale.Algebras.Construction.proEtaleAlgebraSpecFullyFaithful (R := R)) |
| 53 | (Scheme.ProEt.topology (Spec (CommRingCat.of R))) E.fiberSheaf |
| 54 | (E.affineDescendedRestrictedRepresentative f hf s hflat) |
| 55 | |
| 56 | include s hflat in |
| 57 | /-- An actual finite étale representative exists whenever an affine faithfully flat trivialization is given. -/ |
| 58 | theorem App.Construction.FiniteCoefficientExtension.exists_finiteEtale_representative_of_affine_trivialization : |
| 59 | ∃ T : (Spec (CommRingCat.of R)).ProEt, |
| 60 | IsFinite T.hom ∧ Etale T.hom ∧ Nonempty (E.fiberPresheaf.RepresentableBy T) := |
| 61 | ⟨E.affineDescendedProEt f hf s hflat, E.affineDescendedProEt_finite f hf s hflat, |
| 62 | E.affineDescendedProEt_etale f hf s hflat, ⟨E.affineDescendedRepresentative f hf s hflat⟩⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |