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 37387
Description: Implicit substitution inference for ordered pairs. (Contributed by NM, 28-May-1995.) Use a similar proof to copsex4g 5451 to reduce axiom usage. (Revised by SN, 1-Sep-2024.) Adapt copsex2g 5449 $p to deduction form. (Revised by BJ, 28-Mar-2026.) Do not use copsex2g 5449. (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 2744 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
2 vex 3446 . . . . . 6 𝑥 ∈ V
3 vex 3446 . . . . . 6 𝑦 ∈ V
42, 3opth 5432 . . . . 5 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
51, 4bitri 275 . . . 4 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
65anbi1i 625 . . 3 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓))
762exbii 1851 . 2 (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓))
8 simpr 484 . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝑥 = 𝐴𝑦 = 𝐵))
9 copsex2gd.is . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
108, 9cgsex2gd 37386 . 2 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓) ↔ 𝜒))
117, 10bitrid 283 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1542  wex 1781  wcel 2114  cop 4588
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709  ax-sep 5243  ax-pr 5379
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator