• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
      • Events
      • Parallelism
      • History
      • Programming
        • Defun
        • Declare
        • System-utilities
        • Stobj
        • State
        • Mutual-recursion
        • Memoize
        • Mbe
        • Io
        • Defpkg
        • Apply$
        • Loop$
        • Programming-with-state
        • Arrays
        • Characters
        • Time$
        • Defmacro
        • Loop$-primer
        • Fast-alists
        • Defconst
        • Evaluation
        • Guard
        • Equality-variants
        • Compilation
        • Hons
        • ACL2-built-ins
        • Developers-guide
        • System-attachments
        • Advanced-features
        • Set-check-invariant-risk
        • Numbers
          • Df
          • Unsigned-byte-p
            • Defbyte
              • Defbytelist
              • Defbyte-standard-instances
                • Ubyte5
                • Ubyte8
                • Ubyte32
                • Ubyte12
                • Ubyte64
                • Ubyte16
                • Ubyte128
                • Sbyte8
                • Sbyte64
                • Sbyte32
                • Sbyte16
                • Sbyte128
                • Ubyte20
                • Ubyte11
                • Ubyte4
                • Ubyte256
                • Sbyte256
                • Ubyte7
                • Ubyte6
                • Ubyte3
                • Ubyte2
                • Ubyte1
                • Sbyte4
                • Sbyte3
                • Sbyte2
                • Sbyte1
                • Defbyte-standard-instances-ihs-theorems
                • Defubyte
                • Defsbyte
              • Defbyte-ihs-theorems
              • Defbyte-implementation
            • Unsigned-byte-p-discussion
            • Unsigned-byte-listp
            • Bitops/signed-byte-p
            • Unsigned-byte-fix
            • Bytep
            • Nibblep
            • Ihs/unsigned-byte-p-lemmas
            • Unsigned-byte-p*
            • Unsigned-byte-p-basics
          • Posp
          • Natp
          • <
          • +
          • Bitp
          • Zero-test-idioms
          • Nat-listp
          • Integerp
          • *
          • -
          • Zp
          • Signed-byte-p
          • Logbitp
          • Sharp-f-reader
          • Expt
          • <=
          • Ash
          • Rationalp
          • =
          • Nfix
          • Logand
          • Floor
          • Random$
          • Integer-listp
          • Complex
          • Numbers-introduction
          • Truncate
          • Code-char
          • Char-code
          • Integer-length
          • Zip
          • Logior
          • Sharp-u-reader
          • Mod
          • Unary--
          • Boole$
          • /
          • Logxor
          • Ifix
          • Lognot
          • Integer-range-p
          • Allocate-fixnum-range
          • ACL2-numberp
          • Sharp-d-reader
          • Mod-expt
          • Ceiling
          • Round
          • Logeqv
          • Fix
          • Explode-nonnegative-integer
          • Max
          • Evenp
          • Zerop
          • Abs
          • Nonnegative-integer-quotient
          • Rfix
          • 1+
          • Pos-listp
          • Signum
          • Rem
          • Real/rationalp
          • Rational-listp
          • >=
          • >
          • Logcount
          • ACL2-number-listp
          • /=
          • Unary-/
          • Realfix
          • Complex/complex-rationalp
          • Logtest
          • Logandc1
          • Logorc1
          • Logandc2
          • Denominator
          • 1-
          • Numerator
          • Logorc2
          • The-number
          • Int=
          • Complex-rationalp
          • Min
          • Lognor
          • Zpf
          • Oddp
          • Minusp
          • Lognand
          • Imagpart
          • Conjugate
          • Realpart
          • Plusp
        • Efficiency
        • Irrelevant-formals
        • Introduction-to-programming-in-ACL2-for-those-who-know-lisp
        • Redefining-programs
        • Lists
        • Invariant-risk
        • Errors
        • Defabbrev
        • Conses
        • Alists
        • Set-register-invariant-risk
        • Strings
        • Program-wrapper
        • Get-internal-time
        • Basics
        • Packages
        • Oracle-eval
        • Defmacro-untouchable
        • <<
        • Primitive
        • Revert-world
        • Unmemoize
        • Set-duplicate-keys-action
        • Symbols
        • Def-list-constructor
        • Easy-simplify-term
        • Defiteration
        • Fake-oracle-eval
        • Defopen
        • Sleep
      • Operational-semantics
      • Real
      • Start-here
      • Debugging
      • Miscellaneous
      • Output-controls
      • Macros
      • Interfacing-tools
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Fty-extensions
  • Specific-types
  • Defbyte

Defbyte-standard-instances

Standard fixtypes of unsigned and signed bytes of various sizes, with some accompanying theorems.

Here `standard' means that these all have uniform structure and naming. They are unary counterparts of (unsigned-byte-p n ...) and (signed-byte-p n ...), for various values of n.

These are all generated via defbyte.

If standard (in the sense above) fixtypes of unsigned or signed bytes of a certain size are needed but are not among the ones defined here, they can be added here.

Subtopics

Ubyte5
Fixtype of unsigned bytes of size 5.
Ubyte8
Fixtype of unsigned bytes of size 8.
Ubyte32
Fixtype of unsigned bytes of size 32.
Ubyte12
Fixtype of unsigned bytes of size 12.
Ubyte64
Fixtype of unsigned bytes of size 64.
Ubyte16
Fixtype of unsigned bytes of size 16.
Ubyte128
Fixtype of unsigned bytes of size 128.
Sbyte8
Fixtype of signed bytes of size 8.
Sbyte64
Fixtype of signed bytes of size 64.
Sbyte32
Fixtype of signed bytes of size 32.
Sbyte16
Fixtype of signed bytes of size 16.
Sbyte128
Fixtype of signed bytes of size 128.
Ubyte20
Fixtype of unsigned bytes of size 20.
Ubyte11
Fixtype of unsigned bytes of size 11.
Ubyte4
Fixtype of unsigned bytes of size 4.
Ubyte256
Fixtype of unsigned bytes of size 256.
Sbyte256
Fixtype of signed bytes of size 256.
Ubyte7
Fixtype of unsigned bytes of size 7.
Ubyte6
Fixtype of unsigned bytes of size 6.
Ubyte3
Fixtype of unsigned bytes of size 3.
Ubyte2
Fixtype of unsigned bytes of size 2.
Ubyte1
Fixtype of unsigned bytes of size 1.
Sbyte4
Fixtype of signed bytes of size 4.
Sbyte3
Fixtype of signed bytes of size 3.
Sbyte2
Fixtype of signed bytes of size 2.
Sbyte1
Fixtype of signed bytes of size 1.
Defbyte-standard-instances-ihs-theorems
Theorems about defbyte standard instances and IHS functions.
Defubyte
Specialized form of defbyte for generating standard fixtypes of unsigned bytes of explicit integer sizes.
Defsbyte
Specialized form of defbyte for generating standard fixtypes of signed bytes of explicit integer sizes.