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

Theorem eldju2ndr 9916
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 9892 . . . . 5 (𝐴𝐵) = (({∅} × 𝐴) ∪ ({1o} × 𝐵))
21eleq2i 2825 . . . 4 (𝑋 ∈ (𝐴𝐵) ↔ 𝑋 ∈ (({∅} × 𝐴) ∪ ({1o} × 𝐵)))
3 elun 4147 . . . 4 (𝑋 ∈ (({∅} × 𝐴) ∪ ({1o} × 𝐵)) ↔ (𝑋 ∈ ({∅} × 𝐴) ∨ 𝑋 ∈ ({1o} × 𝐵)))
42, 3bitri 274 . . 3 (𝑋 ∈ (𝐴𝐵) ↔ (𝑋 ∈ ({∅} × 𝐴) ∨ 𝑋 ∈ ({1o} × 𝐵)))
5 elxp6 8005 . . . . 5 (𝑋 ∈ ({∅} × 𝐴) ↔ (𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {∅} ∧ (2nd𝑋) ∈ 𝐴)))
6 elsni 4644 . . . . . . 7 ((1st𝑋) ∈ {∅} → (1st𝑋) = ∅)
7 eqneqall 2951 . . . . . . 7 ((1st𝑋) = ∅ → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
86, 7syl 17 . . . . . 6 ((1st𝑋) ∈ {∅} → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
98ad2antrl 726 . . . . 5 ((𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {∅} ∧ (2nd𝑋) ∈ 𝐴)) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
105, 9sylbi 216 . . . 4 (𝑋 ∈ ({∅} × 𝐴) → ((1st𝑋) ≠ ∅ → (2nd𝑋) ∈ 𝐵))
11 elxp6 8005 . . . . 5 (𝑋 ∈ ({1o} × 𝐵) ↔ (𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩ ∧ ((1st𝑋) ∈ {1o} ∧ (2nd𝑋) ∈ 𝐵)))
12 simprr 771 . . . . . 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 855 . . 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 845   = wceq 1541  wcel 2106  wne 2940  cun 3945  c0 4321  {csn 4627  cop 4633   × cxp 5673  cfv 6540  1st c1st 7969  2nd c2nd 7970  1oc1o 8455  cdju 9889
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  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 2703  ax-sep 5298  ax-nul 5305  ax-pr 5426  ax-un 7721
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rex 3071  df-rab 3433  df-v 3476  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-br 5148  df-opab 5210  df-mpt 5231  df-id 5573  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-iota 6492  df-fun 6542  df-fv 6548  df-1st 7971  df-2nd 7972  df-dju 9892
This theorem is referenced by:  updjudhf  9922
  Copyright terms: Public domain W3C validator