This PR fixes an issue where variables used by definitions but not assertions are not declared. This was never a problem before #9109, when all definitions were printed as assertions. This PR also fixes a bug where proof pruning was not working. Fix LFSC printing bug. Verified 43eb77a ab...