Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  copsex2gd Structured version   Visualization version   GIF version

Theorem copsex2gd 37642
Description: Implicit substitution inference for ordered pairs. (Contributed by NM, 28-May-1995.) Use a similar proof to copsex4g 5469 to reduce axiom usage. (Revised by SN, 1-Sep-2024.) Adapt copsex2g 5467 $p to deduction form. (Revised by BJ, 28-Mar-2026.) Do not use copsex2g 5467. (Proof modification is discouraged.)
Hypothesis
Ref Expression
copsex2gd.is ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
Assertion
Ref Expression
copsex2gd ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ 𝜒))
Distinct variable groups:   𝑥,𝑦,𝜑   𝜒,𝑥,𝑦   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦
Allowed substitution hints:   𝜓(𝑥,𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem copsex2gd
StepHypRef Expression
1 eqcom 2772 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
2 vex 3461 . . . . . 6 𝑥 ∈ V
3 vex 3461 . . . . . 6 𝑦 ∈ V
42, 3opth 5449 . . . . 5 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
51, 4bitri 278 . . . 4 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
65anbi1i 635 . . 3 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓))
762exbii 1872 . 2 (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓))
8 simpr 489 . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝑥 = 𝐴𝑦 = 𝐵))
9 copsex2gd.is . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
108, 9cgsex2gd 37641 . 2 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓) ↔ 𝜒))
117, 10bitrid 286 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400   = wceq 1563  wex 1802  wcel 2145  cop 4591
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-ext 2737  ax-sep 5251  ax-pr 5395
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1566  df-fal 1576  df-ex 1803  df-sb 2094  df-clab 2744  df-cleq 2757  df-clel 2840  df-rab 3418  df-v 3459  df-dif 3910  df-un 3912  df-ss 3924  df-nul 4289  df-if 4484  df-sn 4586  df-pr 4588  df-op 4592
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator