• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
        • Svex-stvs
        • Svex-decomposition-methodology
        • Sv-versus-esim
        • Svex-decomp
        • Svex-compose-dfs
        • Svex-compilation
        • Moddb
        • Svmods
        • Svstmt
        • Sv-tutorial
        • Expressions
        • Symbolic-test-vector
        • Vl-to-svex
          • Vl-to-sv
          • Vl-design->sv-design
            • Vl-simpconfig
            • Vl-hierarchy-sv-translation
            • Vl-expr-svex-translation
              • Sv::vl-expr.lisp
              • Vttree
                • Vttree-p
                • Vttree-fix
                • Vttree-count
                • Vttree-equiv
                • Vttree-context
                • Vttree-branch
                • Vttree-warnings
                • Vttree-constraints
                • Vttree-none
                • Vttree-kind
                  • Patbind-wvmv
                  • Patbind-vwmv
                  • Patbind-vmv
              • Vl-design->svex-modalist
              • Vl-svstmt
            • Vl-to-sv-main
            • Vl-simplify-sv
            • Vl-user-paramsettings->unparam-names
            • Vl-user-paramsettings->modnames
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vttree

    Vttree-kind

    Get the kind (tag) of a vttree structure.

    Signature
    (vttree-kind x) → kind
    Arguments
    x — Guard (vttree-p x).

    Definitions and Theorems

    Function: vttree-kind$inline

    (defun vttree-kind$inline (x)
      (declare (xargs :guard (vttree-p x)))
      (let ((__function__ 'vttree-kind))
        (declare (ignorable __function__))
        (cond ((atom x) :none)
              ((eq (car x) :warnings) :warnings)
              ((eq (car x) :constraints) :constraints)
              ((eq (car x) :context) :context)
              (t :branch))))

    Theorem: vttree-kind-possibilities

    (defthm vttree-kind-possibilities
      (or (equal (vttree-kind x) :none)
          (equal (vttree-kind x) :warnings)
          (equal (vttree-kind x) :constraints)
          (equal (vttree-kind x) :context)
          (equal (vttree-kind x) :branch))
      :rule-classes
      ((:forward-chaining :trigger-terms ((vttree-kind x)))))