mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +00:00
parent
0e701138e1
commit
383d06b225
3 changed files with 3 additions and 13 deletions
|
@ -1545,7 +1545,6 @@ end
|
|||
module Arithmetic =
|
||||
struct
|
||||
let is_int ( x : expr ) =
|
||||
(Z3native.is_numeral_ast (Expr.gnc x) (Expr.gno x)) &&
|
||||
((sort_kind_of_int (Z3native.get_sort_kind (Expr.gnc x) (Z3native.get_sort (Expr.gnc x) (Expr.gno x)))) == INT_SORT)
|
||||
|
||||
let is_arithmetic_numeral ( x : expr ) = (AST.is_app (Expr.ast_of_expr x)) && (FuncDecl.get_decl_kind (Expr.get_func_decl x) == OP_ANUM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue