  We scale layered modal type theory to dependent types, introducing DeLaM,
dependent layered modal type theory. This type theory is novel in that we have
one uniform type theory in which we can not only compose and execute code, but
also intensionally analyze the code of types and terms. The latter in
particular allows us to write tactics as meta-programs and use regular
libraries when writing tactics. DeLaM provides a sound foundation for proof
assistants to support type-safe tactic mechanism.
