Powers of extended natural numbers #
We define the power of an extended natural x : ℕ∞
by another extended natural y : ℕ∞
. The
definition is chosen such that x ^ y
is the cardinality of α → β
, when β
has cardinality x
and α
has cardinality y
:
- When
y
is finite, it coincides with the exponentiation by natural numbers (e.g.⊤ ^ 0 = 1
). - We set
0 ^ ⊤ = 0
,1 ^ ⊤ = 1
andx ^ ⊤ = ⊤
forx > 1
.
Naming convention #
The quantity x ^ y
for x
, y : ℕ∞
is defined as a Pow
instance. It is called epow
in
lemmas' names.