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.SiteValues |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.DescentFiniteEtale |
| 3 | |
| 4 | /-! # Affine Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: descended algebras of the actual finite torsors on affine bases |
| 12 | |
| 13 | A local lift over a faithfully flat weakly étale affine cover supplies the |
| 14 | actual local representative. Its canonical coaction descends to an algebra |
| 15 | over the original ring, with a checked isomorphism after base change. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 26 | (f : R →+* S) (hf : WeaklyEtale (Spec.map (CommRingCat.ofHom f))) |
| 27 | (ℓ n : ℕ) [NeZero (ℓ ^ n)] |
| 28 | |
| 29 | /-- The actual affine coordinate algebra represents the local finite coefficient scheme in the slice. -/ |
| 30 | def AffineDescent.Construction.finiteCoefficientSliceAlgebraIso : |
| 31 | (Affine.CoverObject.Construction.affineAlgebraToSlice f hf).obj (op (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S)) ≅ |
| 32 | Local.Construction.finiteCoefficientSlice ℓ n (Affine.CoverObject.Construction.affineCoverObject f hf) := |
| 33 | (ProEtale.Slice.Construction.proEtaleToSlice (Affine.CoverObject.Construction.affineCoverObject f hf)).mapIso (ProEtale.Slice.Construction.finiteCoefficientAlgebraSpecIso ℓ n S) ≪≫ |
| 34 | eqToIso (ProEtale.Slice.Construction.proEtaleToSlice_finiteCoefficient (Affine.CoverObject.Construction.affineCoverObject f hf) ℓ n) |
| 35 | |
| 36 | variable {ℓ n} (E : App.Construction.FiniteCoefficientExtension ℓ n (Spec (CommRingCat.of R))) |
| 37 | (s : E.Fiber (Affine.CoverObject.Construction.affineCoverObject f hf)) |
| 38 | |
| 39 | /-- The actual torsor restricted to affine objects over the cover is represented by its coefficient algebra. -/ |
| 40 | def App.Construction.FiniteCoefficientExtension.affineLocalRepresentative : |
| 41 | ((Affine.CoverObject.Construction.affineAlgebraToSlice f hf).op ⋙ (Over.forget (Affine.CoverObject.Construction.affineCoverObject f hf)).op ⋙ |
| 42 | E.fiberPresheaf).RepresentableBy (op (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S)) := by |
| 43 | let rep := (E.localRepresentative s).ofIsoObj (AffineDescent.Construction.finiteCoefficientSliceAlgebraIso f hf ℓ n) |
| 44 | exact { |
| 45 | homEquiv := (Affine.CoverObject.Construction.affineAlgebraToSliceFullyFaithful f hf).homEquiv.trans rep.homEquiv |
| 46 | homEquiv_comp g h := by |
| 47 | change rep.homEquiv ((Affine.CoverObject.Construction.affineAlgebraToSlice f hf).map (g ≫ h)) = _ |
| 48 | rw [CategoryTheory.Functor.map_comp, rep.homEquiv_comp] |
| 49 | rfl } |
| 50 | |
| 51 | /-- On algebras, the same actual local representative is a corepresentative. -/ |
| 52 | def App.Construction.FiniteCoefficientExtension.affineLocalCorepresentative : |
| 53 | (Affine.SiteValues.Construction.affineSliceValues f hf E.fiberPresheaf).CorepresentableBy (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S) where |
| 54 | homEquiv := { |
| 55 | toFun g := (E.affineLocalRepresentative f hf s).homEquiv g.op |
| 56 | invFun t := ((E.affineLocalRepresentative f hf s).homEquiv.symm t).unop |
| 57 | left_inv g := congrArg Quiver.Hom.unop |
| 58 | ((E.affineLocalRepresentative f hf s).homEquiv.symm_apply_apply g.op) |
| 59 | right_inv t := (E.affineLocalRepresentative f hf s).homEquiv.apply_symm_apply t } |
| 60 | homEquiv_comp g h := by |
| 61 | simpa only [op_comp] using! (E.affineLocalRepresentative f hf s).homEquiv_comp g.op h.op |
| 62 | |
| 63 | /-- The corepresentative is for the actual original torsor values after scalar restriction. -/ |
| 64 | def App.Construction.FiniteCoefficientExtension.affineRestrictedCorepresentative : |
| 65 | (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraRestrict f hf ⋙ Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf).CorepresentableBy |
| 66 | (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S) := |
| 67 | (E.affineLocalCorepresentative f hf s).ofIso (Affine.SiteValues.Construction.affineSliceValuesIso f hf E.fiberPresheaf) |
| 68 | |
| 69 | variable (hflat : f.FaithfullyFlat) |
| 70 | |
| 71 | /-- The actual finite torsor's descended algebra over the original affine base. -/ |
| 72 | def App.Construction.FiniteCoefficientExtension.affineDescendedAlgebra : CommAlgCat.{u} R := |
| 73 | Affine.DescentData.Construction.affineRepresentativeDescended f hf (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf) |
| 74 | (E.affineRestrictedCorepresentative f hf s) hflat |
| 75 | |
| 76 | /-- Base change recovers the actual coordinate algebra of the torsor's local finite étale representative. -/ |
| 77 | def App.Construction.FiniteCoefficientExtension.affineDescendedAlgebraIso : |
| 78 | (CommBaseChange.Construction.commAlgExtend f).obj (E.affineDescendedAlgebra f hf s hflat) ≅ |
| 79 | (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S).obj := |
| 80 | Affine.DescentData.Construction.affineRepresentativeDescendedIso f hf (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf) |
| 81 | (E.affineRestrictedCorepresentative f hf s) hflat |
| 82 | |
| 83 | theorem App.Construction.FiniteCoefficientExtension.affineDescendedAlgebra_finite : Module.Finite R (E.affineDescendedAlgebra f hf s hflat) := |
| 84 | Affine.DescentFiniteEtale.Construction.affineRepresentativeDescended_finite f hf ℓ n (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf) |
| 85 | (E.affineRestrictedCorepresentative f hf s) hflat |
| 86 | |
| 87 | theorem App.Construction.FiniteCoefficientExtension.affineDescendedAlgebra_etale : Algebra.Etale R (E.affineDescendedAlgebra f hf s hflat) := |
| 88 | Affine.DescentFiniteEtale.Construction.affineRepresentativeDescended_etale f hf ℓ n (Affine.SiteValues.Construction.proEtaleAffineValues E.fiberPresheaf) |
| 89 | (E.affineRestrictedCorepresentative f hf s) hflat |
| 90 | |
| 91 | /-- The spectrum of the actual descended algebra, as an object of the original pro-étale site. -/ |
| 92 | def App.Construction.FiniteCoefficientExtension.affineDescendedProEt : (Spec (CommRingCat.of R)).ProEt := by |
| 93 | have h : Algebra.Etale R (E.affineDescendedAlgebra f hf s hflat) := |
| 94 | E.affineDescendedAlgebra_etale f hf s hflat |
| 95 | have : Etale (Spec.map (CommRingCat.ofHom (algebraMap R (E.affineDescendedAlgebra f hf s hflat)))) := |
| 96 | (HasRingHomProperty.Spec_iff (P := @Etale)).mpr ((RingHom.etale_algebraMap).mpr h) |
| 97 | exact Scheme.ProEt.mk (Spec.map (CommRingCat.ofHom (algebraMap R (E.affineDescendedAlgebra f hf s hflat)))) |
| 98 | |
| 99 | theorem App.Construction.FiniteCoefficientExtension.affineDescendedProEt_finite : IsFinite (E.affineDescendedProEt f hf s hflat).hom := |
| 100 | (IsFinite.SpecMap_iff _).mpr |
| 101 | ((RingHom.finite_algebraMap).mpr (E.affineDescendedAlgebra_finite f hf s hflat)) |
| 102 | |
| 103 | theorem App.Construction.FiniteCoefficientExtension.affineDescendedProEt_etale : Etale (E.affineDescendedProEt f hf s hflat).hom := |
| 104 | (HasRingHomProperty.Spec_iff (P := @Etale)).mpr |
| 105 | ((RingHom.etale_algebraMap).mpr (E.affineDescendedAlgebra_etale f hf s hflat)) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |