Database
REAL AND COMPLEX NUMBERS
Words over a set
Prefixes of a word
pfx00
Next ⟩
pfx0
Metamath Proof Explorer
Ascii
Unicode
Theorem
pfx00
Description:
The zero length prefix is the empty set.
(Contributed by
AV
, 2-May-2020)
Ref
Expression
Assertion
pfx00
⊢
S
prefix
0
=
∅
Proof
Step
Hyp
Ref
Expression
1
opelxp
⊢
S
0
∈
V
×
ℕ
0
↔
S
∈
V
∧
0
∈
ℕ
0
2
pfxval
⊢
S
∈
V
∧
0
∈
ℕ
0
→
S
prefix
0
=
S
substr
0
0
3
swrd00
⊢
S
substr
0
0
=
∅
4
2
3
eqtrdi
⊢
S
∈
V
∧
0
∈
ℕ
0
→
S
prefix
0
=
∅
5
1
4
sylbi
⊢
S
0
∈
V
×
ℕ
0
→
S
prefix
0
=
∅
6
df-pfx
⊢
prefix
=
s
∈
V
,
l
∈
ℕ
0
⟼
s
substr
0
l
7
ovex
⊢
s
substr
0
l
∈
V
8
6
7
dmmpo
⊢
dom
⁡
prefix
=
V
×
ℕ
0
9
5
8
eleq2s
⊢
S
0
∈
dom
⁡
prefix
→
S
prefix
0
=
∅
10
df-ov
⊢
S
prefix
0
=
prefix
⁡
S
0
11
ndmfv
⊢
¬
S
0
∈
dom
⁡
prefix
→
prefix
⁡
S
0
=
∅
12
10
11
eqtrid
⊢
¬
S
0
∈
dom
⁡
prefix
→
S
prefix
0
=
∅
13
9
12
pm2.61i
⊢
S
prefix
0
=
∅