pre debug : from ≥ 0 debug : to = 0 || (if is_array_backed || debug_level > 1 then is_valid_index to-1 else true) debug : from <= to
from (including) up to index to (excluding).