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

Theorem ralxpf 5824
Description: Version of ralxp 5818 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 3314 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑)
2 cbvralsvw 3314 . . . 4 (∀𝑧 ∈ 𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑣 ∈ 𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
32ralbii 3109 . . 3 (∀𝑢 ∈ 𝐴 ∀𝑧 ∈ 𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑢 ∈ 𝐴 ∀𝑣 ∈ 𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
4 nfv 1947 . . . 4 Ⅎ𝑢∀𝑧 ∈ 𝐵 𝜓
5 nfcv 2923 . . . . 5 Ⅎ𝑦𝐵
6 nfs1v 2193 . . . . 5 Ⅎ𝑦[𝑢 / 𝑦]𝜓
75, 6nfralw 3310 . . . 4 Ⅎ𝑦∀𝑧 ∈ 𝐵 [𝑢 / 𝑦]𝜓
8 sbequ12 2287 . . . . 5 (𝑦 = 𝑢 → (𝜓 ↔ [𝑢 / 𝑦]𝜓))
98ralbidv 3186 . . . 4 (𝑦 = 𝑢 → (∀𝑧 ∈ 𝐵 𝜓 ↔ ∀𝑧 ∈ 𝐵 [𝑢 / 𝑦]𝜓))
104, 7, 9cbvralw 3305 . . 3 (∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 𝜓 ↔ ∀𝑢 ∈ 𝐴 ∀𝑧 ∈ 𝐵 [𝑢 / 𝑦]𝜓)
11 vex 3455 . . . . . 6 𝑢 ∈ V
12 vex 3455 . . . . . 6 𝑣 ∈ V
1311, 12eqvinop 5456 . . . . 5 (𝑤 = ⟨𝑢, 𝑣⟩ ↔ ∃𝑦∃𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩))
14 ralxpf.1 . . . . . . . 8 Ⅎ𝑦𝜑
1514nfsbv 2361 . . . . . . 7 Ⅎ𝑦[𝑤 / 𝑥]𝜑
166nfsbv 2361 . . . . . . 7 Ⅎ𝑦[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
1715, 16nfbi 1936 . . . . . 6 Ⅎ𝑦([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
18 ralxpf.2 . . . . . . . . 9 Ⅎ𝑧𝜑
1918nfsbv 2361 . . . . . . . 8 Ⅎ𝑧[𝑤 / 𝑥]𝜑
20 nfs1v 2193 . . . . . . . 8 Ⅎ𝑧[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
2119, 20nfbi 1936 . . . . . . 7 Ⅎ𝑧([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
22 ralxpf.3 . . . . . . . . 9 Ⅎ𝑥𝜓
23 ralxpf.4 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑 ↔ 𝜓))
2422, 23sbhypf 3510 . . . . . . . 8 (𝑤 = ⟨𝑦, 𝑧⟩ → ([𝑤 / 𝑥]𝜑 ↔ 𝜓))
25 vex 3455 . . . . . . . . . 10 𝑦 ∈ V
26 vex 3455 . . . . . . . . . 10 𝑧 ∈ V
2725, 26opth 5445 . . . . . . . . 9 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ ↔ (𝑦 = 𝑢 ∧ 𝑧 = 𝑣))
28 sbequ12 2287 . . . . . . . . . 10 (𝑧 = 𝑣 → ([𝑢 / 𝑦]𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
298, 28sylan9bb 519 . . . . . . . . 9 ((𝑦 = 𝑢 ∧ 𝑧 = 𝑣) → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3027, 29sylbi 220 . . . . . . . 8 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3124, 30sylan9bb 519 . . . . . . 7 ((𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3221, 31exlimi 2254 . . . . . 6 (∃𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3317, 32exlimi 2254 . . . . 5 (∃𝑦∃𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3413, 33sylbi 220 . . . 4 (𝑤 = ⟨𝑢, 𝑣⟩ → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3534ralxp 5818 . . 3 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑢 ∈ 𝐴 ∀𝑣 ∈ 𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
363, 10, 353bitr4ri 307 . 2 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 𝜓)
371, 36bitri 278 1 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 𝜓)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812  Ⅎwnf 1816  [wsb 2099  ∀wral 3077  ⟨cop 4590   × cxp 5649
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-iun 4953  df-opab 5168  df-xp 5657  df-rel 5658
This theorem is used by:  rexxpf  5825  ralxpes  8153  frpoins3xpg  8157
  Copyright terms: Public domain W3C validator