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

Theorem rspct 3609
Description: A closed version of rspc 3611. (Contributed by Andrew Salmon, 6-Jun-2011.)
Hypothesis
Ref Expression
rspct.1 𝑥𝜓
Assertion
Ref Expression
rspct (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑥)

Proof of Theorem rspct
StepHypRef Expression
1 df-ral 3143 . . . 4 (∀𝑥𝐵 𝜑 ↔ ∀𝑥(𝑥𝐵𝜑))
2 eleq1 2900 . . . . . . . . . 10 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
32adantr 483 . . . . . . . . 9 ((𝑥 = 𝐴 ∧ (𝜑𝜓)) → (𝑥𝐵𝐴𝐵))
4 simpr 487 . . . . . . . . 9 ((𝑥 = 𝐴 ∧ (𝜑𝜓)) → (𝜑𝜓))
53, 4imbi12d 347 . . . . . . . 8 ((𝑥 = 𝐴 ∧ (𝜑𝜓)) → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓)))
65ex 415 . . . . . . 7 (𝑥 = 𝐴 → ((𝜑𝜓) → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))))
76a2i 14 . . . . . 6 ((𝑥 = 𝐴 → (𝜑𝜓)) → (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))))
87alimi 1812 . . . . 5 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → ∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))))
9 nfv 1915 . . . . . . 7 𝑥 𝐴𝐵
10 rspct.1 . . . . . . 7 𝑥𝜓
119, 10nfim 1897 . . . . . 6 𝑥(𝐴𝐵𝜓)
12 nfcv 2977 . . . . . 6 𝑥𝐴
1311, 12spcgft 3587 . . . . 5 (∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))) → (𝐴𝐵 → (∀𝑥(𝑥𝐵𝜑) → (𝐴𝐵𝜓))))
148, 13syl 17 . . . 4 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (∀𝑥(𝑥𝐵𝜑) → (𝐴𝐵𝜓))))
151, 14syl7bi 257 . . 3 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (∀𝑥𝐵 𝜑 → (𝐴𝐵𝜓))))
1615com34 91 . 2 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓))))
1716pm2.43d 53 1 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535   = wceq 1537  wnf 1784  wcel 2114  wral 3138
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
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  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-v 3496
This theorem is referenced by:  rspcdf  3610
  Copyright terms: Public domain W3C validator