• 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
            • Aexp-case
            • Aexp-fix
            • Aexpp
            • Aexp-count
            • Aexp-equiv
            • Aexp-mul
            • Aexp-add
            • Aexp-var
            • Aexp-const
            • Aexp-kind
          • Bexp
          • Comm
          • 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

Aexp

Fixtype of Imp arithmetic expressions.

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

Member Tags → Types
:const → aexp-const
:var → aexp-var
:add → aexp-add
:mul → aexp-mul

We use (any) strings as variable names.

Subtopics

Aexp-case
Case macro for the different kinds of aexp structures.
Aexp-fix
Fixing function for aexp structures.
Aexpp
Recognizer for aexp structures.
Aexp-count
Measure for recurring over aexp structures.
Aexp-equiv
Basic equivalence relation for aexp structures.
Aexp-mul
Aexp-add
Aexp-var
Aexp-const
Aexp-kind
Get the kind (tag) of a aexp structure.