Lean Kernel Arena (Preview) / other/name-utf8-surrogate

Test "other/name-utf8-surrogate"

Expected: ✋ reject · Size: 416 B · Lines: 6 · 📄 Declaration

def foo : Type := Prop, with the name foo replaced by the surrogate U+D800 encoded as UTF-8 bytes (ED A0 80), which is not valid UTF-8.

Names are made of strings, which are sequences of Unicode scalar values (code points below 0x110000 that are not surrogates), so an export with such a name is malformed and must be rejected.

Hand-made from an export of def foo : Type := Prop. See Lean issue #16877.

Checker Result ⏱️ 🧠
gruszka ✋ 1.64 ms 35.9 MB
nano-lean ✋ 0.427 ms 10.7 MB
pestka ✋ 1.50 ms 4.1 MB
con-leche ✋ 3.33 ms 18.9 MB
con-ron ✋ 0.657 ms 10.0 MB
nucleus ✋ 22.5 ms 13.5 MB
official 👍 41.9 ms 112.3 MB