Sequential calls on disjoint borrowed buffers #
The source function calls the existing traversal twice on the same shared heap. Its native proof uses only the supplied function contracts: the first call's frame preserves the second input, and the second call's frame preserves the first result. Views disjoint from both buffers keep their initial contents. No traversal body or second implementation is unfolded here.
Two ordinary calls compose their array results and heap frames, including when the disjoint buffers are borrowed slices of one shared object.
The same two calls terminate with both mapped arrays in their actual final heap, preserving every initial observation outside both borrowed views.
The composed function exposes the same ordinary two-array result and outside-both frame through its generated named argument interface.