• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
          • Simplify-defun
          • Isodata
            • Isodata-implementation
              • Isodata-event-generation
              • Isodata-fn
              • Isodata-input-processing
                • Isodata-symbol-isomap-alistp
                • Isodata-isomapp
                • Isodata-pos-isomap-alistp
                • Isodata-process-iso
                • Isodata-process-inputs
                • Isodata-process-arg/res-list-iso
                • Isodata-process-isomaps
                • Isodata-fresh-defiso-thm-names
                • Isodata-process-arg/res-list
                • Isodata-process-arg/res-list-iso-list
                • Isodata-process-res
                • Isodata-fresh-defiso-name-with-*s-suffix
                • Isodata-process-newp-of-new-name
                • Isodata-process-isomaps-ress
                  • Isodata-process-isomaps-args
                  • Isodata-process-arg/res-list-iso-add-ress
                  • Isodata-process-arg/res-list-iso-add-args
                  • Isodata-process-old
                  • Isodata-process-undefined
                  • Isodata-process-arg/res-list-aux
                  • Isodata-isomap-listp
                  • Isodata-fresh-defiso-name-with-*s-suffix-aux
                • Isodata-macro-definition
            • Tailrec
            • Schemalg
            • Restrict
            • Expdata
            • Casesplit
            • Simplify-term
            • Simplify-defun-sk
            • Parteval
            • Solve
            • Wrap-output
            • Propagate-iso
            • Simplify
            • Finite-difference
            • Drop-irrelevant-params
            • Copy-function
            • Lift-iso
            • Rename-params
            • Utilities
            • Simplify-term-programmatic
            • Simplify-defun-sk-programmatic
            • Simplify-defun-programmatic
            • Simplify-defun+
            • Common-options
            • Common-concepts
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • Soft
          • C
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Isodata-input-processing

    Isodata-process-isomaps-ress

    Signature
    (isodata-process-isomaps-ress j m res-isomaps isomap-id) 
      → 
    new-res-isomaps
    Arguments
    j — Guard (posp j).
    m — Guard (posp m).
    res-isomaps — Guard (isodata-pos-isomap-alistp res-isomaps).
    isomap-id — Guard (isodata-isomapp isomap-id).
    Returns
    new-res-isomaps — Type (isodata-pos-isomap-alistp new-res-isomaps), given the guard.

    Definitions and Theorems

    Function: isodata-process-isomaps-ress

    (defun isodata-process-isomaps-ress (j m res-isomaps isomap-id)
     (declare (xargs :guard (and (posp j)
                                 (posp m)
                                 (isodata-pos-isomap-alistp res-isomaps)
                                 (isodata-isomapp isomap-id))))
     (let ((__function__ 'isodata-process-isomaps-ress))
      (declare (ignorable __function__))
      (b* (((unless (mbt (and (posp j) (posp m))))
            nil)
           ((when (> j m)) nil)
           (pair (assoc j res-isomaps)))
       (if (consp pair)
           (cons pair
                 (isodata-process-isomaps-ress (1+ j)
                                               m res-isomaps isomap-id))
        (acons
             j isomap-id
             (isodata-process-isomaps-ress (1+ j)
                                           m res-isomaps isomap-id))))))

    Theorem: isodata-pos-isomap-alistp-of-isodata-process-isomaps-ress

    (defthm isodata-pos-isomap-alistp-of-isodata-process-isomaps-ress
     (implies
       (and (posp j)
            (posp m)
            (isodata-pos-isomap-alistp res-isomaps)
            (isodata-isomapp isomap-id))
       (b*
        ((new-res-isomaps
              (isodata-process-isomaps-ress j m res-isomaps isomap-id)))
        (isodata-pos-isomap-alistp new-res-isomaps)))
     :rule-classes :rewrite)