Returns true if e is a numeral and has type Nat.
Instances For
Returns true if e is a nonnegative numeral and has type Int.
Instances For
Returns true if e is a numeral and has type Int.
Instances For
Returns true if e is a numeral supported by cutsat.
Instances For
Returns true if e is of the form Nat
Instances For
Returns true if e is of the form Int
Instances For
Returns true if e is of the form @instHAdd Nat instAddNat
Instances For
Returns true if e is instLENat
Instances For
Quote e using 「 and 」 if e is an arithmetic term that is being treated as a variable.
Instances For
Helper monad for collecting decision variables in linarith and cutsat
- visited : Std.HashSet UInt64
- found : FVarIdSet
Instances For
Instances For
Instances For
Instances For
Instances For
Return auxiliary expression used as "virtual" parent when
internalizing auxiliary expressions created by toIntModuleExpr.
The function toIntModuleExpr converts a CommRing polynomial into
a IntModule expression. We don't want this auxiliary expression to be
internalized by the CommRing module since it uses a nonstandard encoding
with @HSMul.hSMul Int α α, a virtual One.one constant, etc.