• 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
          • Implementation-environments
          • Dynamic-semantics
          • Static-semantics
          • Grammar
          • Integer-formats
          • Types
          • Portable-ascii-identifiers
          • Values
            • Pointer
            • Member-types-of-member-values
            • Member-value-list->value-list
            • Member-value-list->name-list
            • Expr-value
            • Type-list-of-value-list
            • Type-of-value
            • Value-option
            • Init-value
            • Value-result
            • Type-of-value-option
            • Value-list-result
            • Member-value-list-result
            • Init-value-result
            • Expr-value-result
            • Value-option-result
            • Signed/unsigned-byte-p-of-integer-values
            • Member-type-of-member-value
            • Bounds-of-integer-values
            • Value-promoted-arithmeticp
            • Init-type-of-init-value
            • Value-unsigned-integerp
            • Value-signed-integerp
            • Value-integerp
            • Value-arithmeticp
            • Value-scalarp
            • Value-realp
            • Values/membervalues
          • 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
  • Language

Values

A model of C values.

Here we define fixtypes for values and related entities, and some basic ACL2 operations on them (these are not C operations, which are defined separately; they are just ACL2 operations on our model of values).

Subtopics

Pointer
Fixtype of pointers.
Member-types-of-member-values
Lift member-type-of-member-value to lists.
Member-value-list->value-list
Lift member-value->value to lists.
Member-value-list->name-list
Lift member-value->name to lists.
Expr-value
Fixtype of expression values.
Type-list-of-value-list
Lift type-of-value to lists.
Type-of-value
Type of a value.
Value-option
Fixtype of optional values.
Init-value
Fixtype of initializer values.
Value-result
Fixtype of values and errors.
Type-of-value-option
Type of an optional value.
Value-list-result
Fixtype of lists of values and errors.
Member-value-list-result
Fixtype of lists of member values and errors.
Init-value-result
Fixtype of initialization values and errors.
Expr-value-result
Fixtype of expression values and errors.
Value-option-result
Fixtype of optional values and errors.
Signed/unsigned-byte-p-of-integer-values
Theorems saying that the integer values satisfy signed-byte-p and unsigned-byte-p.
Member-type-of-member-value
Member type of a member value.
Bounds-of-integer-values
Linear rules about the bounds of the integer values.
Value-promoted-arithmeticp
Check if a value is a promoted arithmetic value.
Init-type-of-init-value
Initialization type of an initialization value.
Value-unsigned-integerp
Check if a value is an unsigned integer [C17:6.2.5/6].
Value-signed-integerp
Check if a value is a signed integer [C17:6.2.5/4].
Value-integerp
Check if a value is an integer [C17:6.2.5/17].
Value-arithmeticp
Check if a value is arithmetic [C17:6.2.5/18].
Value-scalarp
Check if a value is scalar [C17:6.2.5/21].
Value-realp
Check if a value is a real [C17:6.2.5/18].
Values/membervalues
Fixtypes of values and member values.