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.LinearAlgebra.TensorProduct.Tower |
| 2 | |
| 3 | /-! # Tensor Scalar Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.TensorScalarChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Tensoring over a quotient coefficient ring agrees with tensoring over the original ring. The comparison is linear over the final scalar algebra and commutes with the actual base-changed linear maps. -/ |
| 10 | open scoped TensorProduct |
| 11 | universe u |
| 12 | |
| 13 | variable {R B C : Type u} [CommRing R] [CommRing B] [CommRing C] |
| 14 | variable [Algebra R B] [Algebra R C] [Algebra B C] [IsScalarTower R B C] |
| 15 | |
| 16 | theorem tensor_compatibleSMul_of_surjective_algebraMap |
| 17 | {M N : Type u} [AddCommGroup M] [AddCommGroup N] |
| 18 | [Module R M] [Module B M] [IsScalarTower R B M] |
| 19 | [Module R N] [Module B N] [IsScalarTower R B N] |
| 20 | (h : Function.Surjective (algebraMap R B)) : TensorProduct.CompatibleSMul R B M N where |
| 21 | smul_tmul b m n := by |
| 22 | obtain ⟨r, rfl⟩ := h b |
| 23 | simpa only [IsScalarTower.algebraMap_smul] using |
| 24 | (TensorProduct.smul_tmul r m n : (r • m) ⊗ₜ[R] n = m ⊗ₜ[R] (r • n)) |
| 25 | |
| 26 | variable (h : Function.Surjective (algebraMap R B)) |
| 27 | variable (M : Type u) [AddCommGroup M] [Module R M] [Module B M] [IsScalarTower R B M] |
| 28 | |
| 29 | def quotientTensorScalarEquiv : C ⊗[R] M ≃ₗ[C] C ⊗[B] M := by |
| 30 | let : TensorProduct.CompatibleSMul R B C M := tensor_compatibleSMul_of_surjective_algebraMap h |
| 31 | exact TensorProduct.equivOfCompatibleSMul B R C C M |
| 32 | |
| 33 | theorem quotientTensorScalarEquiv_tmul (c : C) (m : M) : |
| 34 | quotientTensorScalarEquiv (C := C) h M (c ⊗ₜ[R] m) = c ⊗ₜ[B] m := rfl |
| 35 | |
| 36 | theorem quotientTensorScalarEquiv_naturality |
| 37 | {N : Type u} [AddCommGroup N] [Module R N] [Module B N] [IsScalarTower R B N] |
| 38 | (f : M →ₗ[B] N) (z : C ⊗[R] M) : |
| 39 | quotientTensorScalarEquiv (C := C) h N ((f.restrictScalars R).baseChange C z) = |
| 40 | f.baseChange C (quotientTensorScalarEquiv (C := C) h M z) := by |
| 41 | induction z with |
| 42 | | tmul c m => rfl |
| 43 | | add z w hz hw => simp only [map_add, hz, hw] |
| 44 | |
| 45 | variable (N : Type u) [AddCommGroup N] [Module R N] |
| 46 | |
| 47 | def quotientDoubleTensorEquiv : C ⊗[R] (B ⊗[R] N) ≃ₗ[C] C ⊗[R] N := |
| 48 | quotientTensorScalarEquiv (C := C) h (B ⊗[R] N) ≪≫ₗ |
| 49 | TensorProduct.AlgebraTensorModule.cancelBaseChange R B C C N |
| 50 | |
| 51 | theorem quotientDoubleTensorEquiv_tmul (c : C) (b : B) (n : N) : |
| 52 | quotientDoubleTensorEquiv (C := C) h N (c ⊗ₜ[R] (b ⊗ₜ[R] n)) = |
| 53 | (b • c) ⊗ₜ[R] n := rfl |
| 54 | |
| 55 | theorem quotientDoubleTensorEquiv_naturality |
| 56 | {V W : Type u} [AddCommGroup V] [AddCommGroup W] [Module R V] [Module R W] |
| 57 | (f : V →ₗ[R] W) (z : C ⊗[R] (B ⊗[R] V)) : |
| 58 | quotientDoubleTensorEquiv (C := C) h W (((f.baseChange B).restrictScalars R).baseChange C z) = |
| 59 | f.baseChange C (quotientDoubleTensorEquiv (C := C) h V z) := by |
| 60 | induction z with |
| 61 | | add x y hx hy => simp only [map_add, hx, hy] |
| 62 | | tmul c x => |
| 63 | induction x with |
| 64 | | tmul b v => rfl |
| 65 | | add x y hx hy => simp only [TensorProduct.tmul_add, map_add, hx, hy] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.TensorScalarChange |