aboutsummaryrefslogtreecommitdiff
path: root/xor/xor_argmax.vnnlib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xor/xor_argmax.vnnlib7
1 files changed, 5 insertions, 2 deletions
diff --git a/xor/xor_argmax.vnnlib b/xor/xor_argmax.vnnlib
index 3043d70..d38bc31 100644
--- a/xor/xor_argmax.vnnlib
+++ b/xor/xor_argmax.vnnlib
@@ -1,11 +1,14 @@
+; Argmax Equivalence for XOR
+
+; Constant declaration
(declare-const X_0 Real)
(declare-const X_1 Real)
(declare-const Y_0 Real)
(declare-const Y_1 Real)
-; Discrete inputs: X must be 0 or 1
+; Bounded inputs: X must be 0 or 1
(assert (or (= X_0 0) (= X_0 1)))
(assert (or (= X_1 0) (= X_1 1)))
-; Violation of argmax equivalence (threshold 0.5)
+; Violation of argmax equivalence
(assert (not (= (> Y_0 0.5) (> Y_1 0.5))))