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.RepresentationTheory.Theta.Geometric.Normalized.RankOneKernel |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | import Mathlib.RingTheory.Ideal.Maps |
| 4 | |
| 5 | /-! # Kernel Base Change -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Normalized.KernelBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The rank-one normalized kernel is cut out by the same original |
| 12 | differential coefficients after every scalar extension. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable {R M N : Type*} [CommRing R] |
| 17 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 18 | (S : Type*) [CommRing S] [Algebra R S] |
| 19 | |
| 20 | def rankOneBaseChange (e : R ≃ₗ[R] M) : S ≃ₗ[S] S ⊗[R] M := |
| 21 | (TensorProduct.AlgebraTensorModule.rid R S S).symm.trans (e.baseChange R S R M) |
| 22 | |
| 23 | theorem rankOneBaseChange_one (e : R ≃ₗ[R] M) : |
| 24 | rankOneBaseChange S e 1 = 1 ⊗ₜ[R] e 1 := rfl |
| 25 | |
| 26 | def scalarFunctionalBaseChange (v : M →ₗ[R] R) : S ⊗[R] M →ₗ[S] S := |
| 27 | (TensorProduct.AlgebraTensorModule.rid R S S).toLinearMap.comp (v.baseChange S) |
| 28 | |
| 29 | theorem scalarFunctionalBaseChange_tmul (v : M →ₗ[R] R) (a : S) (m : M) : |
| 30 | scalarFunctionalBaseChange S v (a ⊗ₜ[R] m) = algebraMap R S (v m) * a := by |
| 31 | change v m • a = _ |
| 32 | exact Algebra.smul_def (v m) a |
| 33 | |
| 34 | theorem normalized_rankOne_kernel_baseChange_iff |
| 35 | (e : R ≃ₗ[R] M) (d : M →ₗ[R] N) (v : M →ₗ[R] R) (hv : IsUnit (v (e 1))) : |
| 36 | (∃ m : S ⊗[R] M, d.baseChange S m = 0 ∧ scalarFunctionalBaseChange S v m = 1) ↔ |
| 37 | (1 ⊗ₜ[R] d (e 1) : S ⊗[R] N) = 0 := by |
| 38 | have hv' : IsUnit (scalarFunctionalBaseChange S v (rankOneBaseChange S e 1)) := by |
| 39 | rw [rankOneBaseChange_one, scalarFunctionalBaseChange_tmul, mul_one] |
| 40 | exact hv.map (algebraMap R S) |
| 41 | exact RankOneKernel.normalized_rankOne_kernel_iff (rankOneBaseChange S e) (d.baseChange S) |
| 42 | (scalarFunctionalBaseChange S v) hv' |
| 43 | |
| 44 | theorem tensor_one_eq_zero_iff_coefficients {I : Type*} (b : Module.Basis I R N) (n : N) : |
| 45 | (1 ⊗ₜ[R] n : S ⊗[R] N) = 0 ↔ ∀ i, algebraMap R S (b.repr n i) = 0 := by |
| 46 | constructor |
| 47 | · intro h i |
| 48 | have he := congrArg (fun m : S ⊗[R] N => (b.baseChange S).repr m i) h |
| 49 | simpa only [Module.Basis.baseChange_repr_tmul, map_zero, Finsupp.zero_apply, |
| 50 | Algebra.smul_def, mul_one] using he |
| 51 | · intro h |
| 52 | apply (b.baseChange S).repr.injective |
| 53 | ext i |
| 54 | simp only [Module.Basis.baseChange_repr_tmul, map_zero, Finsupp.zero_apply, |
| 55 | Algebra.smul_def, mul_one, h] |
| 56 | |
| 57 | theorem normalized_rankOne_kernel_equations {I : Type*} (b : Module.Basis I R N) |
| 58 | (e : R ≃ₗ[R] M) (d : M →ₗ[R] N) (v : M →ₗ[R] R) (hv : IsUnit (v (e 1))) : |
| 59 | (∃ m : S ⊗[R] M, d.baseChange S m = 0 ∧ scalarFunctionalBaseChange S v m = 1) ↔ |
| 60 | Ideal.span (Set.range fun i => b.repr (d (e 1)) i) ≤ RingHom.ker (algebraMap R S) := by |
| 61 | rw [normalized_rankOne_kernel_baseChange_iff S e d v hv, |
| 62 | tensor_one_eq_zero_iff_coefficients S b, Ideal.span_le] |
| 63 | exact ⟨fun h _ ⟨i, hi⟩ => hi ▸ h i, fun h i => h ⟨i, rfl⟩⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Theta.Geometric.Normalized.KernelBaseChange |