Placeholder — Lean is a proof checker, not an SMT solver.
| 508 | |
| 509 | |
| 510 | class ModelRef: |
| 511 | """Placeholder — Lean is a proof checker, not an SMT solver.""" |
| 512 | |
| 513 | def __getitem__(self, key: Any) -> Any: |
| 514 | raise NotImplementedError( |
| 515 | "Model extraction not supported: Lean cannot produce counter-models" |
| 516 | ) |
| 517 | |
| 518 | def eval(self, t: Any, model_completion: bool = False) -> Any: |
| 519 | raise NotImplementedError( |
| 520 | "Model extraction not supported: Lean cannot produce counter-models" |
| 521 | ) |
| 522 | |
| 523 | evaluate = eval |
| 524 | |
| 525 | def decls(self) -> list: |
| 526 | return [] |
| 527 | |
| 528 | def __len__(self) -> int: |
| 529 | return 0 |
| 530 | |
| 531 | def __contains__(self, key: Any) -> bool: |
| 532 | return False |
| 533 | |
| 534 | def __iter__(self): |
| 535 | return iter([]) |
| 536 | |
| 537 | def sexpr(self) -> str: |
| 538 | return "(model)" |
| 539 | |
| 540 | def __repr__(self) -> str: |
| 541 | return "ModelRef(unsupported)" |
| 542 | |
| 543 | |
| 544 | class Solver: |
no outgoing calls