• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Riscv
        • Specification
        • Executable
        • Specialized
        • Optimized
          • State-stobj
            • Stat1
            • Stat1-iso
            • Stat1-from-stat
            • Write1-memory-unsigned64
            • Stat-from-stat1
            • Read1-memory-unsigned64
            • Write1-memory-unsigned32
            • Make-stat1
            • Write1-xreg
            • Write1-memory-unsigned8
            • Write1-memory-unsigned16
            • Stat1->memory
              • Read1-memory-unsigned32
              • Read1-instruction
              • Write1-xreg-32
              • Write1-pc
              • Read1-memory-unsigned16
              • Stat1-validp
              • Read1-xreg-unsigned32
              • Read1-xreg-unsigned
              • Read1-xreg-signed32
              • Read1-memory-unsigned8
              • Inc1-4-pc
              • Error1
              • Read1-xreg-signed
              • Read1-pc
              • Errorp1
        • Taspi
        • Bitcoin
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • State-stobj

    Stat1->memory

    Signature
    (stat1->memory stat1) → memory
    Arguments
    stat1 — Guard (stat1p stat1).
    Returns
    memory — Type (stat1-memory-p memory), given (stat1p stat1).

    Definitions and Theorems

    Function: stat1->memory

    (defun stat1->memory (stat1)
      (declare (xargs :stobjs (stat1)))
      (declare (xargs :guard (stat1p stat1)))
      (declare (xargs :non-executable t))
      (prog2$ (acl2::throw-nonexec-error 'stat1->memory
                                         (list stat1))
              (let ((__function__ 'stat1->memory))
                (declare (ignorable __function__))
                (nth 2 stat1))))

    Theorem: stat1-memory-p-of-stat1->memory

    (defthm stat1-memory-p-of-stat1->memory
      (implies (stat1p stat1)
               (b* ((memory (stat1->memory stat1)))
                 (stat1-memory-p memory)))
      :rule-classes :rewrite)