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

Class FuncInterp

lean_py/z3/solver.py:1010–1033  ·  view source on GitHub ↗

Function interpretation in a model.

Source from the content-addressed store, hash-verified

1008
1009
1010class FuncInterp:
1011 """Function interpretation in a model."""
1012
1013 def __init__(self) -> None:
1014 pass
1015
1016 def else_value(self) -> Any:
1017 raise NotImplementedError(
1018 "Model extraction not supported: Lean cannot produce counter-models"
1019 )
1020
1021 def num_entries(self) -> int:
1022 return 0
1023
1024 def entry(self, i: int) -> FuncEntry:
1025 raise NotImplementedError(
1026 "Model extraction not supported: Lean cannot produce counter-models"
1027 )
1028
1029 def arity(self) -> int:
1030 return 0
1031
1032 def as_list(self) -> list:
1033 return []
1034
1035
1036# ---------------------------------------------------------------------------

Calls

no outgoing calls