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

Class FuncEntry

lean_py/z3/solver.py:987–1007  ·  view source on GitHub ↗

A single entry in a function interpretation.

Source from the content-addressed store, hash-verified

985
986
987class FuncEntry:
988 """A single entry in a function interpretation."""
989
990 def __init__(self) -> None:
991 pass
992
993 def num_args(self) -> int:
994 return 0
995
996 def arg_value(self, i: int) -> Any:
997 raise NotImplementedError(
998 "Model extraction not supported: Lean cannot produce counter-models"
999 )
1000
1001 def value(self) -> Any:
1002 raise NotImplementedError(
1003 "Model extraction not supported: Lean cannot produce counter-models"
1004 )
1005
1006 def as_list(self) -> list:
1007 return []
1008
1009
1010class FuncInterp:

Callers 3

Calls

no outgoing calls

Tested by 3