summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2015-01-24 14:40:01 +0100
committerGravatar wuestholz <unknown>2015-01-24 14:40:01 +0100
commit5a92b5242c4febbf32371919845eadc22d405fad (patch)
tree12a4442106169bc9479aa8b99e4d293d18caabad /Source
parenta3325de0835308c293e999b574a804366f37d936 (diff)
Worked on the verification result caching (use weights for extracted functions).
Diffstat (limited to 'Source')
-rw-r--r--Source/ExecutionEngine/VerificationResultCache.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/ExecutionEngine/VerificationResultCache.cs b/Source/ExecutionEngine/VerificationResultCache.cs
index 226efa21..48b5a94d 100644
--- a/Source/ExecutionEngine/VerificationResultCache.cs
+++ b/Source/ExecutionEngine/VerificationResultCache.cs
@@ -336,8 +336,7 @@ namespace Microsoft.Boogie
{
var forallExpr = new ForallExpr(Token.NoToken, boundVars.ToList<Variable>(), new Trigger(Token.NoToken, true, new List<Expr> { axiomCall }), eq);
body = forallExpr;
- // TODO(wuestholz): Try assigning a higher weight to these quantifiers:
- // forallExpr.Attributes = new QKeyValue(Token.NoToken, "weight", new List<object> { new LiteralExpr(Token.NoToken, Basetypes.BigNum.FromInt(20)) }, null);
+ forallExpr.Attributes = new QKeyValue(Token.NoToken, "weight", new List<object> { new LiteralExpr(Token.NoToken, Basetypes.BigNum.FromInt(30)) }, null);
body.Type = Type.Bool;
}
else