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

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

Checker: nanobruijn · Version: 2712fa6 · 📄 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: 17.5 ms · instructions: 231.1 M · max rss memory: 26.8 MB · run 2026-11-22 11:40:49 UTC

stderr:
ExprPtr parse: 8558 parser entries → 8302 DAG entries, 3322 OSNF-shifted, 7059 live after compaction, 0 cores with bvar indices >= 64 (0 tail words)
  assert_def_eq FAILED at depth 0:
    u = App(App(App(C(Eq)+65535,C(String)+65535)+65535,Str+65535)+65535,Str+65535) (shift=65535 nlbv=0)
    v = App(App(App(C(Eq)+65535,C(String)+65535)+65535,Str+65535)+65535,App(C(ofList)+65535,App(App(App(C(cons)+65535,C(Char)+65535)+65535,App(C(ofNat)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(195)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(195)+65535)+65535)+65535)+65535)+65535,App(App(App(C(cons)+65535,C(Char)+65535)+65535,App(C(ofNat)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(169)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(169)+65535)+65535)+65535)+65535)+65535,App(C(nil)+65535,C(Char)+65535)+65535)+65535)+65535)+65535) (shift=65535 nlbv=0)
    DIFF App at depth 0
        LEAF DIFF at depth 1: Str vs App(C(ofList)+65535,App(App(App(C(cons)+65535,C(Char)+65535)+65535,App(C(ofNat)+65535,App(...+65535,...+65535)+65535)+65535)+65535,App(App(App(...+65535,...+65535)+65535,App(...+65535,...+65535)+65535)+65535,App(C(nil)+65535,C(Char)+65535)+65535)+65535)+65535)

thread 'thread_1' (4041) panicked at src/tc.rs:1429:13:
assert_def_eq failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'main-worker' (4039) panicked at src/tc.rs:324:26:
A thread in `check_all_declars` panicked while being joined: Any { .. }

thread 'main' (4038) panicked at src/main.rs:11:20:
called `Result::unwrap()` on an `Err` value: Any { .. }