A single entry in a function interpretation.
| 985 | |
| 986 | |
| 987 | class 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 | |
| 1010 | class FuncInterp: |
no outgoing calls