Description: The size of the difference of a finite set and a proper pair of its elements is the set's size minus 2. (Contributed by AV, 16-Dec-2020)
Ref | Expression | ||
---|---|---|---|
Assertion | hashdifpr | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | difpr | |
|
2 | 1 | a1i | |
3 | 2 | fveq2d | |
4 | diffi | |
|
5 | necom | |
|
6 | 5 | biimpi | |
7 | 6 | anim2i | |
8 | 7 | 3adant1 | |
9 | 8 | adantl | |
10 | eldifsn | |
|
11 | 9 10 | sylibr | |
12 | hashdifsn | |
|
13 | 4 11 12 | syl2an2r | |
14 | hashdifsn | |
|
15 | 14 | 3ad2antr1 | |
16 | 15 | oveq1d | |
17 | hashcl | |
|
18 | 17 | nn0cnd | |
19 | sub1m1 | |
|
20 | 18 19 | syl | |
21 | 20 | adantr | |
22 | 16 21 | eqtrd | |
23 | 3 13 22 | 3eqtrd | |