(proof-new) Updates to builtin proof checker (#4962)