The streamlet TraceVerifier gives illformed $\lambda_\square$ terms when translated with the agda2lambox backend.
It fails with the following error when checking wellformedness.
Error while checking TraceVerifier.Streamlet.Protocol.⟦_⟧∗:
Constant not found in environment TraceVerifier.Streamlet.Protocol.⟦_⟧∗
The $\lambda_\square$ term:
(((MPfile ("Protocol" "Streamlet" "TraceVerifier")) "$10214_$10215$8727")
(ConstantDecl (constant_body (Some
(tLambda nAnon
(tLambda nAnon
(tLambda nAnon
(tLetIn nAnon tBox
(tCase ((inductive ((MPfile ("Protocol" "Streamlet" "TraceVerifier")) "ValidTrace") 0) 0)
(tRel 1)
((() (tApp (tConst ((MPfile ("Protocol" "Streamlet" "Global" "State")) "initGlobalState")) (tRel 3)))
((nAnon nAnon nAnon nAnon)
(tApp
(tApp
(tApp
(tApp
(tConst ((MPfile ("Protocol" "Streamlet" "TraceVerifier")) "$10214_$10215"))
(tRel 7))
(tRel 2))
(tApp
(tApp
(tApp
(tConst ((MPfile ("Protocol" "Streamlet" "TraceVerifier")) "$10214_$10215$8727"))
(tRel 7))
tBox)
(tRel 1)))
(tRel 0)))))))))))))
Protocol.Streamlet.TraceVerifier.$10214_$10215$8727:
constant declaration:
body: λ _ _ _ →
let _ = □
in case<Protocol.Streamlet.TraceVerifier.ValidTrace{0},0> @1 of
λ<[]> Protocol.Streamlet.Global.State.initGlobalState @3
λ<[_, _, _, _]>
Protocol.Streamlet.TraceVerifier.$10214_$10215 @7 @2
(Protocol.Streamlet.TraceVerifier.$10214_$10215$8727 @7 □ @1)
@0
The streamlet TraceVerifier gives illformed$\lambda_\square$ terms when translated with the agda2lambox backend.
It fails with the following error when checking wellformedness.
The$\lambda_\square$ term: