natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism = propositions as types +programs as proofs +relation type theory/category theory
Kripke–Joyal semantics is a natural semantics in a topos.
The Mitchell–Bénabou language of a topos is a higher-order type theory in which one can write ordinary mathematics, which can then be interpreted in the topos using the Kripke–Joyal semantics.
Textbook introductions include
section VI.6 of
Lecture notes include
(page 58 and following)