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

Update dependency: deps/kontrol_release #18

Merged
merged 239 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
54a83e3
deps/kontrol_release: Set Version 0.1.46
Oct 31, 2023
4a00c2b
deps/kontrol_release: Set Version 0.1.47
Nov 1, 2023
0be8b13
deps/kontrol_release: Set Version 0.1.48
Nov 2, 2023
e321324
deps/kontrol_release: Set Version 0.1.49
Nov 2, 2023
1008ed1
deps/kontrol_release: Set Version 0.1.50
Nov 6, 2023
5fb8e25
deps/kontrol_release: Set Version 0.1.51
Nov 6, 2023
e5f18a7
deps/kontrol_release: Set Version 0.1.52
Nov 7, 2023
b3d1bea
deps/kontrol_release: Set Version 0.1.53
Nov 7, 2023
c126c11
deps/kontrol_release: Set Version 0.1.54
Nov 8, 2023
d73ecb1
deps/kontrol_release: Set Version 0.1.55
Nov 9, 2023
77cf6e0
deps/kontrol_release: Set Version 0.1.56
Nov 10, 2023
f4d05ba
deps/kontrol_release: Set Version 0.1.57
Nov 13, 2023
b0ff62e
deps/kontrol_release: Set Version 0.1.58
Nov 14, 2023
48c9ce9
deps/kontrol_release: Set Version 0.1.59
Nov 14, 2023
5569e3e
deps/kontrol_release: Set Version 0.1.60
Nov 14, 2023
7ead034
deps/kontrol_release: Set Version 0.1.61
Nov 15, 2023
dbc3923
deps/kontrol_release: Set Version 0.1.62
Nov 15, 2023
c208c72
deps/kontrol_release: Set Version 0.1.63
Nov 16, 2023
d43ea79
deps/kontrol_release: Set Version 0.1.64
Nov 17, 2023
6a4e51a
deps/kontrol_release: Set Version 0.1.65
Nov 20, 2023
218f922
deps/kontrol_release: Set Version 0.1.66
Nov 20, 2023
85cab48
deps/kontrol_release: Set Version 0.1.67
Nov 20, 2023
fe442cf
deps/kontrol_release: Set Version 0.1.68
Nov 21, 2023
e083a1d
deps/kontrol_release: Set Version 0.1.69
Nov 22, 2023
2d5259a
deps/kontrol_release: Set Version 0.1.70
Nov 22, 2023
460a25d
deps/kontrol_release: Set Version 0.1.71
Nov 23, 2023
b8ebaf0
deps/kontrol_release: Set Version 0.1.72
Nov 23, 2023
fb35234
deps/kontrol_release: Set Version 0.1.73
Nov 27, 2023
bf9a4b0
deps/kontrol_release: Set Version 0.1.74
Nov 28, 2023
98d9c16
deps/kontrol_release: Set Version 0.1.75
Nov 29, 2023
54e5ab7
deps/kontrol_release: Set Version 0.1.76
Nov 29, 2023
94b4bab
deps/kontrol_release: Set Version 0.1.77
Nov 30, 2023
28f101a
deps/kontrol_release: Set Version 0.1.78
Dec 4, 2023
4d9513c
deps/kontrol_release: Set Version 0.1.79
Dec 4, 2023
9d81196
deps/kontrol_release: Set Version 0.1.80
Dec 4, 2023
4839da4
deps/kontrol_release: Set Version 0.1.81
Dec 5, 2023
16365da
deps/kontrol_release: Set Version 0.1.82
Dec 5, 2023
98f64b0
deps/kontrol_release: Set Version 0.1.83
Dec 6, 2023
b13ee34
deps/kontrol_release: Set Version 0.1.84
Dec 6, 2023
5ac6ca7
deps/kontrol_release: Set Version 0.1.85
Dec 6, 2023
9139839
deps/kontrol_release: Set Version 0.1.86
Dec 7, 2023
17e092f
deps/kontrol_release: Set Version 0.1.87
Dec 7, 2023
ff384b9
deps/kontrol_release: Set Version 0.1.88
Dec 8, 2023
37d2639
deps/kontrol_release: Set Version 0.1.89
Dec 8, 2023
9003dbe
deps/kontrol_release: Set Version 0.1.90
Dec 10, 2023
13f5c35
deps/kontrol_release: Set Version 0.1.91
Dec 11, 2023
d357fd2
deps/kontrol_release: Set Version 0.1.92
Dec 12, 2023
8f0b36a
deps/kontrol_release: Set Version 0.1.93
Dec 12, 2023
50c2c1e
deps/kontrol_release: Set Version 0.1.94
Dec 12, 2023
2c157d4
deps/kontrol_release: Set Version 0.1.95
Dec 14, 2023
e394229
deps/kontrol_release: Set Version 0.1.96
Dec 14, 2023
66a39fb
deps/kontrol_release: Set Version 0.1.97
Dec 14, 2023
525f56c
deps/kontrol_release: Set Version 0.1.98
Dec 15, 2023
08bb67e
deps/kontrol_release: Set Version 0.1.99
Dec 15, 2023
458069f
deps/kontrol_release: Set Version 0.1.100
Dec 15, 2023
54fa9f6
deps/kontrol_release: Set Version 0.1.101
Dec 21, 2023
0abee18
deps/kontrol_release: Set Version 0.1.102
Dec 21, 2023
a153c02
deps/kontrol_release: Set Version 0.1.103
Dec 22, 2023
a16b33c
deps/kontrol_release: Set Version 0.1.104
Jan 8, 2024
bd05d25
deps/kontrol_release: Set Version 0.1.105
Jan 10, 2024
dd03ca9
deps/kontrol_release: Set Version 0.1.106
Jan 11, 2024
46143dc
deps/kontrol_release: Set Version 0.1.107
Jan 11, 2024
5ae291a
deps/kontrol_release: Set Version 0.1.108
Jan 11, 2024
756ab42
deps/kontrol_release: Set Version 0.1.109
Jan 11, 2024
1aa7f63
deps/kontrol_release: Set Version 0.1.110
Jan 12, 2024
f6f1d4c
deps/kontrol_release: Set Version 0.1.111
Jan 12, 2024
50c334b
deps/kontrol_release: Set Version 0.1.112
Jan 15, 2024
1c87b55
deps/kontrol_release: Set Version 0.1.113
Jan 15, 2024
3224305
deps/kontrol_release: Set Version 0.1.114
Jan 15, 2024
333018f
deps/kontrol_release: Set Version 0.1.115
Jan 15, 2024
2f40141
deps/kontrol_release: Set Version 0.1.116
Jan 16, 2024
7ead373
deps/kontrol_release: Set Version 0.1.117
Jan 16, 2024
8990619
deps/kontrol_release: Set Version 0.1.118
Jan 16, 2024
3b7fe57
deps/kontrol_release: Set Version 0.1.119
Jan 17, 2024
582d1fd
deps/kontrol_release: Set Version 0.1.120
Jan 18, 2024
5addc4f
deps/kontrol_release: Set Version 0.1.121
Jan 19, 2024
b9a669a
deps/kontrol_release: Set Version 0.1.122
Jan 20, 2024
10b6c61
deps/kontrol_release: Set Version 0.1.123
Jan 21, 2024
3b846ff
deps/kontrol_release: Set Version 0.1.124
Jan 22, 2024
2be6093
deps/kontrol_release: Set Version 0.1.125
Jan 22, 2024
d60db62
deps/kontrol_release: Set Version 0.1.126
Jan 22, 2024
d8215f1
deps/kontrol_release: Set Version 0.1.127
Jan 23, 2024
bf48dbb
deps/kontrol_release: Set Version 0.1.128
Jan 23, 2024
4b186f9
deps/kontrol_release: Set Version 0.1.129
Jan 24, 2024
46e4095
deps/kontrol_release: Set Version 0.1.130
Jan 24, 2024
0ca66a5
deps/kontrol_release: Set Version 0.1.131
Jan 24, 2024
0903018
deps/kontrol_release: Set Version 0.1.132
Jan 24, 2024
649129a
deps/kontrol_release: Set Version 0.1.133
Jan 25, 2024
ced4f42
deps/kontrol_release: Set Version 0.1.134
Jan 30, 2024
70f6a8a
deps/kontrol_release: Set Version 0.1.135
Feb 1, 2024
a2bddcf
deps/kontrol_release: Set Version 0.1.136
Feb 2, 2024
592f44b
deps/kontrol_release: Set Version 0.1.137
Feb 3, 2024
52af5e4
deps/kontrol_release: Set Version 0.1.138
Feb 3, 2024
45f5f7a
deps/kontrol_release: Set Version 0.1.139
Feb 5, 2024
cb26ea4
deps/kontrol_release: Set Version 0.1.140
Feb 5, 2024
712fcc7
deps/kontrol_release: Set Version 0.1.141
Feb 6, 2024
12df738
deps/kontrol_release: Set Version 0.1.142
Feb 7, 2024
4b296bf
deps/kontrol_release: Set Version 0.1.143
Feb 7, 2024
fd0528a
deps/kontrol_release: Set Version 0.1.144
Feb 7, 2024
ffc1483
deps/kontrol_release: Set Version 0.1.145
Feb 7, 2024
dfcdcc2
deps/kontrol_release: Set Version 0.1.146
Feb 7, 2024
b29b679
deps/kontrol_release: Set Version 0.1.147
Feb 7, 2024
a22c5a7
deps/kontrol_release: Set Version 0.1.148
Feb 7, 2024
b68a1a4
deps/kontrol_release: Set Version 0.1.149
Feb 7, 2024
aeb0a55
deps/kontrol_release: Set Version 0.1.150
Feb 8, 2024
fd98ccc
deps/kontrol_release: Set Version 0.1.151
Feb 8, 2024
d0b5bea
deps/kontrol_release: Set Version 0.1.152
Feb 9, 2024
dae7cb9
deps/kontrol_release: Set Version 0.1.153
Feb 11, 2024
9917cd7
deps/kontrol_release: Set Version 0.1.154
Feb 12, 2024
c3912b8
deps/kontrol_release: Set Version 0.1.155
Feb 13, 2024
35e70b3
deps/kontrol_release: Set Version 0.1.156
Feb 13, 2024
10e3009
deps/kontrol_release: Set Version 0.1.157
Feb 13, 2024
519f1fd
deps/kontrol_release: Set Version 0.1.158
Feb 13, 2024
a6184a3
deps/kontrol_release: Set Version 0.1.159
Feb 14, 2024
940da47
deps/kontrol_release: Set Version 0.1.160
Feb 15, 2024
1ecb39b
deps/kontrol_release: Set Version 0.1.161
Feb 20, 2024
58ce54d
deps/kontrol_release: Set Version 0.1.162
Feb 20, 2024
d3f64b0
deps/kontrol_release: Set Version 0.1.163
Feb 21, 2024
6f14bb0
deps/kontrol_release: Set Version 0.1.164
Feb 21, 2024
6fb8436
deps/kontrol_release: Set Version 0.1.165
Feb 22, 2024
ce027f2
deps/kontrol_release: Set Version 0.1.166
Feb 22, 2024
5b27682
deps/kontrol_release: Set Version 0.1.167
Feb 22, 2024
2f07153
deps/kontrol_release: Set Version 0.1.168
Feb 22, 2024
598bd32
deps/kontrol_release: Set Version 0.1.169
Feb 22, 2024
6a56bfc
deps/kontrol_release: Set Version 0.1.170
Feb 23, 2024
4a740e0
deps/kontrol_release: Set Version 0.1.171
Feb 24, 2024
4bf82df
deps/kontrol_release: Set Version 0.1.172
Feb 28, 2024
00ca491
deps/kontrol_release: Set Version 0.1.173
Feb 28, 2024
3608126
deps/kontrol_release: Set Version 0.1.174
Feb 28, 2024
a74519e
deps/kontrol_release: Set Version 0.1.175
Feb 29, 2024
e5381a8
deps/kontrol_release: Set Version 0.1.176
Feb 29, 2024
1efb21e
deps/kontrol_release: Set Version 0.1.177
Mar 1, 2024
b584977
deps/kontrol_release: Set Version 0.1.178
Mar 2, 2024
d8c7ea3
deps/kontrol_release: Set Version 0.1.179
Mar 4, 2024
0fa9a36
deps/kontrol_release: Set Version 0.1.180
Mar 5, 2024
555bfb8
deps/kontrol_release: Set Version 0.1.181
Mar 5, 2024
2c5f97e
deps/kontrol_release: Set Version 0.1.182
Mar 5, 2024
b829c19
deps/kontrol_release: Set Version 0.1.183
Mar 6, 2024
2000d9b
deps/kontrol_release: Set Version 0.1.184
Mar 6, 2024
7c42da5
deps/kontrol_release: Set Version 0.1.185
Mar 6, 2024
3e5ce45
deps/kontrol_release: Set Version 0.1.186
Mar 6, 2024
7af4dc9
deps/kontrol_release: Set Version 0.1.187
Mar 7, 2024
9867ac6
deps/kontrol_release: Set Version 0.1.188
Mar 7, 2024
8db78d5
deps/kontrol_release: Set Version 0.1.189
Mar 7, 2024
d32036d
deps/kontrol_release: Set Version 0.1.191
Mar 8, 2024
27a1432
deps/kontrol_release: Set Version 0.1.192
Mar 8, 2024
cda3171
deps/kontrol_release: Set Version 0.1.193
Mar 9, 2024
c340887
deps/kontrol_release: Set Version 0.1.194
Mar 11, 2024
f9f3e18
deps/kontrol_release: Set Version 0.1.195
Mar 12, 2024
ec20922
deps/kontrol_release: Set Version 0.1.196
Mar 12, 2024
869db6f
deps/kontrol_release: Set Version 0.1.197
Mar 12, 2024
e0d7aff
deps/kontrol_release: Set Version 0.1.198
Mar 12, 2024
87b0042
deps/kontrol_release: Set Version 0.1.199
Mar 13, 2024
dcb3048
deps/kontrol_release: Set Version 0.1.200
Mar 13, 2024
7a201d6
deps/kontrol_release: Set Version 0.1.201
Mar 13, 2024
dabe9dc
deps/kontrol_release: Set Version 0.1.202
Mar 14, 2024
776b6bc
deps/kontrol_release: Set Version 0.1.203
Mar 14, 2024
7f6ce34
deps/kontrol_release: Set Version 0.1.204
Mar 14, 2024
9cd325a
deps/kontrol_release: Set Version 0.1.205
Mar 15, 2024
2b716dd
deps/kontrol_release: Set Version 0.1.206
Mar 15, 2024
3ace2b0
deps/kontrol_release: Set Version 0.1.207
Mar 16, 2024
f4aa15a
deps/kontrol_release: Set Version 0.1.208
Mar 16, 2024
e405003
deps/kontrol_release: Set Version 0.1.209
Mar 16, 2024
96c24d4
deps/kontrol_release: Set Version 0.1.210
Mar 17, 2024
ec01902
deps/kontrol_release: Set Version 0.1.211
Mar 18, 2024
b335b11
deps/kontrol_release: Set Version 0.1.212
Mar 18, 2024
d8b7867
deps/kontrol_release: Set Version 0.1.213
Mar 18, 2024
5278805
deps/kontrol_release: Set Version 0.1.214
Mar 18, 2024
d28c912
deps/kontrol_release: Set Version 0.1.215
Mar 18, 2024
c90eb8b
deps/kontrol_release: Set Version 0.1.216
Mar 18, 2024
467de1e
deps/kontrol_release: Set Version 0.1.217
Mar 19, 2024
02e35d2
deps/kontrol_release: Set Version 0.1.218
Mar 19, 2024
516cfc6
deps/kontrol_release: Set Version 0.1.219
Mar 19, 2024
af9ea52
deps/kontrol_release: Set Version 0.1.220
Mar 20, 2024
2e55552
deps/kontrol_release: Set Version 0.1.221
Mar 20, 2024
60e3cc3
deps/kontrol_release: Set Version 0.1.222
Mar 21, 2024
a3177cd
deps/kontrol_release: Set Version 0.1.223
Mar 24, 2024
ad64cbc
deps/kontrol_release: Set Version 0.1.224
Mar 26, 2024
a6dfd2f
deps/kontrol_release: Set Version 0.1.225
Mar 26, 2024
c0f5f9b
deps/kontrol_release: Set Version 0.1.226
Mar 27, 2024
25d9b65
deps/kontrol_release: Set Version 0.1.227
Mar 27, 2024
dbda68d
deps/kontrol_release: Set Version 0.1.228
Mar 27, 2024
c51c8ba
deps/kontrol_release: Set Version 0.1.229
Mar 28, 2024
d6aedfd
deps/kontrol_release: Set Version 0.1.231
Apr 1, 2024
e22280e
deps/kontrol_release: Set Version 0.1.232
Apr 1, 2024
3bfc402
deps/kontrol_release: Set Version 0.1.233
Apr 2, 2024
7c689a3
deps/kontrol_release: Set Version 0.1.234
Apr 3, 2024
5dbc11e
deps/kontrol_release: Set Version 0.1.235
Apr 3, 2024
538e183
deps/kontrol_release: Set Version 0.1.236
Apr 3, 2024
424d705
deps/kontrol_release: Set Version 0.1.237
Apr 4, 2024
7e8ac19
deps/kontrol_release: Set Version 0.1.238
Apr 4, 2024
d7040cb
deps/kontrol_release: Set Version 0.1.239
Apr 5, 2024
754fea7
deps/kontrol_release: Set Version 0.1.240
Apr 6, 2024
5f05df3
deps/kontrol_release: Set Version 0.1.241
Apr 6, 2024
0551c9a
deps/kontrol_release: Set Version 0.1.242
Apr 9, 2024
101f857
deps/kontrol_release: Set Version 0.1.243
Apr 9, 2024
94de04f
deps/kontrol_release: Set Version 0.1.244
Apr 10, 2024
53841f7
deps/kontrol_release: Set Version 0.1.245
Apr 11, 2024
2a5a8ed
deps/kontrol_release: Set Version 0.1.246
Apr 12, 2024
926d17a
deps/kontrol_release: Set Version 0.1.247
Apr 15, 2024
d086da5
deps/kontrol_release: Set Version 0.1.248
Apr 15, 2024
1b635fd
deps/kontrol_release: Set Version 0.1.249
Apr 16, 2024
04f460e
deps/kontrol_release: Set Version 0.1.250
Apr 17, 2024
f67a751
deps/kontrol_release: Set Version 0.1.251
Apr 18, 2024
322b938
deps/kontrol_release: Set Version 0.1.252
Apr 19, 2024
85d0678
deps/kontrol_release: Set Version 0.1.253
Apr 20, 2024
e972564
deps/kontrol_release: Set Version 0.1.254
Apr 21, 2024
32aafdf
deps/kontrol_release: Set Version 0.1.255
Apr 23, 2024
3976d8b
deps/kontrol_release: Set Version 0.1.256
Apr 24, 2024
a9fbebe
deps/kontrol_release: Set Version 0.1.257
Apr 25, 2024
33472ad
deps/kontrol_release: Set Version 0.1.258
Apr 27, 2024
992988d
deps/kontrol_release: Set Version 0.1.259
Apr 30, 2024
da6c661
deps/kontrol_release: Set Version 0.1.260
May 1, 2024
215a07d
deps/kontrol_release: Set Version 0.1.261
May 5, 2024
ed9abad
deps/kontrol_release: Set Version 0.1.262
May 6, 2024
4a1b022
deps/kontrol_release: Set Version 0.1.263
May 6, 2024
98d1443
deps/kontrol_release: Set Version 0.1.264
May 8, 2024
631c3aa
deps/kontrol_release: Set Version 0.1.265
May 8, 2024
acb2bfa
deps/kontrol_release: Set Version 0.1.266
May 8, 2024
73621e9
deps/kontrol_release: Set Version 0.1.267
May 9, 2024
217cebb
deps/kontrol_release: Set Version 0.1.268
May 9, 2024
49948d9
deps/kontrol_release: Set Version 0.1.269
May 9, 2024
0900c81
deps/kontrol_release: Set Version 0.1.270
May 10, 2024
a30eab1
deps/kontrol_release: Set Version 0.1.271
May 13, 2024
1244aea
deps/kontrol_release: Set Version 0.1.272
May 13, 2024
5620762
deps/kontrol_release: Set Version 0.1.273
May 13, 2024
476b54f
deps/kontrol_release: Set Version 0.1.274
May 13, 2024
0a0a171
deps/kontrol_release: Set Version 0.1.275
May 14, 2024
f70645d
deps/kontrol_release: Set Version 0.1.276
May 14, 2024
beb97f5
deps/kontrol_release: Set Version 0.1.277
May 15, 2024
2644c22
deps/kontrol_release: Set Version 0.1.278
May 15, 2024
2deb064
Update `mulWad` and `mulWadUp` specs
JuanCoRo May 15, 2024
c0f3ff4
Update `forge-std` to `1.7.6`
JuanCoRo May 15, 2024
43d233c
Remove `run-kevm.sh`
JuanCoRo May 15, 2024
9fc8c70
Add `run-kontrol.sh`
JuanCoRo May 15, 2024
7505f8e
Revert "Remove `run-kevm.sh`"
JuanCoRo May 15, 2024
8d94581
FixedPointMathLib.k.sol: actually perform external calls
JuanCoRo May 15, 2024
4483453
run-kontrol.sh: remove `--smt-tactic` option
JuanCoRo May 15, 2024
e79c571
Remove tatus file
JuanCoRo May 15, 2024
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 deps/kontrol_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.45
0.1.278
39 changes: 0 additions & 39 deletions tatus

