summaryrefslogtreecommitdiff
path: root/Source/VCGeneration
diff options
context:
space:
mode:
authorGravatar Ken McMillan <unknown>2014-10-08 13:36:42 -0700
committerGravatar Ken McMillan <unknown>2014-10-08 13:36:42 -0700
commit1cca1f3efef31b9eee79bb26a5032da2620a8365 (patch)
treea086760f748add7ac99c3bc7118c0d1fd577f36a /Source/VCGeneration
parentd916a5ee8f357d9e61bd93e7b67a3283b0a6f185 (diff)
Added "extra recursion bound" to FixedpointVC to support Corral.
Diffstat (limited to 'Source/VCGeneration')
-rw-r--r--Source/VCGeneration/Check.cs2
-rw-r--r--Source/VCGeneration/FixedpointVC.cs6
2 files changed, 6 insertions, 2 deletions
diff --git a/Source/VCGeneration/Check.cs b/Source/VCGeneration/Check.cs
index 9fc301da..cf822bb0 100644
--- a/Source/VCGeneration/Check.cs
+++ b/Source/VCGeneration/Check.cs
@@ -498,7 +498,7 @@ namespace Microsoft.Boogie {
public virtual Outcome CheckRPFP(string descriptiveName, RPFP vc, ErrorHandler handler,
out RPFP.Node cex,
- Dictionary<int, Dictionary<string, string>> varSubst)
+ Dictionary<int, Dictionary<string, string>> varSubst, Dictionary<string,int> extra_bound = null)
{
throw new System.NotImplementedException();
}
diff --git a/Source/VCGeneration/FixedpointVC.cs b/Source/VCGeneration/FixedpointVC.cs
index 9f39e46c..974765fc 100644
--- a/Source/VCGeneration/FixedpointVC.cs
+++ b/Source/VCGeneration/FixedpointVC.cs
@@ -1568,6 +1568,7 @@ namespace Microsoft.Boogie
RPFP.Node cex;
varSubst = new Dictionary<int,Dictionary<string,string>>();
+#if false
int origRecursionBound = CommandLineOptions.Clo.RecursionBound;
if (CommandLineOptions.Clo.RecursionBound > 0 && extraRecBound != null)
{
@@ -1579,12 +1580,15 @@ namespace Microsoft.Boogie
}
CommandLineOptions.Clo.RecursionBound += maxExtra;
}
+#endif
ProverInterface.Outcome outcome =
- checker.TheoremProver.CheckRPFP("name", rpfp, handler, out cex, varSubst);
+ checker.TheoremProver.CheckRPFP("name", rpfp, handler, out cex, varSubst, extraRecBound);
cexroot = cex;
+#if false
CommandLineOptions.Clo.RecursionBound = origRecursionBound;
+#endif
Console.WriteLine("solve: {0}s", (DateTime.Now - start).TotalSeconds);