• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
        • Syntax-for-tools
        • Atc
        • Language
          • Abstract-syntax
          • Integer-ranges
            • Def-integer-range
            • Integer-type-rangep
            • Ushort-integer
            • Ullong-integer
            • Sshort-integer
            • Sllong-integer
            • Ulong-integer
            • Uint-integer
            • Uchar-integer
            • Slong-integer
            • Sint-integer
            • Schar-integer
            • Ushort-max
            • Slong-max
            • Integer-type-max
            • Sllong-max
            • Integer-type-min
            • Uint-max
            • Sint-max
            • Ulong-max
            • Uchar-max
            • Def-integer-range-loop
            • Sshort-min
              • Sshort-min-<=-schar-min
              • Sshort-min-vs-sint-min
              • Sint-min-<=-sshort-min
              • Schar-min-vs-sshort-min
            • Sshort-max
            • Slong-min
            • Sint-min
            • Ullong-max
            • Sllong-min
            • Schar-min
            • Schar-max
            • Ushort-integer-list
            • Ulong-integer-list
            • Ullong-integer-list
            • Uint-integer-list
            • Uchar-integer-list
            • Sshort-integer-list
            • Slong-integer-list
            • Sllong-integer-list
            • Sint-integer-list
            • Schar-integer-list
            • Uchar-integerp-alt-def
            • Ushort-integerp-alt-def
            • Ulong-integerp-alt-def
            • Ullong-integerp-alt-def
            • Uint-integerp-alt-def
            • Sshort-integerp-alt-def
            • Slong-integerp-alt-def
            • Sllong-integerp-alt-def
            • Sint-integerp-alt-def
            • Schar-integerp-alt-def
          • Implementation-environments
          • Dynamic-semantics
          • Static-semantics
          • Grammar
          • Integer-formats
          • Types
          • Portable-ascii-identifiers
          • Values
          • Integer-operations
          • Computation-states
          • Object-designators
          • Operations
          • Errors
          • Tag-environments
          • Function-environments
          • Character-sets
          • Flexible-array-member-removal
          • Arithmetic-operations
          • Pointer-operations
          • Bytes
          • Keywords
          • Real-operations
          • Array-operations
          • Scalar-operations
          • Structure-operations
        • Representation
        • Transformation-tools
        • Insertion-sort
        • Pack
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Integer-ranges

Sshort-min

Minimum ACL2 integer value of type signed short.

Signature
(sshort-min) → sshort-min
Returns
sshort-min — Type (integerp sshort-min).

Definitions and Theorems

Function: sshort-min

(defun sshort-min nil
  (declare (xargs :guard t))
  (let ((__function__ 'sshort-min))
    (declare (ignorable __function__))
    (- (expt 2 (1- (short-bits))))))

Theorem: integerp-of-sshort-min

(defthm integerp-of-sshort-min
  (b* ((sshort-min (sshort-min)))
    (integerp sshort-min))
  :rule-classes :type-prescription)

Theorem: sshort-min-bound

(defthm sshort-min-bound
  (<= (sshort-min) -32768)
  :rule-classes :linear)

Subtopics

Sshort-min-<=-schar-min
General relation between signed short and signed char minima.
Sshort-min-vs-sint-min
Relation between signed short and signed int minima.
Sint-min-<=-sshort-min
General relation between signed int and signed short minima.
Schar-min-vs-sshort-min
Relation between signed char and signed short minima.