• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
      • Gl
      • Witness-cp
      • Ccg
      • Install-not-normalized
      • Rewrite$
      • Fgl
        • Fgl-rewrite-rules
        • Fgl-function-mode
        • Fgl-object
        • 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
          • Scratchobj
          • Minor-frame
            • Minor-frame-fix
            • Minor-frame-equiv
            • Make-minor-frame
            • Minor-frame->term-index
            • Minor-frame->scratch
            • Minor-frame->bindings
            • Change-minor-frame
              • Minor-frame->term
              • Minor-frame-p
            • Major-frame
            • Major-stack
            • Scratchlist
            • Minor-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
        • Removable-runes
        • Efficiency
        • Rewrite-bounds
        • Bash
        • Def-dag-measure
        • Bdd
        • Remove-hyps
        • Contextual-rewriting
        • Simp
        • Rewrite$-hyps
        • Bash-term-to-dnf
        • Use-trivial-ancestors-check
        • Minimal-runes
        • Clause-processor-tools
        • Fn-is-body
        • Without-subsumption
        • Rewrite-equiv-hint
        • Def-bounds
        • Rewrite$-context
        • Try-gl-concls
        • Hint-utils
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Minor-frame

    Change-minor-frame

    Modifying constructor for minor-frame structures.

    Syntax
    (change-minor-frame x 
                        [:bindings <bindings>] 
                        [:scratch <scratch>] 
                        [:term <term>] 
                        [:term-index <term-index>]) 
    

    This is an often useful alternative to make-minor-frame.

    We construct a new minor-frame 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-minor-frame

    (defmacro change-minor-frame (x &rest args)
      (std::change-aggregate 'minor-frame
                             x args
                             '((:bindings . minor-frame->bindings)
                               (:scratch . minor-frame->scratch)
                               (:term . minor-frame->term)
                               (:term-index . minor-frame->term-index))
                             'change-minor-frame
                             'nil))