fact: Definition getCell_spec := DECLARE _getCell WITH g: G, graph_ptr: pointer_val, addresses: list val, u: V, i : V PRE [tptr (tptr tint), tint, tint] PROP (0 <= i < size; 0 <= u < size; size <= Int.max_signed) PARAMS (pointer_val_val graph_ptr; Vint (Int.repr u); Vint (Int.repr i)) GLOBALS () SEP (@SpaceAdjMatGraph' size CompSpecs Tsh (@graph_to_symm_mat size g) (pointer_val_val graph_ptr) addresses) POST [tint] PROP () RETURN (Vint (Int.repr (Znth i (Znth u (@graph_to_symm_mat size g))))) SEP (@SpaceAdjMatGraph' size CompSpecs Tsh (@graph_to_symm_mat size g) (pointer_val_val graph_ptr) addresses).
imports: CertiGraph.prim.prim_env CertiGraph.priq.priq_arr_specs CertiGraph.graph.MathUAdjMatGraph CertiGraph.graph.SpaceUAdjMatGraph1 CertiGraph.prim.prim1