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

Method from_file

lean_py/z3/solver.py:661–663  ·  view source on GitHub ↗

Load solver from file (not supported).

(filename: str)

Source from the content-addressed store, hash-verified

659
660 @staticmethod
661 def from_file(filename: str) -> Solver:
662 """Load solver from file (not supported)."""
663 raise NotImplementedError("from_file not supported: Lean uses its own syntax, not SMT-LIB2")
664
665 @staticmethod
666 def from_string(s: str) -> Solver:

Callers 1

test_from_file_raisesMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_from_file_raisesMethod · 0.64