• 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
        • 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
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Riscv
        • 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
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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)