I guess it was obvious but that was "expect the *penalty* function to obey the triangle inequality"
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных