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

Theorem opreu2reurex 6297
Description: There is a unique ordered pair fulfilling a wff iff there are uniquely two sets fulfilling a corresponding wff. (Contributed by AV, 24-Jun-2023.) (Revised by AV, 1-Jul-2023.)
Hypothesis
Ref Expression
opreu2reurex.a (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜑 ↔ 𝜒))
Assertion
Ref Expression
opreu2reurex (∃!𝑝 ∈ (𝐴 × 𝐵)𝜑 ↔ (∃!𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃!𝑏 ∈ 𝐵 ∃𝑎 ∈ 𝐴 𝜒))
Distinct variable groups:   𝐴,𝑎,𝑏,𝑝   𝐵,𝑎,𝑏,𝑝   𝜑,𝑎,𝑏   𝜒,𝑝
Allowed substitution hints:   𝜑(𝑝)   𝜒(𝑎, 𝑏)

Proof of Theorem opreu2reurex
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqcom 2767 . . . . . . . 8 (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑎, 𝑏⟩ = ⟨𝑥, 𝑦⟩)
2 vex 3454 . . . . . . . . 9 𝑎 ∈ V
3 vex 3454 . . . . . . . . 9 𝑏 ∈ V
42, 3opth 5444 . . . . . . . 8 (⟨𝑎, 𝑏⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))
51, 4bitri 278 . . . . . . 7 (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))
65imbi2i 339 . . . . . 6 ((𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦)))
76a1i 11 . . . . 5 (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵)) → ((𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))))
872ralbidva 3224 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))))
982rexbiia 3223 . . 3 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦)))
109anbi2i 635 . 2 ((∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)) ↔ (∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))))
11 opreu2reurex.a . . 3 (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜑 ↔ 𝜒))
1211reu3op 6295 . 2 (∃!𝑝 ∈ (𝐴 × 𝐵)𝜑 ↔ (∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
13 2reu4 4479 . 2 ((∃!𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃!𝑏 ∈ 𝐵 ∃𝑎 ∈ 𝐴 𝜒) ↔ (∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))))
1410, 12, 133bitr4i 306 1 (∃!𝑝 ∈ (𝐴 × 𝐵)𝜑 ↔ (∃!𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃!𝑏 ∈ 𝐵 ∃𝑎 ∈ 𝐴 𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086  ∃!wreu 3363  ⟨cop 4589   × cxp 5648
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-iun 4952  df-opab 5167  df-xp 5656  df-rel 5657
This theorem is used by:  opreu2reu  6298  2sqreuop  27789  2sqreuopnn  27790  2sqreuoplt  27791  2sqreuopltb  27792  2sqreuopnnlt  27793  2sqreuopnnltb  27794  opreu2reu1  33080
  Copyright terms: Public domain W3C validator