Common — library smtlib-low-level-theory.theory — module DIntArray
396
module DIntArray
397
use int.Int
398
use map.Map
399
400
function
update
(dst:map int 'a) (pos_dst len: int) (pos_src:int) (src:map int 'a) : map int 'a =
401
(fun k -> if pos_dst <= k < pos_dst + len then src (k-pos_dst+pos_src) else dst k)
402
403
predicate
submem
(a:map int 'a) (pos len:int) (b:map int 'a) =
404
forall k. pos <= k < pos+len -> a k = b k
405
end