Metamath Proof Explorer


Theorem eldju2ndl

Description: The second component of an element of a disjoint union is an element of the left class of the disjoint union if its first component is the empty set. (Contributed by AV, 26-Jun-2022)

Ref Expression
Assertion eldju2ndl X A ⊔︀ B 1 st X = 2 nd X A

Proof

Step Hyp Ref Expression
1 df-dju A ⊔︀ B = × A 1 𝑜 × B
2 1 eleq2i X A ⊔︀ B X × A 1 𝑜 × B
3 elun X × A 1 𝑜 × B X × A X 1 𝑜 × B
4 2 3 bitri X A ⊔︀ B X × A X 1 𝑜 × B
5 elxp6 X × A X = 1 st X 2 nd X 1 st X 2 nd X A
6 simprr X = 1 st X 2 nd X 1 st X 2 nd X A 2 nd X A
7 6 a1d X = 1 st X 2 nd X 1 st X 2 nd X A 1 st X = 2 nd X A
8 5 7 sylbi X × A 1 st X = 2 nd X A
9 elxp6 X 1 𝑜 × B X = 1 st X 2 nd X 1 st X 1 𝑜 2 nd X B
10 elsni 1 st X 1 𝑜 1 st X = 1 𝑜
11 1n0 1 𝑜
12 neeq1 1 st X = 1 𝑜 1 st X 1 𝑜
13 11 12 mpbiri 1 st X = 1 𝑜 1 st X
14 eqneqall 1 st X = 1 st X 2 nd X A
15 14 com12 1 st X 1 st X = 2 nd X A
16 10 13 15 3syl 1 st X 1 𝑜 1 st X = 2 nd X A
17 16 ad2antrl X = 1 st X 2 nd X 1 st X 1 𝑜 2 nd X B 1 st X = 2 nd X A
18 9 17 sylbi X 1 𝑜 × B 1 st X = 2 nd X A
19 8 18 jaoi X × A X 1 𝑜 × B 1 st X = 2 nd X A
20 4 19 sylbi X A ⊔︀ B 1 st X = 2 nd X A
21 20 imp X A ⊔︀ B 1 st X = 2 nd X A