Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ StringVal
Function
StringVal
lean_py/z3/core.py:2282–2284 ·
view source on GitHub ↗
Create a string literal.
(s: str)
Source
from the content-addressed store, hash-verified
2280
2281
2282
def
StringVal(s: str) -> StringRef:
2283
""
"Create a string literal."
""
2284
return
StringRef(StringLit(s))
2285
2286
2287
def
Length(s: StringRef | SeqRef) -> ArithRef:
Callers
15
resolve_expr
Method · 0.90
test_string_literal
Method · 0.90
test_string_concat_operator
Method · 0.90
test_contains
Method · 0.90
test_prefix_suffix
Method · 0.90
test_replace
Method · 0.90
test_indexof
Method · 0.90
test_str_to_int_and_back
Method · 0.90
test_str_concat_variadic
Method · 0.90
test_re_from_literal
Method · 0.90
test_star
Method · 0.90
test_plus
Method · 0.90
Calls
2
StringLit
Class · 0.90
StringRef
Class · 0.85
Tested by
15
test_string_literal
Method · 0.72
test_string_concat_operator
Method · 0.72
test_contains
Method · 0.72
test_prefix_suffix
Method · 0.72
test_replace
Method · 0.72
test_indexof
Method · 0.72
test_str_to_int_and_back
Method · 0.72
test_str_concat_variadic
Method · 0.72
test_re_from_literal
Method · 0.72
test_star
Method · 0.72
test_plus
Method · 0.72
test_option
Method · 0.72