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

Theorem ralxpf 5744
Description: Version of ralxp 5739 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 3391 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑)
2 cbvralsvw 3391 . . . 4 (∀𝑧𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
32ralbii 3090 . . 3 (∀𝑢𝐴𝑧𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑢𝐴𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
4 nfv 1918 . . . 4 𝑢𝑧𝐵 𝜓
5 nfcv 2906 . . . . 5 𝑦𝐵
6 nfs1v 2155 . . . . 5 𝑦[𝑢 / 𝑦]𝜓
75, 6nfralw 3149 . . . 4 𝑦𝑧𝐵 [𝑢 / 𝑦]𝜓
8 sbequ12 2247 . . . . 5 (𝑦 = 𝑢 → (𝜓 ↔ [𝑢 / 𝑦]𝜓))
98ralbidv 3120 . . . 4 (𝑦 = 𝑢 → (∀𝑧𝐵 𝜓 ↔ ∀𝑧𝐵 [𝑢 / 𝑦]𝜓))
104, 7, 9cbvralw 3363 . . 3 (∀𝑦𝐴𝑧𝐵 𝜓 ↔ ∀𝑢𝐴𝑧𝐵 [𝑢 / 𝑦]𝜓)
11 vex 3426 . . . . . 6 𝑢 ∈ V
12 vex 3426 . . . . . 6 𝑣 ∈ V
1311, 12eqvinop 5395 . . . . 5 (𝑤 = ⟨𝑢, 𝑣⟩ ↔ ∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩))
14 ralxpf.1 . . . . . . . 8 𝑦𝜑
1514nfsbv 2328 . . . . . . 7 𝑦[𝑤 / 𝑥]𝜑
166nfsbv 2328 . . . . . . 7 𝑦[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
1715, 16nfbi 1907 . . . . . 6 𝑦([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
18 ralxpf.2 . . . . . . . . 9 𝑧𝜑
1918nfsbv 2328 . . . . . . . 8 𝑧[𝑤 / 𝑥]𝜑
20 nfs1v 2155 . . . . . . . 8 𝑧[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
2119, 20nfbi 1907 . . . . . . 7 𝑧([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
22 ralxpf.3 . . . . . . . . 9 𝑥𝜓
23 ralxpf.4 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
2422, 23sbhypf 3481 . . . . . . . 8 (𝑤 = ⟨𝑦, 𝑧⟩ → ([𝑤 / 𝑥]𝜑𝜓))
25 vex 3426 . . . . . . . . . 10 𝑦 ∈ V
26 vex 3426 . . . . . . . . . 10 𝑧 ∈ V
2725, 26opth 5385 . . . . . . . . 9 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ ↔ (𝑦 = 𝑢𝑧 = 𝑣))
28 sbequ12 2247 . . . . . . . . . 10 (𝑧 = 𝑣 → ([𝑢 / 𝑦]𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
298, 28sylan9bb 509 . . . . . . . . 9 ((𝑦 = 𝑢𝑧 = 𝑣) → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3027, 29sylbi 216 . . . . . . . 8 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3124, 30sylan9bb 509 . . . . . . 7 ((𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3221, 31exlimi 2213 . . . . . 6 (∃𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3317, 32exlimi 2213 . . . . 5 (∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3413, 33sylbi 216 . . . 4 (𝑤 = ⟨𝑢, 𝑣⟩ → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3534ralxp 5739 . . 3 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑢𝐴𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
363, 10, 353bitr4ri 303 . 2 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
371, 36bitri 274 1 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wnf 1787  [wsb 2068  wral 3063  cop 4564   × cxp 5578
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-iun 4923  df-opab 5133  df-xp 5586  df-rel 5587
This theorem is referenced by:  rexxpf  5745  ralxpes  33581  frpoins3xpg  33714
  Copyright terms: Public domain W3C validator