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

Theorem djuss 9994
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 9993 . . 3 (𝑥 ∈ (𝐴 ⊔ 𝐵) → (∃𝑦 ∈ 𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦 ∈ 𝐵 𝑥 = (inr‘𝑦)))
2 simpr 490 . . . . . . 7 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → 𝑥 = (inl‘𝑦))
3 df-inl 9976 . . . . . . . . 9 inl = (𝑥 ∈ V ↦ ⟨∅, 𝑥⟩)
4 opeq2 4834 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨∅, 𝑥⟩ = ⟨∅, 𝑦⟩)
5 elex 3472 . . . . . . . . 9 (𝑦 ∈ 𝐴 → 𝑦 ∈ V)
6 opex 5432 . . . . . . . . . 10 ⟨∅, 𝑦⟩ ∈ V
76a1i 11 . . . . . . . . 9 (𝑦 ∈ 𝐴 → ⟨∅, 𝑦⟩ ∈ V)
83, 4, 5, 7fvmptd3 7015 . . . . . . . 8 (𝑦 ∈ 𝐴 → (inl‘𝑦) = ⟨∅, 𝑦⟩)
98adantr 486 . . . . . . 7 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → (inl‘𝑦) = ⟨∅, 𝑦⟩)
102, 9eqtrd 2796 . . . . . 6 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → 𝑥 = ⟨∅, 𝑦⟩)
11 elun1 4128 . . . . . . . . 9 (𝑦 ∈ 𝐴 → 𝑦 ∈ (𝐴 ∪ 𝐵))
12 0ex 5261 . . . . . . . . . 10 ∅ ∈ V
1312prid1 4723 . . . . . . . . 9 ∅ ∈ {∅, 1o}
1411, 13jctil 529 . . . . . . . 8 (𝑦 ∈ 𝐴 → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
1514adantr 486 . . . . . . 7 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
16 opelxp 5687 . . . . . . 7 (⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)) ↔ (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
1715, 16sylibr 237 . . . . . 6 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → ⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
1810, 17eqeltrd 2861 . . . . 5 ((𝑦 ∈ 𝐴 ∧ 𝑥 = (inl‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
1918rexlimiva 3156 . . . 4 (∃𝑦 ∈ 𝐴 𝑥 = (inl‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
20 simpr 490 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑥 = (inr‘𝑦))
21 df-inr 9977 . . . . . . . . 9 inr = (𝑥 ∈ V ↦ ⟨1o, 𝑥⟩)
22 opeq2 4834 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨1o, 𝑥⟩ = ⟨1o, 𝑦⟩)
23 elex 3472 . . . . . . . . 9 (𝑦 ∈ 𝐵 → 𝑦 ∈ V)
24 opex 5432 . . . . . . . . . 10 ⟨1o, 𝑦⟩ ∈ V
2524a1i 11 . . . . . . . . 9 (𝑦 ∈ 𝐵 → ⟨1o, 𝑦⟩ ∈ V)
2621, 22, 23, 25fvmptd3 7015 . . . . . . . 8 (𝑦 ∈ 𝐵 → (inr‘𝑦) = ⟨1o, 𝑦⟩)
2726adantr 486 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → (inr‘𝑦) = ⟨1o, 𝑦⟩)
2820, 27eqtrd 2796 . . . . . 6 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑥 = ⟨1o, 𝑦⟩)
29 elun2 4129 . . . . . . . . 9 (𝑦 ∈ 𝐵 → 𝑦 ∈ (𝐴 ∪ 𝐵))
3029adantr 486 . . . . . . . 8 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑦 ∈ (𝐴 ∪ 𝐵))
31 1oelpr 8480 . . . . . . . 8 1o ∈ {∅, 1o}
3230, 31jctil 529 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
33 opelxp 5687 . . . . . . 7 (⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)) ↔ (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴 ∪ 𝐵)))
3432, 33sylibr 237 . . . . . 6 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → ⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3528, 34eqeltrd 2861 . . . . 5 ((𝑦 ∈ 𝐵 ∧ 𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3635rexlimiva 3156 . . . 4 (∃𝑦 ∈ 𝐵 𝑥 = (inr‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3719, 36jaoi 871 . . 3 ((∃𝑦 ∈ 𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦 ∈ 𝐵 𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
381, 37syl 18 . 2 (𝑥 ∈ (𝐴 ⊔ 𝐵) → 𝑥 ∈ ({∅, 1o} × (𝐴 ∪ 𝐵)))
3938ssriv 3935 1 (𝐴 ⊔ 𝐵) ⊆ ({∅, 1o} × (𝐴 ∪ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  Vcvv 3451   ∪ cun 3897   ⊆ wss 3899  ∅c0 4279  {cpr 4586  ⟨cop 4590   × cxp 5649  ‘cfv 6537  1oc1o 8462   ⊔ cdju 9972  inlcinl 9973  inrcinr 9974
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-suc 6367  df-iota 6493  df-fun 6539  df-fv 6545  df-1st 7999  df-2nd 8000  df-1o 8469  df-dju 9975  df-inl 9976  df-inr 9977
This theorem is used by:  djuunxp  9995  djuexALT  9996  eldju1st  9997
  Copyright terms: Public domain W3C validator