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.AffineDescent |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.SheafDescent |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.DescentComparison |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CorepresentableEffectiveDescent |
| 5 | |
| 6 | /-! # Affine Representation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: the descended algebra actually corepresents the finite torsor |
| 14 | |
| 15 | For an affine faithfully flat trivialization, the finite étale descended |
| 16 | algebra corepresents the original torsor on the actual affine pro-étale site. |
| 17 | Both the algebra and section descent hypotheses are proved for these objects. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 28 | (f : R →+* S) (hf : WeaklyEtale (Spec.map (CommRingCat.ofHom f))) |
| 29 | {ℓ n : ℕ} [NeZero (ℓ ^ n)] |
| 30 | |
| 31 | variable (E : App.Construction.FiniteCoefficientExtension ℓ n (Spec (CommRingCat.of R))) |
| 32 | (s : E.Fiber (Affine.CoverObject.Construction.affineCoverObject f hf)) (hflat : f.FaithfullyFlat) |
| 33 | |
| 34 | /-- The actual descended finite étale algebra lies in the affine site category. -/ |
| 35 | def App.Construction.FiniteCoefficientExtension.affineDescendedSiteAlgebra : ProEtale.Algebras.Construction.ProEtaleAlgebra R := by |
| 36 | have : Etale (E.affineDescendedProEt f hf s hflat).hom := |
| 37 | E.affineDescendedProEt_etale f hf s hflat |
| 38 | exact ⟨E.affineDescendedAlgebra f hf s hflat, by |
| 39 | change WeaklyEtale (E.affineDescendedProEt f hf s hflat).hom |
| 40 | infer_instance⟩ |
| 41 | |
| 42 | /-- Recovery respects the canonical torsor coaction in the actual affine site. -/ |
| 43 | def App.Construction.FiniteCoefficientExtension.affineDescendedSiteCoalgebraIso : |
| 44 | (Comonad.comparison (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj f hf)).obj |
| 45 | (E.affineDescendedSiteAlgebra f hf s hflat) ≅ |
| 46 | CorepresentableDescent.Construction.corepresentableDescentCoalgebra (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj f hf) |
| 47 | (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf) (E.affineRestrictedCorepresentative f hf s) := |
| 48 | ProEtale.DescentComparison.Construction.proEtaleComparisonIso f hf (CommDescentObject.Construction.descendedCommAlgebraCounit f hflat |
| 49 | (Affine.DescentData.Construction.affineRepresentativeCoalgebra f hf (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf) |
| 50 | (E.affineRestrictedCorepresentative f hf s))) |
| 51 | |
| 52 | /-- The descended finite étale algebra corepresents the actual torsor on affine site objects. -/ |
| 53 | def App.Construction.FiniteCoefficientExtension.affineDescendedCorepresentative : |
| 54 | (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf).CorepresentableBy |
| 55 | (E.affineDescendedSiteAlgebra f hf s hflat) := |
| 56 | CorepresentableEffectiveDescent.Construction.descendedCorepresentative (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj f hf) |
| 57 | (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf) (E.affineRestrictedCorepresentative f hf s) |
| 58 | (ProEtale.DescentComparison.Construction.proEtaleComparisonFullyFaithful f hf hflat) |
| 59 | (Affine.SheafDescent.Construction.proEtaleAffineSectionToDescent_bijective f hf hflat E.fiberSheaf) |
| 60 | (E.affineDescendedSiteCoalgebraIso f hf s hflat) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |