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

Method test_string_length_ground

tests/test_z3_compat.py:1683–1686  ·  view source on GitHub ↗

len('hello') == len('world').

(self, kernel)

Source from the content-addressed store, hash-verified

1681 assert _try_prove(claim)
1682
1683 def test_string_length_ground(self, kernel):
1684 """len('hello') == len('world')."""
1685 claim = Length(StringVal("hello")) == Length(StringVal("world"))
1686 assert _try_prove(claim)
1687
1688 def test_string_concat_ground(self, kernel):
1689 """'ab' ++ 'cd' == 'abcd'."""

Callers

nothing calls this directly

Calls 3

LengthFunction · 0.90
StringValFunction · 0.90
_try_proveFunction · 0.90

Tested by

no test coverage detected