mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
pydoc test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b1893f2a58
commit
7c9d2e0d75
|
@ -1270,7 +1270,7 @@ def Distinct(*args):
|
|||
>>> simplify(Distinct(x, y, z))
|
||||
Distinct(x, y, z)
|
||||
>>> simplify(Distinct(x, y, z), blast_distinct=True)
|
||||
And(Not(x == y), Not(x == z), Not(y == z))
|
||||
And(Not(x == y), Not(z == x), Not(z == y))
|
||||
"""
|
||||
args = _get_args(args)
|
||||
ctx = _ctx_from_ast_arg_list(args)
|
||||
|
@ -8158,7 +8158,7 @@ def simplify(a, *arguments, **keywords):
|
|||
>>> simplify((x + 1)*(y + 1), som=True)
|
||||
1 + x + y + x*y
|
||||
>>> simplify(Distinct(x, y, 1), blast_distinct=True)
|
||||
And(Not(x == y), Not(x == 1), Not(y == 1))
|
||||
And(Not(y == x), Not(1 == x), Not(y == 1))
|
||||
>>> simplify(And(x == 0, y == 1), elim_and=True)
|
||||
Not(Or(Not(x == 0), Not(y == 1)))
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue