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

Theorem ralxpf 5190
Description: Version of ralxp 5185 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 cbvralsv 3158 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑)
2 cbvralsv 3158 . . . 4 (∀𝑧𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
32ralbii 2963 . . 3 (∀𝑢𝐴𝑧𝐵 [𝑢 / 𝑦]𝜓 ↔ ∀𝑢𝐴𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
4 nfv 1830 . . . 4 𝑢𝑧𝐵 𝜓
5 nfcv 2751 . . . . 5 𝑦𝐵
6 nfs1v 2425 . . . . 5 𝑦[𝑢 / 𝑦]𝜓
75, 6nfral 2929 . . . 4 𝑦𝑧𝐵 [𝑢 / 𝑦]𝜓
8 sbequ12 2097 . . . . 5 (𝑦 = 𝑢 → (𝜓 ↔ [𝑢 / 𝑦]𝜓))
98ralbidv 2969 . . . 4 (𝑦 = 𝑢 → (∀𝑧𝐵 𝜓 ↔ ∀𝑧𝐵 [𝑢 / 𝑦]𝜓))
104, 7, 9cbvral 3143 . . 3 (∀𝑦𝐴𝑧𝐵 𝜓 ↔ ∀𝑢𝐴𝑧𝐵 [𝑢 / 𝑦]𝜓)
11 vex 3176 . . . . . 6 𝑢 ∈ V
12 vex 3176 . . . . . 6 𝑣 ∈ V
1311, 12eqvinop 4881 . . . . 5 (𝑤 = ⟨𝑢, 𝑣⟩ ↔ ∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩))
14 ralxpf.1 . . . . . . . 8 𝑦𝜑
1514nfsb 2428 . . . . . . 7 𝑦[𝑤 / 𝑥]𝜑
166nfsb 2428 . . . . . . 7 𝑦[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
1715, 16nfbi 1821 . . . . . 6 𝑦([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
18 ralxpf.2 . . . . . . . . 9 𝑧𝜑
1918nfsb 2428 . . . . . . . 8 𝑧[𝑤 / 𝑥]𝜑
20 nfs1v 2425 . . . . . . . 8 𝑧[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
2119, 20nfbi 1821 . . . . . . 7 𝑧([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
22 ralxpf.3 . . . . . . . . 9 𝑥𝜓
23 ralxpf.4 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
2422, 23sbhypf 3226 . . . . . . . 8 (𝑤 = ⟨𝑦, 𝑧⟩ → ([𝑤 / 𝑥]𝜑𝜓))
25 vex 3176 . . . . . . . . . 10 𝑦 ∈ V
26 vex 3176 . . . . . . . . . 10 𝑧 ∈ V
2725, 26opth 4871 . . . . . . . . 9 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ ↔ (𝑦 = 𝑢𝑧 = 𝑣))
28 sbequ12 2097 . . . . . . . . . 10 (𝑧 = 𝑣 → ([𝑢 / 𝑦]𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
298, 28sylan9bb 732 . . . . . . . . 9 ((𝑦 = 𝑢𝑧 = 𝑣) → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3027, 29sylbi 206 . . . . . . . 8 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3124, 30sylan9bb 732 . . . . . . 7 ((𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3221, 31exlimi 2073 . . . . . 6 (∃𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3317, 32exlimi 2073 . . . . 5 (∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3413, 33sylbi 206 . . . 4 (𝑤 = ⟨𝑢, 𝑣⟩ → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3534ralxp 5185 . . 3 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑢𝐴𝑣𝐵 [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
363, 10, 353bitr4ri 292 . 2 (∀𝑤 ∈ (𝐴 × 𝐵)[𝑤 / 𝑥]𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
371, 36bitri 263 1 (∀𝑥 ∈ (𝐴 × 𝐵)𝜑 ↔ ∀𝑦𝐴𝑧𝐵 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wex 1695  wnf 1699  [wsb 1867  wral 2896  cop 4131   × cxp 5036
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-iun 4457  df-opab 4644  df-xp 5044  df-rel 5045
This theorem is referenced by:  rexxpf  5191
  Copyright terms: Public domain W3C validator