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

Method fact

lean_py/z3/solver.py:930–931  ·  view source on GitHub ↗
(self, head: Any, name: str | None = None)

Source from the content-addressed store, hash-verified

928 self.add_rule(head, body, name)
929
930 def fact(self, head: Any, name: str | None = None) -> None:
931 self.add_rule(head, None, name)
932
933 # -- query ---------------------------------------------------------------
934

Callers

nothing calls this directly

Calls 1

add_ruleMethod · 0.95

Tested by

no test coverage detected