• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Error-checking
        • Apt
        • Abnf
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Prime-field-constraint-systems
        • Soft
        • Bv
        • Imp-language
        • Event-macros
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Java
        • C
          • Atc
          • Language
          • Representation
            • Representation-of-integer-operations
            • Representation-of-integers
              • Def-integer-values
              • Ushort-list-from-integer-list
              • Ullong-list-from-integer-list
              • Sshort-list-from-integer-list
              • Sllong-list-from-integer-list
              • Integer-list-from-ushort-list
              • Integer-list-from-ullong-list
              • Integer-list-from-sshort-list
              • Integer-list-from-sllong-list
              • Ulong-list-from-integer-list
              • Uchar-list-from-integer-list
              • Slong-list-from-integer-list
              • Sintp
              • Schar-list-from-integer-list
              • Integer-list-from-ulong-list
              • Integer-list-from-uchar-list
              • Integer-list-from-slong-list
              • Integer-list-from-schar-list
              • Ushortp
              • Ulongp
              • Ullongp
              • Uintp
              • Uint-list-from-integer-list
              • Ucharp
              • Sint-list-from-integer-list
              • Integer-list-from-uint-list
              • Integer-list-from-sint-list
              • Sllongp
                • Slongp
                • Sshortp
                • Scharp
                • Integer-from-sshort
                • Integer-from-slong
                • Integer-from-sllong
                • Integer-from-sint
                • Integer-from-schar
                • Integer-type-to-fixtype
                • Integer-from-ullong
                • Integer-from-ushort
                • Integer-from-ulong
                • Integer-from-uint
                • Integer-from-uchar
                • Sint-from-integer
                • Sint
                • Fixtype-to-integer-type
                • Def-integer-values-loop
                • Ushort-from-integer
                • Ullong-from-integer
                • Sshort-from-integer
                • Sllong-from-integer
                • Ushort-from-integer-mod
                • Ulong-from-integer-mod
                • Ulong-from-integer
                • Ullong-from-integer-mod
                • Uint-from-integer-mod
                • Uint-from-integer
                • Uchar-from-integer-mod
                • Uchar-from-integer
                • Slong-from-integer
                • Schar-from-integer
                • Ushort
                • Ullong
                • Uchar
                • Sshort
                • Sllong
                • Schar
                • Ulong
                • Uint
                • Slong
                • Ushort-fix
                • Ullong-fix
                • Sllong-fix
                • Sint-fix
                • Ulong-fix
                • Uint-fix
                • Uchar-fix
                • Sshort-fix
                • Slong-fix
                • Schar-fix
                • Ushort-list
                • Ulong-list
                • Ullong-list
                • Uint-list
                • Uchar-list
                • Sshort-list
                • Slong-list
                • Sllong-list
                • Sint-list
                • Schar-list
                • Integer-type-to/from-fixtype-theorems
                • *nonchar-integer-fixtypes*
              • Representation-of-integer-conversions
            • Pack
          • Syntheto
          • Number-theory
          • Cryptography
          • Lists-light
          • File-io-light
          • Json
          • Built-ins
          • Solidity
          • Axe
          • Std-extensions
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Execloader
        • Axe
      • Testing-utilities
      • Math
    • Representation-of-integers

    Sllongp

    Recognizer of values of type signed long long.

    Signature
    (sllongp x) → yes/no
    Returns
    yes/no — Type (booleanp yes/no).

    Definitions and Theorems

    Function: sllongp

    (defun sllongp (x)
           (declare (xargs :guard t))
           (let ((__function__ 'sllongp))
                (declare (ignorable __function__))
                (and (consp x)
                     (eq (car x) :sllong)
                     (true-listp (cdr x))
                     (eql (len (cdr x)) 1)
                     (b* ((get (std::da-nth 0 (cdr x))))
                         (sllong-integerp get)))))

    Theorem: booleanp-of-sllongp

    (defthm booleanp-of-sllongp
            (b* ((yes/no (sllongp x)))
                (booleanp yes/no))
            :rule-classes :rewrite)

    Theorem: consp-when-sllongp

    (defthm consp-when-sllongp
            (implies (sllongp x) (consp x))
            :rule-classes :compound-recognizer)