Source/Packages

Compiler.DependentCore

packages/compiler/src/Compiler/DependentCore.alpha

12,943 lines498 declarations489.0 KiBSHA-256 ef207b0de796

def · lines 12935–12943

betaNormalizeWithFuel

Full file
Compatibility projection: this historical API returns the residual on exhaustion. New admission paths must consume CoreReductionResult instead.
12935def betaNormalizeWithFuel =
12936  (lambda unrestricted fuel : Nat .
12937    (lambda unrestricted term : (family CoreTerm) .
12938      (eliminate
12939        CoreReductionResult
12940        (lambda unrestricted result : (family CoreReductionResult) . (family CoreTerm))
12941        (betaNormalizeCheckedWithFuel fuel term)
12942        (branch CoreReductionCompleted normal rounds . normal)
12943        (branch CoreReductionExhausted residual rounds . residual))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.