extract_proofs: add ProofCheck alg