You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2020. It is now read-only.
I am using k-legacy the latest commit. I have the following definition and spec:
module TEST
syntax Val ::= "@undef"
syntax Val ::= NUVal
syntax NUVal ::= "@val" "("Int","Int","Bool")"
configuration
<T>
<k> $PGM:Val </k>
</T>
rule @val(I:Int,_,_) => I
endmodule
module SPEC
imports TEST
rule <k> V:NUVal => I:Int </k>
endmodule
The proof does no go through. However, if I change the rule from rule @val(I:Int,_,_) => I to rule <k> @val(I:Int,_,_) => I </k>
It goes through. In both case, if I give for example @val(1,2,false) as the input to krun it correctly gives me 1 as the output.
I am wondering whether it is a bug or a feature?