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.RingTheory.TensorProduct.Quotient |
| 2 | import Mathlib.RingTheory.IsTensorProduct |
| 3 | |
| 4 | /-! # Surjective Ring Pushout -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SurjectiveRingPushout |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A commutative square of surjections is a ring pushout when the bottom kernel is the extended top kernel. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {A B S T : Type} [CommRing A] [CommRing B] [CommRing S] [CommRing T] |
| 15 | [Algebra A B] [Algebra A S] [Algebra A T] [Algebra B T] [Algebra S T] |
| 16 | [IsScalarTower A B T] [IsScalarTower A S T] |
| 17 | |
| 18 | theorem isPushout_of_surjective_kernel |
| 19 | (hAB : Function.Surjective (algebraMap A B)) |
| 20 | (hST : Function.Surjective (algebraMap S T)) |
| 21 | (hker : RingHom.ker (algebraMap S T) = |
| 22 | Ideal.map (algebraMap A S) (RingHom.ker (algebraMap A B))) : |
| 23 | Algebra.IsPushout A S B T := by |
| 24 | let I := RingHom.ker (algebraMap A B) |
| 25 | let J := Ideal.map (algebraMap A S) I |
| 26 | have hJ : ∀ s : S, s ∈ J → algebraMap S T s = 0 := by |
| 27 | intro s hs |
| 28 | exact (show J ≤ RingHom.ker (algebraMap S T) from hker.ge) hs |
| 29 | let q : S ⧸ J →ₐ[S] T := Ideal.Quotient.liftₐ J (Algebra.ofId S T) hJ |
| 30 | have hq : Function.Bijective q := by |
| 31 | constructor |
| 32 | · exact RingHom.lift_injective_of_ker_le_ideal J hJ hker.le |
| 33 | · intro t |
| 34 | obtain ⟨s, rfl⟩ := hST t |
| 35 | exact ⟨Ideal.Quotient.mk J s, rfl⟩ |
| 36 | let eB : (A ⧸ I) ≃ₐ[A] B := |
| 37 | Ideal.quotientKerAlgEquivOfSurjective (f := Algebra.ofId A B) hAB |
| 38 | let e : S ⊗[A] B ≃ₐ[S] T := |
| 39 | (Algebra.TensorProduct.congr (AlgEquiv.refl : S ≃ₐ[S] S) eB.symm).trans |
| 40 | ((Algebra.TensorProduct.quotIdealMapEquivTensorQuot S I).symm.trans |
| 41 | (AlgEquiv.ofBijective q hq)) |
| 42 | constructor |
| 43 | apply IsBaseChange.of_equiv e.toLinearEquiv |
| 44 | intro b |
| 45 | obtain ⟨a, rfl⟩ := hAB b |
| 46 | change e (1 ⊗ₜ[A] algebraMap A B a) = algebraMap B T (algebraMap A B a) |
| 47 | have heB : eB.symm (algebraMap A B a) = Ideal.Quotient.mk I a := |
| 48 | Ideal.quotientKerAlgEquivOfSurjective_symm_apply hAB a |
| 49 | change q ((Algebra.TensorProduct.quotIdealMapEquivTensorQuot S I).symm |
| 50 | ((Algebra.TensorProduct.congr (AlgEquiv.refl : S ≃ₐ[S] S) eB.symm) |
| 51 | (1 ⊗ₜ[A] algebraMap A B a))) = _ |
| 52 | rw [Algebra.TensorProduct.congr_apply, Algebra.TensorProduct.map_tmul] |
| 53 | change q ((Algebra.TensorProduct.quotIdealMapEquivTensorQuot S I).symm |
| 54 | (1 ⊗ₜ[A] eB.symm (algebraMap A B a))) = _ |
| 55 | rw [heB, Algebra.TensorProduct.quotIdealMapEquivTensorQuot_symm_tmul] |
| 56 | change algebraMap S T (a • (1 : S)) = algebraMap B T (algebraMap A B a) |
| 57 | rw [← Algebra.algebraMap_eq_smul_one, ← IsScalarTower.algebraMap_apply A S T, |
| 58 | ← IsScalarTower.algebraMap_apply A B T] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Comparison.Betti.SurjectiveRingPushout |