A type checker for primitive recursive type theory (prtt)