Function-algebraic Characterizations of Log and Polylog Parallel Time