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

Theorem ralxpf 5716
Description: Version of ralxp 5711 with bound-variable hypotheses. (Contributed by NM, 18-Aug-2006.) (Revised by Mario Carneiro, 15-Oct-2016.)
Hypotheses
Ref Expression
ralxpf.1 𝑦𝜑
ralxpf.2 𝑧𝜑
ralxpf.3 𝑥𝜓
ralxpf.4 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
Assertion
Ref Expression
ralxpf (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝑧,𝐵,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑧)   𝐴(𝑧)

Proof of Theorem ralxpf
Dummy variables 𝑣 𝑢 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cbvralsvw 3467 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑)
2 cbvralsvw 3467 . . . 4 (∀𝑧𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
32ralbii 3165 . . 3 (∀𝑢𝐴𝑧𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑢𝐴𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
4 nfv 1911 . . . 4 𝑢𝑧𝐵 𝜓
5 nfcv 2977 . . . . 5 𝑦𝐵
6 nfs1v 2156 . . . . 5 𝑦[𝑢 / 𝑦]𝜓
75, 6nfralw 3225 . . . 4 𝑦𝑧𝐵 [𝑢 / 𝑦]𝜓
8 sbequ12 2249 . . . . 5 (𝑦 = 𝑢 → (𝜓 ↔ [𝑢 / 𝑦]𝜓))
98ralbidv 3197 . . . 4 (𝑦 = 𝑢 → (∀𝑧𝐵 𝜓 ↔ ∀𝑧𝐵 [𝑢 / 𝑦]𝜓))
104, 7, 9cbvralw 3441 . . 3 (∀𝑦𝐴𝑧𝐵 𝜓 ↔ ∀𝑢𝐴𝑧𝐵 [𝑢 / 𝑦]𝜓)
11 vex 3497 . . . . . 6 𝑢 ∈ V
12 vex 3497 . . . . . 6 𝑣 ∈ V
1311, 12eqvinop 5377 . . . . 5 (𝑤 = ⟨𝑢, 𝑣⟩ ↔ ∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩))
14 ralxpf.1 . . . . . . . 8 𝑦𝜑
1514nfsbv 2345 . . . . . . 7 𝑦[𝑤 / 𝑥]𝜑
166nfsbv 2345 . . . . . . 7 𝑦[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
1715, 16nfbi 1900 . . . . . 6 𝑦([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
18 ralxpf.2 . . . . . . . . 9 𝑧𝜑
1918nfsbv 2345 . . . . . . . 8 𝑧[𝑤 / 𝑥]𝜑
20 nfs1v 2156 . . . . . . . 8 𝑧[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
2119, 20nfbi 1900 . . . . . . 7 𝑧([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
22 ralxpf.3 . . . . . . . . 9 𝑥𝜓
23 ralxpf.4 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
2422, 23sbhypf 3552 . . . . . . . 8 (𝑤 = ⟨𝑦, 𝑧⟩ → ([𝑤 / 𝑥]𝜑𝜓))
25 vex 3497 . . . . . . . . . 10 𝑦 ∈ V
26 vex 3497 . . . . . . . . . 10 𝑧 ∈ V
2725, 26opth 5367 . . . . . . . . 9 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ ↔ (𝑦 = 𝑢𝑧 = 𝑣))
28 sbequ12 2249 . . . . . . . . . 10 (𝑧 = 𝑣 → ([𝑢 / 𝑦]𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
298, 28sylan9bb 512 . . . . . . . . 9 ((𝑦 = 𝑢𝑧 = 𝑣) → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3027, 29sylbi 219 . . . . . . . 8 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3124, 30sylan9bb 512 . . . . . . 7 ((𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3221, 31exlimi 2213 . . . . . 6 (∃𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3317, 32exlimi 2213 . . . . 5 (∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3413, 33sylbi 219 . . . 4 (𝑤 = ⟨𝑢, 𝑣⟩ → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3534ralxp 5711 . . 3 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑢𝐴𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
363, 10, 353bitr4ri 306 . 2 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
371, 36bitri 277 1 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wex 1776  wnf 1780  [wsb 2065  wral 3138  cop 4572   × cxp 5552
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5202  ax-nul 5209  ax-pr 5329
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4567  df-pr 4569  df-op 4573  df-iun 4920  df-opab 5128  df-xp 5560  df-rel 5561
This theorem is referenced by:  rexxpf  5717
  Copyright terms: Public domain W3C validator