Lean Kernel Arena / nanobruijn / other/nat-lit-add-bad

Checker "nanobruijn" on test "other/nat-lit-add-bad"

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

Test: other/nat-lit-add-bad · Expected: ✋ reject · Size: 25.3 KB · Lines: 465 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

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

stderr:
ExprPtr parse: 352 parser entries → 329 DAG entries, 79 OSNF-shifted, 314 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(Nat)+65535)+65535,App(App(C(add)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(123456789)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(123456789)+65535)+65535)+65535)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(987654321)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(987654321)+65535)+65535)+65535)+65535)+65535,App(App(C(add)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(123456789)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(123456789)+65535)+65535)+65535)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(987654321)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(987654321)+65535)+65535)+65535)+65535) (shift=65535 nlbv=0)
    v = App(App(App(C(Eq)+65535,C(Nat)+65535)+65535,App(App(C(add)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(123456789)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(123456789)+65535)+65535)+65535)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(987654321)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(987654321)+65535)+65535)+65535)+65535)+65535,App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(1111111111)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(1111111111)+65535)+65535)+65535) (shift=65535 nlbv=0)
    DIFF App at depth 0
        DIFF App at depth 1
            DIFF App at depth 2
                LEAF DIFF at depth 3: C(add) vs App(C(ofNat)+65535,C(Nat)+65535)
                LEAF DIFF at depth 3: App(App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(123456789)+65535)+65535,App(C(instOfNatNat)+65535,NatLit(123456789)+65535)+65535) vs NatLit(1111111111)
            DIFF App at depth 2
                LEAF DIFF at depth 3: App(App(C(ofNat)+65535,C(Nat)+65535)+65535,NatLit(987654321)+65535) vs C(instOfNatNat)
                LEAF DIFF at depth 3: App(C(instOfNatNat)+65535,NatLit(987654321)+65535) vs NatLit(1111111111)

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

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