kdrag.tactics.exact
- kdrag.tactics.exact(thm: BoolRef, pf: Proof) Proof
Check a proof against a statement without calling a solver.
Infer arguments of outer universal quantifiers by one-way matching. All arguments must be determined; premises are not discharged. Bound variable names may differ, and the returned proof keeps its binder names.
>>> x = smt.Int("x") >>> pf = kd.prove(smt.ForAll([x], x + 0 == x)) >>> exact(smt.IntVal(3) + 0 == 3, pf) |= 3 + 0 == 3