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

Theorem copsex2g 5492
Description: Implicit substitution inference for ordered pairs. (Contributed by NM, 28-May-1995.) Use a similar proof to copsex4g 5494 to reduce axiom usage. (Revised by SN, 1-Sep-2024.)
Hypothesis
Ref Expression
copsex2g.1 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝜑𝜓))
Assertion
Ref Expression
copsex2g ((𝐴𝑉𝐵𝑊) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ 𝜓))
Distinct variable groups:   𝑥,𝑦,𝜓   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem copsex2g
StepHypRef Expression
1 eqcom 2739 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
2 vex 3478 . . . . . 6 𝑥 ∈ V
3 vex 3478 . . . . . 6 𝑦 ∈ V
42, 3opth 5475 . . . . 5 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
51, 4bitri 274 . . . 4 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
65anbi1i 624 . . 3 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑))
762exbii 1851 . 2 (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑))
8 id 22 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 𝐴𝑦 = 𝐵))
9 copsex2g.1 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝜑𝜓))
108, 9cgsex2g 3519 . 2 ((𝐴𝑉𝐵𝑊) → (∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ 𝜓))
117, 10bitrid 282 1 ((𝐴𝑉𝐵𝑊) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wex 1781  wcel 2106  cop 4633
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2703  ax-sep 5298  ax-nul 5305  ax-pr 5426
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-rab 3433  df-v 3476  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630  df-op 4634
This theorem is referenced by:  opelopabga  5532  ov6g  7567  ltresr  11131
  Copyright terms: Public domain W3C validator