(* * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) * Copyright (c) 2022 Apple Inc. All rights reserved. * * SPDX-License-Identifier: BSD-2-Clause *) theory ptr_auxupd imports "AutoCorres2.CTranslation" begin definition "typ_clear_region ptr bits d ≡ λx. (fst (d x), if x ∈ {ptr..+2 ^ bits} then Map.empty else (snd (d x)))"