Create a new goal state from a ``Lean.Expr`` object. Raises ``LeanError`` on type-check failure.
(self, expr: Any)
| 345 | return GoalState(self, handle) |
| 346 | |
| 347 | def goal_create_expr(self, expr: Any) -> GoalState: |
| 348 | """Create a new goal state from a ``Lean.Expr`` object. Raises |
| 349 | ``LeanError`` on type-check failure.""" |
| 350 | handle = self._lib.z3_goal_create_expr(expr) |
| 351 | return GoalState(self, handle) |
| 352 | |
| 353 | def goal_unpickle(self, path: str) -> GoalState: |
| 354 | """Load a goal state previously serialised with :meth:`GoalState.pickle`.""" |
no test coverage detected