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

Function mk_const

examples/05_knuckledragger/python/main.py:35–36  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

33 return n
34
35 def mk_const(s: str):
36 return Expr.const(mk_name(s), [])
37
38 def mk_nat(n: int):
39 return Expr.app(

Callers 3

mk_natFunction · 0.70
mk_binopFunction · 0.70
mk_eqFunction · 0.70

Calls 1

mk_nameFunction · 0.70

Tested by

no test coverage detected