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

Theorem opreu2reurex 6312
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 2770 . . . . . . . 8 (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ ⟨𝑎, 𝑏⟩ = ⟨𝑥, 𝑦⟩)
2 vex 3458 . . . . . . . . 9 𝑎 ∈ V
3 vex 3458 . . . . . . . . 9 𝑏 ∈ V
42, 3opth 5449 . . . . . . . 8 (⟨𝑎, 𝑏⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))
51, 4bitri 278 . . . . . . 7 (⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩ ↔ (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))
65imbi2i 339 . . . . . 6 ((𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦)))
76a1i 11 . . . . 5 (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ (𝑎 ∈ 𝐴 ∧ 𝑏 ∈ 𝐵)) → ((𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))))
872ralbidva 3228 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → (∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))))
982rexbiia 3227 . . 3 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦)))
109anbi2i 635 . 2 ((∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)) ↔ (∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → (𝑎 = 𝑥 ∧ 𝑏 = 𝑦))))
11 opreu2reurex.a . . 3 (𝑝 = ⟨𝑎, 𝑏⟩ → (𝜑 ↔ 𝜒))
1211reu3op 6310 . 2 (∃!𝑝 ∈ (𝐴 × 𝐵)𝜑 ↔ (∃𝑎 ∈ 𝐴 ∃𝑏 ∈ 𝐵 𝜒 ∧ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∀𝑎 ∈ 𝐴 ∀𝑏 ∈ 𝐵 (𝜒 → ⟨𝑥, 𝑦⟩ = ⟨𝑎, 𝑏⟩)))
13 2reu4 4483 . 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 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090  ∃!wreu 3367  ⟨cop 4838   × cxp 5653
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-iun 4956  df-opab 5171  df-xp 5661  df-rel 5662
This theorem is used by:  opreu2reu  6313  2sqreuop  27816  2sqreuopnn  27817  2sqreuoplt  27818  2sqreuopltb  27819  2sqreuopnnlt  27820  2sqreuopnnltb  27821  opreu2reu1  33149
  Copyright terms: Public domain W3C validator