summaryrefslogtreecommitdiff
path: root/Source/Provers
diff options
context:
space:
mode:
authorGravatar qadeer <unknown>2013-12-08 22:30:52 -0800
committerGravatar qadeer <unknown>2013-12-08 22:30:52 -0800
commit57f3b0868aa862a718b6703679f26d8ff148eb1f (patch)
treea5076a7dd633c63628a7d8da0dc0acd015262302 /Source/Provers
parentd598ca752a1f163966f95bc19bf219bc5ae097f5 (diff)
The back pred files have been eliminated. The small backpred string is now directly included in ProverInterface.cs.
Diffstat (limited to 'Source/Provers')
-rw-r--r--Source/Provers/SMTLib/ProverInterface.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/Provers/SMTLib/ProverInterface.cs b/Source/Provers/SMTLib/ProverInterface.cs
index 6b4f8cb9..dd9df8d3 100644
--- a/Source/Provers/SMTLib/ProverInterface.cs
+++ b/Source/Provers/SMTLib/ProverInterface.cs
@@ -53,7 +53,7 @@ namespace Microsoft.Boogie.SMTLib
Contract.Requires(gen != null);
Contract.Requires(ctx != null);
- InitializeGlobalInformation("UnivBackPred2.smt2");
+ InitializeGlobalInformation();
this.options = (SMTLibProverOptions)options;
this.ctx = ctx;
@@ -1183,9 +1183,8 @@ namespace Microsoft.Boogie.SMTLib
private static string _backgroundPredicates;
- static void InitializeGlobalInformation(string backgroundPred)
+ static void InitializeGlobalInformation()
{
- Contract.Requires(backgroundPred != null);
Contract.Ensures(_backgroundPredicates != null);
//throws ProverException, System.IO.FileNotFoundException;
if (_backgroundPredicates == null) {
@@ -1195,12 +1194,13 @@ namespace Microsoft.Boogie.SMTLib
}
else
{
- string codebaseString = cce.NonNull(Path.GetDirectoryName(cce.NonNull(System.Reflection.Assembly.GetExecutingAssembly().Location)));
- string univBackPredPath = Path.Combine(codebaseString, backgroundPred);
- using (StreamReader reader = new System.IO.StreamReader(univBackPredPath))
- {
- _backgroundPredicates = reader.ReadToEnd();
- }
+ _backgroundPredicates = @"
+(set-info :category ""industrial"")
+(declare-sort |T@U| 0)
+(declare-sort |T@T| 0)
+(declare-fun real_pow (Real Real) Real)
+(declare-fun UOrdering2 (|T@U| |T@U|) Bool)
+(declare-fun UOrdering3 (|T@T| |T@U| |T@U|) Bool)";
}
}
}