This file was deleted.

24 changes: 18 additions & 6 deletions test/FixedPointMathLib.k.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,28 @@ contract FixedPointMathLibVerification is Test, KontrolCheats {
// Constants
uint256 constant WAD = 1e18;

// Public wrapper for mulWad since Kontrol doesn't support vm.expectRevert
// for internal calls, and FixedPointMathLib.mulWad is internal
function mulWad(uint x, uint y) public pure returns (uint256) {
return FixedPointMathLib.mulWad(x, y);
}

// Public wrapper for mulWadUp since Kontrol doesn't support vm.expectRevert
// for internal calls, and FixedPointMathLib.mulWadUp is internal
function mulWadUp(uint x, uint y) public pure returns (uint256) {
return FixedPointMathLib.mulWadUp(x, y);
}

function testMulWad(uint256 x, uint256 y) public {

if(y == 0 || x <= type(uint256).max / y) {
uint256 zSpec = (x * y) / WAD;
uint256 zImpl = FixedPointMathLib.mulWad(x, y);

assertEq(zImpl, zSpec);
assert(zImpl == zSpec);
} else {
vm.expectRevert(); // FixedPointMathLib.MulWadFailed.selector
FixedPointMathLib.mulWad(x, y);
vm.expectRevert(FixedPointMathLib.MulWadFailed.selector); // FixedPointMathLib.MulWadFailed.selector
this.mulWad(x, y);
}

}
Expand All @@ -30,10 +42,10 @@ contract FixedPointMathLibVerification is Test, KontrolCheats {
uint256 zSpec = ((x * y)/WAD)*WAD < x * y ? (x * y)/WAD + 1 : (x * y)/WAD;
uint256 zImpl = FixedPointMathLib.mulWadUp(x, y);

assertEq(zImpl, zSpec);
assert(zImpl == zSpec);
} else {
vm.expectRevert(); // FixedPointMathLib.MulWadFailed.selector
FixedPointMathLib.mulWadUp(x, y);
vm.expectRevert(FixedPointMathLib.MulWadFailed.selector); // FixedPointMathLib.MulWadFailed.selector
this.mulWadUp(x, y);
}
}
}
77 changes: 77 additions & 0 deletions test/run-kontrol.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#!/bin/bash

set -euxo pipefail

kontrol_kompile() {
kontrol build \
--verbose \
--require ${lemmas} \
--module-import ${module} \
${rekompile} \
${regen} \
${llvm_library}
}

kontrol_prove() {
kontrol prove \
--max-depth ${max_depth} \
--max-iterations ${max_iterations} \
--smt-timeout ${smt_timeout} \
--workers ${workers} \
${reinit} \
${bug_report} \
${break_on_calls} \
${auto_abstract} \
${tests} \
}

lemmas=test/solady-lemmas-mod.k
base_module=SOLADY-LEMMAS
module=FixedPointMathLibVerification:${base_module}

max_depth=10000
max_iterations=10000
smt_timeout=10000000


# Number of processes run by the prover in parallel
# Should be at most (M - 8) / 8 in a machine with M GB of RAM
workers=2

regen=--regen
regen=

rekompile=--rekompile
rekompile=

# Progress is saved automatically so an unfinished proof can be resumed from where it left off
# Turn on to restart proof from the beginning instead of resuming
reinit=--reinit
reinit=

break_on_calls=--no-break-on-calls
# break_on_calls=

auto_abstract=--auto-abstract-gas
auto_abstract=

bug_report=--bug-report
bug_report=

# For running the booster
llvm_library=--with-llvm-library
llvm_library=

# For running the booster
use_booster=--use-booster
use_booster=

# List of tests to symbolically execute
tests=""
tests+="--match-test FixedPointMathLibVerification.testMulWad(uint256,uint256) "
tests+="--match-test FixedPointMathLibVerification.testMulWadUp "

# Comment these lines as needed
pkill kore-rpc || true
kontrol_kompile
kontrol_prove
Loading