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

Theorem ralxfrALT 5316
Description: Alternate proof of ralxfr 5315 which does not use ralxfrd 5309. (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 3618 . . . . 5 (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓))
41, 3syl 17 . . . 4 (𝑦𝐶 → (∀𝑥𝐵 𝜑𝜓))
54com12 32 . . 3 (∀𝑥𝐵 𝜑 → (𝑦𝐶𝜓))
65ralrimiv 3181 . 2 (∀𝑥𝐵 𝜑 → ∀𝑦𝐶 𝜓)
7 ralxfr.2 . . . 4 (𝑥𝐵 → ∃𝑦𝐶 𝑥 = 𝐴)
8 nfra1 3219 . . . . 5 𝑦𝑦𝐶 𝜓
9 nfv 1915 . . . . 5 𝑦𝜑
10 rsp 3205 . . . . . 6 (∀𝑦𝐶 𝜓 → (𝑦𝐶𝜓))
112biimprcd 252 . . . . . 6 (𝜓 → (𝑥 = 𝐴𝜑))
1210, 11syl6 35 . . . . 5 (∀𝑦𝐶 𝜓 → (𝑦𝐶 → (𝑥 = 𝐴𝜑)))
138, 9, 12rexlimd 3317 . . . 4 (∀𝑦𝐶 𝜓 → (∃𝑦𝐶 𝑥 = 𝐴𝜑))
147, 13syl5 34 . . 3 (∀𝑦𝐶 𝜓 → (𝑥𝐵𝜑))
1514ralrimiv 3181 . 2 (∀𝑦𝐶 𝜓 → ∀𝑥𝐵 𝜑)
166, 15impbii 211 1 (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1537  wcel 2114  wral 3138  wrex 3139
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-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ex 1781  df-nf 1785  df-cleq 2814  df-clel 2893  df-ral 3143  df-rex 3144
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator