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

Theorem ralxpf 5717
Description: Version of ralxp 5712 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 1915 . . . 4 𝑢𝑧𝐵 𝜓
5 nfcv 2977 . . . . 5 𝑦𝐵
6 nfs1v 2160 . . . . 5 𝑦[𝑢 / 𝑦]𝜓
75, 6nfralw 3225 . . . 4 𝑦𝑧𝐵 [𝑢 / 𝑦]𝜓
8 sbequ12 2253 . . . . 5 (𝑦 = 𝑢 → (𝜓 ↔ [𝑢 / 𝑦]𝜓))
98ralbidv 3197 . . . 4 (𝑦 = 𝑢 → (∀𝑧𝐵 𝜓 ↔ ∀𝑧𝐵 [𝑢 / 𝑦]𝜓))
104, 7, 9cbvralw 3441 . . 3 (∀𝑦𝐴𝑧𝐵 𝜓 ↔ ∀𝑢𝐴𝑧𝐵 [𝑢 / 𝑦]𝜓)
11 vex 3497 . . . . . 6 𝑢 ∈ V
12 vex 3497 . . . . . 6 𝑣 ∈ V
1311, 12eqvinop 5378 . . . . 5 (𝑤 = ⟨𝑢, 𝑣⟩ ↔ ∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩))
14 ralxpf.1 . . . . . . . 8 𝑦𝜑
1514nfsbv 2349 . . . . . . 7 𝑦[𝑤 / 𝑥]𝜑
166nfsbv 2349 . . . . . . 7 𝑦[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
1715, 16nfbi 1904 . . . . . 6 𝑦([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓)
18 ralxpf.2 . . . . . . . . 9 𝑧𝜑
1918nfsbv 2349 . . . . . . . 8 𝑧[𝑤 / 𝑥]𝜑
20 nfs1v 2160 . . . . . . . 8 𝑧[𝑣 / 𝑧][𝑢 / 𝑦]𝜓
2119, 20nfbi 1904 . . . . . . 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 5368 . . . . . . . . 9 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ ↔ (𝑦 = 𝑢𝑧 = 𝑣))
28 sbequ12 2253 . . . . . . . . . 10 (𝑧 = 𝑣 → ([𝑢 / 𝑦]𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
298, 28sylan9bb 512 . . . . . . . . 9 ((𝑦 = 𝑢𝑧 = 𝑣) → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3027, 29sylbi 219 . . . . . . . 8 (⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩ → (𝜓 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3124, 30sylan9bb 512 . . . . . . 7 ((𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3221, 31exlimi 2217 . . . . . 6 (∃𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3317, 32exlimi 2217 . . . . 5 (∃𝑦𝑧(𝑤 = ⟨𝑦, 𝑧⟩ ∧ ⟨𝑦, 𝑧⟩ = ⟨𝑢, 𝑣⟩) → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3413, 33sylbi 219 . . . 4 (𝑤 = ⟨𝑢, 𝑣⟩ → ([𝑤 / 𝑥]𝜑 ↔ [𝑣 / 𝑧][𝑢 / 𝑦]𝜓))
3534ralxp 5712 . . 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 1537  wex 1780  wnf 1784  [wsb 2069  wral 3138  cop 4573   × cxp 5553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  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 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-iun 4921  df-opab 5129  df-xp 5561  df-rel 5562
This theorem is referenced by:  rexxpf  5718
  Copyright terms: Public domain W3C validator