• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
        • Mlib
        • Transforms
          • Unparameterization
          • Elaborate
          • Addnames
          • Annotate
            • Increment-elim
            • Make-implicit-wires
            • Basic-bind-elim
            • Argresolve
            • Basicsanity
              • Vl-interfacelist-basicsanity
              • Vl-modport-portlist->names
              • Vl-modulelist-basicsanity
              • Vl-modport-portlist-check-wellformed
              • Vl-modport-port-check-wellformed
              • Vl-interface-check-modinst-is-subinterface
              • Vl-interface-check-modinsts-are-subinterfaces
              • Vl-modport-portcheck
              • Vl-modportlist-portcheck
              • Vl-interface-basicsanity
              • Vl-port-check-style
              • Vl-portlist-check-style
              • Vl-module-basicsanity
              • Vl-portlist-check-wellformed
              • Vl-port-check-wellformed
              • Vl-design-basicsanity
              • Vl-pps-expr-elided
              • Portdecl-sign
              • Enum-names
              • Port-resolve
              • Udp-elim
              • Vl-annotate-design
              • Vl-annotate-module
            • Clean-warnings
            • Eliminitial
            • Custom-transform-hooks
            • Problem-modules
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Basicsanity

    Vl-pps-expr-elided

    Signature
    (vl-pps-expr-elided x) → str
    Arguments
    x — Guard (vl-expr-p x).
    Returns
    str — Type (stringp str).

    Definitions and Theorems

    Function: vl-pps-expr-elided

    (defun vl-pps-expr-elided (x)
      (declare (xargs :guard (vl-expr-p x)))
      (let ((__function__ 'vl-pps-expr-elided))
        (declare (ignorable __function__))
        (b* ((str (vl-pps-expr x))
             ((when (<= (length str) 50)) str))
          (cat (subseq str 0 50) "..."))))

    Theorem: stringp-of-vl-pps-expr-elided

    (defthm stringp-of-vl-pps-expr-elided
      (b* ((str (vl-pps-expr-elided x)))
        (stringp str))
      :rule-classes :type-prescription)

    Theorem: vl-pps-expr-elided-of-vl-expr-fix-x

    (defthm vl-pps-expr-elided-of-vl-expr-fix-x
      (equal (vl-pps-expr-elided (vl-expr-fix x))
             (vl-pps-expr-elided x)))

    Theorem: vl-pps-expr-elided-vl-expr-equiv-congruence-on-x

    (defthm vl-pps-expr-elided-vl-expr-equiv-congruence-on-x
      (implies (vl-expr-equiv x x-equiv)
               (equal (vl-pps-expr-elided x)
                      (vl-pps-expr-elided x-equiv)))
      :rule-classes :congruence)