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

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

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

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

Result: ✋ rejected · exit code 1 · wall time: 49.0 ms · instructions: 485.3 M · max rss memory: 96.7 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) [0x5626ba4af955]
.lake/build/bin/lean4lean(+0x8b57597) [0x5626ba4a6597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x5626ba4a667b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x5626b41b6cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5626b423a4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x5626b4241722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5626b4248215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5626b424897d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5626b4248819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5626b424897d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5626b424896c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5626b424896c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5626b4249885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x5626b4007c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x5626b400ad55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x5626b400c428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5626b400da65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5626b400da2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5626b400da2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5626b400da2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x5626b4010f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x5626b3e2a370]
.lake/build/bin/lean4lean(+0x8b55737) [0x5626ba4a4737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x5626ba4a4b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f1f8ff88d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f1f9001063c]
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) [0x5626ba4af955]
.lake/build/bin/lean4lean(+0x8b57597) [0x5626ba4a6597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x5626ba4a667b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x5626b41b6cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5626b423a4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x5626b4241722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5626b4248215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5626b424897d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5626b4248819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5626b424897d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5626b4249885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x5626b4007c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x5626b400ad55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x5626b400c428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5626b400da65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5626b400da2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5626b400da2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5626b400da2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x5626b4010f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x5626b3e2a370]
.lake/build/bin/lean4lean(+0x8b55737) [0x5626ba4a4737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x5626ba4a4b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f1f8ff88d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f1f9001063c]
uncaught exception: at kernel_refute_cheap_first: (kernel) declaration type mismatch, 'kernel_refute_cheap_first' has type
  [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
  Eq.{1} (Prod.{0, 0} Bool N) (Prod.mk.{0, 0} Bool N Bool.false (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)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) (Prod.mk.{0, 0} Bool N Bool.false (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))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
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} Bool N) (Prod.mk.{0, 0} Bool N Bool.false (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)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) (Prod.mk.{0, 0} Bool N Bool.true (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)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))