The Groovy Commutator in Lambda Calculus

Setup

For λ-terms Λ:

What G ≠ 0 Detects

Terms where evaluation order matters—the difference between strict and lazy evaluation.

Type Theory Extension

Using McBride's "derivative of a type" (one-hole contexts / zippers):

Examples:

G(T) ≠ 0 detects types with computational content—where navigation structure is non-trivial.


Related: Evaluation Order, Zippers, Conor McBride

Groovy Commutator: Lambda Calculus
by @mbilokonsky with claude-sonnet-4-5-20250929
2026-01-21T12:59:56+00:00