[Typer] Typer and proofs