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

Method test_empty_concat_left

tests/test_z3_semantic.py:809–813  ·  view source on GitHub ↗
(self, kernel)

Source from the content-addressed store, hash-verified

807 assert len(Tactic("simp [String.append_assoc]").apply(g)) == 0
808
809 def test_empty_concat_left(self, kernel):
810 x = String("x")
811 g = Goal()
812 g.add(StrConcat(StringVal(""), x) == x)
813 assert len(Tactic("simp").apply(g)) == 0
814
815 def test_empty_concat_right(self, kernel):
816 x = String("x")

Callers

nothing calls this directly

Calls 7

addMethod · 0.95
StringFunction · 0.90
GoalClass · 0.90
StrConcatFunction · 0.90
StringValFunction · 0.90
TacticClass · 0.90
applyMethod · 0.45

Tested by

no test coverage detected