• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Soft
        • C
          • Syntax-for-tools
          • Atc
            • Atc-implementation
              • Atc-abstract-syntax
              • Atc-pretty-printer
              • Atc-event-and-code-generation
              • Fty-pseudo-term-utilities
              • Atc-term-recognizers
              • Atc-input-processing
              • Atc-shallow-embedding
                • Defstruct
                  • Defstruct-implementation
                    • Defstruct-info
                    • Defstruct-gen-recognizer
                    • Defstruct-gen-integer-member-ops
                    • Defstruct-gen-constructor
                    • Defstruct-gen-array-member-ops
                    • Defstruct-gen-recognizer-conjuncts
                    • Defstruct-member-info
                      • Defstruct-member-info-fix
                      • Make-defstruct-member-info
                      • Defstruct-member-info-equiv
                      • Defstruct-member-infop
                      • Defstruct-member-info->writer-element-return-thm
                      • Defstruct-member-info->reader-element-return-thm
                      • Change-defstruct-member-info
                      • Defstruct-member-info->writer-return-thm
                      • Defstruct-member-info->reader-return-thm
                      • Defstruct-member-info->writer-element
                      • Defstruct-member-info->reader-element
                      • Defstruct-member-info->memtype
                      • Defstruct-member-info->writer
                      • Defstruct-member-info->reader
                      • Defstruct-member-info->length
                      • Defstruct-member-info->checker
                    • Defstruct-member-info-list->memtype-list
                    • Defstruct-process-members
                    • Defstruct-gen-fixer
                    • Defstruct-gen-member-ops
                    • Defstruct-process-inputs
                    • Defstruct-gen-fixing-term
                    • Defstruct-info-option
                    • Defstruct-gen-everything
                    • Defstruct-gen-all-member-ops
                    • Defstruct-gen-recognizer-all-conjuncts
                    • Defstruct-info->writer-element-list
                    • Defstruct-info->reader-element-list
                    • Defstruct-gen-fixtype
                    • Defstruct-info->writer-list
                    • Defstruct-info->reader-list
                    • Defstruct-fn
                    • Defstruct-table-record-event
                    • Defstruct-table-lookup
                    • Irr-defstruct-info
                    • Defstruct-info->writer-element-list-aux
                    • Defstruct-info->reader-element-list-aux
                    • Defstruct-info->writer-list-aux
                    • Defstruct-info->reader-list-aux
                    • Defstruct-member-info-list
                    • Defstruct-table-definition
                    • *defstruct-table*
                    • Defstruct-macro-implementtion
                • Defobject
                • Atc-let-designations
                • Pointer-types
                • Atc-conditional-expressions
              • Atc-process-inputs-and-gen-everything
              • Atc-table
              • Atc-fn
              • Atc-pretty-printing-options
              • Atc-types
              • Atc-macro-definition
            • Atc-tutorial
          • Language
          • Representation
          • Transformation-tools
          • Insertion-sort
          • Pack
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Defstruct-implementation

Defstruct-member-info

Fixtype of information about members of shallowly embedded C structures.

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

Fields
memtype — member-type
reader — symbolp
reader-element — symbolp
writer — symbolp
writer-element — symbolp
checker — symbolp
length — symbolp
reader-return-thm — symbolp
reader-element-return-thm — symbolp
writer-return-thm — symbolp
writer-element-return-thm — symbolp

These are part of defstruct-info.

For each member, we store:

  • The member type, which consists of the name and type of the member. See member-type.
  • The name of the reader of the member. For an array member, this is the reader for the whole array.
  • The name of the reader of elements of an array member, which takes an index of any C integer type. This is nil for an integer member.
  • The name of the writer of the member. For an array member, this is the writer for the whole array.
  • The name of the writer of elements of an array member, which takes an index of any C integer type. This is nil for an integer member.
  • The name of the checker of indices of an array member, which takes indices of any C integer type. This is nil for an integer member.
  • The name of the length function of the member. This is nil except for a flexible array member.
  • The name of the return type theorem of the reader in reader.
  • The name of the return type theorem of the reader in reader-element. This is nil for an integer member.
  • The name of the return type theorem of the writer in writer.
  • The name of the return type theorem of the writer in writer-element. This is nil for an integer member.

Subtopics

Defstruct-member-info-fix
Fixing function for defstruct-member-info structures.
Make-defstruct-member-info
Basic constructor macro for defstruct-member-info structures.
Defstruct-member-info-equiv
Basic equivalence relation for defstruct-member-info structures.
Defstruct-member-infop
Recognizer for defstruct-member-info structures.
Defstruct-member-info->writer-element-return-thm
Get the writer-element-return-thm field from a defstruct-member-info.
Defstruct-member-info->reader-element-return-thm
Get the reader-element-return-thm field from a defstruct-member-info.
Change-defstruct-member-info
Modifying constructor for defstruct-member-info structures.
Defstruct-member-info->writer-return-thm
Get the writer-return-thm field from a defstruct-member-info.
Defstruct-member-info->reader-return-thm
Get the reader-return-thm field from a defstruct-member-info.
Defstruct-member-info->writer-element
Get the writer-element field from a defstruct-member-info.
Defstruct-member-info->reader-element
Get the reader-element field from a defstruct-member-info.
Defstruct-member-info->memtype
Get the memtype field from a defstruct-member-info.
Defstruct-member-info->writer
Get the writer field from a defstruct-member-info.
Defstruct-member-info->reader
Get the reader field from a defstruct-member-info.
Defstruct-member-info->length
Get the length field from a defstruct-member-info.
Defstruct-member-info->checker
Get the checker field from a defstruct-member-info.