Defaulted list lookup and updates #
Main results #
List.getD_mem_or,List.getD_idxOf: a defaulted lookup returns a member or the default, and returns a member at its first index.List.getD_set_self,List.getD_set_ne: reading an updated entry or an unchanged entry.List.Forall₂.getD: related lists are related at every in-range defaulted lookup.List.getD_append_cons_length,List.getD_append_cons_of_ne: reading the entry at indexfront.lengthoffront ++ x :: back, and the reads that do not depend on it.List.getD_take_drop: reading an in-range entry of(l.drop k).take wreads indexk + iofl.List.getD_ofFn_of_lt,List.getD_ofFn: readingList.ofFn fat a valid index returnsf.List.forall_mem_set_of_forall_mem,List.getD_le_of_forall_le: preserve invariants under updates and bound defaulted reads of numeric register files.List.getD_map_range: read a function tabulated over a bounded range.List.map_range_eq_ofFn: runtime tabulation agrees with the finite coordinate view.List.find?_range_getD_eq_sInf: the least index belowmpassing a test, orm, as a search over a range.