diff options
| author | ericmarin <maarin.eric@gmail.com> | 2026-03-31 16:43:47 +0200 |
|---|---|---|
| committer | ericmarin <maarin.eric@gmail.com> | 2026-04-01 15:08:27 +0200 |
| commit | 81d4d604aa43660b732b3538734a52d509d7c5df (patch) | |
| tree | e0341280c3c3f10752aab7fccb2ddd5ed795c889 /examples/tll | |
| parent | d1b25fbde6b01529fd1bcfdd5778b6cb378eb865 (diff) | |
| download | vein-81d4d604aa43660b732b3538734a52d509d7c5df.tar.gz vein-81d4d604aa43660b732b3538734a52d509d7c5df.zip | |
refactored examples
Diffstat (limited to '')
| -rw-r--r-- | examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_0.onnx | bin | 0 -> 74221 bytes | |||
| -rw-r--r-- | examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_2.onnx | bin | 0 -> 74533 bytes | |||
| -rw-r--r-- | examples/tll/tll_argmax.vnnlib | 16 | ||||
| -rw-r--r-- | examples/tll/tll_epsilon.vnnlib | 17 | ||||
| -rw-r--r-- | examples/tll/tll_strict.vnnlib | 16 |
5 files changed, 49 insertions, 0 deletions
diff --git a/examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_0.onnx b/examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_0.onnx Binary files differnew file mode 100644 index 0000000..a6632fb --- /dev/null +++ b/examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_0.onnx diff --git a/examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_2.onnx b/examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_2.onnx Binary files differnew file mode 100644 index 0000000..b650a13 --- /dev/null +++ b/examples/tll/tllBench_n=2_N=M=8_m=1_instance_0_2.onnx diff --git a/examples/tll/tll_argmax.vnnlib b/examples/tll/tll_argmax.vnnlib new file mode 100644 index 0000000..c084e52 --- /dev/null +++ b/examples/tll/tll_argmax.vnnlib @@ -0,0 +1,16 @@ +; Argmax Equivalence for TLL + +; Constant declaration +(declare-const X_0 Real) +(declare-const X_1 Real) +(declare-const Y_0 Real) +(declare-const Y_1 Real) + +; Bounded inputs: X must be within [0, 1] +(assert (>= X_0 0.0)) +(assert (<= X_0 1.0)) +(assert (>= X_1 0.0)) +(assert (<= X_1 1.0)) + +; Violation of argmax equivalence +(assert (and (> Y_0 0.5) (< Y_1 0.5))) diff --git a/examples/tll/tll_epsilon.vnnlib b/examples/tll/tll_epsilon.vnnlib new file mode 100644 index 0000000..8e0902d --- /dev/null +++ b/examples/tll/tll_epsilon.vnnlib @@ -0,0 +1,17 @@ +; Strict Equivalence for TLL + +; Constant declaration +(declare-const X_0 Real) +(declare-const X_1 Real) +(declare-const Y_0 Real) +(declare-const Y_1 Real) + +; Bounded inputs: X must be within [0, 1] +(assert (>= X_0 0.0)) +(assert (<= X_0 1.0)) +(assert (>= X_1 0.0)) +(assert (<= X_1 1.0)) + +; Violation of epsilon equivalence (epsilon = 0.1) +(define-fun absolute ((x Real)) Real (if (>= x 0) x (- x))) +(assert (> (absolute (- Y_0 Y_1)) 0.1)) diff --git a/examples/tll/tll_strict.vnnlib b/examples/tll/tll_strict.vnnlib new file mode 100644 index 0000000..0079b1e --- /dev/null +++ b/examples/tll/tll_strict.vnnlib @@ -0,0 +1,16 @@ +; Strict Equivalence for TLL + +; Constant declaration +(declare-const X_0 Real) +(declare-const X_1 Real) +(declare-const Y_0 Real) +(declare-const Y_1 Real) + +; Bounded inputs: X must be within [0, 1] +(assert (>= X_0 0.0)) +(assert (<= X_0 1.0)) +(assert (>= X_1 0.0)) +(assert (<= X_1 1.0)) + +; Violation of strict equivalence +(assert (not (= Y_0 Y_1))) |
