• 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
        • Representation
          • Representation-of-integer-operations
          • Atc-arrays
          • Representation-of-integers
          • Representation-of-integer-conversions
          • Pointed-integers
            • Def-pointed-integer-operations
            • Def-pointed-integer-operations-loop
            • Ushort-write
            • Ullong-write
            • Sshort-write
            • Sllong-write
              • Ulong-write
              • Uint-write
              • Uchar-write
              • Slong-write
              • Sint-write
              • Schar-write
              • Ushort-read
              • Ullong-read
              • Sshort-read
              • Sllong-read
              • Ulong-read
              • Uint-read
              • Uchar-read
              • Slong-read
              • Sint-read
              • Schar-read
            • Shallow-deep-embedding-relation
          • 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
    • Pointed-integers

    Sllong-write

    Representation of a write of a pointed type signed long long.

    Signature
    (sllong-write x) → x
    Arguments
    x — Guard (sllongp x).
    Returns
    x — Type (star (sllongp x)).

    Definitions and Theorems

    Function: sllong-write

    (defun sllong-write (x)
      (declare (xargs :guard (sllongp x)))
      (let ((__function__ 'sllong-write))
        (declare (ignorable __function__))
        (sllong-fix x)))

    Theorem: return-type-of-sllong-write

    (defthm return-type-of-sllong-write
      (b* ((x (sllong-write x)))
        (star (sllongp x)))
      :rule-classes :rewrite)

    Theorem: sllongp-of-sllong-write

    (defthm sllongp-of-sllong-write
      (b* ((x (sllong-write x))) (sllongp x))
      :rule-classes :rewrite)

    Theorem: sllong-write-of-sllong-fix-x

    (defthm sllong-write-of-sllong-fix-x
      (equal (sllong-write (sllong-fix x))
             (sllong-write x)))

    Theorem: sllong-write-sllong-equiv-congruence-on-x

    (defthm sllong-write-sllong-equiv-congruence-on-x
      (implies (sllong-equiv x x-equiv)
               (equal (sllong-write x)
                      (sllong-write x-equiv)))
      :rule-classes :congruence)