Intro to higher order categorical logic question