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.AbelianModuli.HilbertConstruction.Affine.ImmersionTransport |
| 2 | import Mathlib.RingTheory.TensorProduct.Maps |
| 3 | |
| 4 | /-! # Tensor Immersion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.TensorImmersion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Removing an intermediate coefficient algebra preserves the actual affine open immersion. -/ |
| 11 | |
| 12 | open TensorProduct _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C D F A B : Type u} |
| 17 | variable [CommRing C] [CommRing D] [CommRing F] [CommRing A] [CommRing B] |
| 18 | variable [Algebra C D] [Algebra C F] [Algebra D F] [IsScalarTower C D F] |
| 19 | variable [Algebra C A] [Algebra C B] |
| 20 | |
| 21 | theorem tensor_cancelBaseChange_natural (φ : A →ₐ[C] B) : |
| 22 | (Algebra.TensorProduct.cancelBaseChange C D F F B).toAlgHom.comp |
| 23 | (Algebra.TensorProduct.map (AlgHom.id F F) |
| 24 | (Algebra.TensorProduct.map (AlgHom.id D D) φ)) = |
| 25 | (Algebra.TensorProduct.map (AlgHom.id F F) φ).comp |
| 26 | (Algebra.TensorProduct.cancelBaseChange C D F F A).toAlgHom := by |
| 27 | apply AlgHom.ext |
| 28 | intro z |
| 29 | induction z using TensorProduct.inductionOn with |
| 30 | | tmul r x => |
| 31 | induction x using TensorProduct.inductionOn with |
| 32 | | tmul d a => |
| 33 | simp only [AlgHom.comp_apply, Algebra.TensorProduct.map_tmul, AlgHom.id_apply, |
| 34 | AlgEquiv.coe_toAlgHom, Algebra.TensorProduct.cancelBaseChange_tmul] |
| 35 | | add x y hx hy => simp only [tmul_add, map_add, hx, hy] |
| 36 | | add x y hx hy => simp only [map_add, hx, hy] |
| 37 | |
| 38 | theorem isOpenImmersion_of_iterated_tensorMap (φ : A →ₐ[C] B) |
| 39 | [IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 40 | (Algebra.TensorProduct.map (AlgHom.id F F) |
| 41 | (Algebra.TensorProduct.map (AlgHom.id D D) φ)).toRingHom))] : |
| 42 | IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 43 | (Algebra.TensorProduct.map (AlgHom.id F F) φ).toRingHom)) := by |
| 44 | exact Affine.ImmersionTransport.isOpenImmersion_SpecMap_of_conjugate |
| 45 | (Algebra.TensorProduct.map (AlgHom.id F F) |
| 46 | (Algebra.TensorProduct.map (AlgHom.id D D) φ)).toRingHom |
| 47 | (Algebra.TensorProduct.map (AlgHom.id F F) φ).toRingHom |
| 48 | (Algebra.TensorProduct.cancelBaseChange C D F F A).toRingEquiv |
| 49 | (Algebra.TensorProduct.cancelBaseChange C D F F B).toRingEquiv |
| 50 | (DFunLike.congr_fun (tensor_cancelBaseChange_natural (D := D) (F := F) φ)) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.TensorImmersion |