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

Theorem djuss 9351
Description: A disjoint union is a subclass of a Cartesian product. (Contributed by AV, 25-Jun-2022.)
Assertion
Ref Expression
djuss (𝐴𝐵) ⊆ ({∅, 1o} × (𝐴𝐵))

Proof of Theorem djuss
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 djur 9350 . . 3 (𝑥 ∈ (𝐴𝐵) → (∃𝑦𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦𝐵 𝑥 = (inr‘𝑦)))
2 simpr 487 . . . . . . 7 ((𝑦𝐴𝑥 = (inl‘𝑦)) → 𝑥 = (inl‘𝑦))
3 df-inl 9333 . . . . . . . . 9 inl = (𝑥 ∈ V ↦ ⟨∅, 𝑥⟩)
4 opeq2 4806 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨∅, 𝑥⟩ = ⟨∅, 𝑦⟩)
5 elex 3514 . . . . . . . . 9 (𝑦𝐴𝑦 ∈ V)
6 opex 5358 . . . . . . . . . 10 ⟨∅, 𝑦⟩ ∈ V
76a1i 11 . . . . . . . . 9 (𝑦𝐴 → ⟨∅, 𝑦⟩ ∈ V)
83, 4, 5, 7fvmptd3 6793 . . . . . . . 8 (𝑦𝐴 → (inl‘𝑦) = ⟨∅, 𝑦⟩)
98adantr 483 . . . . . . 7 ((𝑦𝐴𝑥 = (inl‘𝑦)) → (inl‘𝑦) = ⟨∅, 𝑦⟩)
102, 9eqtrd 2858 . . . . . 6 ((𝑦𝐴𝑥 = (inl‘𝑦)) → 𝑥 = ⟨∅, 𝑦⟩)
11 elun1 4154 . . . . . . . . 9 (𝑦𝐴𝑦 ∈ (𝐴𝐵))
12 0ex 5213 . . . . . . . . . 10 ∅ ∈ V
1312prid1 4700 . . . . . . . . 9 ∅ ∈ {∅, 1o}
1411, 13jctil 522 . . . . . . . 8 (𝑦𝐴 → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
1514adantr 483 . . . . . . 7 ((𝑦𝐴𝑥 = (inl‘𝑦)) → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
16 opelxp 5593 . . . . . . 7 (⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)) ↔ (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
1715, 16sylibr 236 . . . . . 6 ((𝑦𝐴𝑥 = (inl‘𝑦)) → ⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)))
1810, 17eqeltrd 2915 . . . . 5 ((𝑦𝐴𝑥 = (inl‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
1918rexlimiva 3283 . . . 4 (∃𝑦𝐴 𝑥 = (inl‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
20 simpr 487 . . . . . . 7 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑥 = (inr‘𝑦))
21 df-inr 9334 . . . . . . . . 9 inr = (𝑥 ∈ V ↦ ⟨1o, 𝑥⟩)
22 opeq2 4806 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨1o, 𝑥⟩ = ⟨1o, 𝑦⟩)
23 elex 3514 . . . . . . . . 9 (𝑦𝐵𝑦 ∈ V)
24 opex 5358 . . . . . . . . . 10 ⟨1o, 𝑦⟩ ∈ V
2524a1i 11 . . . . . . . . 9 (𝑦𝐵 → ⟨1o, 𝑦⟩ ∈ V)
2621, 22, 23, 25fvmptd3 6793 . . . . . . . 8 (𝑦𝐵 → (inr‘𝑦) = ⟨1o, 𝑦⟩)
2726adantr 483 . . . . . . 7 ((𝑦𝐵𝑥 = (inr‘𝑦)) → (inr‘𝑦) = ⟨1o, 𝑦⟩)
2820, 27eqtrd 2858 . . . . . 6 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑥 = ⟨1o, 𝑦⟩)
29 elun2 4155 . . . . . . . . 9 (𝑦𝐵𝑦 ∈ (𝐴𝐵))
3029adantr 483 . . . . . . . 8 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑦 ∈ (𝐴𝐵))
31 1oex 8112 . . . . . . . . 9 1o ∈ V
3231prid2 4701 . . . . . . . 8 1o ∈ {∅, 1o}
3330, 32jctil 522 . . . . . . 7 ((𝑦𝐵𝑥 = (inr‘𝑦)) → (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
34 opelxp 5593 . . . . . . 7 (⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)) ↔ (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
3533, 34sylibr 236 . . . . . 6 ((𝑦𝐵𝑥 = (inr‘𝑦)) → ⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)))
3628, 35eqeltrd 2915 . . . . 5 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
3736rexlimiva 3283 . . . 4 (∃𝑦𝐵 𝑥 = (inr‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
3819, 37jaoi 853 . . 3 ((∃𝑦𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦𝐵 𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
391, 38syl 17 . 2 (𝑥 ∈ (𝐴𝐵) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
4039ssriv 3973 1 (𝐴𝐵) ⊆ ({∅, 1o} × (𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wa 398  wo 843   = wceq 1537  wcel 2114  wrex 3141  Vcvv 3496  cun 3936  wss 3938  c0 4293  {cpr 4571  cop 4575   × cxp 5555  cfv 6357  1oc1o 8097  cdju 9329  inlcinl 9330  inrcinr 9331
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-ord 6196  df-on 6197  df-suc 6199  df-iota 6316  df-fun 6359  df-fv 6365  df-1st 7691  df-2nd 7692  df-1o 8104  df-dju 9332  df-inl 9333  df-inr 9334
This theorem is referenced by:  djuunxp  9352  djuexALT  9353  eldju1st  9354
  Copyright terms: Public domain W3C validator