Lean Kernel Arena (Preview) / other/str-nul

Test "other/str-nul"

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

s : "a\u0000b" = "a" := rfl. The character U+0000 is a valid Char, so the left side is a string of three characters, and the theorem is false. A checker that ends a string at its first NUL character, as C strings do, takes the two literals to be equal and accepts this.

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

Checker Result ⏱️ 🧠
gruszka ✋ 6.99 ms 140.0 MB
nano-lean ✋ 4.85 ms 82.1 MB
pestka ✋ 14.9 ms 28.9 MB
con-leche ✋ 65.8 ms 37.3 MB
con-ron ✋ 82.8 ms 63.8 MB
nucleus 🚫 134 ms 15.9 MB
official ✋ 90.6 ms 116.8 MB