Lean Kernel Arena / nanobruijn / perf/proj-applied-struct-arg-bad

Checker "nanobruijn" on test "perf/proj-applied-struct-arg-bad"

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

Test: perf/proj-applied-struct-arg-bad · Expected: ✋ reject · Size: 110.8 KB · Lines: 2.1 k · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 6.28 s · instructions: 63.1 G · max rss memory: 3.1 GB · run 2026-11-22 02:04:22 UTC

stderr:
ExprPtr parse: 1608 parser entries → 1542 DAG entries, 496 OSNF-shifted, 1389 live after compaction, 0 cores with bvar indices >= 64 (0 tail words)
  assert_def_eq FAILED at depth 0:
    u = Pi(C(Nat)+65535,Pi(C(Nat)+65535,App(App(App(C(Eq)+65535,C(Nat)+65535)+65535,App(App(C(fn)+65535,App(App(C(gC)+65535,C(slowB)+65535)+65535,V0+0)+0)+1,V0+0)+0)+0,App(App(C(fn)+65535,App(App(C(gC)+65535,C(slowB)+65535)+65535,V0+0)+0)+1,V0+0)+0)+0)+0) (shift=65535 nlbv=0)
    v = Pi(C(Nat)+65535,Pi(C(Nat)+65535,App(App(App(C(Eq)+65535,C(Nat)+65535)+65535,App(App(C(fn)+65535,App(App(C(gC')+65535,C(slowB)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1)+65535)+65535)+65535)+0)+0)+0,App(App(C(fn)+65535,App(App(C(gC)+65535,C(slowB)+65535)+65535,V0+0)+0)+1,V0+0)+0)+0)+0) (shift=65535 nlbv=0)
    DIFF Pi at depth 0
        DIFF Pi at depth 1
            DIFF App at depth 2
                DIFF App at depth 3
                    DIFF App at depth 4
                        DIFF App at depth 5
                            DIFF App at depth 6
                                DIFF App at depth 7
                                    LEAF DIFF at depth 8: C(gC) vs C(gC')
                        LEAF DIFF at depth 5: V0 vs App(App(App(App(App(...+65535,...+65535)+65535,C(Nat)+65535)+65535,App(App(...+65535,...+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1)+65535)+65535)+65535)

thread 'thread_1' (64310) panicked at src/tc.rs:1429:13:
assert_def_eq failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  assert_def_eq FAILED at depth 0:
    u = Pi(C(Nat)+65535,Pi(C(Nat)+65535,App(App(App(C(Eq)+65535,C(Nat)+65535)+65535,App(App(C(fn)+65535,App(App(C(gC')+65535,C(slowC)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(2)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(2)+65535)+65535)+65535)+0)+0)+0,App(App(C(fn)+65535,App(App(C(gC')+65535,C(slowC)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(2)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(2)+65535)+65535)+65535)+0)+0)+0)+0) (shift=65535 nlbv=0)
    v = Pi(C(Nat)+65535,Pi(C(Nat)+65535,App(App(App(C(Eq)+65535,C(Nat)+65535)+65535,App(App(C(fn)+65535,App(App(C(gC)+65535,C(slowC)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1)+65535)+65535)+65535)+0)+0)+0,App(App(C(fn)+65535,App(App(C(gC')+65535,C(slowC)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(2)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(2)+65535)+65535)+65535)+0)+0)+0)+0) (shift=65535 nlbv=0)
    DIFF Pi at depth 0
        DIFF Pi at depth 1
            DIFF App at depth 2
                DIFF App at depth 3
                    DIFF App at depth 4
                        DIFF App at depth 5
                            DIFF App at depth 6
                                DIFF App at depth 7
                                    LEAF DIFF at depth 8: C(gC') vs C(gC)
                        DIFF App at depth 5
                            DIFF App at depth 6
                                DIFF App at depth 7
                                    LEAF DIFF at depth 8: NatLit(2) vs NatLit(1)
                                DIFF App at depth 7
                                    LEAF DIFF at depth 8: NatLit(2) vs NatLit(1)

thread 'thread_3' (64312) panicked at src/tc.rs:1429:13:
assert_def_eq failed
  assert_def_eq FAILED at depth 0:
    u = Pi(C(Nat)+65535,Pi(C(Nat)+65535,App(App(App(C(Eq)+65535,C(Nat)+65535)+65535,App(App(C(fn)+65535,App(App(C(gC')+65535,C(slowA)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1)+65535)+65535)+65535)+0)+0)+0,App(App(C(fn)+65535,App(App(C(gC')+65535,C(slowA)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1)+65535)+65535)+65535)+0)+0)+0)+0) (shift=65535 nlbv=0)
    v = Pi(C(Nat)+65535,Pi(C(Nat)+65535,App(App(App(C(Eq)+65535,C(Nat)+65535)+65535,App(App(C(fn)+65535,App(App(C(gC)+65535,C(slowA)+65535)+65535,V0+0)+0)+1,V0+0)+0)+0,App(App(C(fn)+65535,App(App(C(gC')+65535,C(slowA)+65535)+65535,V0+0)+0)+1,App(App(App(App(App(App(C(hAdd)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,C(Nat)+65535)+65535,App(App(C(instHAdd)+65535,C(Nat)+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1)+65535)+65535)+65535)+0)+0)+0)+0) (shift=65535 nlbv=0)
    DIFF Pi at depth 0
        DIFF Pi at depth 1
            DIFF App at depth 2
                DIFF App at depth 3
                    DIFF App at depth 4
                        DIFF App at depth 5
                            DIFF App at depth 6
                                DIFF App at depth 7
                                    LEAF DIFF at depth 8: C(gC') vs C(gC)
                        LEAF DIFF at depth 5: App(App(App(App(App(...+65535,...+65535)+65535,C(Nat)+65535)+65535,App(App(...+65535,...+65535)+65535,C(instAddNat)+65535)+65535)+65535,V0+0)+0,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1)+65535)+65535)+65535) vs V0

thread 'thread_0' (64309) panicked at src/tc.rs:1429:13:
assert_def_eq failed

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

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