From d652155ae013f36a1ee17653a8e458baad2d9c2c Mon Sep 17 00:00:00 2001 From: Checkmate50 Date: Mon, 6 Jun 2016 23:14:18 -0600 Subject: Merging complete. Everything looks good *crosses fingers* --- Source/Provers/Z3api/StubContext.cs | 148 ++++++++++++++++++------------------ 1 file changed, 74 insertions(+), 74 deletions(-) (limited to 'Source/Provers/Z3api/StubContext.cs') diff --git a/Source/Provers/Z3api/StubContext.cs b/Source/Provers/Z3api/StubContext.cs index b129b378..79f140aa 100644 --- a/Source/Provers/Z3api/StubContext.cs +++ b/Source/Provers/Z3api/StubContext.cs @@ -1,75 +1,75 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Threading; -using System.IO; -using System.Diagnostics; -using Microsoft.Boogie.AbstractInterpretation; -using Microsoft.Boogie; -using Microsoft.Boogie.Z3; -using Microsoft.Z3; -using Microsoft.Boogie.VCExprAST; - -namespace Microsoft.Boogie.Z3 { - public class Z3StubContext : Z3Context { - class Z3StubPatternAst: Z3PatternAst {} - class Z3StubTermAst: Z3TermAst {} - class Z3StubLabeledLiterals: Z3LabeledLiterals {} - - public void CreateBacktrackPoint(){} - public void Backtrack(){} - public void AddAxiom(VCExpr axiom, LineariserOptions linOptions) { } - public void AddConjecture(VCExpr vc, LineariserOptions linOptions){} - public void AddSmtlibString(string smtlibString) {} - public string GetDeclName(Z3ConstDeclAst constDeclAst) { - return ""; - } - public Z3PatternAst MakePattern(List exprs) { - return new Z3StubPatternAst(); - } - public Z3TermAst MakeQuantifier(bool isForall, uint weight, string qid, int skolemid, List varNames, List boogieTypes, List patterns, List no_patterns, Z3TermAst body) { - return new Z3StubTermAst(); - } - public ProverInterface.Outcome Check(out List boogieErrors) { - boogieErrors = new List(); - return ProverInterface.Outcome.Undetermined; - } - public void TypeCheckBool(Z3TermAst t){} - public void TypeCheckInt(Z3TermAst t){} - public void DeclareType(string typeName) {} - public void DeclareConstant(string constantName, Type boogieType) {} - public void DeclareFunction(string functionName, List domain, Type range) {} - public Z3TermAst GetConstant(string constantName, Type constantType) { - return new Z3StubTermAst(); - } - public Z3TermAst MakeIntLiteral(string numeral) { - return new Z3StubTermAst(); - } - public Z3TermAst MakeBvLiteral(int i, uint bvSize) { - return new Z3StubTermAst(); - } - public Z3TermAst MakeTrue() { - return new Z3StubTermAst(); - } - public Z3TermAst MakeFalse() { - return new Z3StubTermAst(); - } - public Z3TermAst MakeLabel(string labelName, bool pos, Z3TermAst child) { - return new Z3StubTermAst(); - } - public Z3LabeledLiterals GetRelevantLabels() { - return new Z3StubLabeledLiterals(); - } - public Z3TermAst Make(string op, List children) { - return new Z3StubTermAst(); - } - public Z3TermAst MakeArraySelect(List args) - { - return new Z3StubTermAst(); - } - public Z3TermAst MakeArrayStore(List args) - { - return new Z3StubTermAst(); - } - } +using System; +using System.Collections; +using System.Collections.Generic; +using System.Threading; +using System.IO; +using System.Diagnostics; +using Microsoft.Boogie.AbstractInterpretation; +using Microsoft.Boogie; +using Microsoft.Boogie.Z3; +using Microsoft.Z3; +using Microsoft.Boogie.VCExprAST; + +namespace Microsoft.Boogie.Z3 { + public class Z3StubContext : Z3Context { + class Z3StubPatternAst: Z3PatternAst {} + class Z3StubTermAst: Z3TermAst {} + class Z3StubLabeledLiterals: Z3LabeledLiterals {} + + public void CreateBacktrackPoint(){} + public void Backtrack(){} + public void AddAxiom(VCExpr axiom, LineariserOptions linOptions) { } + public void AddConjecture(VCExpr vc, LineariserOptions linOptions){} + public void AddSmtlibString(string smtlibString) {} + public string GetDeclName(Z3ConstDeclAst constDeclAst) { + return ""; + } + public Z3PatternAst MakePattern(List exprs) { + return new Z3StubPatternAst(); + } + public Z3TermAst MakeQuantifier(bool isForall, uint weight, string qid, int skolemid, List varNames, List boogieTypes, List patterns, List no_patterns, Z3TermAst body) { + return new Z3StubTermAst(); + } + public ProverInterface.Outcome Check(out List boogieErrors) { + boogieErrors = new List(); + return ProverInterface.Outcome.Undetermined; + } + public void TypeCheckBool(Z3TermAst t){} + public void TypeCheckInt(Z3TermAst t){} + public void DeclareType(string typeName) {} + public void DeclareConstant(string constantName, Type boogieType) {} + public void DeclareFunction(string functionName, List domain, Type range) {} + public Z3TermAst GetConstant(string constantName, Type constantType) { + return new Z3StubTermAst(); + } + public Z3TermAst MakeIntLiteral(string numeral) { + return new Z3StubTermAst(); + } + public Z3TermAst MakeBvLiteral(int i, uint bvSize) { + return new Z3StubTermAst(); + } + public Z3TermAst MakeTrue() { + return new Z3StubTermAst(); + } + public Z3TermAst MakeFalse() { + return new Z3StubTermAst(); + } + public Z3TermAst MakeLabel(string labelName, bool pos, Z3TermAst child) { + return new Z3StubTermAst(); + } + public Z3LabeledLiterals GetRelevantLabels() { + return new Z3StubLabeledLiterals(); + } + public Z3TermAst Make(string op, List children) { + return new Z3StubTermAst(); + } + public Z3TermAst MakeArraySelect(List args) + { + return new Z3StubTermAst(); + } + public Z3TermAst MakeArrayStore(List args) + { + return new Z3StubTermAst(); + } + } } \ No newline at end of file -- cgit v1.2.3