Metamath Proof Explorer


Theorem fnfz0hash

Description: The size of a function on a finite set of sequential nonnegative integers. (Contributed by Alexander van der Vekens, 25-Jun-2018)

Ref Expression
Assertion fnfz0hash N0FFn0NF=N+1

Proof

Step Hyp Ref Expression
1 hashfn FFn0NF=0N
2 hashfz0 N00N=N+1
3 1 2 sylan9eqr N0FFn0NF=N+1