@@ -93,7 +93,7 @@ bool MainSolver::pop() {
9393 frames.pop ();
9494 preprocessor.pop ();
9595 termNames.popScope ();
96- firstNotSimplifiedFrame = std::min (firstNotSimplifiedFrame , frames.frameCount ());
96+ firstNotPreprocessedFrame = std::min (firstNotPreprocessedFrame , frames.frameCount ());
9797 if (not isLastFrameUnsat ()) { getSMTSolver ().restoreOK (); }
9898 return true ;
9999}
@@ -115,15 +115,15 @@ void MainSolver::insertFormula(PTRef fla) {
115115 // formulas,
116116 // thus we need the old value of count. TODO: Find a good interface for this so it cannot be broken this
117117 // easily
118- unsigned int partition_index = insertedFormulasCount ++;
118+ unsigned int partition_index = insertedAssertionsCount ++;
119119 pmanager.assignTopLevelPartitionIndex (partition_index, fla);
120120 assert (pmanager.getPartitionIndex (fla) != -1 );
121121 } else {
122- ++insertedFormulasCount ;
122+ ++insertedAssertionsCount ;
123123 }
124124
125125 frames.add (fla);
126- firstNotSimplifiedFrame = std::min (firstNotSimplifiedFrame , frames.frameCount () - 1 );
126+ firstNotPreprocessedFrame = std::min (firstNotPreprocessedFrame , frames.frameCount () - 1 );
127127}
128128
129129bool MainSolver::tryAddNamedAssertion (PTRef fla, std::string const & name) {
@@ -140,12 +140,12 @@ bool MainSolver::tryAddTermNameFor(PTRef fla, std::string const & name) {
140140
141141sstat MainSolver::simplifyFormulas () {
142142 status = s_Undef;
143- for (std::size_t i = firstNotSimplifiedFrame ; i < frames.frameCount (); ++i) {
143+ for (std::size_t i = firstNotPreprocessedFrame ; i < frames.frameCount (); ++i) {
144144 auto & frame = frames[i];
145145 FrameId const frameId = frame.getId ();
146146 PreprocessingContext context{.frameCount = i, .perPartition = trackPartitions ()};
147147 preprocessor.prepareForProcessingFrame (i);
148- firstNotSimplifiedFrame = i + 1 ;
148+ firstNotPreprocessedFrame = i + 1 ;
149149
150150 if (not context.perPartition ) {
151151 PTRef frameFormula = preprocessFormulasDefault (frame.formulas , context);
@@ -161,8 +161,8 @@ sstat MainSolver::simplifyFormulas() {
161161 }
162162
163163 if (status == s_False) {
164- assert (firstNotSimplifiedFrame > 0 );
165- rememberUnsatFrame (firstNotSimplifiedFrame - 1 );
164+ assert (firstNotPreprocessedFrame > 0 );
165+ rememberUnsatFrame (firstNotPreprocessedFrame - 1 );
166166 }
167167
168168 return status;
0 commit comments