• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
          • Vl-warninglist->types
          • Vl-warning
          • Propagating-errors
          • Vl-reportcard
            • Vl-reportcard-p
            • Vl-apply-reportcard
            • Vl-reportcard-fix
            • Vl-extend-reportcard-list
            • Vl-design-origname-reportcard
            • Vl-design-reportcard
            • Vl-extend-reportcard
            • Vl-reportcard-revive-invalid-warnings
            • Vl-clean-reportcard
            • Vl-reportcard-equiv
            • Vl-print-reportcard
              • Vl-elide-warnings
              • Vl-print-reportcard-aux
            • Vl-reportcard-to-string
            • Vl-keep-from-reportcard
            • Vl-reportcard-types
            • Vl-reportcardkey-p
          • Vl-warning-sort
          • Lint-warning-suppression
          • Clean-warnings
          • Warn
          • Vl-print-warnings-with-header
          • Vl-some-warning-fatalp
          • Vl-print-warnings-with-named-header
          • Flat-warnings
          • Vl-remove-warnings
          • Vl-keep-warnings
          • Vl-print-warnings
          • Vl-some-warning-of-type-p
          • Vl-clean-warnings
          • Vl-warnings-to-string
          • Vl-warninglist
          • Vl-print-warning
          • Ok
          • Vl-trace-warnings
          • Fatal
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
        • Server
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Vl-reportcard

Vl-print-reportcard

Pretty-print a vl-reportcard-p.

Signature
(vl-print-reportcard x &key (elide '3) (ps 'ps)) → ps
Arguments
x — Guard (vl-reportcard-p x).
elide — Guard (maybe-natp elide).

See also vl-reportcard-to-string.

Definitions and Theorems

Function: vl-print-reportcard-fn

(defun vl-print-reportcard-fn (x elide ps)
  (declare (xargs :stobjs (ps)))
  (declare (xargs :guard (and (vl-reportcard-p x)
                              (maybe-natp elide))))
  (let ((__function__ 'vl-print-reportcard))
    (declare (ignorable __function__))
    (b* ((x (vl-reportcard-fix x))
         (x-shrink (hons-shrink-alist x nil))
         (- (fast-alist-free x-shrink))
         (x-sorted (mergesort x-shrink)))
      (vl-print-reportcard-aux x-sorted elide))))

Theorem: vl-print-reportcard-fn-of-vl-reportcard-fix-x

(defthm vl-print-reportcard-fn-of-vl-reportcard-fix-x
  (equal (vl-print-reportcard-fn (vl-reportcard-fix x)
                                 elide ps)
         (vl-print-reportcard-fn x elide ps)))

Theorem: vl-print-reportcard-fn-vl-reportcard-equiv-congruence-on-x

(defthm vl-print-reportcard-fn-vl-reportcard-equiv-congruence-on-x
  (implies (vl-reportcard-equiv x x-equiv)
           (equal (vl-print-reportcard-fn x elide ps)
                  (vl-print-reportcard-fn x-equiv elide ps)))
  :rule-classes :congruence)

Theorem: vl-print-reportcard-fn-of-maybe-natp-fix-elide

(defthm vl-print-reportcard-fn-of-maybe-natp-fix-elide
  (equal (vl-print-reportcard-fn x (maybe-natp-fix elide)
                                 ps)
         (vl-print-reportcard-fn x elide ps)))

Theorem: vl-print-reportcard-fn-maybe-nat-equiv-congruence-on-elide

(defthm vl-print-reportcard-fn-maybe-nat-equiv-congruence-on-elide
  (implies (acl2::maybe-nat-equiv elide elide-equiv)
           (equal (vl-print-reportcard-fn x elide ps)
                  (vl-print-reportcard-fn x elide-equiv ps)))
  :rule-classes :congruence)

Subtopics

Vl-elide-warnings
Cut down excessive warnings of certain types.
Vl-print-reportcard-aux