kdrag.theories.set.Choose

kdrag.theories.set.Choose(A: FuncRef, auto=False) tuple[list[ExprRef], Proof]

Choose an arbitrary element from set A.

>>> x = smt.Int("x")
>>> Choose(smt.Lambda([x], x > 0))
([c!...], |= Implies(Exists(c!..., c!... > 0), c!... > 0))
Parameters:

A (FuncRef)

Return type:

tuple[list[ExprRef], Proof]