• 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
          • Semantics
          • Abstract-syntax
            • Aexp
            • Bexp
            • Comm
              • Comm-case
              • Comm-if
              • Comm-equiv
              • Comm-while
              • Comm-asg
              • Commp
              • Comm-kind
              • Comm-fix
              • Comm-count
            • Comm-list
            • Command-fixtypes
          • Interpreter
        • 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
  • Abstract-syntax
  • Command-fixtypes

Comm

Fixtype of Imp commands.

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

Member Tags → Types
:asg → comm-asg
:if → comm-if
:while → comm-while

We have assignments, conditionals, and loops. It is convenient to capture sequentialization via command lists; note that the branches of conditionals and the body of loops are command lists, not single commands.

Subtopics

Comm-case
Case macro for the different kinds of comm structures.
Comm-if
Comm-equiv
Basic equivalence relation for comm structures.
Comm-while
Comm-asg
Commp
Recognizer for comm structures.
Comm-kind
Get the kind (tag) of a comm structure.
Comm-fix
Fixing function for comm structures.
Comm-count
Measure for recurring over comm structures.