Source/Packages

Std.Natural

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

376 lines51 declarations16.0 KiBSHA-256 7e7128c5e781

def · lines 204–211

naturalPowerOfTwo

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