Discourse representation meets constructive mathematics