The Mathematics of life cycle sustainability assessment