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

Theorem opthprc 5646
Description: Justification theorem for an ordered pair definition that works for any classes, including proper classes. This is a possible definition implied by the footnote in [Jech] p. 78, which says, "The sophisticated reader will not object to our use of a pair of classes." (Contributed by NM, 28-Sep-2003.)
Assertion
Ref Expression
opthprc (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) ↔ (𝐴 = 𝐶𝐵 = 𝐷))

Proof of Theorem opthprc
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eleq2 2827 . . . . 5 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (⟨𝑥, ∅⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ ⟨𝑥, ∅⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}}))))
2 0ex 5229 . . . . . . . . 9 ∅ ∈ V
32snid 4597 . . . . . . . 8 ∅ ∈ {∅}
4 opelxp 5620 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ↔ (𝑥𝐴 ∧ ∅ ∈ {∅}))
53, 4mpbiran2 707 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ↔ 𝑥𝐴)
6 opelxp 5620 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}}) ↔ (𝑥𝐵 ∧ ∅ ∈ {{∅}}))
7 0nep0 5278 . . . . . . . . . 10 ∅ ≠ {∅}
82elsn 4576 . . . . . . . . . 10 (∅ ∈ {{∅}} ↔ ∅ = {∅})
97, 8nemtbir 3040 . . . . . . . . 9 ¬ ∅ ∈ {{∅}}
109bianfi 534 . . . . . . . 8 (∅ ∈ {{∅}} ↔ (𝑥𝐵 ∧ ∅ ∈ {{∅}}))
116, 10bitr4i 277 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}}) ↔ ∅ ∈ {{∅}})
125, 11orbi12i 912 . . . . . 6 ((⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}})) ↔ (𝑥𝐴 ∨ ∅ ∈ {{∅}}))
13 elun 4082 . . . . . 6 (⟨𝑥, ∅⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ (⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}})))
149biorfi 936 . . . . . 6 (𝑥𝐴 ↔ (𝑥𝐴 ∨ ∅ ∈ {{∅}}))
1512, 13, 143bitr4ri 304 . . . . 5 (𝑥𝐴 ↔ ⟨𝑥, ∅⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})))
16 opelxp 5620 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ↔ (𝑥𝐶 ∧ ∅ ∈ {∅}))
173, 16mpbiran2 707 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ↔ 𝑥𝐶)
18 opelxp 5620 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}}) ↔ (𝑥𝐷 ∧ ∅ ∈ {{∅}}))
199bianfi 534 . . . . . . . 8 (∅ ∈ {{∅}} ↔ (𝑥𝐷 ∧ ∅ ∈ {{∅}}))
2018, 19bitr4i 277 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}}) ↔ ∅ ∈ {{∅}})
2117, 20orbi12i 912 . . . . . 6 ((⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}})) ↔ (𝑥𝐶 ∨ ∅ ∈ {{∅}}))
22 elun 4082 . . . . . 6 (⟨𝑥, ∅⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) ↔ (⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}})))
239biorfi 936 . . . . . 6 (𝑥𝐶 ↔ (𝑥𝐶 ∨ ∅ ∈ {{∅}}))
2421, 22, 233bitr4ri 304 . . . . 5 (𝑥𝐶 ↔ ⟨𝑥, ∅⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
251, 15, 243bitr4g 314 . . . 4 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (𝑥𝐴𝑥𝐶))
2625eqrdv 2736 . . 3 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → 𝐴 = 𝐶)
27 eleq2 2827 . . . . 5 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (⟨𝑥, {∅}⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ ⟨𝑥, {∅}⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}}))))
28 opelxp 5620 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ↔ (𝑥𝐴 ∧ {∅} ∈ {∅}))
29 snex 5352 . . . . . . . . . . . 12 {∅} ∈ V
3029elsn 4576 . . . . . . . . . . 11 ({∅} ∈ {∅} ↔ {∅} = ∅)
31 eqcom 2745 . . . . . . . . . . 11 ({∅} = ∅ ↔ ∅ = {∅})
3230, 31bitri 274 . . . . . . . . . 10 ({∅} ∈ {∅} ↔ ∅ = {∅})
337, 32nemtbir 3040 . . . . . . . . 9 ¬ {∅} ∈ {∅}
3433bianfi 534 . . . . . . . 8 ({∅} ∈ {∅} ↔ (𝑥𝐴 ∧ {∅} ∈ {∅}))
3528, 34bitr4i 277 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ↔ {∅} ∈ {∅})
3629snid 4597 . . . . . . . 8 {∅} ∈ {{∅}}
37 opelxp 5620 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}}) ↔ (𝑥𝐵 ∧ {∅} ∈ {{∅}}))
3836, 37mpbiran2 707 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}}) ↔ 𝑥𝐵)
3935, 38orbi12i 912 . . . . . 6 ((⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}})) ↔ ({∅} ∈ {∅} ∨ 𝑥𝐵))
40 elun 4082 . . . . . 6 (⟨𝑥, {∅}⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ (⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}})))
41 biorf 934 . . . . . . 7 (¬ {∅} ∈ {∅} → (𝑥𝐵 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐵)))
4233, 41ax-mp 5 . . . . . 6 (𝑥𝐵 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐵))
4339, 40, 423bitr4ri 304 . . . . 5 (𝑥𝐵 ↔ ⟨𝑥, {∅}⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})))
44 opelxp 5620 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ↔ (𝑥𝐶 ∧ {∅} ∈ {∅}))
4533bianfi 534 . . . . . . . 8 ({∅} ∈ {∅} ↔ (𝑥𝐶 ∧ {∅} ∈ {∅}))
4644, 45bitr4i 277 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ↔ {∅} ∈ {∅})
47 opelxp 5620 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}}) ↔ (𝑥𝐷 ∧ {∅} ∈ {{∅}}))
4836, 47mpbiran2 707 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}}) ↔ 𝑥𝐷)
4946, 48orbi12i 912 . . . . . 6 ((⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}})) ↔ ({∅} ∈ {∅} ∨ 𝑥𝐷))
50 elun 4082 . . . . . 6 (⟨𝑥, {∅}⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) ↔ (⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}})))
51 biorf 934 . . . . . . 7 (¬ {∅} ∈ {∅} → (𝑥𝐷 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐷)))
5233, 51ax-mp 5 . . . . . 6 (𝑥𝐷 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐷))
5349, 50, 523bitr4ri 304 . . . . 5 (𝑥𝐷 ↔ ⟨𝑥, {∅}⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
5427, 43, 533bitr4g 314 . . . 4 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (𝑥𝐵𝑥𝐷))
5554eqrdv 2736 . . 3 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → 𝐵 = 𝐷)
5626, 55jca 512 . 2 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (𝐴 = 𝐶𝐵 = 𝐷))
57 xpeq1 5598 . . 3 (𝐴 = 𝐶 → (𝐴 × {∅}) = (𝐶 × {∅}))
58 xpeq1 5598 . . 3 (𝐵 = 𝐷 → (𝐵 × {{∅}}) = (𝐷 × {{∅}}))
59 uneq12 4091 . . 3 (((𝐴 × {∅}) = (𝐶 × {∅}) ∧ (𝐵 × {{∅}}) = (𝐷 × {{∅}})) → ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
6057, 58, 59syl2an 596 . 2 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
6156, 60impbii 208 1 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) ↔ (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  cun 3884  c0 4256  {csn 4561  cop 4567   × cxp 5582
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5221  ax-nul 5228  ax-pr 5350
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3431  df-dif 3889  df-un 3891  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-opab 5136  df-xp 5590
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator