File tree Expand file tree Collapse file tree 12 files changed +65
-16
lines changed
poly_permute_bitrev_to_custom
polyvec_basemul_acc_montgomery_cached Expand file tree Collapse file tree 12 files changed +65
-16
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,18 @@ USE_DYNAMIC_FRAMES=1
27
27
EXTERNAL_SAT_SOLVER =
28
28
CBMCFLAGS =--bitwuzla
29
29
30
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
30
+ # For this proof we tell CBMC to
31
+ # 1. not decompose arrays into their individual cells
32
+ # 2. to model arrays directly as SMT-lib arrays
33
+ # 3. to slice constraints that are not in the cone of influence of the proof obligations
34
+ # These options simplify them modelling of arrays and produce much more compact
35
+ # SMT files, leaving all array-type reasoning to the SMT solver.
36
+ #
37
+ # For functions that use large and multi-dimensional arrays, this yields
38
+ # a substantial improvement in proof performance.
39
+ CBMCFLAGS += --no-array-field-sensitivity
40
+ # CBMCFLAGS += --arrays-uf-always
41
+ CBMCFLAGS += --slice-formula
31
42
32
43
FUNCTION_NAME = mlk_keccak_squeeze_once
33
44
Original file line number Diff line number Diff line change @@ -27,7 +27,18 @@ USE_DYNAMIC_FRAMES=1
27
27
EXTERNAL_SAT_SOLVER =
28
28
CBMCFLAGS =--bitwuzla
29
29
30
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
30
+ # For this proof we tell CBMC to
31
+ # 1. not decompose arrays into their individual cells
32
+ # 2. to model arrays directly as SMT-lib arrays
33
+ # 3. to slice constraints that are not in the cone of influence of the proof obligations
34
+ # These options simplify them modelling of arrays and produce much more compact
35
+ # SMT files, leaving all array-type reasoning to the SMT solver.
36
+ #
37
+ # For functions that use large and multi-dimensional arrays, this yields
38
+ # a substantial improvement in proof performance.
39
+ CBMCFLAGS += --no-array-field-sensitivity
40
+ # CBMCFLAGS += --arrays-uf-always
41
+ CBMCFLAGS += --slice-formula
31
42
32
43
FUNCTION_NAME = mlk_keccak_squeezeblocks
33
44
Original file line number Diff line number Diff line change @@ -27,7 +27,18 @@ USE_DYNAMIC_FRAMES=1
27
27
EXTERNAL_SAT_SOLVER =
28
28
CBMCFLAGS =--bitwuzla
29
29
30
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
30
+ # For this proof we tell CBMC to
31
+ # 1. not decompose arrays into their individual cells
32
+ # 2. to model arrays directly as SMT-lib arrays
33
+ # 3. to slice constraints that are not in the cone of influence of the proof obligations
34
+ # These options simplify them modelling of arrays and produce much more compact
35
+ # SMT files, leaving all array-type reasoning to the SMT solver.
36
+ #
37
+ # For functions that use large and multi-dimensional arrays, this yields
38
+ # a substantial improvement in proof performance.
39
+ CBMCFLAGS += --no-array-field-sensitivity
40
+ # CBMCFLAGS += --arrays-uf-always
41
+ CBMCFLAGS += --slice-formula
31
42
32
43
FUNCTION_NAME = mlk_keccak_squeezeblocks_x4
33
44
Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ USE_DYNAMIC_FRAMES=1
27
27
EXTERNAL_SAT_SOLVER =
28
28
CBMCFLAGS =--bitwuzla
29
29
30
- # CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
31
-
32
30
FUNCTION_NAME = mlk_keccakf1600_extract_bytes
33
31
34
32
# If this proof is found to consume huge amounts of RAM, you can set the
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ CBMCFLAGS=--smt2
36
36
#
37
37
# For functions that use large and multi-dimensional arrays, this yields
38
38
# a substantial improvement in proof performance.
39
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
39
+ CBMCFLAGS += --no-array-field-sensitivity
40
+ # CBMCFLAGS += --arrays-uf-always
41
+ CBMCFLAGS += --slice-formula
40
42
41
43
FUNCTION_NAME = mlk_keccakf1600_permute
42
44
Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ USE_DYNAMIC_FRAMES=1
27
27
EXTERNAL_SAT_SOLVER =
28
28
CBMCFLAGS =--bitwuzla
29
29
30
- # CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
31
-
32
30
FUNCTION_NAME = mlk_keccakf1600x4_extract_bytes
33
31
34
32
# If this proof is found to consume huge amounts of RAM, you can set the
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ CBMCFLAGS=--smt2
36
36
#
37
37
# For functions that use large and multi-dimensional arrays, this yields
38
38
# a substantial improvement in proof performance.
39
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
39
+ CBMCFLAGS += --no-array-field-sensitivity
40
+ # CBMCFLAGS += --arrays-uf-always
41
+ CBMCFLAGS += --slice-formula
40
42
41
43
FUNCTION_NAME = mlk_keccakf1600x4_permute
42
44
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ CBMCFLAGS=--smt2
35
35
#
36
36
# For functions that use large and multi-dimensional arrays, this yields
37
37
# a substantial improvement in proof performance.
38
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
38
+ CBMCFLAGS += --no-array-field-sensitivity
39
+ # CBMCFLAGS += --arrays-uf-always
40
+ CBMCFLAGS += --slice-formula
39
41
40
42
FUNCTION_NAME = mlk_matvec_mul
41
43
@@ -46,7 +48,7 @@ FUNCTION_NAME = mlk_matvec_mul
46
48
# EXPENSIVE = true
47
49
48
50
# This function is large enough to need...
49
- CBMC_OBJECT_BITS = 8
51
+ CBMC_OBJECT_BITS = 10
50
52
51
53
# If you require access to a file-local ("static") function or object to conduct
52
54
# your proof, set the following (and do not include the original source file
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ CBMCFLAGS=--smt2
35
35
#
36
36
# For functions that use large and multi-dimensional arrays, this yields
37
37
# a substantial improvement in proof performance.
38
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
38
+ CBMCFLAGS += --no-array-field-sensitivity
39
+ # CBMCFLAGS += --arrays-uf-always
40
+ CBMCFLAGS += --slice-formula
39
41
40
42
FUNCTION_NAME = mlk_poly_permute_bitrev_to_custom
41
43
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ CBMCFLAGS=--smt2
36
36
#
37
37
# For functions that use large and multi-dimensional arrays, this yields
38
38
# a substantial improvement in proof performance.
39
- CBMCFLAGS += --no-array-field-sensitivity --arrays-uf-always --slice-formula
39
+ CBMCFLAGS += --no-array-field-sensitivity
40
+ # CBMCFLAGS += --arrays-uf-always
41
+ CBMCFLAGS += --slice-formula
40
42
41
43
FUNCTION_NAME = mlk_polyvec_add
42
44
You can’t perform that action at this time.
0 commit comments