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

Theorem opthprc 5079
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 2676 . . . . 5 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (⟨𝑥, ∅⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ ⟨𝑥, ∅⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}}))))
2 0ex 4713 . . . . . . . . 9 ∅ ∈ V
32snid 4154 . . . . . . . 8 ∅ ∈ {∅}
4 opelxp 5060 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ↔ (𝑥𝐴 ∧ ∅ ∈ {∅}))
53, 4mpbiran2 955 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ↔ 𝑥𝐴)
6 opelxp 5060 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}}) ↔ (𝑥𝐵 ∧ ∅ ∈ {{∅}}))
7 0nep0 4757 . . . . . . . . . 10 ∅ ≠ {∅}
82elsn 4139 . . . . . . . . . 10 (∅ ∈ {{∅}} ↔ ∅ = {∅})
97, 8nemtbir 2876 . . . . . . . . 9 ¬ ∅ ∈ {{∅}}
109bianfi 961 . . . . . . . 8 (∅ ∈ {{∅}} ↔ (𝑥𝐵 ∧ ∅ ∈ {{∅}}))
116, 10bitr4i 265 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}}) ↔ ∅ ∈ {{∅}})
125, 11orbi12i 541 . . . . . 6 ((⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}})) ↔ (𝑥𝐴 ∨ ∅ ∈ {{∅}}))
13 elun 3714 . . . . . 6 (⟨𝑥, ∅⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ (⟨𝑥, ∅⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐵 × {{∅}})))
149biorfi 420 . . . . . 6 (𝑥𝐴 ↔ (𝑥𝐴 ∨ ∅ ∈ {{∅}}))
1512, 13, 143bitr4ri 291 . . . . 5 (𝑥𝐴 ↔ ⟨𝑥, ∅⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})))
16 opelxp 5060 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ↔ (𝑥𝐶 ∧ ∅ ∈ {∅}))
173, 16mpbiran2 955 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ↔ 𝑥𝐶)
18 opelxp 5060 . . . . . . . 8 (⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}}) ↔ (𝑥𝐷 ∧ ∅ ∈ {{∅}}))
199bianfi 961 . . . . . . . 8 (∅ ∈ {{∅}} ↔ (𝑥𝐷 ∧ ∅ ∈ {{∅}}))
2018, 19bitr4i 265 . . . . . . 7 (⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}}) ↔ ∅ ∈ {{∅}})
2117, 20orbi12i 541 . . . . . 6 ((⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}})) ↔ (𝑥𝐶 ∨ ∅ ∈ {{∅}}))
22 elun 3714 . . . . . 6 (⟨𝑥, ∅⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) ↔ (⟨𝑥, ∅⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, ∅⟩ ∈ (𝐷 × {{∅}})))
239biorfi 420 . . . . . 6 (𝑥𝐶 ↔ (𝑥𝐶 ∨ ∅ ∈ {{∅}}))
2421, 22, 233bitr4ri 291 . . . . 5 (𝑥𝐶 ↔ ⟨𝑥, ∅⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
251, 15, 243bitr4g 301 . . . 4 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (𝑥𝐴𝑥𝐶))
2625eqrdv 2607 . . 3 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → 𝐴 = 𝐶)
27 eleq2 2676 . . . . 5 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (⟨𝑥, {∅}⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ ⟨𝑥, {∅}⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}}))))
28 opelxp 5060 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ↔ (𝑥𝐴 ∧ {∅} ∈ {∅}))
29 p0ex 4774 . . . . . . . . . . . 12 {∅} ∈ V
3029elsn 4139 . . . . . . . . . . 11 ({∅} ∈ {∅} ↔ {∅} = ∅)
31 eqcom 2616 . . . . . . . . . . 11 ({∅} = ∅ ↔ ∅ = {∅})
3230, 31bitri 262 . . . . . . . . . 10 ({∅} ∈ {∅} ↔ ∅ = {∅})
337, 32nemtbir 2876 . . . . . . . . 9 ¬ {∅} ∈ {∅}
3433bianfi 961 . . . . . . . 8 ({∅} ∈ {∅} ↔ (𝑥𝐴 ∧ {∅} ∈ {∅}))
3528, 34bitr4i 265 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ↔ {∅} ∈ {∅})
3629snid 4154 . . . . . . . 8 {∅} ∈ {{∅}}
37 opelxp 5060 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}}) ↔ (𝑥𝐵 ∧ {∅} ∈ {{∅}}))
3836, 37mpbiran2 955 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}}) ↔ 𝑥𝐵)
3935, 38orbi12i 541 . . . . . 6 ((⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}})) ↔ ({∅} ∈ {∅} ∨ 𝑥𝐵))
40 elun 3714 . . . . . 6 (⟨𝑥, {∅}⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) ↔ (⟨𝑥, {∅}⟩ ∈ (𝐴 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐵 × {{∅}})))
41 biorf 418 . . . . . . 7 (¬ {∅} ∈ {∅} → (𝑥𝐵 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐵)))
4233, 41ax-mp 5 . . . . . 6 (𝑥𝐵 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐵))
4339, 40, 423bitr4ri 291 . . . . 5 (𝑥𝐵 ↔ ⟨𝑥, {∅}⟩ ∈ ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})))
44 opelxp 5060 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ↔ (𝑥𝐶 ∧ {∅} ∈ {∅}))
4533bianfi 961 . . . . . . . 8 ({∅} ∈ {∅} ↔ (𝑥𝐶 ∧ {∅} ∈ {∅}))
4644, 45bitr4i 265 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ↔ {∅} ∈ {∅})
47 opelxp 5060 . . . . . . . 8 (⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}}) ↔ (𝑥𝐷 ∧ {∅} ∈ {{∅}}))
4836, 47mpbiran2 955 . . . . . . 7 (⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}}) ↔ 𝑥𝐷)
4946, 48orbi12i 541 . . . . . 6 ((⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}})) ↔ ({∅} ∈ {∅} ∨ 𝑥𝐷))
50 elun 3714 . . . . . 6 (⟨𝑥, {∅}⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) ↔ (⟨𝑥, {∅}⟩ ∈ (𝐶 × {∅}) ∨ ⟨𝑥, {∅}⟩ ∈ (𝐷 × {{∅}})))
51 biorf 418 . . . . . . 7 (¬ {∅} ∈ {∅} → (𝑥𝐷 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐷)))
5233, 51ax-mp 5 . . . . . 6 (𝑥𝐷 ↔ ({∅} ∈ {∅} ∨ 𝑥𝐷))
5349, 50, 523bitr4ri 291 . . . . 5 (𝑥𝐷 ↔ ⟨𝑥, {∅}⟩ ∈ ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
5427, 43, 533bitr4g 301 . . . 4 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (𝑥𝐵𝑥𝐷))
5554eqrdv 2607 . . 3 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → 𝐵 = 𝐷)
5626, 55jca 552 . 2 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) → (𝐴 = 𝐶𝐵 = 𝐷))
57 xpeq1 5042 . . 3 (𝐴 = 𝐶 → (𝐴 × {∅}) = (𝐶 × {∅}))
58 xpeq1 5042 . . 3 (𝐵 = 𝐷 → (𝐵 × {{∅}}) = (𝐷 × {{∅}}))
59 uneq12 3723 . . 3 (((𝐴 × {∅}) = (𝐶 × {∅}) ∧ (𝐵 × {{∅}}) = (𝐷 × {{∅}})) → ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
6057, 58, 59syl2an 492 . 2 ((𝐴 = 𝐶𝐵 = 𝐷) → ((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})))
6156, 60impbii 197 1 (((𝐴 × {∅}) ∪ (𝐵 × {{∅}})) = ((𝐶 × {∅}) ∪ (𝐷 × {{∅}})) ↔ (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 194  wo 381  wa 382   = wceq 1474  wcel 1976  cun 3537  c0 3873  {csn 4124  cop 4130   × cxp 5026
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-op 4131  df-opab 4638  df-xp 5034
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator