eo-phi-normalizer-2.2.2: Command line normalizer of 𝜑-calculus expressions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.EO.Phi.Rules.Fast

Synopsis

Documentation

>>> :set -XOverloadedStrings

applyRulesInsideOut :: Context -> Object -> Object Source #

Normalize an object, following a version of call-by-value strategy:

  1. Apply rules in subobjects/subterms before applying a rule at root.
  2. Do not apply rules under formations with at least one void (empty) binding.
runWithYegorRules applyRulesInsideOut "⟦ x ↦ ⟦⟧, y ↦ ⟦ z ↦ ⟦ w ↦ ξ.ρ.ρ.x ⟧ ⟧ ⟧.y.z.w"

⟦ ρ ↦ ⟦ ρ ↦ ⟦ ⟧ ⟧ ⟧