Mlambda
Mlambda is a theoretical extension of the lambda calculus that introduces modalities to express context-sensitive computation. In Mlambda, terms can be annotated with a modality, commonly denoted as Box, to indicate that a value is produced or used within a particular contextual stage, authority level, or effect. The framework aims to separate pure computation from context-dependent steps while preserving the core lambda abstraction mechanism.
The name and ideas surrounding Mlambda appear in academic discussions of modal and staged lambda calculi. It
Syntax includes variables, lambda abstractions, applications, and modality operators such as Box A, representing that a
Operational semantics are typically given by a small-step relation that respects the modality structure. Reduction inside
Mlambda is primarily used in theoretical computer science to study staged computation, metaprogramming, and effect systems.
Related topics include lambda calculus, modal logic, staged computation, typed lambda calculus, and category-theoretic models of