@@ -229,6 +229,9 @@ object SolverFactory {
229
229
() => new SolverBase (p, ctx, enc, chooseEnc)
230
230
})
231
231
232
+ // FIXME(gsps): No idea why CVC4Solver is not found here.
233
+ // FIXME(gsps): Probably have to move `chooses` and maybe `theories` into constructors.
234
+ /*
232
235
case "smt-cvc4" => create(p)(finalName, {
233
236
val ev = sem.getEvaluator(ctx)
234
237
val chooseEnc = ChooseEncoder(p)(enc)
@@ -237,11 +240,11 @@ object SolverFactory {
237
240
val progEnc = fullEnc andThen theoryEnc
238
241
val targetSem = progEnc.targetProgram.getSemantics
239
242
240
- () => new {
243
+ () => new UnrollingSolver with TimeoutSolver with tip.TipDebugger {
241
244
val program: p.type = p
242
245
val context = ctx
243
246
val encoder: enc.type = enc
244
- } with UnrollingSolver with TimeoutSolver with tip. TipDebugger {
247
+
245
248
val semantics = sem
246
249
val chooses: chooseEnc.type = chooseEnc
247
250
val theories: theoryEnc.type = theoryEnc
@@ -250,27 +253,31 @@ object SolverFactory {
250
253
override protected lazy val fullEncoder = fullEnc
251
254
override protected lazy val programEncoder = progEnc
252
255
253
- protected val underlying = new {
256
+ protected val underlying = inox.solvers.smtlib.CVC4Solver {
254
257
val program: progEnc.targetProgram.type = progEnc.targetProgram
255
258
val context = ctx
256
- } with smtlib. CVC4Solver {
259
+
257
260
val semantics: program.Semantics = targetSem
258
261
}
259
262
}
260
263
})
264
+ */
261
265
266
+ // FIXME(gsps): AbstractPrincessSolver and PrincessSolver still have lots of errors.
267
+ // FIXME(gsps): Probably have to move `chooses` and maybe `theories` into constructors.
268
+ /*
262
269
case "princess" => create(p)(finalName, {
263
270
val ev = sem.getEvaluator(ctx)
264
271
val chooseEnc = ChooseEncoder(p)(enc)
265
272
val fullEnc = enc andThen chooseEnc
266
273
val theoryEnc = theories.Princess(fullEnc)(ev)
267
274
val progEnc = fullEnc andThen theoryEnc
268
275
269
- () => new {
276
+ () => new princess.PrincessSolver with TimeoutSolver {
270
277
val program: p.type = p
271
278
val context = ctx
272
279
val encoder: enc.type = enc
273
- } with princess. PrincessSolver with TimeoutSolver {
280
+
274
281
val semantics = sem
275
282
val chooses: chooseEnc.type = chooseEnc
276
283
override protected lazy val theories: theoryEnc.type = theoryEnc
@@ -280,6 +287,7 @@ object SolverFactory {
280
287
lazy val targetSemantics: targetProgram.Semantics = targetProgram.getSemantics
281
288
}
282
289
})
290
+ */
283
291
284
292
case _ => throw FatalError (" Unknown solver: " + finalName)
285
293
}
0 commit comments