mirror of
https://github.com/Z3Prover/z3
synced 2026-04-02 18:08:57 +00:00
When both leading (or trailing) tokens of a string equality are is_char_or_unit(), split the equality: unit(a) ++ rest1 == unit(b) ++ rest2 -> unit(a)==unit(b), rest1==rest2 unit(a) ++ rest1 == unit(b) -> unit(a)==unit(b), rest1==empty unit(a) == unit(b) ++ rest2 -> unit(a)==unit(b), empty==rest2 (symmetric suffix case handled too) Add three unit tests covering prefix split, prefix split with empty rest, and suffix split. Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/565287e9-a121-4bae-8aa4-6c2ec93e660f Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| ackermannization | ||
| api | ||
| ast | ||
| cmd_context | ||
| math | ||
| model | ||
| muz | ||
| nlsat | ||
| opt | ||
| params | ||
| parsers | ||
| qe | ||
| sat | ||
| shell | ||
| smt | ||
| solver | ||
| tactic | ||
| test | ||
| util | ||
| CMakeLists.txt | ||