21: Virtual Substitution & Real Arithmetic
Logical Foundations of Cyber-Physical Systems
Logical Foundations of Cyber-Physical Systems
André Platzer
André Platzer
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 1 / 22
Logical Foundations of Cyber-Physical Systems Andr Platzer Andr - - PowerPoint PPT Presentation
21: Virtual Substitution & Real Arithmetic Logical Foundations of Cyber-Physical Systems Andr Platzer Logical Foundations of Cyber-Physical Systems Andr Platzer Andr Platzer (CMU) LFCPS/21: Virtual Substitution & Real
André Platzer
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 1 / 22
1
2
3
4
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 2 / 22
1
2
3
4
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 2 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 3 / 22
1
2
3
4
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 3 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
c)/d x
c)/d
x
x ∈ [
c)/d
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 4 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
x
x
x
x ∈ [
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 5 / 22
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
n
x
x
x
x
x
n
def
i=0 aixi)(-∞) < 0
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 6 / 22
x
x
def
i=0 aixi)(-∞) < 0
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 7 / 22
x
x
def
i=0 aixi)(-∞) < 0
x
2
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 7 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
x
x
x
x ∈ [
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 8 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 9 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 10 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
x
x
LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 10 / 22
x
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)+ε
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 10 / 22
x
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)+ε
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 10 / 22
x
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)+ε
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 10 / 22
x
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)+ε
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 10 / 22
x
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)+ε
x
x
x
x
x
x ∈ [
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 10 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 11 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 11 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 11 / 22
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
x
n
x
x
x
x
e
x
x
n
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 12 / 22
def
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 13 / 22
def
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)
x
(−b+
b2−4ac)/(2a)
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 13 / 22
def
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)
x
(−b+
b2−4ac)/(2a)
x
b2−4ac)/(2a) ¯ x
¯ x
¯ x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 13 / 22
def
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)
x
2x2 + x − 1 10
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 13 / 22
x
b2−4ac)/(2a)+ε
x
b2−4ac)/(2a)+ε
x
x
x
x
x
x ∈ [
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 14 / 22
1
2
3
4
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 14 / 22
def
x
x
√
d)/(2a) x
√
d)/(2a) x
x
√
d)/(2a)+ε x
√
d)/(2a)+ε x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 15 / 22
def
x
≤}0)∈F
x
√
d)/(2a) x
√
d)/(2a) x
<}0)∈F
x
√
d)/(2a)+ε x
√
d)/(2a)+ε x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 15 / 22
def
¯
x
≤}0)∈F
¯
x
√
d)/(2a)
¯
x
√
d)/(2a)
¯
x
<}0)∈F
¯
x
√
d)/(2a)+ε
¯
x
√
d)/(2a)+ε
¯
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 15 / 22
def
¯
x
≤}0)∈F
¯
x
√
d)/(2a)
¯
x
√
d)/(2a)
¯
x
<}0)∈F
¯
x
√
d)/(2a)+ε
¯
x
√
d)/(2a)+ε
¯
x
c)/d x
c)/d
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 15 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 16 / 22
¯
x
≤}0)∈F
¯
x
√
d)/(2a)
¯
x
√
d)/(2a)
¯
x
<}0)∈F
¯
x
√
d)/(2a)+ε
¯
x
√
d)/(2a)+ε
¯
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 17 / 22
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 18 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 19 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 19 / 22
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 19 / 22
x
x
x
1−4c)/2
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 19 / 22
1
2
3
4
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 19 / 22
x
b2−4ac)/(2a)
x
b2−4ac)/(2a)
x
c)/d x
c)/d
x
x ∈ [
c)/d
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 20 / 22
def
¯
x
≤}0)∈F
¯
x
√
d)/(2a)
¯
x
√
d)/(2a)
¯
x
<}0)∈F
¯
x
√
d)/(2a)+ε
¯
x
√
d)/(2a)+ε
¯
x
c)/d x
c)/d
x
x
x
x
x
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 21 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 22 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 22 / 22
André Platzer (CMU) LFCPS/21: Virtual Substitution & Real Arithmetic LFCPS/21 22 / 22