• 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
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
          • Transformations
          • Language
            • Abstract-syntax
            • Dynamic-semantics
              • Exec
              • Find-fun
              • Init-local
              • Write-vars-values
              • Add-vars-values
              • Add-funs
              • Eoutcome
              • Soutcome
              • Ensure-funscope-disjoint
              • Write-var-value
              • Restrict-vars
              • Add-var-value
              • Funinfo
              • Exec-top-block
              • Values
              • Cstate
              • Funinfo+funenv
              • Read-vars-values
              • Read-var-value
              • Funenv
              • Funscope-for-fundefs
              • Exec-path
              • Path-to-var
              • Funinfo+funenv-result
              • Exec-literal
              • Soutcome-result
              • Mode-set-result
              • Literal-evaluation
              • Funscope-result
              • Funinfo-result
              • Funenv-result
              • Eoutcome-result
              • Cstate-result
              • Paths-to-vars
              • Funinfo-for-fundef
              • Lstate
              • Funscope
              • Mode-set
              • Modes
                • Mode
                  • Mode-case
                  • Mode-fix
                  • Mode-equiv
                  • Modep
                  • Mode-kind
                  • Mode-regular
                  • Mode-leave
                  • Mode-continue
                  • Mode-break
            • Concrete-syntax
            • Static-soundness
            • Static-semantics
            • Errors
          • Yul-json
        • 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
  • Modes

Mode

Fixtype of modes.

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:regular → mode-regular
:break → mode-break
:continue → mode-continue
:leave → mode-leave

We disable the executable counterparts of the constructors of this type, because we want to treat them abstractly. Their definition is already disabled by default, as it should, but the fact that their executable counterpart is enabled defeats the disabling of their definition, given that they are nullary.

Subtopics

Mode-case
Case macro for the different kinds of mode structures.
Mode-fix
Fixing function for mode structures.
Mode-equiv
Basic equivalence relation for mode structures.
Modep
Recognizer for mode structures.
Mode-kind
Get the kind (tag) of a mode structure.
Mode-regular
Mode-leave
Mode-continue
Mode-break