The generalized triangle inequalities in symmetric spaces and buildings with applications to algebra | lit.salon