if (d_logic.isTheoryEnabled(theory::THEORY_ARITH) &&
!d_logic.isLinear()) {
if (options::produceModels()) {
- Notice() << "SmtEngine: turning off produce-models because unsupported for nonlinear arith" << std::endl;
+ Warning() << "SmtEngine: turning off produce-models because unsupported for nonlinear arith" << std::endl;
setOption("produce-models", SExpr("false"));
}
if (options::checkModels()) {
- Notice() << "SmtEngine: turning off check-models because unsupported for nonlinear arith" << std::endl;
+ Warning() << "SmtEngine: turning off check-models because unsupported for nonlinear arith" << std::endl;
setOption("check-models", SExpr("false"));
}
}
TS_ASSERT( info.isTheoryEnabled( THEORY_BV ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_DATATYPES ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_BOOL ) );
- TS_ASSERT( !info.isLinear() );
+ TS_ASSERT( info.isLinear() );// for now, nonlinear not included in ALL_SUPPORTED
TS_ASSERT( info.areIntegersUsed() );
TS_ASSERT( !info.isDifferenceLogic() );
TS_ASSERT( info.areRealsUsed() );
TS_ASSERT( info.isTheoryEnabled( THEORY_BV ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_DATATYPES ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_BOOL ) );
- TS_ASSERT( !info.isLinear() );
+ TS_ASSERT( info.isLinear() );// for now, nonlinear not included in ALL_SUPPORTED
TS_ASSERT( info.areIntegersUsed() );
TS_ASSERT( !info.isDifferenceLogic() );
TS_ASSERT( info.areRealsUsed() );
TS_ASSERT_THROWS( info.isQuantified(), CVC4::IllegalArgumentException );
TS_ASSERT_THROWS( info.areIntegersUsed(), CVC4::IllegalArgumentException );
TS_ASSERT_THROWS( info.areRealsUsed(), CVC4::IllegalArgumentException );
- TS_ASSERT_THROWS( ! info.isLinear(), CVC4::IllegalArgumentException );
+ TS_ASSERT_THROWS( info.isLinear(), CVC4::IllegalArgumentException );// for now, nonlinear not included in ALL_SUPPORTED
info.lock();
TS_ASSERT( info.isLocked() );
- TS_ASSERT_EQUALS( info.getLogicString(), "AUFBVDTNIRA" );
+ TS_ASSERT_EQUALS( info.getLogicString(), "AUFBVDTLIRA" );// for now, nonlinear not included in ALL_SUPPORTED
TS_ASSERT( info.isSharingEnabled() );
TS_ASSERT( info.isTheoryEnabled( THEORY_BUILTIN ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_BOOL ) );
TS_ASSERT( info.isQuantified() );
TS_ASSERT( info.areIntegersUsed() );
TS_ASSERT( info.areRealsUsed() );
- TS_ASSERT( ! info.isLinear() );
+ TS_ASSERT( info.isLinear() );// for now, nonlinear not included in ALL_SUPPORTED
TS_ASSERT_THROWS( info.arithOnlyLinear(), CVC4::IllegalArgumentException );
TS_ASSERT_THROWS( info.disableIntegers(), CVC4::IllegalArgumentException );
TS_ASSERT( info.isTheoryEnabled( THEORY_BV ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_DATATYPES ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_BOOL ) );
- TS_ASSERT( !info.isLinear() );
+ TS_ASSERT( info.isLinear() );// for now, nonlinear not included in ALL_SUPPORTED
TS_ASSERT( info.areIntegersUsed() );
TS_ASSERT( !info.isDifferenceLogic() );
TS_ASSERT( info.areRealsUsed() );
TS_ASSERT( info.isTheoryEnabled( THEORY_BV ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_DATATYPES ) );
TS_ASSERT( info.isTheoryEnabled( THEORY_BOOL ) );
- TS_ASSERT( !info.isLinear() );
+ TS_ASSERT( info.isLinear() );// for now, nonlinear not included in ALL_SUPPORTED
TS_ASSERT( info.areIntegersUsed() );
TS_ASSERT( !info.isDifferenceLogic() );
TS_ASSERT( info.areRealsUsed() );