• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
        • Specification
          • Semantics
          • Features
          • Instructions
          • Encoding
          • States
          • Reads-over-writes
            • Read-memory-of-write-memory-theorems
            • Read-xreg-of-write-memory-theorems
            • Read-xreg-of-write-xreg-theorems
            • Read-xreg-of-write-pc-theorems
            • Read-memory-of-write-pc-theorems
            • Read-memory-of-write-xreg-theorems
            • Read-pc-of-write-pc-theorems
            • Read-pc-of-write-memory-theorems
              • Read-instr-of-write-pc-theorems
              • Read-instr-of-write-memory-theorems
              • Read-pc-of-write-xreg-theorems
              • Read-instr-of-write-xreg-theorems
            • Semantics-equivalences
            • Decoding
            • Execution
          • Executable
          • Specialized
          • Optimized
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Reads-over-writes

    Read-pc-of-write-memory-theorems

    Theorems about reads of program counter over writes of memory.

    These theorems are all enabled by default because they always clearly simplify the term.

    Definitions and Theorems

    Theorem: read-pc-of-write-mem8

    (defthm read-pc-of-write-mem8
      (equal (read-pc (write-mem8 addr val stat feat)
                      feat)
             (read-pc stat feat)))

    Theorem: read-pc-of-write-mem16

    (defthm read-pc-of-write-mem16
      (equal (read-pc (write-mem16 addr val stat feat)
                      feat)
             (read-pc stat feat)))

    Theorem: read-pc-of-write-mem32

    (defthm read-pc-of-write-mem32
      (equal (read-pc (write-mem32 addr val stat feat)
                      feat)
             (read-pc stat feat)))

    Theorem: read-pc-of-write-mem64

    (defthm read-pc-of-write-mem64
      (equal (read-pc (write-mem64 addr val stat feat)
                      feat)
             (read-pc stat feat)))