Re:Why do arrays start at 0?
by kazinator on Wednesday August 24, 2022 @05:20PM
(#32585918)
An empty set is countable; it has an empty mapping to the natural numbers. Its cardinality is zero.
[ Parent
| on HN ]
And its ordinalitiy is also 0.
Standard construction of ordinals is that each ordinal is the set of all its predecessors. (0 has no predecessors , hence 0 is the empty set.) (And so finite ordinals have the same ordinaliity as cardinality).
Re:Why do arrays start at 0?
by pwdisswordfish9 on Thursday August 25, 2022 @07:59AM
(#32592517)
Show me a mathematical text where ‘ordinality’ is defined.