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.CycleClass.Thom.TorAlgebra.ExternalQuotient |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Product Quotient Ring -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.ProductQuotientRing.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The quotient by the two extended ideals is the actual tensor |
| 11 | product of the two quotient algebras. The maps are induced by the |
| 12 | canonical quotient maps and the two tensor inclusions. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalQuotient |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | variable (k R S : Type u) [Field k] [CommRing R] [CommRing S] [Algebra k R] [Algebra k S] |
| 23 | (I : Ideal R) (J : Ideal S) |
| 24 | |
| 25 | def leftFactor : R ⧸ I →ₐ[k] (R ⊗[k] S) ⧸ TorAlgebra.ExternalQuotient.productIdeal k R S I J := |
| 26 | Ideal.Quotient.liftₐ I |
| 27 | ((Ideal.Quotient.mkₐ k (TorAlgebra.ExternalQuotient.productIdeal k R S I J)).comp Algebra.TensorProduct.includeLeft) (by |
| 28 | intro r hr |
| 29 | change Ideal.Quotient.mk (TorAlgebra.ExternalQuotient.productIdeal k R S I J) (r ⊗ₜ[k] 1) = 0 |
| 30 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 31 | have hI : I.map (Algebra.TensorProduct.includeLeft (R := k) (S := k) (A := R) (B := S)).toRingHom ≤ |
| 32 | TorAlgebra.ExternalQuotient.productIdeal k R S I J := le_sup_right |
| 33 | exact hI (Ideal.mem_map_of_mem _ hr)) |
| 34 | |
| 35 | def rightFactor : S ⧸ J →ₐ[k] (R ⊗[k] S) ⧸ TorAlgebra.ExternalQuotient.productIdeal k R S I J := |
| 36 | Ideal.Quotient.liftₐ J |
| 37 | ((Ideal.Quotient.mkₐ k (TorAlgebra.ExternalQuotient.productIdeal k R S I J)).comp Algebra.TensorProduct.includeRight) (by |
| 38 | intro s hs |
| 39 | change Ideal.Quotient.mk (TorAlgebra.ExternalQuotient.productIdeal k R S I J) (1 ⊗ₜ[k] s) = 0 |
| 40 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 41 | have hJ : J.map (Algebra.TensorProduct.includeRight (R := k) (A := R) (B := S)).toRingHom ≤ |
| 42 | TorAlgebra.ExternalQuotient.productIdeal k R S I J := le_sup_left |
| 43 | exact hJ (Ideal.mem_map_of_mem _ hs)) |
| 44 | |
| 45 | def fromProduct : (R ⧸ I) ⊗[k] (S ⧸ J) →ₐ[k] (R ⊗[k] S) ⧸ TorAlgebra.ExternalQuotient.productIdeal k R S I J := |
| 46 | Algebra.TensorProduct.lift (leftFactor k R S I J) (rightFactor k R S I J) (fun _ _ => .all _ _) |
| 47 | |
| 48 | def productMap : R ⊗[k] S →ₐ[k] (R ⧸ I) ⊗[k] (S ⧸ J) := |
| 49 | Algebra.TensorProduct.map (Ideal.Quotient.mkₐ k I) (Ideal.Quotient.mkₐ k J) |
| 50 | |
| 51 | theorem productIdeal_le_ker : TorAlgebra.ExternalQuotient.productIdeal k R S I J ≤ RingHom.ker (productMap k R S I J).toRingHom := by |
| 52 | apply sup_le |
| 53 | · apply Ideal.map_le_iff_le_comap.mpr |
| 54 | intro s hs |
| 55 | change (1 : R ⧸ I) ⊗ₜ[k] Ideal.Quotient.mk J s = 0 |
| 56 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr hs, TensorProduct.tmul_zero] |
| 57 | · apply Ideal.map_le_iff_le_comap.mpr |
| 58 | intro r hr |
| 59 | change Ideal.Quotient.mk I r ⊗ₜ[k] (1 : S ⧸ J) = 0 |
| 60 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr hr, TensorProduct.zero_tmul] |
| 61 | |
| 62 | def toProduct : (R ⊗[k] S) ⧸ TorAlgebra.ExternalQuotient.productIdeal k R S I J →ₐ[k] (R ⧸ I) ⊗[k] (S ⧸ J) := |
| 63 | Ideal.Quotient.liftₐ (TorAlgebra.ExternalQuotient.productIdeal k R S I J) (productMap k R S I J) (productIdeal_le_ker k R S I J) |
| 64 | |
| 65 | def quotientProductEquiv : ((R ⊗[k] S) ⧸ TorAlgebra.ExternalQuotient.productIdeal k R S I J) ≃ₐ[k] (R ⧸ I) ⊗[k] (S ⧸ J) := |
| 66 | AlgEquiv.ofAlgHom (toProduct k R S I J) (fromProduct k R S I J) |
| 67 | (by |
| 68 | apply Algebra.TensorProduct.ext |
| 69 | · apply AlgHom.ext |
| 70 | intro r |
| 71 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective r |
| 72 | simp [toProduct, fromProduct, leftFactor, rightFactor, productMap] |
| 73 | · apply AlgHom.ext |
| 74 | intro s |
| 75 | obtain ⟨s, rfl⟩ := Ideal.Quotient.mk_surjective s |
| 76 | simp [toProduct, fromProduct, leftFactor, rightFactor, productMap]) |
| 77 | (by |
| 78 | apply Ideal.Quotient.algHom_ext |
| 79 | apply Algebra.TensorProduct.ext |
| 80 | · ext r |
| 81 | simp [toProduct, fromProduct, leftFactor, rightFactor, productMap] |
| 82 | · ext s |
| 83 | simp [toProduct, fromProduct, leftFactor, rightFactor, productMap]) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.ProductQuotientRing.Constructions |