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

Theorem rspct 3608
Description: A closed version of rspc 3610. (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 1808 . . . . 5 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → ∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))))
9 nfv 1911 . . . . . . 7 𝑥 𝐴𝐵
10 rspct.1 . . . . . . 7 𝑥𝜓
119, 10nfim 1893 . . . . . 6 𝑥(𝐴𝐵𝜓)
12 nfcv 2977 . . . . . 6 𝑥𝐴
1311, 12spcgft 3586 . . . . 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 1531   = wceq 1533  wnf 1780  wcel 2110  wral 3138
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-v 3496
This theorem is referenced by:  rspcdf  3609
  Copyright terms: Public domain W3C validator