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

Theorem rspct 3537
Description: A closed version of rspc 3539. (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 3068 . . . 4 (∀𝑥𝐵 𝜑 ↔ ∀𝑥(𝑥𝐵𝜑))
2 eleq1 2826 . . . . . . . . . 10 (𝑥 = 𝐴 → (𝑥𝐵𝐴𝐵))
32adantr 480 . . . . . . . . 9 ((𝑥 = 𝐴 ∧ (𝜑𝜓)) → (𝑥𝐵𝐴𝐵))
4 simpr 484 . . . . . . . . 9 ((𝑥 = 𝐴 ∧ (𝜑𝜓)) → (𝜑𝜓))
53, 4imbi12d 344 . . . . . . . 8 ((𝑥 = 𝐴 ∧ (𝜑𝜓)) → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓)))
65ex 412 . . . . . . 7 (𝑥 = 𝐴 → ((𝜑𝜓) → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))))
76a2i 14 . . . . . 6 ((𝑥 = 𝐴 → (𝜑𝜓)) → (𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))))
87alimi 1815 . . . . 5 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → ∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))))
9 nfv 1918 . . . . . . 7 𝑥 𝐴𝐵
10 rspct.1 . . . . . . 7 𝑥𝜓
119, 10nfim 1900 . . . . . 6 𝑥(𝐴𝐵𝜓)
12 nfcv 2906 . . . . . 6 𝑥𝐴
1311, 12spcgft 3517 . . . . 5 (∀𝑥(𝑥 = 𝐴 → ((𝑥𝐵𝜑) ↔ (𝐴𝐵𝜓))) → (𝐴𝐵 → (∀𝑥(𝑥𝐵𝜑) → (𝐴𝐵𝜓))))
148, 13syl 17 . . . 4 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (∀𝑥(𝑥𝐵𝜑) → (𝐴𝐵𝜓))))
151, 14syl7bi 254 . . 3 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (∀𝑥𝐵 𝜑 → (𝐴𝐵𝜓))))
1615com34 91 . 2 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓))))
1716pm2.43d 53 1 (∀𝑥(𝑥 = 𝐴 → (𝜑𝜓)) → (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wnf 1787  wcel 2108  wral 3063
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-v 3424
This theorem is referenced by:  rspcdf  3538
  Copyright terms: Public domain W3C validator