• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
          • Syntax-for-tools
          • Atc
          • Language
          • Representation
          • Transformation-tools
            • Simpadd0
            • Splitgso
            • Constant-propagation
            • Split-fn
              • Abstract-fn
              • Split-fn-block-item-list
              • Decl-to-ident-param-declon-map
              • Split-fn-fundef
              • Split-fn-extdecl
              • Split-fn-filepath-transunit-map
              • Split-fn-extdecl-list
              • Param-declon-to-ident-param-declon-map
              • Split-fn-transunit-ensemble
              • Split-fn-transunit
              • Param-declon-list-to-ident-param-declon-map
              • Ident-param-declon-map-filter
              • Decl-to-ident-param-declon-map0
              • Decl-list-to-ident-param-declon-map
              • Add-pointer-param-declon
              • Map-address-ident-list
              • Map-add-pointer-param-declon
              • Make-deref-subst
                • Ident-param-declon-map
              • Specialize
              • Split-all-gso
              • Copy-fn
              • Rename
              • Utilities
            • Insertion-sort
            • Pack
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Riscv
          • 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
    • Split-fn

    Make-deref-subst

    Signature
    (make-deref-subst idents) → subst
    Arguments
    idents — Guard (ident-listp idents).
    Returns
    subst — Type (ident-expr-mapp subst).

    Definitions and Theorems

    Function: make-deref-subst

    (defun make-deref-subst (idents)
     (declare (xargs :guard (ident-listp idents)))
     (if (endp idents)
         nil
      (omap::update
       (ident-fix (first idents))
       (expr-paren
         (make-expr-unary :op (c$::unop-indir)
                          :arg (make-expr-ident :ident (first idents))))
       (make-deref-subst (rest idents)))))

    Theorem: ident-expr-mapp-of-make-deref-subst

    (defthm ident-expr-mapp-of-make-deref-subst
      (b* ((subst (make-deref-subst idents)))
        (ident-expr-mapp subst))
      :rule-classes :rewrite)