Fitch-style modal lambda calculi enable programming with necessity modalities in a typed lambda calculus by extending the typing context with a delimiting operator that is denoted by a lock. The addition of locks simplifies the formulation of typing rules for calculi that incorporate different modal axioms, but each variant demands different, tedious and seemingly ad hoc syntactic lemmas to prove normalization. In this work, we take a semantic approach to normalization, called normalization by evaluation (NbE), by leveraging the possible-world semantics of Fitch-style calculi to yield a more modular approach to normalization. We show that NbE models can be constructed for calculi that incorporate the K, T and 4 axioms of modal logic, as suitable instantiations of the possible-world semantics. In addition to existing results that handle beta-equivalence, our normalization result also considers eta-equivalence for these calculi. Our key results have been mechanized in the proof assistant Agda. Finally, we showcase several consequences of normalization for proving meta-theoretic properties of Fitch-style calculi as well as programming-language applications based on different interpretations of the necessity modality.
翻译:Fitch-type modal lambda calculli 使得在按键的 羊羔计算器中有必要地编程模式, 通过扩展输入环境, 与一个以锁为标志的定界操作器进行分解。 添加锁简化了计算计算器的打字规则的制定, 其中包括不同的模式轴轴, 但每种变量都要求不同的、 乏味的和看似临时性的合成的乳腺来证明正常化。 在这项工作中, 我们用语义学方法实现正常化, 称为评价正常化( NbE ), 利用Fitch- 风格的计算器可能的世界语义来生成一种更模块化的标准化方法。 我们展示了NbE 模型可以针对计算器的计算方法, 包括K、 T 和 4 模式逻辑的计算法, 作为可能的- 世界语义结构学的合适回调。 除了处理乙等等值的现有结果外, 我们的正常化结果还考虑了这些计算法等值。 我们的关键结果已经在证据助理 Agda (Agmada) 中被机械化了 。 最后, 我们展示了基于正统化模式的解的多种语言变正统化模式, 。