Commit 2026-02-12 09:07 4aa0616a

View on Github →

refactor(LinearAlgebra/TensorProduct): split large file (#34798) Split > 1500-line file Mathlib/LinearAlgebra/TensorProduct/Basic.lean into 3 more manageable chunks:

  • Defs.lean: definition of M ⊗ N as a quotient of FreeAddMonoid (M × N) (500 lines)
  • Basic.lean: universal property of M ⊗ N, lifting bilinear maps M → N → P to linear maps M ⊗ N → P (380 lines)
  • Map.lean: linear maps M ⊗ N → M' ⊗ N' induced by maps M → M' and N → N' (and one-sided versions of that) (750 lines)

Estimated changes

deleted theorem IsAddUnit.tmul_left
deleted theorem IsAddUnit.tmul_right
deleted theorem LinearEquiv.coe_lTensor
deleted theorem LinearEquiv.coe_rTensor
deleted def LinearEquiv.lTensor
deleted theorem LinearEquiv.lTensor_mul
deleted theorem LinearEquiv.lTensor_pow
deleted theorem LinearEquiv.lTensor_refl
deleted theorem LinearEquiv.lTensor_tmul
deleted theorem LinearEquiv.lTensor_trans
deleted theorem LinearEquiv.lTensor_zpow
deleted def LinearEquiv.rTensor
deleted theorem LinearEquiv.rTensor_mul
deleted theorem LinearEquiv.rTensor_pow
deleted theorem LinearEquiv.rTensor_refl
deleted theorem LinearEquiv.rTensor_tmul
deleted theorem LinearEquiv.rTensor_trans
deleted theorem LinearEquiv.rTensor_zpow
deleted theorem LinearMap.coe_lTensorHom
deleted theorem LinearMap.coe_rTensorHom
deleted def LinearMap.lTensor
deleted theorem LinearMap.lTensor_add
deleted theorem LinearMap.lTensor_comm
deleted theorem LinearMap.lTensor_comp
deleted theorem LinearMap.lTensor_comp_mk
deleted theorem LinearMap.lTensor_def
deleted theorem LinearMap.lTensor_id
deleted theorem LinearMap.lTensor_map
deleted theorem LinearMap.lTensor_mul
deleted theorem LinearMap.lTensor_neg
deleted theorem LinearMap.lTensor_pow
deleted theorem LinearMap.lTensor_smul
deleted theorem LinearMap.lTensor_sub
deleted theorem LinearMap.lTensor_tmul
deleted theorem LinearMap.lTensor_zero
deleted theorem LinearMap.map_lTensor
deleted theorem LinearMap.map_rTensor
deleted def LinearMap.rTensor
deleted theorem LinearMap.rTensor_add
deleted theorem LinearMap.rTensor_comm
deleted theorem LinearMap.rTensor_comp
deleted theorem LinearMap.rTensor_def
deleted theorem LinearMap.rTensor_id
deleted theorem LinearMap.rTensor_map
deleted theorem LinearMap.rTensor_mul
deleted theorem LinearMap.rTensor_neg
deleted theorem LinearMap.rTensor_pow
deleted theorem LinearMap.rTensor_smul
deleted theorem LinearMap.rTensor_sub
deleted theorem LinearMap.rTensor_tmul
deleted theorem LinearMap.rTensor_zero
deleted theorem LinearMap.smul_lTensor
deleted inductive TensorProduct.Eqv
deleted theorem TensorProduct.SMul.aux_of
deleted theorem TensorProduct.add_tmul
deleted def TensorProduct.congr
deleted theorem TensorProduct.congr_congr
deleted theorem TensorProduct.congr_mul
deleted theorem TensorProduct.congr_pow
deleted theorem TensorProduct.congr_symm
deleted theorem TensorProduct.congr_tmul
deleted theorem TensorProduct.congr_trans
deleted theorem TensorProduct.congr_zpow
deleted theorem TensorProduct.ite_tmul
deleted def TensorProduct.map
deleted theorem TensorProduct.map_comm
deleted theorem TensorProduct.map_comp
deleted theorem TensorProduct.map_id
deleted theorem TensorProduct.map_map
deleted theorem TensorProduct.map_tmul
deleted def TensorProduct.mk
deleted theorem TensorProduct.mk_apply
deleted theorem TensorProduct.range_map
deleted theorem TensorProduct.single_tmul
deleted theorem TensorProduct.smul_tmul'
deleted theorem TensorProduct.smul_tmul
deleted theorem TensorProduct.sum_tmul
deleted def TensorProduct.tmul
deleted theorem TensorProduct.tmul_add
deleted theorem TensorProduct.tmul_ite
deleted theorem TensorProduct.tmul_single
deleted theorem TensorProduct.tmul_smul
deleted theorem TensorProduct.tmul_sum
deleted theorem TensorProduct.tmul_zero
deleted theorem TensorProduct.zero_tmul
deleted def TensorProduct
added theorem LinearMap.lTensor_add
added theorem LinearMap.lTensor_comm
added theorem LinearMap.lTensor_comp
added theorem LinearMap.lTensor_def
added theorem LinearMap.lTensor_id
added theorem LinearMap.lTensor_map
added theorem LinearMap.lTensor_mul
added theorem LinearMap.lTensor_neg
added theorem LinearMap.lTensor_pow
added theorem LinearMap.lTensor_smul
added theorem LinearMap.lTensor_sub
added theorem LinearMap.lTensor_tmul
added theorem LinearMap.lTensor_zero
added theorem LinearMap.map_lTensor
added theorem LinearMap.map_rTensor
added theorem LinearMap.rTensor_add
added theorem LinearMap.rTensor_comm
added theorem LinearMap.rTensor_comp
added theorem LinearMap.rTensor_def
added theorem LinearMap.rTensor_id
added theorem LinearMap.rTensor_map
added theorem LinearMap.rTensor_mul
added theorem LinearMap.rTensor_neg
added theorem LinearMap.rTensor_pow
added theorem LinearMap.rTensor_smul
added theorem LinearMap.rTensor_sub
added theorem LinearMap.rTensor_tmul
added theorem LinearMap.rTensor_zero
added theorem LinearMap.smul_lTensor
added theorem TensorProduct.map_comm
added theorem TensorProduct.map_comp
added theorem TensorProduct.map_id
added theorem TensorProduct.map_map
added theorem TensorProduct.map_tmul