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.ArithmeticGeometry.Models.SpreadingOut.TensorSpecialization |
| 2 | import Mathlib.RingTheory.TensorProduct.Nontrivial |
| 3 | |
| 4 | /-! # Tensor Domain -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.TensorDomain.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Absence of zero divisors after extension to the algebraic closure |
| 11 | implies the same after every extension field. -/ |
| 12 | |
| 13 | universe u |
| 14 | open scoped Classical TensorProduct |
| 15 | |
| 16 | theorem subalgebra_baseChange_mono |
| 17 | {k A B : Type u} [Field k] [CommRing A] [Algebra k A] [CommRing B] [Algebra k B] |
| 18 | {C D : Subalgebra k B} (hCD : C ≤ D) : C.baseChange A ≤ D.baseChange A := by |
| 19 | rintro x ⟨y, rfl⟩ |
| 20 | refine ⟨Algebra.TensorProduct.map (AlgHom.id A A) (Subalgebra.inclusion hCD) y, ?_⟩ |
| 21 | induction y using TensorProduct.inductionOn with |
| 22 | | tmul a b => rfl |
| 23 | | add x y hx hy => |
| 24 | simp only [map_add] |
| 25 | exact congrArg₂ (· + ·) hx hy |
| 26 | |
| 27 | theorem tensor_field_noZeroDivisors_of_algClosure |
| 28 | (k K A : Type u) [Field k] [Field K] [Algebra k K] |
| 29 | [CommRing A] [Algebra k A] [NoZeroDivisors (AlgebraicClosure k ⊗[k] A)] : |
| 30 | NoZeroDivisors (A ⊗[k] K) := by |
| 31 | constructor |
| 32 | intro x y hxy |
| 33 | obtain ⟨C, hC, hxC⟩ := exists_fg_and_mem_baseChange x |
| 34 | obtain ⟨D, hD, hyD⟩ := exists_fg_and_mem_baseChange y |
| 35 | let B := C ⊔ D |
| 36 | let : Algebra.FiniteType k B := B.fg_iff_finiteType.mp (hC.sup hD) |
| 37 | have hxB : x ∈ B.baseChange A := subalgebra_baseChange_mono le_sup_left hxC |
| 38 | have hyB : y ∈ B.baseChange A := subalgebra_baseChange_mono le_sup_right hyD |
| 39 | obtain ⟨u, hu⟩ := hxB |
| 40 | obtain ⟨v, hv⟩ := hyB |
| 41 | let f : A ⊗[k] B →ₐ[A] A ⊗[k] K := Algebra.TensorProduct.map (AlgHom.id A A) B.val |
| 42 | change f u = x at hu |
| 43 | change f v = y at hv |
| 44 | have hf : Function.Injective f := |
| 45 | Module.Flat.lTensor_preserves_injective_linearMap B.val.toLinearMap Subtype.val_injective |
| 46 | have huv : u * v = 0 := hf (by rw [map_mul, hu, hv, hxy, map_zero]) |
| 47 | let : NoZeroDivisors (B ⊗[k] A) := TensorSpecialization.Construction.finiteType_domain_tensor_noZeroDivisors_of_algClosure k A B |
| 48 | let e := Algebra.TensorProduct.comm k A B |
| 49 | have he : e u * e v = 0 := by rw [← map_mul, huv, map_zero] |
| 50 | rcases mul_eq_zero.mp he with he | he |
| 51 | · have hu0 : u = 0 := e.injective (he.trans e.map_zero.symm) |
| 52 | exact Or.inl (hu.symm.trans ((congrArg f hu0).trans f.map_zero)) |
| 53 | · have hv0 : v = 0 := e.injective (he.trans e.map_zero.symm) |
| 54 | exact Or.inr (hv.symm.trans ((congrArg f hv0).trans f.map_zero)) |
| 55 | |
| 56 | theorem field_tensor_domain_of_algClosure |
| 57 | (k K A : Type u) [Field k] [Field K] [Algebra k K] |
| 58 | [CommRing A] [Algebra k A] [IsDomain (AlgebraicClosure k ⊗[k] A)] : |
| 59 | IsDomain (K ⊗[k] A) := by |
| 60 | let : Nontrivial A := |
| 61 | (Algebra.TensorProduct.includeRight : A →ₐ[k] AlgebraicClosure k ⊗[k] A).toRingHom.domain_nontrivial |
| 62 | let : NoZeroDivisors (A ⊗[k] K) := tensor_field_noZeroDivisors_of_algClosure k K A |
| 63 | let : NoZeroDivisors (K ⊗[k] A) := |
| 64 | (Algebra.TensorProduct.comm k K A).toMulEquiv.noZeroDivisors |
| 65 | exact NoZeroDivisors.to_isDomain _ |
| 66 | |
| 67 | theorem tensor_domain_over_algClosed |
| 68 | (k K A : Type u) [Field k] [IsAlgClosed k] [Field K] [Algebra k K] |
| 69 | [CommRing A] [IsDomain A] [Algebra k A] : IsDomain (K ⊗[k] A) := by |
| 70 | let e : AlgebraicClosure k ≃ₐ[k] k := |
| 71 | (AlgEquiv.ofBijective (Algebra.ofId k (AlgebraicClosure k)) |
| 72 | IsAlgClosed.algebraMap_bijective_of_isIntegral).symm |
| 73 | have : IsDomain (AlgebraicClosure k ⊗[k] A) := |
| 74 | ((Algebra.TensorProduct.congr e (AlgEquiv.refl : A ≃ₐ[k] A)).trans |
| 75 | (Algebra.TensorProduct.lid k A)).toMulEquiv.isDomain |
| 76 | exact field_tensor_domain_of_algClosure k K A |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.ArithmeticGeometry.Models.SpreadingOut.TensorDomain.Construction |