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.NumberTheory.PadicHodge.GeometricComparison.Integral.ExteriorPowerBaseChange |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Top Exterior Base Change -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Top exterior powers of finite free modules commute with arbitrary |
| 12 | scalar extension, including quotient rings. The map is the canonical |
| 13 | exterior scalar-extension map and is independent of the chosen basis. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange |
| 18 | |
| 19 | variable {R : Type*} [CommRing R] (S : Type*) [CommRing S] [Algebra R S] |
| 20 | {V : Type*} [AddCommGroup V] [Module R V] {n : ℕ} |
| 21 | (b : Module.Basis (Fin n) R V) |
| 22 | |
| 23 | def topBasis : Module.Basis Unit R (⋀[R]^n V) := |
| 24 | (Module.Basis.singleton Unit R).map (TopExteriorCoordinates.equiv b).symm |
| 25 | |
| 26 | theorem topBasis_apply (i : Unit) : topBasis b i = exteriorPower.ιMulti R n b := by |
| 27 | simp [topBasis, TopExteriorCoordinates.generator] |
| 28 | |
| 29 | def equiv : S ⊗[R] (⋀[R]^n V) ≃ₗ[S] ⋀[S]^n (S ⊗[R] V) := |
| 30 | ((topBasis b).baseChange S).equiv (topBasis (b.baseChange S)) (Equiv.refl Unit) |
| 31 | |
| 32 | theorem equiv_eq : (TopExteriorBaseChange.equiv S b).toLinearMap = GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap R S V n := by |
| 33 | apply ((topBasis b).baseChange S).ext |
| 34 | intro i |
| 35 | change ((topBasis b).baseChange S).equiv (topBasis (b.baseChange S)) (Equiv.refl Unit) |
| 36 | ((topBasis b).baseChange S i) = _ |
| 37 | rw [Module.Basis.equiv_apply, Equiv.refl_apply, Module.Basis.baseChange_apply, |
| 38 | topBasis_apply, topBasis_apply, GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap_tmul_ιMulti, one_smul] |
| 39 | congr 1 |
| 40 | funext j |
| 41 | exact Module.Basis.baseChange_apply S b j |
| 42 | |
| 43 | theorem equiv_tmul_ιMulti (a : S) (v : Fin n → V) : |
| 44 | TopExteriorBaseChange.equiv S b (a ⊗ₜ[R] exteriorPower.ιMulti R n v) = |
| 45 | a • exteriorPower.ιMulti S n (fun i => 1 ⊗ₜ[R] v i) := by |
| 46 | change (TopExteriorBaseChange.equiv S b).toLinearMap _ = _ |
| 47 | rw [equiv_eq, GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap_tmul_ιMulti] |
| 48 | |
| 49 | theorem independent_basis (b' : Module.Basis (Fin n) R V) : TopExteriorBaseChange.equiv S b = TopExteriorBaseChange.equiv S b' := by |
| 50 | apply LinearEquiv.toLinearMap_injective |
| 51 | rw [equiv_eq, equiv_eq] |
| 52 | |
| 53 | theorem composite_tmul {M : Type*} [AddCommGroup M] [Module R M] |
| 54 | (e : M ≃ₗ[R] ⋀[R]^n V) (a : S) (m : M) : |
| 55 | ((e.baseChange R S M (⋀[R]^n V)).trans (TopExteriorBaseChange.equiv S b)) (a ⊗ₜ[R] m) = |
| 56 | GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerScalarMap R S V n (a ⊗ₜ[R] e m) := by |
| 57 | change (TopExteriorBaseChange.equiv S b).toLinearMap (a ⊗ₜ[R] e m) = _ |
| 58 | rw [equiv_eq] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorBaseChange |