• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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-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
          • Def-fgl-param-thm
          • Fgl-rewrite-tracing
          • 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
    • Major-frame

    Major-frame->bindings

    Get the bindings field from a major-frame.

    Signature
    (major-frame->bindings x) → bindings
    Arguments
    x — Guard (major-frame-p x).
    Returns
    bindings — Type (fgl-object-bindings-p bindings).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: major-frame->bindings$inline

    (defun major-frame->bindings$inline (x)
      (declare (xargs :guard (major-frame-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'major-frame->bindings))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (fgl-object-bindings-fix (cdr (std::da-nth 0 x))))
             :exec (cdr (std::da-nth 0 x)))))

    Theorem: fgl-object-bindings-p-of-major-frame->bindings

    (defthm fgl-object-bindings-p-of-major-frame->bindings
      (b* ((bindings (major-frame->bindings$inline x)))
        (fgl-object-bindings-p bindings))
      :rule-classes :rewrite)

    Theorem: major-frame->bindings$inline-of-major-frame-fix-x

    (defthm major-frame->bindings$inline-of-major-frame-fix-x
      (equal (major-frame->bindings$inline (major-frame-fix x))
             (major-frame->bindings$inline x)))

    Theorem: major-frame->bindings$inline-major-frame-equiv-congruence-on-x

    (defthm
         major-frame->bindings$inline-major-frame-equiv-congruence-on-x
      (implies (major-frame-equiv x x-equiv)
               (equal (major-frame->bindings$inline x)
                      (major-frame->bindings$inline x-equiv)))
      :rule-classes :congruence)