Lean Kernel Arena / nanobruijn / bugs/rec-rule-wrong-arg

Checker "nanobruijn" on test "bugs/rec-rule-wrong-arg"

Checker: nanobruijn · Version: 2712fa6 · 📄 Declaration · 🔗 Source

Test: bugs/rec-rule-wrong-arg · Expected: ✋ reject · Size: 20.5 KB · Lines: 363 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 9.55 ms · instructions: 10.5 M · max rss memory: 13.6 MB · run 2026-11-19 15:09:03 UTC

stderr:
ExprPtr parse: 272 parser entries → 256 DAG entries, 52 OSNF-shifted, 249 live after compaction, 0 cores with bvar indices >= 64 (0 tail words)
  assert_def_eq FAILED at depth 0:
    u = Lam(Pi(C(W)+65535,Sort(ExportFile@1)+65535)+65535,Lam(Pi(C(Bool)+65535,App(V0+1,App(C(mk)+65535,V0+0)+0)+0)+0,Lam(C(Bool)+65535,App(V0+0,C(true)+65535)+1)+0)+0) (shift=65535 nlbv=0)
    v = Lam(Pi(C(W)+65535,Sort(ExportFile@1)+65535)+65535,Lam(Pi(C(Bool)+65535,App(V0+1,App(C(mk)+65535,V0+0)+0)+0)+0,Lam(C(Bool)+65535,App(V0+1,V0+0)+0)+0)+0) (shift=65535 nlbv=0)
    DIFF Lam at depth 0
        DIFF Lam at depth 1
            DIFF Lam at depth 2
                SHIFT DIFF: shift=1 vs shift=0
                DIFF App at depth 3
                    SHIFT DIFF: shift=65535 vs shift=0
                    LEAF DIFF at depth 4: C(true) vs V0

thread 'thread_1' (26904) 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' (26902) panicked at src/tc.rs:324:26:
A thread in `check_all_declars` panicked while being joined: Any { .. }

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