• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
        • Fgl-rewrite-rules
        • Fgl-function-mode
        • Fgl-object
          • Fgl-object-eval
            • Fgl-env
              • Fgl-env-fix
              • Fgl-env-equiv
              • Make-fgl-env
              • Fgl-env->obj-alist
              • Change-fgl-env
                • Fgl-env->bfr-vals
                • Fgl-env-p
              • Bools->int
            • Fgl-object-p
            • G-map
            • G-ite
            • G-cons
            • G-concrete
            • G-apply
            • G-integer
            • Fgl-object-equiv
            • G-boolean
            • G-var
            • Fgl-bitvector
            • Fgl-object-kind
            • Summarize-fgl-object
            • Fgl-make-isomorphic
            • Fgl-object-alist
            • Fgl-objectlist
            • Fgl-object-fix
            • Fgl-object-count
          • Fgl-solving
          • Fgl-handling-if-then-elses
          • Fgl-getting-bits-from-objects
          • Fgl-primitive-and-meta-rules
          • Fgl-counterexamples
          • Fgl-interpreter-overview
          • Fgl-correctness-of-binding-free-variables
          • Fgl-debugging
          • Fgl-testbenches
          • Def-fgl-boolean-constraint
          • Fgl-stack
          • Fgl-rewrite-tracing
          • Def-fgl-param-thm
          • Def-fgl-thm
          • Fgl-fast-alist-support
          • Fgl-array-support
          • Advanced-equivalence-checking-with-fgl
          • Fgl-fty-support
          • Fgl-internals
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Fgl-env

    Change-fgl-env

    Modifying constructor for fgl-env structures.

    Syntax
    (change-fgl-env x 
                    [:obj-alist <obj-alist>] 
                    [:bfr-vals <bfr-vals>]) 
    

    This is an often useful alternative to make-fgl-env.

    We construct a new fgl-env structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by defprod.

    Macro: change-fgl-env

    (defmacro change-fgl-env (x &rest args)
      (std::change-aggregate 'fgl-env
                             x args
                             '((:obj-alist . fgl-env->obj-alist)
                               (:bfr-vals . fgl-env->bfr-vals))
                             'change-fgl-env
                             'remake-fgl-env))