ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  djuss GIF version

Theorem djuss 7035
Description: A disjoint union is a subset 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 7034 . . 3 (𝑥 ∈ (𝐴𝐵) ↔ (∃𝑦𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦𝐵 𝑥 = (inr‘𝑦)))
2 simpr 109 . . . . . . 7 ((𝑦𝐴𝑥 = (inl‘𝑦)) → 𝑥 = (inl‘𝑦))
3 df-inl 7012 . . . . . . . . 9 inl = (𝑥 ∈ V ↦ ⟨∅, 𝑥⟩)
4 opeq2 3759 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨∅, 𝑥⟩ = ⟨∅, 𝑦⟩)
5 elex 2737 . . . . . . . . 9 (𝑦𝐴𝑦 ∈ V)
6 0ex 4109 . . . . . . . . . . 11 ∅ ∈ V
7 vex 2729 . . . . . . . . . . 11 𝑦 ∈ V
86, 7opex 4207 . . . . . . . . . 10 ⟨∅, 𝑦⟩ ∈ V
98a1i 9 . . . . . . . . 9 (𝑦𝐴 → ⟨∅, 𝑦⟩ ∈ V)
103, 4, 5, 9fvmptd3 5579 . . . . . . . 8 (𝑦𝐴 → (inl‘𝑦) = ⟨∅, 𝑦⟩)
1110adantr 274 . . . . . . 7 ((𝑦𝐴𝑥 = (inl‘𝑦)) → (inl‘𝑦) = ⟨∅, 𝑦⟩)
122, 11eqtrd 2198 . . . . . 6 ((𝑦𝐴𝑥 = (inl‘𝑦)) → 𝑥 = ⟨∅, 𝑦⟩)
13 elun1 3289 . . . . . . . . 9 (𝑦𝐴𝑦 ∈ (𝐴𝐵))
146prid1 3682 . . . . . . . . 9 ∅ ∈ {∅, 1o}
1513, 14jctil 310 . . . . . . . 8 (𝑦𝐴 → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
1615adantr 274 . . . . . . 7 ((𝑦𝐴𝑥 = (inl‘𝑦)) → (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
17 opelxp 4634 . . . . . . 7 (⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)) ↔ (∅ ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
1816, 17sylibr 133 . . . . . 6 ((𝑦𝐴𝑥 = (inl‘𝑦)) → ⟨∅, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)))
1912, 18eqeltrd 2243 . . . . 5 ((𝑦𝐴𝑥 = (inl‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
2019rexlimiva 2578 . . . 4 (∃𝑦𝐴 𝑥 = (inl‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
21 simpr 109 . . . . . . 7 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑥 = (inr‘𝑦))
22 df-inr 7013 . . . . . . . . 9 inr = (𝑥 ∈ V ↦ ⟨1o, 𝑥⟩)
23 opeq2 3759 . . . . . . . . 9 (𝑥 = 𝑦 → ⟨1o, 𝑥⟩ = ⟨1o, 𝑦⟩)
24 elex 2737 . . . . . . . . 9 (𝑦𝐵𝑦 ∈ V)
25 1oex 6392 . . . . . . . . . . 11 1o ∈ V
2625, 7opex 4207 . . . . . . . . . 10 ⟨1o, 𝑦⟩ ∈ V
2726a1i 9 . . . . . . . . 9 (𝑦𝐵 → ⟨1o, 𝑦⟩ ∈ V)
2822, 23, 24, 27fvmptd3 5579 . . . . . . . 8 (𝑦𝐵 → (inr‘𝑦) = ⟨1o, 𝑦⟩)
2928adantr 274 . . . . . . 7 ((𝑦𝐵𝑥 = (inr‘𝑦)) → (inr‘𝑦) = ⟨1o, 𝑦⟩)
3021, 29eqtrd 2198 . . . . . 6 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑥 = ⟨1o, 𝑦⟩)
31 elun2 3290 . . . . . . . . 9 (𝑦𝐵𝑦 ∈ (𝐴𝐵))
3231adantr 274 . . . . . . . 8 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑦 ∈ (𝐴𝐵))
3325prid2 3683 . . . . . . . 8 1o ∈ {∅, 1o}
3432, 33jctil 310 . . . . . . 7 ((𝑦𝐵𝑥 = (inr‘𝑦)) → (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
35 opelxp 4634 . . . . . . 7 (⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)) ↔ (1o ∈ {∅, 1o} ∧ 𝑦 ∈ (𝐴𝐵)))
3634, 35sylibr 133 . . . . . 6 ((𝑦𝐵𝑥 = (inr‘𝑦)) → ⟨1o, 𝑦⟩ ∈ ({∅, 1o} × (𝐴𝐵)))
3730, 36eqeltrd 2243 . . . . 5 ((𝑦𝐵𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
3837rexlimiva 2578 . . . 4 (∃𝑦𝐵 𝑥 = (inr‘𝑦) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
3920, 38jaoi 706 . . 3 ((∃𝑦𝐴 𝑥 = (inl‘𝑦) ∨ ∃𝑦𝐵 𝑥 = (inr‘𝑦)) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
401, 39sylbi 120 . 2 (𝑥 ∈ (𝐴𝐵) → 𝑥 ∈ ({∅, 1o} × (𝐴𝐵)))
4140ssriv 3146 1 (𝐴𝐵) ⊆ ({∅, 1o} × (𝐴𝐵))
Colors of variables: wff set class
Syntax hints:  wa 103  wo 698   = wceq 1343  wcel 2136  wrex 2445  Vcvv 2726  cun 3114  wss 3116  c0 3409  {cpr 3577  cop 3579   × cxp 4602  cfv 5188  1oc1o 6377  cdju 7002  inlcinl 7010  inrcinr 7011
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-1st 6108  df-2nd 6109  df-1o 6384  df-dju 7003  df-inl 7012  df-inr 7013
This theorem is referenced by:  eldju1st  7036
  Copyright terms: Public domain W3C validator