Remove code that is already in the base class
@@ -36,19 +36,12 @@ import org.sosy_lab.java_smt.api.SolverException;
public class CVC4TheoremProver extends CVC4SolverBasedProver<Void> implements ProverEnvironment {
private final CVC4FormulaManager mgr;
- private final List<Expr> assertedFormulas = new ArrayList<>();
protected CVC4TheoremProver(CVC4FormulaCreator creator, CVC4FormulaManager pMgr) {
super(creator);
mgr = pMgr;
}
- @Override
- public void push() {
- Preconditions.checkState(!closed);
- smtEngine.push();
- }
-
@Override
public Void push(BooleanFormula pF) {
push();
@@ -62,13 +55,6 @@ public class CVC4TheoremProver extends CVC4SolverBasedProver<Void> implements Pr
throw new UnsupportedOperationException();
}
- @Override
- public void pop() {
- Preconditions.checkState(!closed);
- assertedFormulas.remove(assertedFormulas.size() - 1);
- smtEngine.pop();
- }
-
@Override
public List<BooleanFormula> getUnsatCore() {
Preconditions.checkState(!closed);
