aboutsummaryrefslogtreecommitdiff
path: root/examples/tll/tll_epsilon.vnnlib
blob: 8e0902d59b90b2af0b8eb5b3f1e12fca7ffa88d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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))