Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate klabel attribute #168

Merged
merged 2 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kmxwasm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "kmxwasm"
version = "0.1.71"
version = "0.1.72"
description = "Symbolic execution for the MultiversX blockchain with the Wasm semantics, using pyk."
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module USER-OPERATIONS
imports LIST
imports PROOF-SYNTAX

syntax ProofUserOperation ::= basicListInduction(List) [symbol, klabel(basicListInduction)]
syntax ProofUserOperation ::= basicListInduction(List) [symbol(basicListInduction)]

rule runProofStep(basicListInduction(L:List))
=> runProof(
Expand All @@ -17,7 +17,7 @@ module USER-OPERATIONS
empty(nop)
)

syntax ProofUserOperation ::= moduloBetween0AndM(number:Int, mod:Int) [symbol, klabel(moduloBetween0AndM)]
syntax ProofUserOperation ::= moduloBetween0AndM(number:Int, mod:Int) [symbol(moduloBetween0AndM)]

rule runProofStep(moduloBetween0AndM(A:Int, M:Int))
=> runProof(
Expand All @@ -36,7 +36,7 @@ module USER-OPERATIONS
)
)

syntax ProofUserOperation ::= tModuloBetween0AndM(number:Int, mod:Int) [symbol, klabel(tModuloBetween0AndM)]
syntax ProofUserOperation ::= tModuloBetween0AndM(number:Int, mod:Int) [symbol(tModuloBetween0AndM)]

rule runProofStep(tModuloBetween0AndM(A:Int, M:Int))
=> runProof(
Expand All @@ -55,15 +55,15 @@ module USER-OPERATIONS
)
)

syntax ProofUserOperation ::= numberAsTDivModulo(number:Int, mod:Int) [symbol, klabel(numberAsTDivModulo)]
syntax ProofUserOperation ::= numberAsTDivModulo(number:Int, mod:Int) [symbol(numberAsTDivModulo)]

rule runProofStep(numberAsTDivModulo(A:Int, M:Int))
=> runProof(
numberAsTDivModuloHelper(A, M, 0, A)
)

syntax ProofUserOperation ::= numberAsTDivModuloHelper(number:Int, mod:Int, divresult:Int, modresult:Int)
[symbol, klabel(numberAsTDivModuloHelper)]
[symbol(numberAsTDivModuloHelper)]

rule runProofStep(numberAsTDivModuloHelper(A:Int, M:Int, Div:Int, Mod:Int))
=> runProof(
Expand Down Expand Up @@ -95,15 +95,15 @@ module USER-OPERATIONS
)


syntax ProofUserOperation ::= numberAsDivModulo(number:Int, mod:Int) [symbol, klabel(numberAsDivModulo)]
syntax ProofUserOperation ::= numberAsDivModulo(number:Int, mod:Int) [symbol(numberAsDivModulo)]

rule runProofStep(numberAsDivModulo(A:Int, M:Int))
=> runProof(
numberAsDivModuloHelper(A, M, 0, A)
)

syntax ProofUserOperation ::= numberAsDivModuloHelper(number:Int, mod:Int, divresult:Int, modresult:Int)
[symbol, klabel(numberAsDivModuloHelper)]
[symbol(numberAsDivModuloHelper)]

rule runProofStep(numberAsDivModuloHelper(A:Int, M:Int, Div:Int, Mod:Int))
=> runProof(
Expand Down Expand Up @@ -135,7 +135,7 @@ module USER-OPERATIONS
)

syntax ProofUserOperation ::= numberIsNumberMulDiv(number:Int, mod:Int)
[symbol, klabel(numberIsNumberMulDiv)]
[symbol(numberIsNumberMulDiv)]

rule runProofStep(numberIsNumberMulDiv(A:Int, M:Int))
=> runProof(
Expand Down Expand Up @@ -164,7 +164,7 @@ module USER-OPERATIONS


syntax ProofUserOperation ::= modAddMultiple(number:Int, multiplier: Int, mod:Int)
[symbol, klabel(modAddMultiple)]
[symbol(modAddMultiple)]

rule runProofStep(modAddMultiple(A:Int, B:Int, M:Int))
=> runProof(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module PROOF-EXTENSIONS
imports ELROND
imports WASM

syntax Instr ::= "infiniteLoop" [symbol, klabel(infiniteLoop)]
syntax Instr ::= "infiniteLoop" [symbol(infiniteLoop)]
rule <instrs> (infiniteLoop ~> _:KItem => infiniteLoop) ... </instrs>

syntax Bool ::= firstCommandIsNotException(K) [function, total]
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.71
0.1.72
Loading