Formula [B2] proof state [q1b] (autosimp): instantiate low/2+high/2 in 6hu
Constants
(with types)
:
high
,
anyelem
,
r
,
get
,
length
,
put
,
content
,
Invariant
,
new
,
anyarray
,
floor
,
Output
,
Input
,
low
,
oldx
,
a
,
mid
,
olda
,
x
,
any
.
Axioms:
Invariant
(
a
,
x
,
low
,
high
,
r
)
∧
r
=
-
1
⇒
high
<
low
∨
0
≤
floor
(
high
2
+
low
2
)
.
6hu
Formula [6hu]
auto 6hu: Automatically Instantiate Formula
instantiate [] in 6hu: Instantiate Variable(s) in Formula
expand [] in 6hu: Expand Definition(s) in Formula
goal 6hu: Make Formula Goal
flip 6hu: Flip Formula
∀
x
∈
ℝ
:
floor
(
x
)
≤
x
∧
(
∀
y
∈
ℤ
:
y
>
x
∨
floor
(
x
)
≥
y
)
ezk
Formula [ezk]
expand [] in ezk: Expand Definition(s) in Formula
induction [] in ezk: Induction on Formula
flip ezk: Flip Formula
Invariant
(
a
,
x
,
low
,
high
,
r
)
∧
r
=
-
1
⇒
high
<
low
∨
x
=
get
(
a
,
floor
(
high
2
+
low
2
)
)
∨
Invariant
(
a
,
x
,
1
+
floor
(
high
2
+
low
2
)
,
high
,
r
)
∨
x
≤
get
(
a
,
floor
(
high
2
+
low
2
)
)
Children:
[slx]
[tlx]