• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Zcash
      • Des
      • X86isa
      • Sha-2
      • Yul
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Axe
      • Poseidon
      • Where-do-i-place-my-book
      • Aleo
        • Aleobft
        • Aleovm
        • Leo
          • Grammar
          • Early-version
            • Json2ast
            • Testing
            • Definition
              • Flattening
              • Abstract-syntax
              • Dynamic-semantics
                • Execution
                • Values
                • Dynamic-environments
                  • Call-dinfo
                  • Denv
                  • Update-var/const-dinfo-in-scope-list
                  • Update-var/const-dinfo-in-scope
                  • Var/const-dinfo
                  • Update-var/const-dinfo
                  • Add-var/const-dinfo-to-scope
                  • Add-var/const-dinfo
                  • Var/const-dinfo-option
                  • Get-var/const-dinfo-from-scope-list
                  • Denv-option
                  • Get-var/const-dinfo-from-scope
                  • Vcscope-dinfo-option
                  • Vcscope-dinfo-list-option
                  • Vcscope-dinfo
                  • Screens
                    • Screen-message
                      • Screen-message-fix
                      • Screen-message-case
                      • Screen-message-equiv
                      • Screen-messagep
                      • Screen-message-log
                      • Screen-message-error
                        • Screen-message-error->values
                          • Screen-message-error->string
                          • Make-screen-message-error
                          • Change-screen-message-error
                        • Screen-message-kind
                      • Screen
                      • Print-message-to-screen
                      • Screen-message-list
                      • Init-screen
                    • Get-var/const-dinfo
                    • Vcscope-dinfo-option-result
                    • Vcscope-dinfo-list-result
                    • Vcscope-dinfo-result
                    • Dynamic-struct-environments
                    • Dynamic-function-environments
                    • Denv-result
                    • Init-denv
                    • Vcscope-dinfo-list
                    • Call-dinfo-list
                  • Arithmetic-operations
                  • Curve-parameterization
                  • Shift-operations
                  • Errors
                  • Value-expressions
                  • Locations
                  • Input-execution
                  • Edwards-bls12-generator
                  • Equality-operations
                  • Logical-operations
                  • Program-execution
                  • Ordering-operations
                  • Bitwise-operations
                  • Literal-evaluation
                  • Type-maps-for-struct-components
                  • Output-execution
                  • Tuple-operations
                  • Struct-operations
                • Compilation
                • Static-semantics
                • Concrete-syntax
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Screen-message-error

    Screen-message-error->values

    Get the values field from a screen-message-error.

    Signature
    (screen-message-error->values x) → values
    Arguments
    x — Guard (screen-messagep x).
    Returns
    values — Type (value-listp values).

    This is an ordinary field accessor created by fty::defprod.

    Definitions and Theorems

    Function: screen-message-error->values$inline

    (defun screen-message-error->values$inline (x)
      (declare (xargs :guard (screen-messagep x)))
      (declare (xargs :guard (equal (screen-message-kind x) :error)))
      (let ((__function__ 'screen-message-error->values))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and (equal (screen-message-kind x) :error)
                          x)))
               (value-list-fix (std::da-nth 1 (cdr x))))
             :exec (std::da-nth 1 (cdr x)))))

    Theorem: value-listp-of-screen-message-error->values

    (defthm value-listp-of-screen-message-error->values
      (b* ((values (screen-message-error->values$inline x)))
        (value-listp values))
      :rule-classes :rewrite)

    Theorem: screen-message-error->values$inline-of-screen-message-fix-x

    (defthm screen-message-error->values$inline-of-screen-message-fix-x
     (equal (screen-message-error->values$inline (screen-message-fix x))
            (screen-message-error->values$inline x)))

    Theorem: screen-message-error->values$inline-screen-message-equiv-congruence-on-x

    (defthm
     screen-message-error->values$inline-screen-message-equiv-congruence-on-x
     (implies (screen-message-equiv x x-equiv)
              (equal (screen-message-error->values$inline x)
                     (screen-message-error->values$inline x-equiv)))
     :rule-classes :congruence)

    Theorem: screen-message-error->values-when-wrong-kind

    (defthm screen-message-error->values-when-wrong-kind
      (implies (not (equal (screen-message-kind x) :error))
               (equal (screen-message-error->values x)
                      (value-list-fix nil))))