Description: The concatenation of two words is empty iff the two words are empty. (Contributed by AV, 4-Mar-2022) (Revised by JJ, 18-Jan-2024)
Ref | Expression | ||
---|---|---|---|
Assertion | ccat0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ccatlen | |
|
2 | 1 | eqeq1d | |
3 | ovex | |
|
4 | hasheq0 | |
|
5 | 3 4 | mp1i | |
6 | lencl | |
|
7 | nn0re | |
|
8 | nn0ge0 | |
|
9 | 7 8 | jca | |
10 | 6 9 | syl | |
11 | lencl | |
|
12 | nn0re | |
|
13 | nn0ge0 | |
|
14 | 12 13 | jca | |
15 | 11 14 | syl | |
16 | add20 | |
|
17 | 10 15 16 | syl2an | |
18 | 2 5 17 | 3bitr3d | |
19 | hasheq0 | |
|
20 | hasheq0 | |
|
21 | 19 20 | bi2anan9 | |
22 | 18 21 | bitrd | |