From d85de781b4a825fe0d1217e1e8ae5ec81dd70202 Mon Sep 17 00:00:00 2001 From: ericmarin Date: Fri, 5 Jun 2026 16:40:44 +0200 Subject: balanced fanout --- .../double_integrator_argmax.smtlib | 27 ++++++++++++++++++++++ .../double_integrator_argmax.vnnlib | 27 ---------------------- .../double_integrator_epsilon.smtlib | 22 ++++++++++++++++++ .../double_integrator_epsilon.vnnlib | 22 ------------------ .../double_integrator_strict.smtlib | 21 +++++++++++++++++ .../double_integrator_strict.vnnlib | 21 ----------------- 6 files changed, 70 insertions(+), 70 deletions(-) create mode 100644 examples/double_integrator/double_integrator_argmax.smtlib delete mode 100644 examples/double_integrator/double_integrator_argmax.vnnlib create mode 100644 examples/double_integrator/double_integrator_epsilon.smtlib delete mode 100644 examples/double_integrator/double_integrator_epsilon.vnnlib create mode 100644 examples/double_integrator/double_integrator_strict.smtlib delete mode 100644 examples/double_integrator/double_integrator_strict.vnnlib (limited to 'examples/double_integrator') diff --git a/examples/double_integrator/double_integrator_argmax.smtlib b/examples/double_integrator/double_integrator_argmax.smtlib new file mode 100644 index 0000000..f0a72e9 --- /dev/null +++ b/examples/double_integrator/double_integrator_argmax.smtlib @@ -0,0 +1,27 @@ +; Argmax Equivalence for Double Integrator + +; Constant declaration +(declare-const X_0 Real) +(declare-const X_1 Real) +(declare-const Y_0 Real) +(declare-const Y_1 Real) +(declare-const Y_2 Real) +(declare-const Y_3 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 (or + (and + (> Y_0 Y_1) + (> Y_3 Y_2) + ) + (and + (> Y_1 Y_0) + (> Y_2 Y_3) + ) +)) diff --git a/examples/double_integrator/double_integrator_argmax.vnnlib b/examples/double_integrator/double_integrator_argmax.vnnlib deleted file mode 100644 index f0a72e9..0000000 --- a/examples/double_integrator/double_integrator_argmax.vnnlib +++ /dev/null @@ -1,27 +0,0 @@ -; Argmax Equivalence for Double Integrator - -; Constant declaration -(declare-const X_0 Real) -(declare-const X_1 Real) -(declare-const Y_0 Real) -(declare-const Y_1 Real) -(declare-const Y_2 Real) -(declare-const Y_3 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 (or - (and - (> Y_0 Y_1) - (> Y_3 Y_2) - ) - (and - (> Y_1 Y_0) - (> Y_2 Y_3) - ) -)) diff --git a/examples/double_integrator/double_integrator_epsilon.smtlib b/examples/double_integrator/double_integrator_epsilon.smtlib new file mode 100644 index 0000000..f5c4ee6 --- /dev/null +++ b/examples/double_integrator/double_integrator_epsilon.smtlib @@ -0,0 +1,22 @@ +; Epsilon Equivalence for Double Integrator + +; Constant declaration +(declare-const X_0 Real) +(declare-const X_1 Real) +(declare-const Y_0 Real) +(declare-const Y_1 Real) +(declare-const Y_2 Real) +(declare-const Y_3 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 (or + (> (absolute (- Y_0 Y_2)) 0.1) + (> (absolute (- Y_1 Y_3)) 0.1) +)) diff --git a/examples/double_integrator/double_integrator_epsilon.vnnlib b/examples/double_integrator/double_integrator_epsilon.vnnlib deleted file mode 100644 index f5c4ee6..0000000 --- a/examples/double_integrator/double_integrator_epsilon.vnnlib +++ /dev/null @@ -1,22 +0,0 @@ -; Epsilon Equivalence for Double Integrator - -; Constant declaration -(declare-const X_0 Real) -(declare-const X_1 Real) -(declare-const Y_0 Real) -(declare-const Y_1 Real) -(declare-const Y_2 Real) -(declare-const Y_3 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 (or - (> (absolute (- Y_0 Y_2)) 0.1) - (> (absolute (- Y_1 Y_3)) 0.1) -)) diff --git a/examples/double_integrator/double_integrator_strict.smtlib b/examples/double_integrator/double_integrator_strict.smtlib new file mode 100644 index 0000000..d3c8c3e --- /dev/null +++ b/examples/double_integrator/double_integrator_strict.smtlib @@ -0,0 +1,21 @@ +; Strict Equivalence for Double Integrator + +; Constant declaration +(declare-const X_0 Real) +(declare-const X_1 Real) +(declare-const Y_0 Real) +(declare-const Y_1 Real) +(declare-const Y_2 Real) +(declare-const Y_3 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 (or + (not (= Y_0 Y_2)) + (not (= Y_1 Y_3)) +)) diff --git a/examples/double_integrator/double_integrator_strict.vnnlib b/examples/double_integrator/double_integrator_strict.vnnlib deleted file mode 100644 index d3c8c3e..0000000 --- a/examples/double_integrator/double_integrator_strict.vnnlib +++ /dev/null @@ -1,21 +0,0 @@ -; Strict Equivalence for Double Integrator - -; Constant declaration -(declare-const X_0 Real) -(declare-const X_1 Real) -(declare-const Y_0 Real) -(declare-const Y_1 Real) -(declare-const Y_2 Real) -(declare-const Y_3 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 (or - (not (= Y_0 Y_2)) - (not (= Y_1 Y_3)) -)) -- cgit v1.2.3