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 ) .
∀ x ∈ ℝ : floor ( x ) ≤ x ∧ ( ∀ y ∈ ℤ : y > x ∨ floor ( x ) ≥ y )

     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]