Dataset Viewer
Auto-converted to Parquet Duplicate
question
stringlengths
280
8.14k
answer
stringlengths
55
23.6k
constants
stringclasses
114 values
tier
stringclasses
3 values
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=3: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=4: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=5: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_...
(assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1))))
(declare-const cell_0_0 Int)
small
Given the following examples of constraints for increasing input sizes: N=2: (assert ( > in0 in1)) N=5: (assert (and (and (and (and (and (and (and (and (and ( > in0 in1) ( > in0 in2)) ( > in0 in3)) ( > in0 in4)) ( > in1 in2)) ( > in1 in3)) ( > in1 in4)) ( > in2 in3)) ( > in2 in4)) ( > in3 in4))) N...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in13 Int) (decl...
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = in0 in)) ( >= in0 in))) N=2: (assert (and (and (and (and (and ( >= in0 in1) ( > in0 in1)) (not ( = in0 in))) ( >= in0 in)) (not ( = in1 in))) ( >= in1 in))) N=4: (assert (and (and (and (and (and (and (and (and (...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in10 Int) (declare-const in Int) (declare-const in9 Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int)
small
Given the following examples of constraints for increasing input sizes: N=7: (assert (and (and ( >= n 1) ( <= n 5)) ( = n 1))) N=10: (assert (and (and ( >= n 1) ( <= n 5)) ( = n 1))) N=12: (assert (and (and ( >= n 1) ( <= n 5)) ( = n 1))) N=13: (assert (and (and ( >= n 1) ( <= n 5)) ( = n 1))) W...
(assert (and (and ( >= n 1) ( <= n 5)) ( = n 1)))
(declare-const n Int)
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and (and (and (and (and (and (and (and (not ( = in0 1)) ( = ( mod in0 2) 0)) (not ( = ( div in0 2) 1))) ( = ( mod ( div in0 2) 2) 0)) (not ( = ( div ( div in0 2) 2) 1))) (not ( = in1 1))) ( = ( mod in1 2) 0)) (not ( ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in13 Int) (decl...
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and (and (not ( = in0 t)) ( < in0 t)) (not ( = in1 t))) ( < in1 t))) N=3: (assert (and (and (and (not ( = in1 t)) ( < in1 t)) (not ( = in2 t))) ( < in2 t))) N=5: (assert (and (and (and (and (and (not ( = in2 t)) ( < in2...
(assert (and (and (and (and (and (and (and (and (and (not ( = in12 t)) ( < in12 t)) (not ( = in19 t))) ( < in19 t)) (not ( = in22 t))) ( < in22 t)) (not ( = in24 t))) ( < in24 t)) (not ( = in25 t))) ( < in25 t)))
(declare-const t Int) (declare-const in22 Int) (declare-const in24 Int) (declare-const in12 Int) (declare-const in25 Int) (declare-const in19 Int)
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1))) N=4: (assert (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)) ( <= in3 in2)) ( < in3 in2))) N=5: (assert (and...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)) ( <= in3 in2)) ( < in3 in2)) ( <= in4 in3)) ( < in4 in3)) ( <= ...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in13 Int) (decl...
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and (and (and (and (and (and (and (and (not ( = in0 1)) ( = ( mod in0 2) 0)) (not ( = ( div in0 2) 1))) ( = ( mod ( div in0 2) 2) 0)) (not ( = ( div ( div in0 2) 2) 1))) (not ( = in1 1))) ( = ( mod in1 2) 0)) (not ( ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in20 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in22 Int) (declare-const in11 Int) (declare-const in21 Int) (dec...
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and ( > in1 in0) ( > in in0)) ( > in in1))) N=6: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( > in1 in0) ( > in2 in0)) ( > in2 in1)) ( > in3 in0)) ( ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declar...
small
Given the following examples of constraints for increasing input sizes: N=6: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = in0 1)) ( = ( mod in0 2) 0)) (not ( = ( div in0 2) 1))) ( = ( mod ( div i...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in13 Int) (decl...
small
Given the following examples of constraints for increasing input sizes: N=4: (assert (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)) ( <= in3 in2)) ( < in3 in2))) N=5: (assert (and (and (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)) ( <= in3 in2)) ( < in3 in2)) ( <= in...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in20 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in21 Int) (declare-const in10 Int) (dec...
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = c 0)) ( <= w2 c)) (not ( = ( - c w2) 0))) ( <= w1 ( - c w2))) (not ( = ( - ( - c w2) w1) 0))) ( > w0 ( - ( - c w2) w1))) ( > w0 ( - c w2))) ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = c 0)) ( <= w2 c)) (not ( = ( - c w2) 0))) ( <= w1 ( - c w2))) (not ( = ( - ( - c w2) w1) 0))) ( > w0 ( - ( - c w2) w1))) ( > w0 ( - c w2))) ( > v1 0)) ( <= w1 c)) (not ( = ( - c w1) 0))) ( > w0 ( - c w1))) ( <...
(declare-const c Int) (declare-const w0 Int) (declare-const v0 Int) (declare-const w1 Int) (declare-const v1 Int) (declare-const w2 Int) (declare-const v2 Int)
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and (and (and (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0)) (not ( = ( mod in1 2) 0))) ( = ( mod in1 3) 0)) (not ( = ( mod in2 2) 0))) ( = ( mod in2 3) 0))) N=20: (assert (and (and (and (and (and (and (and (and ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = ( mod i...
(declare-const in20 Int) (declare-const in22 Int) (declare-const in21 Int) (declare-const in24 Int) (declare-const in23 Int) (declare-const in26 Int) (declare-const in25 Int) (declare-const in28 Int) (declare-const in27 Int) (declare-const in29 Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int...
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0))) N=16: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = ( mod in0 2) 0)) ( = ( mo...
(declare-const in20 Int) (declare-const in22 Int) (declare-const in21 Int) (declare-const in24 Int) (declare-const in23 Int) (declare-const in26 Int) (declare-const in25 Int) (declare-const in27 Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) ...
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and ( > in1 in0) ( > in in0)) ( > in in1))) N=8: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declar...
small
Given the following examples of constraints for increasing input sizes: N=2: (assert ( <= in0 in1)) N=3: (assert (and (and ( <= in0 in1) ( <= in0 in2)) ( <= in1 in2))) N=5: (assert (and (and (and (and (and (and ( <= in0 in1) ( <= in0 in2)) ( <= in1 in2)) ( <= in3 in4)) ( <= in0 in3)) ( <= in1 in3)) ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( <= in0 in1) ( <= in0 in2)) ( <= in1 in2)) ( <= in3 in4)) ( <= in0 in3)) ( <= in1 in3)) ( <= in2 in3)) ( <= in5 in6...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in9 Int) (declare-const in10 Int) (declare-const in13 Int) (decl...
small
Given the following examples of constraints for increasing input sizes: N=4: (assert (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)) ( <= in3 in2)) ( < in3 in2))) N=5: (assert (and (and (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( <= in1 in0) ( < in1 in0)) ( <= in2 in1)) ( < in2 in1)) ( <= in3 in2)) ( < in3 in2)) ( <= in4 in3)) ( < in4 in3)) ( <= ...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in13 Int) (decl...
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and (and (and (and ( < ch0 97) ( >= ch0 65)) ( <= ch0 90)) ( < ch1 97)) ( >= ch1 65)) ( <= ch1 90))) N=20: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const ch27 Int) (declare-const ch28 Int) (declare-const ch25 Int) (declare-const ch26 Int) (declare-const ch23 Int) (declare-const ch24 Int) (declare-const ch21 Int) (declare-const ch22 Int) (declare-const ch20 Int) (declare-const ch18 Int) (declare-const ch19 Int) (declare-const ch16 Int) (declare-const ch17 ...
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and (and (not ( = in1 t)) ( < in1 t)) (not ( = in2 t))) ( < in2 t))) N=4: (assert (and (and (and (and (and (not ( = in1 t)) ( < in1 t)) (not ( = in2 t))) ( < in2 t)) (not ( = in3 t))) ( < in3 t))) N=6: (assert (and (and...
(assert (and (and (and (and (and (and (and (and (and (not ( = in8 t)) ( < in8 t)) (not ( = in12 t))) ( < in12 t)) (not ( = in14 t))) ( < in14 t)) (not ( = in15 t))) ( < in15 t)) (not ( = in16 t))) ( < in16 t)))
(declare-const in8 Int) (declare-const t Int) (declare-const in12 Int) (declare-const in15 Int) (declare-const in14 Int) (declare-const in16 Int)
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = c 0)) ( <= w2 c)) (not ( = ( - c w2) 0))) ( <= w1 ( - c w2))) (not ( = ( - ( - c w2) w1) 0))) ( > w0 ( - ( - c w2) w1))) ( > w0 ( - c w2))) ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = c 0)) ( <= w2 c)) (not ( = ( - c w2) 0))) ( <= w1 ( - c w2))) (not ( = ( - ( - c w2) w1) 0))) ( > w0 ( - ( - c w2) w1))) ( > w0 ( - c w2))) ( > v1 0)) ( <= w1 c)) (not ( = ( - c w1) 0))) ( > w0 ( - c w1))) ( <...
(declare-const c Int) (declare-const w0 Int) (declare-const v0 Int) (declare-const w1 Int) (declare-const v1 Int) (declare-const w2 Int) (declare-const v2 Int)
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and (and (and (and ( < ch0 97) ( >= ch0 65)) ( <= ch0 90)) ( < ch1 97)) ( >= ch1 65)) ( <= ch1 90))) N=4: (assert (and (and (and (and (and (and (and (and (and (and (and ( < ch0 97) ( >= ch0 65)) ( <= ch0 90)) (...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( < ch0 97) ( >= ch0 65)) ( <= ch0 90)) ( < ch1 97)) ( >= ch1 65)) ( <= ch1 90)) ( < ch2 97)) ( >= ch2 65)...
(declare-const ch12 Int) (declare-const ch10 Int) (declare-const ch0 Int) (declare-const ch11 Int) (declare-const ch2 Int) (declare-const ch1 Int) (declare-const ch4 Int) (declare-const ch3 Int) (declare-const ch6 Int) (declare-const ch5 Int) (declare-const ch8 Int) (declare-const ch7 Int) (declare-const ch9 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = in0 t)) ( < in0 t))) N=6: (assert (and (and (and (and (and (not ( = in2 t)) ( < in2 t)) (not ( = in4 t))) ( < in4 t)) (not ( = in5 t))) ( < in5 t))) N=7: (assert (and (and (and (and (and (not ( = in3 t)) ( < in3...
(assert (and (and (and (and (and (and (and (and (and (not ( = in9 t)) ( < in9 t)) (not ( = in14 t))) ( < in14 t)) (not ( = in17 t))) ( < in17 t)) (not ( = in18 t))) ( < in18 t)) (not ( = in19 t))) ( < in19 t)))
(declare-const t Int) (declare-const in9 Int) (declare-const in14 Int) (declare-const in17 Int) (declare-const in19 Int) (declare-const in18 Int)
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0)) (not ( = ( mod in1 2) 0))) ( = ( mod in1 3) 0))) N=4: (assert (and (and (and (and (and (and (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0)) (not ( = ( mod i...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0)) (not ( = ( mod in1 2) 0))) ( = ( mod in1 3...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in20 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in21 Int) (declare-const in10 Int) (dec...
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and ( <= in0 in1) ( <= in0 in2)) ( <= in1 in2))) N=4: (assert (and (and (and ( <= in0 in1) ( <= in2 in3)) ( <= in0 in2)) ( <= in1 in2))) N=5: (assert (and (and (and (and (and (and ( <= in0 in1) ( <= in0 in2)) (...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( <= in0 in1) ( <= in2 in3)) ( <= in0 in2)) ( <= in1 in2)) ( <= in4 in5)) ( <= in4 in6)) ( <= in5 in6)) ( <= in0 in4)) ( <= in1 in4)) ( <= in2 in4)) ( <= in3 in...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in9 Int) (declare-const in10 Int) (declare-const in12 Int)
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and ( <= in0 in1) ( <= in0 in2)) ( <= in1 in2))) N=4: (assert (and (and (and ( <= in0 in1) ( <= in2 in3)) ( <= in0 in2)) ( <= in1 in2))) N=7: (assert (and (and (and (and (and (and (and (and (and (and ( <= in0 in1)...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and ( <= in0 in1) ...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in20 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in22 Int) (declare-const in10 Int) (dec...
small
Given the following examples of constraints for increasing input sizes: N=2: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = c 0)) ( <= w2 c)) (not ( = ( - c w2) 0))) ( <= w1 ( - c w2))) (not ( = ( - ( - c w2) w1) 0))) ( > w0 ( - ( - c w2) w1))) ( > w0 ( - c w2))) ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = c 0)) ( <= w2 c)) (not ( = ( - c w2) 0))) ( <= w1 ( - c w2))) (not ( = ( - ( - c w2) w1) 0))) ( > w0 ( - ( - c w2) w1))) ( > w0 ( - c w2))) ( > v1 0)) ( <= w1 c)) (not ( = ( - c w1) 0))) ( > w0 ( - c w1))) ( <...
(declare-const c Int) (declare-const w0 Int) (declare-const v0 Int) (declare-const w1 Int) (declare-const v1 Int) (declare-const w2 Int) (declare-const v2 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = in0 t)) ( < in0 t))) N=2: (assert (and (and (and (not ( = in0 t)) ( < in0 t)) (not ( = in1 t))) ( < in1 t))) N=3: (assert (and (and (and (not ( = in1 t)) ( < in1 t)) (not ( = in2 t))) ( < in2 t))) N=5: (assert (...
(assert (and (and (and (and (and (and (and (and (and (not ( = in13 t)) ( < in13 t)) (not ( = in20 t))) ( < in20 t)) (not ( = in24 t))) ( < in24 t)) (not ( = in26 t))) ( < in26 t)) (not ( = in27 t))) ( < in27 t)))
(declare-const in20 Int) (declare-const t Int) (declare-const in24 Int) (declare-const in13 Int) (declare-const in26 Int) (declare-const in27 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = in0 in)) ( >= in0 in))) N=7: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declar...
small
Given the following examples of constraints for increasing input sizes: N=3: (assert (and (and (and (and (and ( >= in1 in0) ( > in1 in0)) ( >= in2 in0)) ( > in2 in0)) ( >= in2 in1)) ( > in2 in1))) N=4: (assert (and (and (and (and (and (and (and (and (and (and (and ( >= in1 in0) ( > in1 in0)) ( >= in2 ...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (and (and (and (not ( = in0 1)) ( = ( mod in0 2) 0)) (not ( = ( div in0 2) 1))) ( = ( mod ( div in0 2) 2) 0)) (not ( = ( div ( div in0 2) 2) 1)))) N=2: (assert (and (and (and (and (and (and (and (and (and (not ( = in0 1)...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (a...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in12 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=4: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=5: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=7: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_...
(assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1))))
(declare-const cell_0_0 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (and (and (and (and (and (and (and (and (and ( >= in 0) ( <= in 10)) ( > in 1)) ( > ( - in 1) 1)) ( > ( - ( - in 1) 1) 1)) ( > ( - ( - ( - in 1) 1) 1) 1)) ( > ( - ( - ( - ( - in 1) 1) 1) 1) 1)) ( > ( - (...
(assert (and (and (and (and (and (and (and (and (and (and ( >= in 0) ( <= in 10)) ( > in 1)) ( > ( - in 1) 1)) ( > ( - ( - in 1) 1) 1)) ( > ( - ( - ( - in 1) 1) 1) 1)) ( > ( - ( - ( - ( - in 1) 1) 1) 1) 1)) ( > ( - ( - ( - ( - ( - in 1) 1) 1) 1) 1) 1)) ( > ( - ( - ( - ( - ( - ( - ...
(declare-const in Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=2: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=6: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=8: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_...
(assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1))))
(declare-const cell_0_0 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (not ( = ( mod in0 2) 0))) N=3: (assert (and (and (not ( = ( mod in0 2) 0)) (not ( = ( mod in1 2) 0))) (not ( = ( mod in2 2) 0)))) N=4: (assert (and (and (and (not ( = ( mod in0 2) 0)) (not ( = ( mod in1 2) 0))) (not ( = ( mod i...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = ( mod in0 2) 0)) (not ( = ( mod in1 2) 0))) (not ( = ( mod in2 2) 0))) (not ( = ( mod in3 2) 0))) (not ( = ( mod in4 2) 0))) (not ( = ( mod in5 2) 0))) (not ( = ( mod in6 2) 0))) (not ( = ( mod in7 2) 0)))...
(declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) (declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in11 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in13 Int) (decl...
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0))) N=2: (assert (and (and (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0)) (not ( = ( mod in1 2) 0))) ( = ( mod in1 3) 0))) N=4: (assert (and (and (and (and (and (and (an...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = ( mod in0 2) 0)) ( = ( mod in0 3) 0)) (not ( = ( mod in1 2) 0))) ( = ( mod in1 3) 0)) (not ( = ( mod in2 2) 0))) ( = ( mod in2 3) 0)) (not ( = ( mod in3 2) 0))) ( = ( mod in3 3) 0)) ...
(declare-const in6 Int) (declare-const in5 Int) (declare-const in8 Int) (declare-const in7 Int) (declare-const in10 Int) (declare-const in9 Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int)
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = in0 65)) ( = in0 66))) N=16: (assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = in0 65)) ( = in0...
(assert (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (and (not ( = in0 65)) ( = in0 66)) (not...
(declare-const in20 Int) (declare-const in22 Int) (declare-const in21 Int) (declare-const in24 Int) (declare-const in23 Int) (declare-const in26 Int) (declare-const in25 Int) (declare-const in27 Int) (declare-const in0 Int) (declare-const in2 Int) (declare-const in1 Int) (declare-const in4 Int) (declare-const in3 Int) ...
small
Given the following examples of constraints for increasing input sizes: N=1: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=2: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=3: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1)))) N=4: (assert (and (not ( = cell_0_0 0)) (not ( = cell_0_...
(assert (and (not ( = cell_0_0 0)) (not ( = cell_0_0 1))))
(declare-const cell_0_0 Int)
small
End of preview. Expand in Data Studio

WARP-benchmark

The benchmark to test logical reasoning and pattern generalisation in large language models through formal SMT constraints.

Overview

We propose a benchmark designed to evaluate a language model's ability to generalise worst-case path constraints for all input sizes. Each example asks a model to generate a formal constraint for a specific target size after being shown examples of constraints for smaller input sizes.

Github Repository

You can find the link here at: WARP-benchmark

Dataset Statistics

Basic Statistics

  • Total samples: 671
  • Format: Parquet file
  • Difficulty tiers:
    • Small: 333 samples (49.6%)
    • Medium: 333 samples (49.6%)
    • Large: 5 samples (0.7%)

Token Statistics (using Qwen2.5-3B tokenizer)

Questions Answers
Minimum 117 27
Maximum 4,086 14,476
Mean 1,684 994
Median 1,521 493
Total tokens 1,130,153 666,709

Target N Distribution

  • Range: 5 to 30
  • Mean: 19.9
  • Median: 20
  • Unique values: 25 different values

Examples Per Question

  • Range: 3 to 18 examples
  • Mean: 6.7
  • Median: 6
  • Most common: 3 examples (168 questions)

Dataset Structure

Each example in the dataset follows this structure:

  • Question: A prompt showing examples of constraints for smaller input sizes N, asking for constraints at target N
  • Answer: The formal constraint for the target size
  • Constants: Variable declarations for the target size
  • Tier: Difficulty level ("small", "medium", or "large")

Example question format:

Given the following examples of constraints for increasing input sizes:
N=3: (assert (and (and ...)))
N=4: (assert (and (and ...)))
...
What is the constraint for N={target}?

Dataset Creation

The dataset is generated from SMT2 files using the following process:

  1. Discovery: Finds SMT2 files following the naming pattern {prefix}.{problem}_{number}.smt2
  2. Combination Generation: For each problem and target N value, generates combinations of smaller N values to use as examples
  3. Prompt Construction: Creates prompts with selected examples and targets, ensuring they fit within token limits
  4. Difficulty Assignment: Assigns difficulty tiers based on the "jump" between example N and target N:
    • Small: ≤ 5
    • Medium: 6-15
    • Large: > 15
  5. Balanced Sampling: Uses reservoir sampling to balance the dataset across difficulty tiers

Dataset Profiling

Use the included profiler to analyze the dataset:

python profiler.py dataset.parquet --visualize

This will generate comprehensive statistics and visualizations about token lengths, difficulty distribution, and other metrics.

Dependencies

  • pandas
  • pyarrow
  • transformers (Qwen2.5-3B tokenizer)
  • tqdm
  • matplotlib (for visualization)
  • seaborn (for visualization)
Downloads last month
9