Skip to content

Commit 6ae2c01

Browse files
committed
make test-prove-summaries passed
1 parent 67e4083 commit 6ae2c01

16 files changed

+24
-17
lines changed

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-calldatacopy-3-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ imports BUF
4646
</ethereum>
4747
...
4848
</kevm>
49-
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Gverylow < SCHEDULE_CELL:Schedule > +Int ( Gcopy < SCHEDULE_CELL:Schedule > *Int ( W2:Int up/Int 32 ) ) ) ) ) ) <=Int GAS_CELL
49+
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Gverylow < SCHEDULE_CELL:Schedule > +Int ( Gcopy < SCHEDULE_CELL:Schedule > *Int ( W2:Int up/Int 32 ) ) ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
5050
[priority(20), label(BASIC-BLOCK-22-TO-21)]
5151

5252
rule [BASIC-BLOCK-23-TO-13]: <kevm>

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-codecopy-3-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ imports BUF
4646
</ethereum>
4747
...
4848
</kevm>
49-
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Gverylow < SCHEDULE_CELL:Schedule > +Int ( Gcopy < SCHEDULE_CELL:Schedule > *Int ( W2:Int up/Int 32 ) ) ) ) ) ) <=Int GAS_CELL
49+
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Gverylow < SCHEDULE_CELL:Schedule > +Int ( Gcopy < SCHEDULE_CELL:Schedule > *Int ( W2:Int up/Int 32 ) ) ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
5050
[priority(20), label(BASIC-BLOCK-22-TO-21)]
5151

5252
rule [BASIC-BLOCK-23-TO-13]: <kevm>

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-log-2-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ imports BUF
8686
</ethereum>
8787
...
8888
</kevm>
89-
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) ) ) ) <=Int GAS_CELL
89+
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
9090
andBool ( ( notBool STATIC_CELL:Bool )
9191
))
9292
[priority(20), label(BASIC-BLOCK-26-TO-25)]

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-log-3-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ imports BUF
8686
</ethereum>
8787
...
8888
</kevm>
89-
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) <=Int GAS_CELL
89+
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
9090
andBool ( ( notBool STATIC_CELL:Bool )
9191
))
9292
[priority(20), label(BASIC-BLOCK-26-TO-25)]

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-log-4-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ imports BUF
8686
</ethereum>
8787
...
8888
</kevm>
89-
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int ( 2 *Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) ) <=Int GAS_CELL
89+
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int ( 2 *Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
9090
andBool ( ( notBool STATIC_CELL:Bool )
9191
))
9292
[priority(20), label(BASIC-BLOCK-26-TO-25)]

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-log-5-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ imports BUF
8686
</ethereum>
8787
...
8888
</kevm>
89-
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int ( 3 *Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) ) <=Int GAS_CELL
89+
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int ( 3 *Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
9090
andBool ( ( notBool STATIC_CELL:Bool )
9191
))
9292
[priority(20), label(BASIC-BLOCK-26-TO-25)]

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-log-6-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ imports BUF
8686
</ethereum>
8787
...
8888
</kevm>
89-
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int ( 4 *Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) ) <=Int GAS_CELL
89+
requires ( USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( ( Glog < SCHEDULE_CELL:Schedule > +Int ( Glogdata < SCHEDULE_CELL:Schedule > *Int W1:Int ) ) +Int ( 4 *Int Glogtopic < SCHEDULE_CELL:Schedule > ) ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
9090
andBool ( ( notBool STATIC_CELL:Bool )
9191
))
9292
[priority(20), label(BASIC-BLOCK-26-TO-25)]

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-mcopy-3-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ imports BUF
4343
</ethereum>
4444
...
4545
</kevm>
46-
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , maxInt ( W0:Int , W1:Int ) , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Gverylow < SCHEDULE_CELL:Schedule > +Int ( Gcopy < SCHEDULE_CELL:Schedule > *Int ( W2:Int up/Int 32 ) ) ) ) ) ) <=Int GAS_CELL
46+
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , maxInt ( W0:Int , W1:Int ) , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int ( Gverylow < SCHEDULE_CELL:Schedule > +Int ( Gcopy < SCHEDULE_CELL:Schedule > *Int ( W2:Int up/Int 32 ) ) ) ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , maxInt ( W0:Int , W1:Int ) , W2:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
4747
[priority(20), label(BASIC-BLOCK-22-TO-21)]
4848

4949
rule [BASIC-BLOCK-23-TO-13]: <kevm>

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-mstore-2-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ imports BUF
4343
</ethereum>
4444
...
4545
</kevm>
46-
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , 32 ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int Gverylow < SCHEDULE_CELL:Schedule > ) ) ) <=Int GAS_CELL
46+
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , 32 ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int Gverylow < SCHEDULE_CELL:Schedule > ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , 32 ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
4747
[priority(20), label(BASIC-BLOCK-22-TO-21)]
4848

4949
rule [BASIC-BLOCK-23-TO-13]: <kevm>

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/summaries/summary-return-2-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ imports BUF
4646
</ethereum>
4747
...
4848
</kevm>
49-
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int Gzero < SCHEDULE_CELL:Schedule > ) ) ) <=Int GAS_CELL
49+
requires USEGAS_CELL:Bool andBool ( ( ( ( ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) ) +Int Gzero < SCHEDULE_CELL:Schedule > ) ) ) <=Int GAS_CELL andBool ( Cmem ( SCHEDULE_CELL:Schedule , #memoryUsageUpdate ( MEMORYUSED_CELL:Int , W0:Int , W1:Int ) ) -Int Cmem ( SCHEDULE_CELL:Schedule , MEMORYUSED_CELL:Int ) ) <=Int GAS_CELL
5050
[priority(20), label(BASIC-BLOCK-24-TO-23)]
5151

5252
rule [BASIC-BLOCK-25-TO-14]: <kevm>

0 commit comments

Comments
 (0)