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 37505
Description: Implicit substitution inference for ordered pairs. (Contributed by NM, 28-May-1995.) Use a similar proof to copsex4g 5443 to reduce axiom usage. (Revised by SN, 1-Sep-2024.) Adapt copsex2g 5441 $p to deduction form. (Revised by BJ, 28-Mar-2026.) Do not use copsex2g 5441. (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 2747 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
2 vex 3436 . . . . . 6 𝑥 ∈ V
3 vex 3436 . . . . . 6 𝑦 ∈ V
42, 3opth 5423 . . . . 5 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
51, 4bitri 276 . . . 4 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
65anbi1i 630 . . 3 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓))
762exbii 1856 . 2 (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓))
8 simpr 485 . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝑥 = 𝐴𝑦 = 𝐵))
9 copsex2gd.is . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
108, 9cgsex2gd 37504 . 2 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜓) ↔ 𝜒))
117, 10bitrid 284 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1547  wex 1786  wcel 2119  cop 4568
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2712  ax-sep 5225  ax-pr 5369
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-sb 2074  df-clab 2719  df-cleq 2732  df-clel 2815  df-rab 3393  df-v 3434  df-dif 3893  df-un 3895  df-ss 3907  df-nul 4269  df-if 4462  df-sn 4563  df-pr 4565  df-op 4569
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator