diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-07-12 18:30:15 +0000 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-07-12 18:30:15 +0000 |
commit | 65798541fa437278cde0c759ab70fd9fa4fe9638 (patch) | |
tree | 27341327b8159e58a5ce6371bede6129bf67beb3 /src/parser/tptp | |
parent | 78d8b3ce56a1fd243acb54d2aaaf6d716e3b9788 (diff) |
merged fmf-devel branch, includes support for SMT2 command get-value and (extended) SMT command get-model. added collectModelInfo and removed getValue from theory interface. merge also includes major updates to finite model finding module (from CASC), added fmf options, some updates to strong solver and quantifiers engine interface. The test recursion_breaker_black currently fails for me on production builds, Morgan is planning to look into this.
Diffstat (limited to 'src/parser/tptp')
-rw-r--r-- | src/parser/tptp/tptp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/parser/tptp/tptp.h b/src/parser/tptp/tptp.h index e6231920d..ae4ad4e7f 100644 --- a/src/parser/tptp/tptp.h +++ b/src/parser/tptp/tptp.h @@ -70,11 +70,11 @@ public: //Conversion from rational to unsorted t = em->mkFunctionType(em->realType(), d_unsorted); d_rtu_op = em->mkVar("$$rtu",t); - preemptCommand(new DeclareFunctionCommand("$$rtu", t)); + preemptCommand(new DeclareFunctionCommand("$$rtu", d_rtu_op, t)); //Conversion from unsorted to rational t = em->mkFunctionType(d_unsorted, em->realType()); d_utr_op = em->mkVar("$$utr",t); - preemptCommand(new DeclareFunctionCommand("$$utur", t)); + preemptCommand(new DeclareFunctionCommand("$$utur", d_utr_op, t)); } // Add the inverse in order to show that over the elements that // appear in the problem there is a bijection between unsorted and @@ -98,11 +98,11 @@ public: //Conversion from string to unsorted t = em->mkFunctionType(em->stringType(), d_unsorted); d_stu_op = em->mkVar("$$stu",t); - preemptCommand(new DeclareFunctionCommand("$$stu", t)); + preemptCommand(new DeclareFunctionCommand("$$stu", d_stu_op, t)); //Conversion from unsorted to string t = em->mkFunctionType(d_unsorted, em->stringType()); d_uts_op = em->mkVar("$$uts",t); - preemptCommand(new DeclareFunctionCommand("$$uts", t)); + preemptCommand(new DeclareFunctionCommand("$$uts", d_uts_op, t)); } // Add the inverse in order to show that over the elements that // appear in the problem there is a bijection between unsorted and @@ -185,7 +185,7 @@ inline void Tptp::makeApplication(Expr & expr, std::string & name, } else { Type t = term ? d_unsorted : getExprManager()->booleanType(); expr = mkVar(name,t,true); //levelZero - preemptCommand(new DeclareFunctionCommand(name, t)); + preemptCommand(new DeclareFunctionCommand(name, expr, t)); } } else { // Its an application if(isDeclared(name)){ //already appeared @@ -195,7 +195,7 @@ inline void Tptp::makeApplication(Expr & expr, std::string & name, Type t = term ? d_unsorted : getExprManager()->booleanType(); t = getExprManager()->mkFunctionType(sorts, t); expr = mkVar(name,t,true); //levelZero - preemptCommand(new DeclareFunctionCommand(name, t)); + preemptCommand(new DeclareFunctionCommand(name, expr, t)); } expr = getExprManager()->mkExpr(kind::APPLY_UF, expr, args); } |