Description: If the size of a set is a nonnegative integer increased by 1, the size of the set with one of its elements removed is this nonnegative integer. (Contributed by Alexander van der Vekens, 7-Jan-2018)
Ref | Expression | ||
---|---|---|---|
Assertion | hashdifsnp1 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | peano2nn0 | |
|
2 | eleq1a | |
|
3 | 2 | adantr | |
4 | 3 | imp | |
5 | hashclb | |
|
6 | 5 | ad2antlr | |
7 | 4 6 | mpbird | |
8 | 7 | ex | |
9 | 8 | ex | |
10 | 1 9 | syl | |
11 | 10 | impcom | |
12 | 11 | 3adant2 | |
13 | 12 | imp | |
14 | snssi | |
|
15 | 14 | 3ad2ant2 | |
16 | 15 | adantr | |
17 | hashssdif | |
|
18 | 13 16 17 | syl2anc | |
19 | oveq1 | |
|
20 | hashsng | |
|
21 | 20 | oveq2d | |
22 | 21 | 3ad2ant2 | |
23 | nn0cn | |
|
24 | 1cnd | |
|
25 | 23 24 | pncand | |
26 | 25 | 3ad2ant3 | |
27 | 22 26 | eqtrd | |
28 | 19 27 | sylan9eqr | |
29 | 18 28 | eqtrd | |
30 | 29 | ex | |