• 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
        • 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
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • 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
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • 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.