20 using System.Collections.Generic;
38 Contract.Requires(ctx !=
null);
46 private static ArithExpr MkNum(
ArithExpr e,
double d) {
return (
ArithExpr)e.Context.MkNumeral(d.ToString(), e.Context.MkRealSort()); }
static BoolExpr operator >(ArithExpr a, double b)
Operator overloading for arithmetical operator
static ArithExpr operator *(double a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator >=(double a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator >=(int a, ArithExpr b)
Operator overloading for arithmetical operator
static ArithExpr operator *(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator >(int a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator >=(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical operator
static ArithExpr operator -(int a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator >=(ArithExpr a, int b)
Operator overloading for arithmetical operator
static BoolExpr operator >(double a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator<=(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator >(ArithExpr a, int b)
Operator overloading for arithmetical operator
static ArithExpr operator -(double a, ArithExpr b)
Operator overloading for arithmetical operator
static ArithExpr operator *(int a, ArithExpr b)
Operator overloading for arithmetical operator
static ArithExpr operator -(ArithExpr a)
Operator overloading for arithmetical operator
static BoolExpr operator >(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical operator
static ArithExpr operator *(ArithExpr a, int b)
Operator overloading for arithmetical operator
The main interaction with Z3 happens via the Context.
static ArithExpr operator *(ArithExpr a, double b)
Operator overloading for arithmetical operator
Arithmetic expressions (int/real)
static ArithExpr operator+(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical operator
static BoolExpr operator >=(ArithExpr a, double b)
Operator overloading for arithmetical operator
static ArithExpr operator/(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical divsion operator (over reals)
static BoolExpr operator<(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical operator
static ArithExpr operator -(ArithExpr a, ArithExpr b)
Operator overloading for arithmetical operator
static ArithExpr operator -(ArithExpr a, double b)
Operator overloading for arithmetical operator
static ArithExpr operator -(ArithExpr a, int b)
Operator overloading for arithmetical operator