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

Function mk_name

examples/04_sympy_tactic/python/main.py:29–34  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

27
28 # Helper: build a Lean.Name from a dotted string
29 def mk_name(s: str):
30 parts = s.split(".")
31 n = Name.anonymous
32 for p in parts:
33 n = Name.str(n, p)
34 return n
35
36 # Helper: build an elaborated const
37 def mk_const(s: str):

Callers 1

mk_constFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected