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.ProEtale.AlgebraBaseChange |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CorepresentableDescent |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CommDescentObject |
| 4 | |
| 5 | /-! # Descent Data -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.DescentData.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: descent of algebra representatives from the actual affine site |
| 13 | |
| 14 | The canonical coaction on a corepresentative in weakly étale algebras gives |
| 15 | a coaction in all commutative algebras, and hence a descended algebra over |
| 16 | the original ring when the covering ring map is faithfully flat. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | universe u w |
| 25 | |
| 26 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 27 | (hf : WeaklyEtale (Spec.map (CommRingCat.ofHom f))) |
| 28 | |
| 29 | /-- Forgetting the site condition preserves the actual descent coaction and its laws. -/ |
| 30 | def proEtaleCoalgebraForget (D : (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj f hf).toComonad.Coalgebra) : |
| 31 | (CommBaseChange.Construction.commAlgExtendRestrictAdj f).toComonad.Coalgebra where |
| 32 | A := D.A.obj |
| 33 | a := D.a.hom |
| 34 | counit := by |
| 35 | have h := (ProEtale.Algebras.Construction.weaklyEtaleAlgebra S).ι.congr_map D.counit |
| 36 | change D.a.hom ≫ ((ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj f hf).counit.app D.A).hom = 𝟙 D.A.obj at h |
| 37 | rw [ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj_counit] at h |
| 38 | exact h |
| 39 | coassoc := by |
| 40 | have h := (ProEtale.Algebras.Construction.weaklyEtaleAlgebra S).ι.congr_map D.coassoc |
| 41 | change D.a.hom ≫ (CommBaseChange.Construction.commAlgExtend f).map |
| 42 | (((ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj f hf).unit.app ((ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraRestrict f hf).obj D.A)).hom) = |
| 43 | D.a.hom ≫ (CommBaseChange.Construction.commAlgExtend f).map ((CommBaseChange.Construction.commAlgRestrict f).map D.a.hom) at h |
| 44 | rw [ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj_unit] at h |
| 45 | exact h |
| 46 | |
| 47 | variable (F : ProEtale.Algebras.Construction.ProEtaleAlgebra R ⥤ Type w) {Y : ProEtale.Algebras.Construction.ProEtaleAlgebra S} |
| 48 | (rep : (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraRestrict f hf ⋙ F).CorepresentableBy Y) |
| 49 | |
| 50 | /-- The canonical actual commutative-algebra descent data of the local representative. -/ |
| 51 | def affineRepresentativeCoalgebra : (CommBaseChange.Construction.commAlgExtendRestrictAdj f).toComonad.Coalgebra := |
| 52 | proEtaleCoalgebraForget f hf (CorepresentableDescent.Construction.corepresentableDescentCoalgebra (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraAdj f hf) F rep) |
| 53 | |
| 54 | variable (hflat : f.FaithfullyFlat) |
| 55 | |
| 56 | /-- The descended algebra of a local affine representative. -/ |
| 57 | def affineRepresentativeDescended : CommAlgCat.{u} R := |
| 58 | CommDescentObject.Construction.descendedCommAlgebra f hflat (affineRepresentativeCoalgebra f hf F rep) |
| 59 | |
| 60 | /-- Actual base change recovers the local affine algebra representative. -/ |
| 61 | def affineRepresentativeDescendedIso : |
| 62 | (CommBaseChange.Construction.commAlgExtend f).obj (affineRepresentativeDescended f hf F rep hflat) ≅ Y.obj := |
| 63 | CommDescentObject.Construction.descendedCommAlgebraIso f hflat (affineRepresentativeCoalgebra f hf F rep) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.DescentData.Construction |