Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ mk_eq
Function
mk_eq
examples/05_knuckledragger/python/main.py:53–60 ·
view source on GitHub ↗
(lhs, rhs)
Source
from the content-addressed store, hash-verified
51
return
Expr.app(Expr.app(op, a), b)
52
53
def
mk_eq(lhs, rhs):
54
return
Expr.app(
55
Expr.app(
56
Expr.app(mk_const(
"Eq"
), mk_const(
"Nat"
)),
57
lhs,
58
),
59
rhs,
60
)
61
62
63
print(
"== expr_to_z3 =="
)
Callers
1
main
Function · 0.70
Calls
1
mk_const
Function · 0.70
Tested by
no test coverage detected