Documentation

ISAR.Reduce

Reduce — leftmost-outermost single-step interpreter #

step? matches IStep redexes only (normβ, konstβ, compβ, sβ, appL, appR). No dupβ/swapβ — those belong to IStepBasis, not the main reduction.

reduceFuel iterates step? up to a fuel bound.

Soundness: step?_sound proves step? t = some u → IStep t u.

Leftmost-outermost one-step reduction matching IStep.

Equations
Instances For

    Fuelled iteration of step?.

    Equations
    Instances For

      Count steps taken before normal form or fuel exhaustion.

      Equations
      Instances For

        Soundness #

        theorem ISAR.step?_sound (t u : ITerm) :
        step? t = some uIStep t u
        theorem ISAR.reduceFuel_IRed (n : Nat) (t : ITerm) :

        #eval / #guard on step? path #