Lean Kernel Arena / lean4lean / corner-cases/alg-conv-trans-acc

Checker "lean4lean" on test "corner-cases/alg-conv-trans-acc"

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

Test: corner-cases/alg-conv-trans-acc · Expected: 🤷 either · Size: 66.4 KB · Lines: 1.2 k · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source

Result: ✋ rejected · exit code 1 · wall time: 59.0 ms · instructions: 514.6 M · max rss memory: 96.3 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) [0x559bfd628955]
.lake/build/bin/lean4lean(+0x8b57597) [0x559bfd61f597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x559bfd61f67b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x559bf732fcb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x559bf73b34e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x559bf73ba722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x559bf73c1215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x559bf73c197d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x559bf73c1819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x559bf73c197d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x559bf73c196c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x559bf73c196c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x559bf73c2885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x559bf7180c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x559bf7183d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x559bf7185428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x559bf7186a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x559bf7186a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x559bf7186a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x559bf7186a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x559bf7189f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x559bf6fa3370]
.lake/build/bin/lean4lean(+0x8b55737) [0x559bfd61d737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x559bfd61db22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7fad3482bd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7fad348b363c]
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) [0x559bfd628955]
.lake/build/bin/lean4lean(+0x8b57597) [0x559bfd61f597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x559bfd61f67b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x559bf732fcb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x559bf73b34e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x559bf73ba722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x559bf73c1215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x559bf73c197d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x559bf73c1819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x559bf73c197d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x559bf73c2885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x559bf7180c5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x559bf7183d55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x559bf7185428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x559bf7186a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x559bf7186a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x559bf7186a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x559bf7186a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x559bf7189f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x559bf6fa3370]
.lake/build/bin/lean4lean(+0x8b55737) [0x559bfd61d737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x559bfd61db22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7fad3482bd53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7fad348b363c]
uncaught exception: at trans: (kernel) declaration type mismatch, 'trans' has type
  [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
  forall (a : Acc.{1} Nat (fun (x1._@.Test.1043551373._hygCtx._hyg.6 : Nat) (x2._@.Test.1043551373._hygCtx._hyg.6 : Nat) => LT.lt.{0} Nat instLTNat x1._@.Test.1043551373._hygCtx._hyg.6 x2._@.Test.1043551373._hygCtx._hyg.6) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1))), Eq.{1} Bool (f (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)) a) (f (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)) a)
but it is expected to have type
  [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
  forall (a : Acc.{1} Nat (fun (x1._@.Test.1043551373._hygCtx._hyg.6 : Nat) (x2._@.Test.1043551373._hygCtx._hyg.6 : Nat) => LT.lt.{0} Nat instLTNat x1._@.Test.1043551373._hygCtx._hyg.6 x2._@.Test.1043551373._hygCtx._hyg.6) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1))), Eq.{1} Bool (f (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)) a) (f (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0)) (Acc.inv.{1} Nat (fun (x1._@.Test.1043551373._hygCtx._hyg.6 : Nat) (x2._@.Test.1043551373._hygCtx._hyg.6 : Nat) => LT.lt.{0} Nat instLTNat x1._@.Test.1043551373._hygCtx._hyg.6 x2._@.Test.1043551373._hygCtx._hyg.6) (OfNat.ofNat.{0} Nat 1 (instOfNatNat 1)) (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0)) a (Nat.lt_succ_self (OfNat.ofNat.{0} Nat 0 (instOfNatNat 0)))))