(proof-new) Updates to assertions pipeline and preprocess generator (#5300)