Lean Kernel Arena (Preview) / other/str-escape-bmp

Test "other/str-escape-bmp"

Expected: 👍 accept · Size: 556.2 KB · Lines: 10.3 k · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 📄 Declaration · 🔗 Source

s : "\u00e9\u20AC" = "é€" := rfl, where the left side writes the characters as JSON escapes and the right side as UTF-8 bytes.

A JSON string can spell the same string in several ways: a character can be written as itself or as a \u escape (with hexadecimal digits in either case), and a character above U+FFFF as an escaped surrogate pair. All spellings denote the same String.

Generated by invalid-utf8/gen.py from an export of invalid-utf8/Lit.lean. See Lean issue #16877.

Checker Result ⏱️ 🧠
gruszka 👍 6.98 ms 138.4 MB
nano-lean 👍 4.81 ms 82.4 MB
pestka 👍 14.5 ms 28.7 MB
con-leche 👍 65.8 ms 37.5 MB
con-ron 👍 82.7 ms 61.9 MB
nucleus 🚫 133 ms 16.0 MB
official 👍 90.7 ms 115.7 MB