• 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
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • 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
      • 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
                      • Screen-fix
                      • Screen-equiv
                      • Make-screen
                      • Screen->messages
                        • Change-screen
                        • Screenp
                      • 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

    Screen->messages

    Get the messages field from a screen.

    Signature
    (screen->messages x) → messages
    Arguments
    x — Guard (screenp x).
    Returns
    messages — Type (screen-message-listp messages).

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

    Definitions and Theorems

    Function: screen->messages$inline

    (defun screen->messages$inline (x)
      (declare (xargs :guard (screenp x)))
      (declare (xargs :guard t))
      (let ((__function__ 'screen->messages))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (screen-message-list-fix (cdr (std::da-nth 0 (cdr x)))))
             :exec (cdr (std::da-nth 0 (cdr x))))))

    Theorem: screen-message-listp-of-screen->messages

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

    Theorem: screen->messages$inline-of-screen-fix-x

    (defthm screen->messages$inline-of-screen-fix-x
      (equal (screen->messages$inline (screen-fix x))
             (screen->messages$inline x)))

    Theorem: screen->messages$inline-screen-equiv-congruence-on-x

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