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

Function TransitiveClosure

lean_py/z3/core.py:4388–4390  ·  view source on GitHub ↗

Compute the transitive closure of a binary relation.

(f: FuncDeclRef)

Source from the content-addressed store, hash-verified

4386
4387
4388def TransitiveClosure(f: FuncDeclRef) -> FuncDeclRef:
4389 """Compute the transitive closure of a binary relation."""
4390 return FuncDeclRef(f"tc_{f._name}", f._domain, f._range)
4391
4392
4393# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

FuncDeclRefClass · 0.85

Tested by

no test coverage detected