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.AffineRing |
| 2 | import Mathlib.Algebra.Category.Ring.Constructions |
| 3 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 4 | |
| 5 | /-! # Affine Kernel Is -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineKernelIs.Construction.AffineKernel |
| 8 | |
| 9 | /-! |
| 10 | # The affine quotient kernel pair |
| 11 | |
| 12 | A tensor equivalence respecting source and target identifies the given |
| 13 | affine relation with the scheme-theoretic kernel pair of the quotient map. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {A B : Type u} [CommRing A] [CommRing B] [Algebra A B] |
| 22 | |
| 23 | /-- A compatible tensor-square equivalence exhibits the invariant inclusion |
| 24 | square as a pushout of commutative rings. -/ |
| 25 | theorem isPushout_of_tensor_equiv (t : A →+* B) |
| 26 | (e : let C := (algebraMap A B).eqLocus t |
| 27 | letI : Algebra C A := C.subtype.toAlgebra |
| 28 | A ⊗[C] A ≃ₐ[A] B) |
| 29 | (he : let C := (algebraMap A B).eqLocus t |
| 30 | letI : Algebra C A := C.subtype.toAlgebra |
| 31 | ∀ a a', e (a ⊗ₜ[C] a') = algebraMap A B a * t a') : |
| 32 | IsPushout (CommRingCat.ofHom ((algebraMap A B).eqLocus t).subtype) |
| 33 | (CommRingCat.ofHom ((algebraMap A B).eqLocus t).subtype) |
| 34 | (CommRingCat.ofHom (algebraMap A B)) (CommRingCat.ofHom t) := by |
| 35 | let C := (algebraMap A B).eqLocus t |
| 36 | let : Algebra C A := C.subtype.toAlgebra |
| 37 | refine (CommRingCat.isPushout_tensorProduct C A A).of_iso |
| 38 | (Iso.refl _) (Iso.refl _) (Iso.refl _) e.toCommRingCatIso (by simp) (by simp) ?_ ?_ |
| 39 | · ext a |
| 40 | change e (a ⊗ₜ[C] 1) = algebraMap A B a |
| 41 | simpa only [map_one, mul_one] using he a 1 |
| 42 | · ext a |
| 43 | change e (1 ⊗ₜ[C] a) = t a |
| 44 | simpa only [map_one, one_mul] using he 1 a |
| 45 | |
| 46 | /-- Taking spectra turns the compatible invariant tensor square into the |
| 47 | actual scheme-theoretic kernel pair of the affine quotient projection. -/ |
| 48 | theorem projection_isKernelPair_of_tensor_equiv (t : A →+* B) |
| 49 | (e : let C := (algebraMap A B).eqLocus t |
| 50 | letI : Algebra C A := C.subtype.toAlgebra |
| 51 | A ⊗[C] A ≃ₐ[A] B) |
| 52 | (he : let C := (algebraMap A B).eqLocus t |
| 53 | letI : Algebra C A := C.subtype.toAlgebra |
| 54 | ∀ a a', e (a ⊗ₜ[C] a') = algebraMap A B a * t a') : |
| 55 | IsKernelPair (AffineRing.Construction.Affine.projection (algebraMap A B) t) |
| 56 | (Spec.map (CommRingCat.ofHom (algebraMap A B))) (Spec.map (CommRingCat.ofHom t)) := |
| 57 | isPullback_SpecMap_of_isPushout _ _ _ _ (isPushout_of_tensor_equiv t e he) |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineKernelIs.Construction.AffineKernel |