mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
add concat recognizer
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b978f78c21
commit
c980cfd783
|
@ -1297,6 +1297,15 @@ public class Expr extends AST
|
||||||
return Native.getString(getContext().nCtx(), getNativeObject());
|
return Native.getString(getContext().nCtx(), getNativeObject());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check whether expression is a concatenation
|
||||||
|
* @return a boolean
|
||||||
|
*/
|
||||||
|
public boolean isConcat()
|
||||||
|
{
|
||||||
|
return isApp() && getFuncDecl().getDeclKind() == Z3_decl_kind.Z3_OP_SEQ_CONCAT;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates whether the term is a binary equivalence modulo namings.
|
* Indicates whether the term is a binary equivalence modulo namings.
|
||||||
* Remarks: This binary predicate is used in proof terms. It captures
|
* Remarks: This binary predicate is used in proof terms. It captures
|
||||||
|
|
Loading…
Reference in a new issue