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

Method try_assign

lean_py/kernel.py:103–105  ·  view source on GitHub ↗
(self, expr: str)

Source from the content-addressed store, hash-verified

101 return TacticResult.parse(encoded, self._kernel, next_state)
102
103 def try_assign(self, expr: str) -> TacticResult:
104 encoded, next_state = self._kernel._lib.leanpy_kernel_goal_try_assign(self._handle, expr)
105 return TacticResult.parse(encoded, self._kernel, next_state)
106
107 def conv_enter(self) -> TacticResult:
108 encoded, next_state = self._kernel._lib.leanpy_kernel_goal_conv_enter(self._handle)

Callers

nothing calls this directly

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected