feat: allow `cond` to be used in proofs (stage0 update prep) (#7320)

This PR prepares for #7141.
3 files changed