• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
      • Std/util
      • Defdata
      • Defrstobj
      • Seq
      • Match-tree
      • Defrstobj
      • With-supporters
      • Def-partial-measure
      • Template-subst
      • Soft
      • Defthm-domain
      • Event-macros
      • Def-universal-equiv
      • Def-saved-obligs
      • With-supporters-after
      • Definec
      • Sig
      • Outer-local
      • Data-structures
        • Deflist
        • Defalist
        • Memory
          • Private
          • Size
          • Store
          • New
          • Address-p
            • Memory-p
            • Load
          • Defstructure
          • Array1
          • Utilities
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Memory

    Address-p

    Recognizes valid addresses for a particular memory.

    (MEM::address-p addr mem)

    address-p is guarded with (memory-p mem).

    address-p returns true if addr is a valid address for mem -- that is, if (and (natp addr) (< addr (size mem))). It is not private, and is left enabled by default.