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.Quotients.FiniteDescent.AffineQuotientOf |
| 2 | |
| 3 | /-! # Affine Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AffineDetection.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Detect affine quotient neighborhoods using their actual finite-free |
| 10 | kernel relation. This retains the given target through the effective |
| 11 | quotient comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem affine_of_finiteFree_kernelPair |
| 18 | {R X Y : Scheme.{u}} [IsAffine R] [IsAffine X] |
| 19 | (q : X ⟶ Y) [EffectiveEpi q] (s t : R ⟶ X) |
| 20 | (hk : IsKernelPair q s t) {ι : Type v} [Fintype ι] |
| 21 | (b : letI := s.appTop.hom.toAlgebra; Module.Basis ι Γ(X, ⊤) Γ(R, ⊤)) : |
| 22 | IsAffine Y := by |
| 23 | classical |
| 24 | let e := hk.equivalenceRelation q s t (pullback.isLimit t s) |
| 25 | obtain ⟨hfin, hflat, _, hsurj, hk'⟩ := |
| 26 | Quotients.FiniteDescent.AffineQuotientOf.Construction.AffineQuotient.projection_properties_of_finiteFree_absolute s t e b |
| 27 | have := hfin |
| 28 | have := hflat |
| 29 | have := hsurj |
| 30 | obtain ⟨eQ, _, _⟩ := Quotients.FiniteDescent.Quotient.Construction.QuotientDescent.existsUnique_iso |
| 31 | (Quotients.FiniteDescent.AffineQuotientOf.Construction.AffineQuotient.projection s t) q hk' hk |
| 32 | exact (IsAffine.iff_of_isIso eQ.inv).mpr inferInstance |
| 33 | |
| 34 | theorem affine_of_kernelPair_source_baseChange |
| 35 | {H S R X Y : Scheme.{u}} [IsAffine H] [IsAffine S] [IsAffine X] |
| 36 | (q : X ⟶ Y) [EffectiveEpi q] (s t : R ⟶ X) |
| 37 | (hk : IsKernelPair q s t) (h : H ⟶ S) [IsFinite h] |
| 38 | (a : X ⟶ S) (r : R ⟶ H) (hs : IsPullback r s h a) |
| 39 | {ι : Type v} [Fintype ι] |
| 40 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) : |
| 41 | IsAffine Y := by |
| 42 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 43 | have : IsAffine R := isAffine_of_isAffineHom s |
| 44 | obtain ⟨bR, _⟩ := Quotients.FiniteDescent.AffineGroupoidIs.Construction.AffineGroupoid.exists_basis_of_isPushout h.appTop a.appTop |
| 45 | r.appTop s.appTop (isPushout_appTop_of_isPullback hs) b |
| 46 | exact affine_of_finiteFree_kernelPair q s t hk bR |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AffineDetection.Construction |