Checker "lean4lean" on test "bugs/nat-rec-k-lie"
Checker: lean4lean · Version: arena (932afa1) · 📄 Declaration · 🔗 Source
Test: bugs/nat-rec-k-lie · Expected: ✋ reject · Size: 6.3 KB · Lines: 106 · lean4export: 3.1.0 · Lean: 4.29.1 · 📄 Declaration
Result: ✋ rejected · exit code 1 · wall time: 50.8 ms · instructions: 500.7 M · max rss memory: 96.1 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) [0x5594e3245955] .lake/build/bin/lean4lean(+0x8b57597) [0x5594e323c597] .lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x5594e323c67b] .lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x5594dcf4ccb9] .lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5594dcfd04e6] .lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x5594dcfd7722] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5594dcfde215] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5594dcfde97d] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5594dcfde819] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5594dcfde97d] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5594dcfde96c] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x5594dcfde96c] .lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5594dcfdf885] .lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x5594dcd9dc5c] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x5594dcda0d55] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x5594dcda2428] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5594dcda3a65] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstants (lean4lean)+0x1b) [0x5594dcda1a3b] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x247) [0x5594dcda2057] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5594dcda3a65] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5594dcda3a2b] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5594dcda3a2b] .lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x5594dcda6f30] .lake/build/bin/lean4lean([lean] main+0x940) [0x5594dcbc0370] .lake/build/bin/lean4lean(+0x8b55737) [0x5594e323a737] .lake/build/bin/lean4lean(+0x8b55b22) [0x5594e323ab22] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f0ec51b9d53] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f0ec524163c] 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) [0x5594e3245955] .lake/build/bin/lean4lean(+0x8b57597) [0x5594e323c597] .lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x5594e323c67b] .lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x5594dcf4ccb9] .lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x5594dcfd04e6] .lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x5594dcfd7722] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x5594dcfde215] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5594dcfde97d] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x5594dcfde819] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x5594dcfde97d] .lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x5594dcfdf885] .lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x5594dcd9dc5c] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x5594dcda0d55] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x5594dcda2428] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5594dcda3a65] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstants (lean4lean)+0x1b) [0x5594dcda1a3b] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x247) [0x5594dcda2057] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x5594dcda3a65] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5594dcda3a2b] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x5594dcda3a2b] .lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x5594dcda6f30] .lake/build/bin/lean4lean([lean] main+0x940) [0x5594dcbc0370] .lake/build/bin/lean4lean(+0x8b55737) [0x5594e323a737] .lake/build/bin/lean4lean(+0x8b55b22) [0x5594e323ab22] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f0ec51b9d53] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f0ec524163c] uncaught exception: at k1: (kernel) declaration type mismatch, 'k1' has type [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.] Nat -> True but it is expected to have type [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.] forall (n : Nat), g n