Source/Packages

Std.Natural

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

335 lines48 declarations13.5 KiBSHA-256 0a0af2339e6a

def · lines 208–215

naturalPowerOfTwo

Full file
208def naturalPowerOfTwo =
209  (lambda unrestricted exponent : Nat .
210    nat-eliminate
211      (lambda unrestricted current : Nat . Nat)
212      1
213      (lambda unrestricted predecessor : Nat . unrestricted induction : Nat .
214        naturalAdd induction induction)
215      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.