From social scientific functionalism to open functional logic