theorem
TensorProduct.ite_map
{R : Type u_1}
{M₁ : Type u_2}
{M₂ : Type u_3}
{M₃ : Type u_4}
{M₄ : Type u_5}
[CommSemiring R]
[AddCommMonoid M₁]
[AddCommMonoid M₂]
[AddCommMonoid M₃]
[AddCommMonoid M₄]
[Module R M₁]
[Module R M₂]
[Module R M₃]
[Module R M₄]
(f₁ : M₁ →ₗ[R] M₂)
(f₂ : M₁ →ₗ[R] M₂)
(g : M₃ →ₗ[R] M₄)
(P : Prop)
[Decidable P]
:
TensorProduct.map (if P then f₁ else f₂) g = if P then TensorProduct.map f₁ g else TensorProduct.map f₂ g