Recognizer for vl-simpconfig structures.
(vl-simpconfig-p x) → *
Function:
(defun vl-simpconfig-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-simpconfig-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-simpconfig) (true-listp (cdr x)) (eql (len (cdr x)) 25) (b* ((compress-p (std::da-nth 0 (cdr x))) (problem-mods (std::da-nth 1 (cdr x))) (already-annotated (std::da-nth 2 (cdr x))) (unroll-limit (std::da-nth 3 (cdr x))) (sc-limit (std::da-nth 4 (cdr x))) (elab-limit (std::da-nth 5 (cdr x))) (uniquecase-conservative (std::da-nth 6 (cdr x))) (uniquecase-constraints (std::da-nth 7 (cdr x))) (?enum-constraints (std::da-nth 8 (cdr x))) (?enum-fixups (std::da-nth 9 (cdr x))) (sv-simplify (std::da-nth 10 (cdr x))) (sv-simplify-verbosep (std::da-nth 11 (cdr x))) (sv-include-atts (std::da-nth 12 (cdr x))) (nb-latch-delay-hack (std::da-nth 13 (cdr x))) (name-without-default-params (std::da-nth 14 (cdr x))) (unparam-bad-instance-fatalp (std::da-nth 15 (cdr x))) (defer-argresolve (std::da-nth 16 (cdr x))) (suppress-fatal-warning-types (std::da-nth 17 (cdr x))) (user-paramsettings (std::da-nth 18 (cdr x))) (user-paramsettings-mode (std::da-nth 19 (cdr x))) (pre-elab-topmods (std::da-nth 20 (cdr x))) (pre-elab-filter (std::da-nth 21 (cdr x))) (post-elab-topmods (std::da-nth 22 (cdr x))) (post-elab-filter (std::da-nth 23 (cdr x))) (allow-bad-topmods (std::da-nth 24 (cdr x)))) (and (booleanp compress-p) (string-listp problem-mods) (booleanp already-annotated) (natp unroll-limit) (natp sc-limit) (natp elab-limit) (natp uniquecase-conservative) (booleanp uniquecase-constraints) (booleanp sv-simplify) (booleanp sv-simplify-verbosep) (string-listp sv-include-atts) (booleanp nb-latch-delay-hack) (booleanp name-without-default-params) (booleanp unparam-bad-instance-fatalp) (booleanp defer-argresolve) (symbol-listp suppress-fatal-warning-types) (vl-user-paramsettings-p user-paramsettings) (vl-user-paramsettings-mode-p user-paramsettings-mode) (string-listp pre-elab-topmods) (booleanp pre-elab-filter) (string-listp post-elab-topmods) (booleanp post-elab-filter) (booleanp allow-bad-topmods))))))
Theorem:
(defthm consp-when-vl-simpconfig-p (implies (vl-simpconfig-p x) (consp x)) :rule-classes :compound-recognizer)