• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
        • Fgl-rewrite-rules
        • Fgl-function-mode
        • Fgl-object
        • Fgl-solving
        • Fgl-handling-if-then-elses
        • Fgl-counterexamples
        • Fgl-getting-bits-from-objects
        • Fgl-primitive-and-meta-rules
        • Fgl-interpreter-overview
        • Fgl-correctness-of-binding-free-variables
        • Fgl-debugging
        • Fgl-testbenches
        • Def-fgl-boolean-constraint
        • Fgl-stack
          • Scratchobj
          • Minor-frame
          • Major-frame
            • Major-frame-fix
            • Make-major-frame
            • Major-frame-equiv
            • Major-frame->minor-stack
            • Major-frame->rule
            • Major-frame->bindings
            • Change-major-frame
              • Major-frame->phase
              • Major-frame-p
            • 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
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Major-frame

    Change-major-frame

    Modifying constructor for major-frame structures.

    Syntax
    (change-major-frame x 
                        [:bindings <bindings>] 
                        [:rule <rule>] 
                        [:phase <phase>] 
                        [:minor-stack <minor-stack>]) 
    

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

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

    (defmacro change-major-frame (x &rest args)
     (std::change-aggregate 'major-frame
                            x args
                            '((:bindings . major-frame->bindings)
                              (:rule . major-frame->rule)
                              (:phase . major-frame->phase)
                              (:minor-stack . major-frame->minor-stack))
                            'change-major-frame
                            'nil))