MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  eldju2ndr Structured version   Visualization version   GIF version

Theorem eldju2ndr 9683
Description: The second component of an element of a disjoint union is an element of the right class of the disjoint union if its first component is not the empty set. (Contributed by AV, 26-Jun-2022.)
Assertion
Ref Expression
eldju2ndr ((𝑋 ∈ (𝐴𝐵) ∧ (1st𝑋) ≠ ∅) → (2nd𝑋) ∈ 𝐵)

Proof of Theorem eldju2ndr
StepHypRef Expression
1 df-dju 9659 . . . . 5 (𝐴𝐵) = (({∅} × 𝐴) ∪ ({1o} × 𝐵))
21eleq2i 2830 . . . 4 (𝑋 ∈ (𝐴𝐵) ↔ 𝑋 ∈ (({∅} × 𝐴) ∪ ({1o} × 𝐵)))
3 elun 4083 . . . 4 (𝑋 ∈ (({∅} × 𝐴) ∪ ({1o} × 𝐵)) ↔ (𝑋 ∈ ({∅} × 𝐴) ∨ 𝑋 ∈ ({1o} × 𝐵)))
42, 3bitri 274 . . 3 (𝑋 ∈ (𝐴𝐵) ↔ (𝑋 ∈ ({∅} × 𝐴) ∨ 𝑋 ∈ ({1o} × 𝐵)))
5 elxp6 7865 . . . . 5 (𝑋 ∈ ({∅} × 𝐴) ↔ (𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {∅} ∧ (2nd𝑋) ∈ 𝐴)))
6 elsni 4578 . . . . . . 7 ((1st𝑋) ∈ {∅} → (1st𝑋) = ∅)
7 eqneqall 2954 . . . . . . 7 ((1st𝑋) = ∅ → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
86, 7syl 17 . . . . . 6 ((1st𝑋) ∈ {∅} → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
98ad2antrl 725 . . . . 5 ((𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {∅} ∧ (2nd𝑋) ∈ 𝐴)) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
105, 9sylbi 216 . . . 4 (𝑋 ∈ ({∅} × 𝐴) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
11 elxp6 7865 . . . . 5 (𝑋 ∈ ({1o} × 𝐵) ↔ (𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {1o} ∧ (2nd𝑋) ∈ 𝐵)))
12 simprr 770 . . . . . 6 ((𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {1o} ∧ (2nd𝑋) ∈ 𝐵)) → (2nd𝑋) ∈ 𝐵)
1312a1d 25 . . . . 5 ((𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {1o} ∧ (2nd𝑋) ∈ 𝐵)) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
1411, 13sylbi 216 . . . 4 (𝑋 ∈ ({1o} × 𝐵) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
1510, 14jaoi 854 . . 3 ((𝑋 ∈ ({∅} × 𝐴) ∨ 𝑋 ∈ ({1o} × 𝐵)) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
164, 15sylbi 216 . 2 (𝑋 ∈ (𝐴𝐵) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
1716imp 407 1 ((𝑋 ∈ (𝐴𝐵) ∧ (1st𝑋) ≠ ∅) → (2nd𝑋) ∈ 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wo 844   = wceq 1539  wcel 2106  wne 2943  cun 3885  c0 4256  {csn 4561  cop 4567   × cxp 5587  cfv 6433  1st c1st 7829  2nd c2nd 7830  1oc1o 8290  cdju 9656
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-iota 6391  df-fun 6435  df-fv 6441  df-1st 7831  df-2nd 7832  df-dju 9659
This theorem is referenced by:  updjudhf  9689
  Copyright terms: Public domain W3C validator