• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • Zcash
        • Yul
          • Transformations
          • Language
            • Abstract-syntax
              • Escape
              • Swcase-list->value-list
              • Hex-digit-list->chars
              • Fundef-list->name-list
              • Literal
              • Path
              • Hex-string-rest-element
                • Hex-string-rest-element-fix
                • Hex-string-rest-element-equiv
                • Make-hex-string-rest-element
                • Hex-string-rest-element->uscorep
                • Hex-string-rest-element->pair
                • Change-hex-string-rest-element
                • Hex-string-rest-elementp
              • Plain-string
              • String-element
              • Hex-string-content-option
              • Hex-string-content
              • Identifier
              • Funcall-option
              • Expression-option
              • Statement-option
              • Literal-option
              • Identifier-option
              • Hex-string
              • Hex-quad
              • Hex-digit
              • Hex-pair
              • Data-value
              • Data-item
              • Statements-to-fundefs
              • String-element-list-result
              • Identifier-identifier-map-result
              • Swcase-result
              • String-element-result
              • Statement-result
              • Literal-result
              • Identifier-set-result
              • Identifier-result
              • Identifier-list-result
              • Fundef-result
              • Funcall-result
              • Expression-result
              • Escape-result
              • Path-result
              • Block-result
              • Objects
              • Statements/blocks/cases/fundefs
              • Identifier-list
              • Identifier-set
              • Identifier-identifier-map
              • Identifier-identifier-alist
              • Hex-string-rest-element-list
              • String-element-list
              • Path-list
              • Hex-digit-list
              • Literal-list
              • Fundef-list
              • Expressions/funcalls
              • Abstract-syntax-induction-schemas
            • Dynamic-semantics
            • Concrete-syntax
            • Static-soundness
            • Static-semantics
            • Errors
          • Yul-json
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Axe
        • Lists-light
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Abstract-syntax

Hex-string-rest-element

Fixtype of elements of hex strings after the first one.

This is a product type introduced by fty::defprod.

Fields
uscorep — booleanp
pair — hex-pair

The grammar defines the content of a hex string as consisting of zero or more pairs of hex digits, where the pairs may be optionally separated by single underscores. In order to retain that concrete syntax information in the abstract syntax, this fixtype captures the notion of something of the form _hh or hh, where each h is a (potentially different) hex digit. A value of this fixtype represents an element of a hex string, but not the first element, which may not be preceded by underscore.

Subtopics

Hex-string-rest-element-fix
Fixing function for hex-string-rest-element structures.
Hex-string-rest-element-equiv
Basic equivalence relation for hex-string-rest-element structures.
Make-hex-string-rest-element
Basic constructor macro for hex-string-rest-element structures.
Hex-string-rest-element->uscorep
Get the uscorep field from a hex-string-rest-element.
Hex-string-rest-element->pair
Get the pair field from a hex-string-rest-element.
Change-hex-string-rest-element
Modifying constructor for hex-string-rest-element structures.
Hex-string-rest-elementp
Recognizer for hex-string-rest-element structures.