aboutsummaryrefslogtreecommitdiff
path: root/examples/xor/xor_argmax.vnnlib
blob: d38bc31df785464ff1a37604323b7b328cf0fd2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)

; 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
(assert (not (= (> Y_0 0.5) (> Y_1 0.5))))