Source/Packages

Std.Natural

packages/foundation/standard/src/Std/Natural.alpha

325 lines48 declarations14.4 KiBSHA-256 4234d9ebfedf

def · lines 202–209

naturalPowerOfTwo

Full file
202def naturalPowerOfTwo =
203  (lambda unrestricted exponent : Nat .
204    (nat-eliminate
205      (lambda unrestricted current : Nat . Nat)
206      (succ zero)
207      (lambda unrestricted predecessor : Nat .
208        (lambda unrestricted induction : Nat . (naturalAdd induction induction)))
209      exponent))

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.