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

Theorem ralxfrALT 5333
Description: Alternate proof of ralxfr 5332 which does not use ralxfrd 5326. (Contributed by NM, 10-Jun-2005.) (Revised by Mario Carneiro, 15-Aug-2014.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypotheses
Ref Expression
ralxfr.1 (𝑦𝐶𝐴𝐵)
ralxfr.2 (𝑥𝐵 → ∃𝑦𝐶 𝑥 = 𝐴)
ralxfr.3 (𝑥 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
ralxfrALT (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓)
Distinct variable groups:   𝜓,𝑥   𝜑,𝑦   𝑥,𝐴   𝑥,𝑦,𝐵   𝑥,𝐶
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝐴(𝑦)   𝐶(𝑦)

Proof of Theorem ralxfrALT
StepHypRef Expression
1 ralxfr.1 . . . . 5 (𝑦𝐶𝐴𝐵)
2 ralxfr.3 . . . . . 6 (𝑥 = 𝐴 → (𝜑𝜓))
32rspcv 3547 . . . . 5 (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓))
41, 3syl 17 . . . 4 (𝑦𝐶 → (∀𝑥𝐵 𝜑𝜓))
54com12 32 . . 3 (∀𝑥𝐵 𝜑 → (𝑦𝐶𝜓))
65ralrimiv 3106 . 2 (∀𝑥𝐵 𝜑 → ∀𝑦𝐶 𝜓)
7 ralxfr.2 . . . 4 (𝑥𝐵 → ∃𝑦𝐶 𝑥 = 𝐴)
8 nfra1 3142 . . . . 5 𝑦𝑦𝐶 𝜓
9 nfv 1918 . . . . 5 𝑦𝜑
10 rsp 3129 . . . . . 6 (∀𝑦𝐶 𝜓 → (𝑦𝐶𝜓))
112biimprcd 249 . . . . . 6 (𝜓 → (𝑥 = 𝐴𝜑))
1210, 11syl6 35 . . . . 5 (∀𝑦𝐶 𝜓 → (𝑦𝐶 → (𝑥 = 𝐴𝜑)))
138, 9, 12rexlimd 3245 . . . 4 (∀𝑦𝐶 𝜓 → (∃𝑦𝐶 𝑥 = 𝐴𝜑))
147, 13syl5 34 . . 3 (∀𝑦𝐶 𝜓 → (𝑥𝐵𝜑))
1514ralrimiv 3106 . 2 (∀𝑦𝐶 𝜓 → ∀𝑥𝐵 𝜑)
166, 15impbii 208 1 (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wcel 2108  wral 3063  wrex 3064
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-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-ral 3068  df-rex 3069
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator