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

Function set_kernel

lean_py/z3/solver.py:154–157  ·  view source on GitHub ↗

Set the global kernel used by solvers and ``prove()``.

(k: Kernel)

Source from the content-addressed store, hash-verified

152
153
154def set_kernel(k: Kernel) -> None:
155 """Set the global kernel used by solvers and ``prove()``."""
156 global _kernel
157 _kernel = k
158
159
160def _get_kernel() -> Kernel:

Callers 4

kernelFunction · 0.90
kernelFunction · 0.90
kernelFunction · 0.90
setup_kernelFunction · 0.90

Calls

no outgoing calls

Tested by 3

kernelFunction · 0.72
kernelFunction · 0.72
kernelFunction · 0.72