• Top
    • Documentation
      • Xdoc
        • Undocumented
          • Interp-flags
          • Simpcode
          • Npn4
          • Cutinfo
          • Glcp-config-p
          • Glmc-config-p
          • Defsvtv-args
          • Vl-renaming-alist-p
          • Vcd-pathmap-p
          • Vcd-idxhash-p
          • *atc-exec-binary-strict-pure-rules*
          • Ecut-wirename-alistp
            • Context
            • Svtv-data-obj
            • Incremental-extremize-config-p
            • Ctrex-rule
            • Glmc-fsm-p
            • Eqbylbp-config-p
            • Proof-obligation
            • Cgraph-edge
            • Wcp-instance-rule-p
            • Wcp-witness-rule-p
            • Obligation-hyp
            • Vl-parsestate
            • Ecutnames-p
            • Te-args
            • Fn-info-elt-p
            • Truth-idx
            • Polarity4
            • Wcp-template-p
            • Phase-fsm-params
            • Fgl-casesplit-config
            • Cutscore
            • Truth6
            • Truth5
            • Truth4
            • Truth3
            • Propiso-info-p
            • Vl-rhs
            • Fgl-satlink-monolithic-sat-config
            • Constraint-tuple
            • Svexl-node
            • Ringosc3
            • Prof-entry-p
            • Constraint-tuple-p
            • Fgl-rune
            • Stv-spec-p
            • Svex-scc-consts
            • Base-fsm
            • Svtv-precompose-data
            • Pipeline-setup
            • Svl-module
            • Maybe-fgl-generic-rule
            • Frames
            • Vl-warningtree
            • Maybe-proof-obligation
            • Svtv-override-check
            • Fty-info
            • Prof-entry
            • Vl-maybe-rhs
            • Vl-parsed-ports
            • Svex-context
            • Maybe-svex
            • Maybe-simpcode
            • Maybe-rational
            • Flatten-res
            • Svex-reduce-config
            • Fty-type
            • Rewrite
            • Addnames-indices
            • Svtv*-phase
            • Fgl-binder-rune
            • Congruence-rule
            • Vl-ctxexpr
            • Rsh-of-concat-table
            • Chase-position
            • Hyp-tuple-p
            • Glcp-obj-ctrex-p
            • Glcp-bit-ctrex-p
            • Boundrw-subst-p
            • Svtv-cyclephase
            • Svar-split
            • Scopetree
            • Flatnorm-res
            • Fgl-rule
            • Constraint-rule
            • Vl-user-paramsetting
            • Svtv-composedata
            • Width-of-svex-extn
            • Array-fieldinfo-p
            • Wcp-example-app-p
            • Svtv*-input
            • Svtv-override-triple
            • Svtv-evaldata
            • Svex-override-triple
            • Svar-override-triple
            • Constraint-rule-p
            • Vl-parsed-ports
            • Svtv-assigns-override-config
            • Svex/index
            • Svl-env
            • Svl-aliasdb
            • Inverter
            • Fgl-binder-rule
            • Bvar-db-consistency-error
            • Wcp-lit-actions-p
            • Vcd-multivector-p
            • Svtv-fsm
            • Svexl
            • Constraint-instance
            • Vl-parsestate
            • Partsum-comp
            • Classname/params
            • Vcd-vector-p
            • Tmp-occ
            • Svl-occ
            • Svexllist
            • Svexl-alist
            • Integerp-of-svex-extn
            • Uninterpreted
            • Rw-pair
            • Vl-echar-raw
            • Vl-echar-raw
            • Use-set
            • Svtv-probe
            • Svex-phase-varname
            • Svex-cycle-varname
            • Svex-alistlist-eval-equiv
            • Svex-alist-eval-equiv!
            • Svex-alist-eval-equiv
            • Range
            • Phase-fsm-config
            • Constraint
            • Alias
            • Sig
            • Sandwich
            • Cgraph-derivstate
            • Candidate-assign
            • Svex-envlists-equivalent
            • Scalar-fieldinfo-p
            • Fgl-ev-congruence-rulelist-correct-p
            • N-outputs-dom-supergates-sweep-config
            • Truth4arr
            • Npn4arr
            • Flatnorm-setup
            • G-map-tag
            • Obs-sdom-array
            • Dom-supergates-sweep-config
            • Syndef::acid4
            • Svex-envlists-similar
            • Svex-alist-compose-equiv
            • Sym-prod
            • Fgl-congruence-rune
            • U32arr
            • Litarr
            • Aigtrans
            • Svexlist-eval-equiv
            • Svex-eval-equiv
            • N-outputs-unreachability-config
            • Unreachability-config
            • Keys-equiv
            • Vl-maybe-exprtype-list-p
            • Svex-alistlist
            • List-notin
            • Vcd-multivectorlist-p
            • Vcd-indexlist-p
            • Field-spec-listp
            • Alternative-spec-listp
            • Variable-listp
            • Prof-entrylist-p
            • Glcp-obj-ctrexlist-p
            • Pseudo-input-listp
            • Boundrw-substlist-p
            • Vcd-vectorlist-p
            • Neteval-ordering
            • Hyp-tuplelist-p
            • Symbol-path-list-p
            • Input-listp
            • Ecutname-list-p
            • Constraintlist
            • Fgl-object-bindings
            • Fgl-generic-rule
            • Eval-formula-equiv
            • Nonkeyword-listp
            • 4v-equiv
            • Svexl-node-array
            • Sig-path
            • Func-alist
            • Fgl-generic-rune
            • Fgl-ev-iff-equiv
            • Fgl-ev-equiv
            • Pseudo-term-subst
            • Nth-lit-equiv
            • Lits-equiv
            • Frames-equiv
            • Svex-s4env
            • Svex-env-keys-equiv
            • Svex-alist-same-keys
            • Svex-alist-keys-equiv
            • Pseudo-term-alist
            • Nth-nat-equiv
            • Nth-equiv
            • Faig-const-equiv
            • Bdd-equiv
            • Vl-user-paramsettings
            • Classname/params-unparam-map
            • Obligation-hyp-list
            • Svtv*-output-alist
            • Svtv*-input-alist
            • Svtv-probealist
            • Svtv-override-triplemap
            • Svtv-cyclephaselist
            • Svex/index-maybenat-alist
            • Svex-context-alist
            • Rangemap
            • Fnsym-svexlistlist-alist
            • Tmp-occ-alist
            • Svl-module-alist
            • Svexl-node-alist
            • Occ-name-alist
            • Integerp-of-svex-extn-list
            • Alias-alist
            • Special-char-alist
            • Fty-info-alist
            • Bfr-updates
            • Term-equivs
            • Term-bvars
            • Sig-table
            • Fgl-function-mode-alist
            • Ctrex-ruletable
            • Constraint-db
            • Congruence-rule-table
            • Cgraph-derivstates
            • Cgraph-alist
            • Cgraph
            • Casesplit-alist
            • Truthmap
            • Axi-map
            • Faig-fix-equiv
            • Vl-string/int-alist
            • Vl-reservedtable
            • Vl-echarlist
            • Vl-ctxexprlist
            • Vl-coredatatype-infolist
            • Vl-usertypes
            • Vl-coredatatype-infolist
            • Proof-obligation-list
            • Use-set-summaries
            • Svtv-rev-probealist
            • Svex/index-nat-alist
            • Svex/index-key-alist
            • Svex-key-alist
            • Svex-envlist
            • Svar-width-map
            • Svar-splittab
            • Svar-key-alist
            • Rsh-of-concat-alist
            • Path-alist
            • Name-alist
            • Address-alist
            • Width-of-svex-extn-list
            • Svl-occ-alist
            • Symbol-string-alist
            • Symbol-integer-alist
            • Sym-nat-alist
            • String-string-alist
            • Fty-types
            • Fty-field-alist
            • Any-table
            • Obj-alist
            • Nat-nat-alist
            • Constraint-instancelist
            • Congruence-rulelist
            • Calist
            • Bvar-db-consistency-errorlist
            • Var-counts-alist
            • Pseudo-var-list
            • Equiv-contextslist
            • Nat-val-alistp
            • Id-neg-alist
            • String-keyed-alist-p
            • Vl-reportcardkeylist
            • Partsumlist
            • Partsum-elt
            • Classname/paramslist
            • Vl-reportcardkeylist
            • Vl-locationlist
            • Vl-echarlist
            • Perm4-list
            • Svtv*-phaselist
            • Svtv-override-triplemaplist
            • Svtv-override-triplelist
            • Svtv-override-checklist
            • Svtv-name-lhs-map-list
            • Svtv-data$c-field-p
            • Svex/indexlist
            • Svexlistlist
            • Svex-override-triplelistlist
            • Svex-override-triplelist
            • Svex-contextlist
            • Svarlist-list
            • Svar-override-triplelistlist
            • Svar-override-triplelist
            • Rangelist
            • Chase-stack
            • Addresslist
            • 4veclistlist
            • Occ-name-list
            • Alias-lst
            • Word-list
            • Sig-path-list
            • Function-option-name-lst
            • Any-trace
            • Bfr-varnamelist
            • Aig-varlist
            • Scratch-nontagidxlist
            • Prof-entrylist
            • Interp-st-field-p
            • Fgl-runelist
            • Fgl-rulelist
            • Fgl-object-bindingslist
            • Fgl-congruence-runelist
            • Fgl-binder-runelist
            • Fgl-binder-rulelist
            • Ctrex-rulelist
            • Constraint-tuplelist
            • Cgraph-edgelist
            • Candidate-assigns
            • Rw-pairlist
            • Rewritelist
            • Equiv-contexts
            • Bindinglist
            • Pos-list
            • Obs-sdom-info-list
            • Cutinfolist
            • Bit-list
            • Axi-termlist
            • Axi-litlist
            • Symbol-pseudoterm-alist
            • Vl-user-paramsettings-mode-p
            • Ipasir-status-p
            • Ctrex-ruletype-p
            • String-stringlist-alist
            • St-hyp-method-p
            • Axi-op-p
            • Vl-opacity-p
            • Svar-overridetype-p
            • Scratchobj-kind-p
            • Logicman-field-p
            • Env$-field-p
            • *atc-apconvert-rules*
            • Axi
            • *smt-architecture*
            • *vl-directions-kwds*
            • *vl-directions-kwd-alist*
            • *atc-object-designator-rules*
            • Rlp-trees
          • Save
          • Defsection
          • Markup
          • Preprocessor
          • Emacs-links
          • Defxdoc
          • Katex-integration
          • Constructors
          • Entities
          • Save-rendered
          • Add-resource-directory
          • Defxdoc+
          • Testing
          • Order-subtopics
          • Save-rendered-event
          • Archive-matching-topics
          • Missing-parents
          • Archive-xdoc
          • Xdoc-extend
          • Set-default-parents
          • Defpointer
          • Defxdoc-raw
          • Xdoc-tests
          • Xdoc-prepend
          • Defsection-progn
          • Gen-xdoc-for-file
        • ACL2-doc
        • Pointers
        • Doc
        • Documentation-copyright
        • Args
        • ACL2-doc-summary
        • Finding-documentation
        • Broken-link
      • Books
      • Recursion-and-induction
      • Boolean-reasoning
      • Debugging
      • Projects
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Testing-utilities
      • Math
    • Undocumented

    Ecut-wirename-alistp

    (ecut-wirename-alistp x) recognizes association lists where every key satisfies symbolp and each value satisfies ecutnames-p.

    This is an ordinary std::defalist.

    Function: ecut-wirename-alistp

    (defun ecut-wirename-alistp (x)
           (declare (xargs :guard t))
           (if (consp x)
               (and (consp (car x))
                    (symbolp (caar x))
                    (ecutnames-p (cdar x))
                    (ecut-wirename-alistp (cdr x)))
               t))

    Definitions and Theorems

    Function: ecut-wirename-alistp

    (defun ecut-wirename-alistp (x)
           (declare (xargs :guard t))
           (if (consp x)
               (and (consp (car x))
                    (symbolp (caar x))
                    (ecutnames-p (cdar x))
                    (ecut-wirename-alistp (cdr x)))
               t))

    Theorem: ecut-wirename-alistp-of-revappend

    (defthm ecut-wirename-alistp-of-revappend
            (equal (ecut-wirename-alistp (revappend x y))
                   (and (ecut-wirename-alistp (list-fix x))
                        (ecut-wirename-alistp y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-remove

    (defthm ecut-wirename-alistp-of-remove
            (implies (ecut-wirename-alistp x)
                     (ecut-wirename-alistp (remove a x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-last

    (defthm ecut-wirename-alistp-of-last
            (implies (ecut-wirename-alistp (double-rewrite x))
                     (ecut-wirename-alistp (last x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-nthcdr

    (defthm ecut-wirename-alistp-of-nthcdr
            (implies (ecut-wirename-alistp (double-rewrite x))
                     (ecut-wirename-alistp (nthcdr n x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-butlast

    (defthm ecut-wirename-alistp-of-butlast
            (implies (ecut-wirename-alistp (double-rewrite x))
                     (ecut-wirename-alistp (butlast x n)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-update-nth

    (defthm ecut-wirename-alistp-of-update-nth
            (implies (ecut-wirename-alistp (double-rewrite x))
                     (iff (ecut-wirename-alistp (update-nth n y x))
                          (and (and (consp y)
                                    (symbolp (car y))
                                    (ecutnames-p (cdr y)))
                               (or (<= (nfix n) (len x))
                                   (and (consp nil)
                                        (symbolp (car nil))
                                        (ecutnames-p (cdr nil)))))))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-repeat

    (defthm ecut-wirename-alistp-of-repeat
            (iff (ecut-wirename-alistp (repeat n x))
                 (or (and (consp x)
                          (symbolp (car x))
                          (ecutnames-p (cdr x)))
                     (zp n)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-take

    (defthm ecut-wirename-alistp-of-take
            (implies (ecut-wirename-alistp (double-rewrite x))
                     (iff (ecut-wirename-alistp (take n x))
                          (or (and (consp nil)
                                   (symbolp (car nil))
                                   (ecutnames-p (cdr nil)))
                              (<= (nfix n) (len x)))))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-union-equal

    (defthm ecut-wirename-alistp-of-union-equal
            (equal (ecut-wirename-alistp (union-equal x y))
                   (and (ecut-wirename-alistp (list-fix x))
                        (ecut-wirename-alistp (double-rewrite y))))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-intersection-equal-2

    (defthm ecut-wirename-alistp-of-intersection-equal-2
            (implies (ecut-wirename-alistp (double-rewrite y))
                     (ecut-wirename-alistp (intersection-equal x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-intersection-equal-1

    (defthm ecut-wirename-alistp-of-intersection-equal-1
            (implies (ecut-wirename-alistp (double-rewrite x))
                     (ecut-wirename-alistp (intersection-equal x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-set-difference-equal

    (defthm ecut-wirename-alistp-of-set-difference-equal
            (implies (ecut-wirename-alistp x)
                     (ecut-wirename-alistp (set-difference-equal x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-set-equiv-congruence

    (defthm ecut-wirename-alistp-set-equiv-congruence
            (implies (set-equiv x y)
                     (equal (ecut-wirename-alistp x)
                            (ecut-wirename-alistp y)))
            :rule-classes :congruence)

    Theorem: ecut-wirename-alistp-when-subsetp-equal

    (defthm ecut-wirename-alistp-when-subsetp-equal
            (and (implies (and (subsetp-equal x y)
                               (ecut-wirename-alistp y))
                          (ecut-wirename-alistp x))
                 (implies (and (ecut-wirename-alistp y)
                               (subsetp-equal x y))
                          (ecut-wirename-alistp x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-rcons

    (defthm ecut-wirename-alistp-of-rcons
            (iff (ecut-wirename-alistp (rcons a x))
                 (and (and (consp a)
                           (symbolp (car a))
                           (ecutnames-p (cdr a)))
                      (ecut-wirename-alistp (list-fix x))))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-rev

    (defthm ecut-wirename-alistp-of-rev
            (equal (ecut-wirename-alistp (rev x))
                   (ecut-wirename-alistp (list-fix x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-duplicated-members

    (defthm ecut-wirename-alistp-of-duplicated-members
            (implies (ecut-wirename-alistp x)
                     (ecut-wirename-alistp (duplicated-members x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-difference

    (defthm ecut-wirename-alistp-of-difference
            (implies (ecut-wirename-alistp x)
                     (ecut-wirename-alistp (set::difference x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-intersect-2

    (defthm ecut-wirename-alistp-of-intersect-2
            (implies (ecut-wirename-alistp y)
                     (ecut-wirename-alistp (set::intersect x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-intersect-1

    (defthm ecut-wirename-alistp-of-intersect-1
            (implies (ecut-wirename-alistp x)
                     (ecut-wirename-alistp (set::intersect x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-union

    (defthm ecut-wirename-alistp-of-union
            (iff (ecut-wirename-alistp (set::union x y))
                 (and (ecut-wirename-alistp (set::sfix x))
                      (ecut-wirename-alistp (set::sfix y))))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-mergesort

    (defthm ecut-wirename-alistp-of-mergesort
            (iff (ecut-wirename-alistp (set::mergesort x))
                 (ecut-wirename-alistp (list-fix x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-delete

    (defthm ecut-wirename-alistp-of-delete
            (implies (ecut-wirename-alistp x)
                     (ecut-wirename-alistp (set::delete k x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-insert

    (defthm ecut-wirename-alistp-of-insert
            (iff (ecut-wirename-alistp (set::insert a x))
                 (and (ecut-wirename-alistp (set::sfix x))
                      (and (consp a)
                           (symbolp (car a))
                           (ecutnames-p (cdr a)))))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-sfix

    (defthm ecut-wirename-alistp-of-sfix
            (iff (ecut-wirename-alistp (set::sfix x))
                 (or (ecut-wirename-alistp x)
                     (not (set::setp x))))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-list-fix

    (defthm ecut-wirename-alistp-of-list-fix
            (equal (ecut-wirename-alistp (list-fix x))
                   (ecut-wirename-alistp x))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-append

    (defthm ecut-wirename-alistp-of-append
            (equal (ecut-wirename-alistp (append a b))
                   (and (ecut-wirename-alistp a)
                        (ecut-wirename-alistp b)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-when-not-consp

    (defthm ecut-wirename-alistp-when-not-consp
            (implies (not (consp x))
                     (ecut-wirename-alistp x))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-cdr-when-ecut-wirename-alistp

    (defthm ecut-wirename-alistp-of-cdr-when-ecut-wirename-alistp
            (implies (ecut-wirename-alistp (double-rewrite x))
                     (ecut-wirename-alistp (cdr x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-cons

    (defthm ecut-wirename-alistp-of-cons
            (equal (ecut-wirename-alistp (cons a x))
                   (and (and (consp a)
                             (symbolp (car a))
                             (ecutnames-p (cdr a)))
                        (ecut-wirename-alistp x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-make-fal

    (defthm ecut-wirename-alistp-of-make-fal
            (implies (and (ecut-wirename-alistp x)
                          (ecut-wirename-alistp y))
                     (ecut-wirename-alistp (make-fal x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecutnames-p-of-cdr-when-member-equal-of-ecut-wirename-alistp

    (defthm ecutnames-p-of-cdr-when-member-equal-of-ecut-wirename-alistp
            (and (implies (and (ecut-wirename-alistp x)
                               (member-equal a x))
                          (ecutnames-p (cdr a)))
                 (implies (and (member-equal a x)
                               (ecut-wirename-alistp x))
                          (ecutnames-p (cdr a))))
            :rule-classes ((:rewrite)))

    Theorem: symbolp-of-car-when-member-equal-of-ecut-wirename-alistp

    (defthm symbolp-of-car-when-member-equal-of-ecut-wirename-alistp
            (and (implies (and (ecut-wirename-alistp x)
                               (member-equal a x))
                          (symbolp (car a)))
                 (implies (and (member-equal a x)
                               (ecut-wirename-alistp x))
                          (symbolp (car a))))
            :rule-classes ((:rewrite)))

    Theorem: consp-when-member-equal-of-ecut-wirename-alistp

    (defthm consp-when-member-equal-of-ecut-wirename-alistp
            (implies (and (ecut-wirename-alistp x)
                          (member-equal a x))
                     (consp a))
            :rule-classes
            ((:rewrite :backchain-limit-lst (0 0))
             (:rewrite :backchain-limit-lst (0 0)
                       :corollary (implies (if (member-equal a x)
                                               (ecut-wirename-alistp x)
                                               'nil)
                                           (consp a)))))

    Theorem: ecut-wirename-alistp-of-fast-alist-clean

    (defthm ecut-wirename-alistp-of-fast-alist-clean
            (implies (ecut-wirename-alistp x)
                     (ecut-wirename-alistp (fast-alist-clean x)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-hons-shrink-alist

    (defthm ecut-wirename-alistp-of-hons-shrink-alist
            (implies (and (ecut-wirename-alistp x)
                          (ecut-wirename-alistp y))
                     (ecut-wirename-alistp (hons-shrink-alist x y)))
            :rule-classes ((:rewrite)))

    Theorem: ecut-wirename-alistp-of-hons-acons

    (defthm ecut-wirename-alistp-of-hons-acons
            (equal (ecut-wirename-alistp (hons-acons a n x))
                   (and (symbolp a)
                        (ecutnames-p n)
                        (ecut-wirename-alistp x)))
            :rule-classes ((:rewrite)))

    Theorem: ecutnames-p-of-cdr-of-hons-assoc-equal-when-ecut-wirename-alistp

    (defthm
        ecutnames-p-of-cdr-of-hons-assoc-equal-when-ecut-wirename-alistp
        (implies (ecut-wirename-alistp x)
                 (iff (ecutnames-p (cdr (hons-assoc-equal k x)))
                      (hons-assoc-equal k x)))
        :rule-classes ((:rewrite)))

    Theorem: ecutnames-p-of-cdar-when-ecut-wirename-alistp

    (defthm ecutnames-p-of-cdar-when-ecut-wirename-alistp
            (implies (ecut-wirename-alistp x)
                     (iff (ecutnames-p (cdar x)) (consp x)))
            :rule-classes ((:rewrite)))

    Theorem: symbolp-of-caar-when-ecut-wirename-alistp

    (defthm symbolp-of-caar-when-ecut-wirename-alistp
            (implies (ecut-wirename-alistp x)
                     (symbolp (caar x)))
            :rule-classes ((:rewrite)))