Lean Kernel Arena / rpylean / bugs/str-lit-utf8-bad

Checker "rpylean" on test "bugs/str-lit-utf8-bad"

Checker: rpylean · Version: v2026.11.11 · 📄 Declaration · 🔗 Source

Test: bugs/str-lit-utf8-bad · Expected: ✋ reject · Size: 578.7 KB · Lines: 10.7 k · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 21.4 ms · instructions: 41.3 M · max rss memory: 22.2 MB · run 2026-11-22 21:44:24 UTC

stderr:
theorem strLitUtf8Bad : Eq "é"
  (String.ofList (List.cons (Char.ofNat (OfNat.ofNat 195)) (List.cons (Char.ofNat (OfNat.ofNat 169)) (List.nil)))) :=
  Eq.refl "é"
  ^^^^^^^^^^^
  has type
    Eq "é" "é"
  but is expected to have type
    Eq "é" (String.ofList (List.cons (Char.ofNat (OfNat.ofNat 195)) (List.cons (Char.ofNat (OfNat.ofNat 169)) (List.nil))))
summary: 378/378 decls checked, peak 33 MB, allocated 0 MB
checked in 0.012742s