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 Mathlib.AlgebraicGeometry.Pullbacks |
| 2 | import Mathlib.AlgebraicGeometry.IdealSheaf.Functorial |
| 3 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 4 | |
| 5 | /-! # Quotient Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Affine.QuotientBaseChange.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual affine base change of closed centers and their kernel ideal sheaves. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 18 | |
| 19 | /-- The quotient by the extended ideal is the actual scheme pullback of |
| 20 | the original closed affine center. -/ |
| 21 | theorem affineQuotient_baseChange_isPullback (I : Ideal R) : |
| 22 | IsPullback |
| 23 | (Spec.map (CommRingCat.ofHom (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S))))) |
| 24 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.map (algebraMap R S))))) |
| 25 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I))) |
| 26 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 27 | let e := Algebra.TensorProduct.quotIdealMapEquivQuotTensor S I |
| 28 | apply isPullback_SpecMap_of_isPushout |
| 29 | apply (CommRingCat.isPushout_tensorProduct R (R ⧸ I) S).of_iso |
| 30 | (Iso.refl _) (Iso.refl _) (Iso.refl _) e.symm.toRingEquiv.toCommRingCatIso |
| 31 | · simp |
| 32 | · simp |
| 33 | · apply CommRingCat.hom_ext |
| 34 | apply RingHom.ext |
| 35 | intro x |
| 36 | exact e.symm.commutes x |
| 37 | · apply CommRingCat.hom_ext |
| 38 | apply RingHom.ext |
| 39 | intro x |
| 40 | change e.symm (1 ⊗ₜ[R] x) = Ideal.Quotient.mk (I.map (algebraMap R S)) x |
| 41 | apply e.injective |
| 42 | rw [e.apply_symm_apply] |
| 43 | exact (Algebra.TensorProduct.quotIdealMapEquivQuotTensor_mk S I x).symm |
| 44 | |
| 45 | /-- Pullback of the actual affine center kernel is precisely the kernel |
| 46 | of the quotient by the extended ideal. -/ |
| 47 | theorem affineQuotient_kernel_comap (I : Ideal R) : |
| 48 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I))).ker.comap |
| 49 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) = |
| 50 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.map (algebraMap R S))))).ker := by |
| 51 | let : IsClosedImmersion (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I))) := |
| 52 | IsClosedImmersion.spec_of_surjective _ Ideal.Quotient.mk_surjective |
| 53 | have hpb := (affineQuotient_baseChange_isPullback (S := S) I).flip |
| 54 | have h := Scheme.IdealSheafData.ker_fst_of_isClosedImmersion |
| 55 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I))) |
| 56 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 57 | rw [← hpb.isoPullback_inv_fst, Scheme.Hom.ker_comp_of_isIso] at h |
| 58 | exact h.symm |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Resolution.Blowups.Affine.QuotientBaseChange.Construction |