summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib/ProverInterface.cs
diff options
context:
space:
mode:
authorGravatar Ally Donaldson <unknown>2013-12-09 09:49:06 +0000
committerGravatar Ally Donaldson <unknown>2013-12-09 09:49:06 +0000
commitd7bf93bf834d9856de385de7c2d980aaf09802ca (patch)
tree8410342d9d7da2c6e3d3b4b6b8abc1b4ea983980 /Source/Provers/SMTLib/ProverInterface.cs
parentc44eeb0c3120f6bd9d377019e96ea11508252806 (diff)
parent8c029eac9244b10bf0bdf3451d91af74f0acc419 (diff)
Merge
Diffstat (limited to 'Source/Provers/SMTLib/ProverInterface.cs')
-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 668dede9..05bcdb01 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;
@@ -1182,9 +1182,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) {
@@ -1194,12 +1193,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)";
}
}
}