Partiality in a Total Type Theory

Modeling divergence and nontermination in Lean