• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
      • Gl
      • Witness-cp
      • Ccg
      • Install-not-normalized
      • Rewrite$
      • Removable-runes
      • 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-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-interpreter-overview
          • Fgl-counterexamples
          • 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
          • Advanced-equivalence-checking-with-fgl
          • Fgl-array-support
          • Fgl-internals
        • 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
    • Fgl-env

    Fgl-env->obj-alist

    Get the obj-alist field from a fgl-env.

    Signature
    (fgl-env->obj-alist x) → obj-alist
    Arguments
    x — Guard (fgl-env-p x).
    Returns
    obj-alist — Type (obj-alist-p obj-alist).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: fgl-env->obj-alist$inline

    (defun fgl-env->obj-alist$inline (x)
      (declare (xargs :guard (fgl-env-p x)))
      (declare (xargs :guard t))
      (let ((__function__ 'fgl-env->obj-alist))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (obj-alist-fix (std::prod-car x)))
             :exec (std::prod-car x))))

    Theorem: obj-alist-p-of-fgl-env->obj-alist

    (defthm obj-alist-p-of-fgl-env->obj-alist
      (b* ((obj-alist (fgl-env->obj-alist$inline x)))
        (obj-alist-p obj-alist))
      :rule-classes :rewrite)

    Theorem: fgl-env->obj-alist$inline-of-fgl-env-fix-x

    (defthm fgl-env->obj-alist$inline-of-fgl-env-fix-x
      (equal (fgl-env->obj-alist$inline (fgl-env-fix x))
             (fgl-env->obj-alist$inline x)))

    Theorem: fgl-env->obj-alist$inline-fgl-env-equiv-congruence-on-x

    (defthm fgl-env->obj-alist$inline-fgl-env-equiv-congruence-on-x
      (implies (fgl-env-equiv x x-equiv)
               (equal (fgl-env->obj-alist$inline x)
                      (fgl-env->obj-alist$inline x-equiv)))
      :rule-classes :congruence)