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

Theorem djuss 10057
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 10056 . . 3 (𝑥 ∈ (𝐴 ⊔ 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦 ∈ 𝐵 𝑥 = (inr‘𝑦)))
2 simpr 490 . . . . . . 7 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → 𝑥 = (inl‘𝑦))
3 df-inl 10039 . . . . . . . . 9 inl = (𝑥 ∈ V ↦ ⟨∅, 𝑥⟩)
4 opeq2 4854 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨∅, 𝑥⟩ = ⟨∅, 𝑦⟩)
5 elex 3482 . . . . . . . . 9 (𝑦 ∈ 𝐴 → 𝑦 ∈ V)
6 opex 5447 . . . . . . . . . 10 ⟨∅, 𝑦⟩ ∈ V
76a1i 11 . . . . . . . . 9 (𝑦 ∈ 𝐴 → ⟨∅, 𝑦⟩ ∈ V)
83, 4, 5, 7fvmptd3 7066 . . . . . . . 8 (𝑦 ∈ 𝐴 → (inl‘𝑦) = ⟨∅, 𝑦⟩)
98adantr 486 . . . . . . 7 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → (inl‘𝑦) = ⟨∅, 𝑦⟩)
102, 9eqtrd 2809 . . . . . 6 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → 𝑥 = ⟨∅, 𝑦⟩)
11 elun1 4190 . . . . . . . . 9 (𝑦 ∈ 𝐴 → 𝑦 ∈ (𝐴 ∪ 𝐵))
12 0ex 5275 . . . . . . . . . 10 ∅ ∈ V
1312prid1 4733 . . . . . . . . 9 ∅ ∈ {∅, 1o}
1411, 13jctil 529 . . . . . . . 8 (𝑦 ∈ 𝐴 → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
1514adantr 486 . . . . . . 7 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
16 opelxp 5702 . . . . . . 7 (⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)) ↔ (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
1715, 16sylibr 237 . . . . . 6 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → ⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
1810, 17eqeltrd 2875 . . . . 5 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
1918rexlimiva 3170 . . . 4 (∃𝑦 ∈ 𝐴 𝑥 = (inl‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
20 simpr 490 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑥 = (inr‘𝑦))
21 df-inr 10040 . . . . . . . . 9 inr = (𝑥 ∈ V ↦ ⟨1o, 𝑥⟩)
22 opeq2 4854 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨1o, 𝑥⟩ = ⟨1o, 𝑦⟩)
23 elex 3482 . . . . . . . . 9 (𝑦 ∈ 𝐵 → 𝑦 ∈ V)
24 opex 5447 . . . . . . . . . 10 ⟨1o, 𝑦⟩ ∈ V
2524a1i 11 . . . . . . . . 9 (𝑦 ∈ 𝐵 → ⟨1o, 𝑦⟩ ∈ V)
2621, 22, 23, 25fvmptd3 7066 . . . . . . . 8 (𝑦 ∈ 𝐵 → (inr‘𝑦) = ⟨1o, 𝑦⟩)
2726adantr 486 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → (inr‘𝑦) = ⟨1o, 𝑦⟩)
2820, 27eqtrd 2809 . . . . . 6 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑥 = ⟨1o, 𝑦⟩)
29 elun2 4191 . . . . . . . . 9 (𝑦 ∈ 𝐵 → 𝑦 ∈ (𝐴 ∪ 𝐵))
3029adantr 486 . . . . . . . 8 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑦 ∈ (𝐴 ∪ 𝐵))
31 1oelpr 8544 . . . . . . . 8 1o ∈ {∅, 1o}
3230, 31jctil 529 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
33 opelxp 5702 . . . . . . 7 (⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)) ↔ (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
3432, 33sylibr 237 . . . . . 6 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → ⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3528, 34eqeltrd 2875 . . . . 5 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3635rexlimiva 3170 . . . 4 (∃𝑦 ∈ 𝐵 𝑥 = (inr‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3719, 36jaoi 871 . . 3 ((∃𝑦 ∈ 𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦 ∈ 𝐵 𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
381, 37syl 18 . 2 (𝑥 ∈ (𝐴 ⊔ 𝐵) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3938ssriv 3924 1 (𝐴 ⊔ 𝐵) ⊆ ({∅, 1o} × (𝐴 ∪ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2156  ∃wrex 3101  Vcvv 3461   ⊆ wss 3907   ∪ cun 4159  ∅c0 4288  {cpr 4597  ⟨cop 4848   × cxp 5664  ‘cfv 6579  1oc1o 8526   ⊔ cdju 10035  inlcinl 10036  inrcinr 10037
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-suc 6407  df-iota 6533  df-fun 6581  df-fv 6587  df-1st 8054  df-2nd 8055  df-1o 8533  df-dju 10038  df-inl 10039  df-inr 10040
This theorem is used by:  djuunxp  10058  djuexALT  10059  eldju1st  10060
  Copyright terms: Public domain W3C validator