Type-theoretic functional semantics :

Relating the two semantics

[Theorem 1]