mechanically definition