Lean Kernel Arena / lean4lean / perf/refute-cheap-last

Checker "lean4lean" on test "perf/refute-cheap-last"

Checker: lean4lean · Version: arena (932afa1) · 📄 Declaration · 🔗 Source

Test: perf/refute-cheap-last · Expected: ✋ reject · Size: 20.5 KB · Lines: 439 · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 40.0 s · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 449 ms · instructions: 8.0 G · max rss memory: 97.2 MB · run 2026-11-22 12:44:12 UTC

stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55aea869e955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55aea8695597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55aea869567b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55aea23a5cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55aea24294e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55aea2430722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55aea2437215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55aea243797d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55aea2437819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55aea243797d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55aea243796c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55aea243796c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55aea2438885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55aea21f6c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55aea21f9d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55aea21fb428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55aea21fca65]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55aea21fff30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55aea2019370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55aea8693737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55aea8693b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f2d7c94cd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f2d7c9d463c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55aea869e955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55aea8695597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55aea869567b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55aea23a5cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55aea24294e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55aea2430722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55aea2437215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55aea243797d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55aea2437819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55aea243797d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55aea2438885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55aea21f6c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55aea21f9d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55aea21fb428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55aea21fca65]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55aea21fff30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55aea2019370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55aea8693737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55aea8693b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f2d7c94cd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f2d7c9d463c]
uncaught exception: at kernel_refute_cheap_last: (kernel) declaration type mismatch, 'kernel_refute_cheap_last' has type
  [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
  Eq.{1} (Prod.{0, 0} N Bool) (Prod.mk.{0, 0} N Bool (count (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S N.O))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Bool.false) (Prod.mk.{0, 0} N Bool (count (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S N.O))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Bool.false)
but it is expected to have type
  [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
  Eq.{1} (Prod.{0, 0} N Bool) (Prod.mk.{0, 0} N Bool (count (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S N.O))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Bool.false) (Prod.mk.{0, 0} N Bool (count (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S (N.S N.O)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Bool.true)