Formal semantics in modern type theories. (2018)