MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / Exists

Function Exists

lean_py/z3/core.py:1386–1391  ·  view source on GitHub ↗
(
    vars: ExprRef | Sequence[ExprRef],
    body: BoolRef,
)

Source from the content-addressed store, hash-verified

1384
1385
1386def Exists(
1387 vars: ExprRef | Sequence[ExprRef],
1388 body: BoolRef,
1389) -> QuantifierRef:
1390 vs = [vars] if isinstance(vars, ExprRef) else list(vars)
1391 return QuantifierRef("\u2203", vs, body)
1392
1393
1394# ---------------------------------------------------------------------------

Callers 12

resolve_exprMethod · 0.90
test_exists_basicMethod · 0.90
test_is_quantifierMethod · 0.90
test_exists_is_existsMethod · 0.90
test_skolem_idMethod · 0.90
test_existsMethod · 0.90
test_exists_zeroMethod · 0.90
test_exists_sumMethod · 0.90
FiniteSetMapFunction · 0.85

Calls 1

QuantifierRefClass · 0.85

Tested by 10

test_exists_basicMethod · 0.72
test_is_quantifierMethod · 0.72
test_exists_is_existsMethod · 0.72
test_skolem_idMethod · 0.72
test_existsMethod · 0.72
test_exists_zeroMethod · 0.72
test_exists_sumMethod · 0.72