diff options
author | Pantazis Deligiannis <pdeligia@me.com> | 2013-08-15 12:48:24 +0100 |
---|---|---|
committer | Pantazis Deligiannis <pdeligia@me.com> | 2013-08-15 12:48:24 +0100 |
commit | 819c1f07fe1e0244e14306ad1dee213a9a034f1e (patch) | |
tree | bd2f6fd92b7c4b0a2e2aa6ca930aad30c1968c85 /Source/VCGeneration/VC.cs | |
parent | 35e161373f445f56c31caf99117e562c2105770f (diff) |
new option to disable checking for loop maintained invariants - this leads to an underapproximation that helps to speedup houdini refutation of candidates
Diffstat (limited to 'Source/VCGeneration/VC.cs')
-rw-r--r-- | Source/VCGeneration/VC.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/VCGeneration/VC.cs b/Source/VCGeneration/VC.cs index fd7a4f72..1aed2cba 100644 --- a/Source/VCGeneration/VC.cs +++ b/Source/VCGeneration/VC.cs @@ -1944,7 +1944,12 @@ namespace VC { b.Attributes = c.Attributes;
b.ErrorData = c.ErrorData;
prefixOfPredicateCmdsInit.Add(b);
- b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, c.Expr);
+
+ if (CommandLineOptions.Clo.DisableLoopInvMaintainedAssert)
+ b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, Expr.True);
+ else
+ b = new Bpl.LoopInvMaintainedAssertCmd(c.tok, c.Expr);
+
b.Attributes = c.Attributes;
b.ErrorData = c.ErrorData;
prefixOfPredicateCmdsMaintained.Add(b);
|