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.Tensor.ModelCartesian |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion |
| 3 | |
| 4 | /-! # Natural Tensor Map Cartesian -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalTensorMapCartesian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The natural tensor extension of an affine morphism is its actual base change. -/ |
| 11 | |
| 12 | open TensorProduct _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 17 | variable [Algebra C R] [Algebra C A] [Algebra C B] |
| 18 | |
| 19 | theorem naturalTensorMap_ring_isPushout (φ : A →ₐ[C] B) : |
| 20 | IsPushout (CommRingCat.ofHom φ.toRingHom) |
| 21 | (CommRingCat.ofHom (Algebra.TensorProduct.includeRight (R := C) (A := R) (B := A)).toRingHom) |
| 22 | (CommRingCat.ofHom (Algebra.TensorProduct.includeRight (R := C) (A := R) (B := B)).toRingHom) |
| 23 | (CommRingCat.ofHom (Algebra.TensorProduct.map (AlgHom.id R R) φ).toRingHom) := by |
| 24 | let m := CommRingCat.ofHom (Algebra.TensorProduct.map (AlgHom.id R R) φ).toRingHom |
| 25 | have htop : CommRingCat.ofHom (algebraMap C A) ≫ CommRingCat.ofHom φ.toRingHom = |
| 26 | CommRingCat.ofHom (algebraMap C B) := by |
| 27 | ext c |
| 28 | exact φ.commutes c |
| 29 | have hbot : CommRingCat.ofHom (algebraMap R (R ⊗[C] A)) ≫ m = |
| 30 | CommRingCat.ofHom (algebraMap R (R ⊗[C] B)) := by |
| 31 | ext r |
| 32 | exact (Algebra.TensorProduct.map (AlgHom.id R R) φ).commutes r |
| 33 | have hbig : IsPushout |
| 34 | (CommRingCat.ofHom (algebraMap C A) ≫ CommRingCat.ofHom φ.toRingHom) |
| 35 | (CommRingCat.ofHom (algebraMap C R)) |
| 36 | (CommRingCat.ofHom (Algebra.TensorProduct.includeRight (R := C) (A := R) (B := B)).toRingHom) |
| 37 | (CommRingCat.ofHom (algebraMap R (R ⊗[C] A)) ≫ m) := by |
| 38 | rw [htop, hbot] |
| 39 | exact (CommRingCat.isPushout_tensorProduct C R B).flip |
| 40 | apply hbig.of_left ?_ (CommRingCat.isPushout_tensorProduct C R A).flip |
| 41 | ext a |
| 42 | change (1 : R) ⊗ₜ[C] φ a = Algebra.TensorProduct.map (AlgHom.id R R) φ ((1 : R) ⊗ₜ[C] a) |
| 43 | exact (Algebra.TensorProduct.map_tmul (AlgHom.id R R) φ (1 : R) a).symm |
| 44 | |
| 45 | theorem naturalTensorMap_isPullback (φ : A →ₐ[C] B) : |
| 46 | IsPullback |
| 47 | (Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.map (AlgHom.id R R) φ).toRingHom)) |
| 48 | (Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight (R := C) (A := R) (B := B)).toRingHom)) |
| 49 | (Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeRight (R := C) (A := R) (B := A)).toRingHom)) |
| 50 | (Spec.map (CommRingCat.ofHom φ.toRingHom)) := |
| 51 | (isPullback_SpecMap_of_isPushout _ _ _ _ (naturalTensorMap_ring_isPushout (R := R) φ)).flip |
| 52 | |
| 53 | theorem natural_tensorMap_isOpenImmersion (φ : A →ₐ[C] B) |
| 54 | [IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom))] : |
| 55 | IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 56 | (Algebra.TensorProduct.map (AlgHom.id R R) φ).toRingHom)) := |
| 57 | MorphismProperty.of_isPullback (naturalTensorMap_isPullback (R := R) φ).flip inferInstance |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NaturalTensorMapCartesian |