diff options
author | akashlal <unknown> | 2010-12-07 06:55:46 +0000 |
---|---|---|
committer | akashlal <unknown> | 2010-12-07 06:55:46 +0000 |
commit | 638d1d5813cee07f789ed9afaed67e6a39a202ca (patch) | |
tree | 451a1b4087cc67caa7be1692530148f694aab401 | |
parent | 17ae858148a0e2c7d7c4024f690b4bd5e8279590 (diff) |
stratified inlining: added option of turning off CheckAssumptions
-rw-r--r-- | Source/VCGeneration/StratifiedVC.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/VCGeneration/StratifiedVC.cs b/Source/VCGeneration/StratifiedVC.cs index 303a78ce..ef12ec01 100644 --- a/Source/VCGeneration/StratifiedVC.cs +++ b/Source/VCGeneration/StratifiedVC.cs @@ -672,6 +672,8 @@ namespace VC private List<int> numAxiomsPushed;
// Api-based theorem prover
private ApiProverInterface TheoremProver;
+ // Use checkAssumptions?
+ public static bool UseCheckAssumptions = true;
public ApiChecker(VCExpr vcMain, StratifiedInliningErrorReporter reporter, Checker checker)
{
@@ -739,6 +741,11 @@ namespace VC public override Outcome CheckAssumptions(List<VCExpr> assumptions)
{
+ if (!UseCheckAssumptions)
+ {
+ return base.CheckAssumptions(assumptions);
+ }
+
if (assumptions.Count == 0)
{
return CheckVC();
|