kdrag.utils.propagate_eqsļ
- kdrag.utils.propagate_eqs(terms: list[ExprRef], known: BoolRef) list[BoolRef]ļ
Given a list of terms, propagate equalities among them that are implied by known. >>> x,y,z = smt.Ints(āx y zā) >>> terms = [x, y, z, x + 1, y + 1] >>> known = smt.And(x == y, y == z) >>> propagate_eqs(terms, known) [y == x, z == x, z == y, y + 1 == x + 1]
- Parameters:
terms (list[ExprRef])
known (BoolRef)
- Return type:
list[BoolRef]