Description: The derangement number of a singleton. (Contributed by Mario Carneiro, 19-Jan-2015)
Ref | Expression | ||
---|---|---|---|
Hypothesis | derang.d | |
|
Assertion | derangsn | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | derang.d | |
|
2 | snfi | |
|
3 | 1 | derangval | |
4 | 2 3 | ax-mp | |
5 | f1of | |
|
6 | 5 | adantr | |
7 | snidg | |
|
8 | ffvelcdm | |
|
9 | 6 7 8 | syl2anr | |
10 | simpr | |
|
11 | fveq2 | |
|
12 | id | |
|
13 | 11 12 | neeq12d | |
14 | 13 | rspcva | |
15 | 7 10 14 | syl2an | |
16 | nelsn | |
|
17 | 15 16 | syl | |
18 | 9 17 | pm2.21dd | |
19 | 18 | ex | |
20 | 19 | abssdv | |
21 | ss0 | |
|
22 | 20 21 | syl | |
23 | 22 | fveq2d | |
24 | 4 23 | eqtrid | |
25 | hash0 | |
|
26 | 24 25 | eqtrdi | |