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

Theorem copsex2b 37106
Description: Biconditional form of copsex2d 37105. TODO: prove a relative version, that is, with 𝑥𝑉𝑦𝑊...(𝐴𝑉𝐵𝑊). (Contributed by BJ, 27-Dec-2023.)
Hypotheses
Ref Expression
copsex2b.xph (𝜑 → ∀𝑥𝜑)
copsex2b.yph (𝜑 → ∀𝑦𝜑)
copsex2b.xch (𝜑 → Ⅎ𝑥𝜒)
copsex2b.ych (𝜑 → Ⅎ𝑦𝜒)
copsex2b.is ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
Assertion
Ref Expression
copsex2b (𝜑 → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝜒)))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)   𝜒(𝑥,𝑦)

Proof of Theorem copsex2b
StepHypRef Expression
1 eqcom 2747 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
2 vex 3492 . . . . . . . 8 𝑥 ∈ V
3 vex 3492 . . . . . . . 8 𝑦 ∈ V
42, 3opth 5496 . . . . . . 7 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
51, 4bitri 275 . . . . . 6 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑥 = 𝐴𝑦 = 𝐵))
6 eqvisset 3508 . . . . . . 7 (𝑥 = 𝐴𝐴 ∈ V)
7 eqvisset 3508 . . . . . . 7 (𝑦 = 𝐵𝐵 ∈ V)
86, 7anim12i 612 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
95, 8sylbi 217 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ V ∧ 𝐵 ∈ V))
109adantr 480 . . . 4 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
1110exlimivv 1931 . . 3 (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
1211anim2i 616 . 2 ((𝜑 ∧ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓)) → (𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)))
13 simpl 482 . . 3 (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝜒) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
1413anim2i 616 . 2 ((𝜑 ∧ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝜒)) → (𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)))
15 copsex2b.xph . . . . 5 (𝜑 → ∀𝑥𝜑)
16 ax-5 1909 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ∀𝑥(𝐴 ∈ V ∧ 𝐵 ∈ V))
1715, 16hban 2304 . . . 4 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → ∀𝑥(𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)))
18 copsex2b.yph . . . . 5 (𝜑 → ∀𝑦𝜑)
19 ax-5 1909 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ∀𝑦(𝐴 ∈ V ∧ 𝐵 ∈ V))
2018, 19hban 2304 . . . 4 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → ∀𝑦(𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)))
21 copsex2b.xch . . . . 5 (𝜑 → Ⅎ𝑥𝜒)
2221adantr 480 . . . 4 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → Ⅎ𝑥𝜒)
23 copsex2b.ych . . . . 5 (𝜑 → Ⅎ𝑦𝜒)
2423adantr 480 . . . 4 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → Ⅎ𝑦𝜒)
25 simprl 770 . . . 4 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → 𝐴 ∈ V)
26 simprr 772 . . . 4 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → 𝐵 ∈ V)
27 copsex2b.is . . . . 5 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
2827adantlr 714 . . . 4 (((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
2917, 20, 22, 24, 25, 26, 28copsex2d 37105 . . 3 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ 𝜒))
30 ibar 528 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝜒 ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝜒)))
3130adantl 481 . . 3 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (𝜒 ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝜒)))
3229, 31bitrd 279 . 2 ((𝜑 ∧ (𝐴 ∈ V ∧ 𝐵 ∈ V)) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝜒)))
3312, 14, 32pm5.21nd 801 1 (𝜑 → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝜒)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wal 1535   = wceq 1537  wex 1777  wnf 1781  wcel 2108  Vcvv 3488  cop 4654
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655
This theorem is referenced by:  opelopabb  37108
  Copyright terms: Public domain W3C validator