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

Theorem ralxfrALT 5036
Description: Alternate proof of ralxfr 5035 which does not use ralxfrd 5028. (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 3445 . . . . 5 (𝐴𝐵 → (∀𝑥𝐵 𝜑𝜓))
41, 3syl 17 . . . 4 (𝑦𝐶 → (∀𝑥𝐵 𝜑𝜓))
54com12 32 . . 3 (∀𝑥𝐵 𝜑 → (𝑦𝐶𝜓))
65ralrimiv 3103 . 2 (∀𝑥𝐵 𝜑 → ∀𝑦𝐶 𝜓)
7 ralxfr.2 . . . 4 (𝑥𝐵 → ∃𝑦𝐶 𝑥 = 𝐴)
8 nfra1 3079 . . . . 5 𝑦𝑦𝐶 𝜓
9 nfv 1992 . . . . 5 𝑦𝜑
10 rsp 3067 . . . . . 6 (∀𝑦𝐶 𝜓 → (𝑦𝐶𝜓))
112biimprcd 240 . . . . . 6 (𝜓 → (𝑥 = 𝐴𝜑))
1210, 11syl6 35 . . . . 5 (∀𝑦𝐶 𝜓 → (𝑦𝐶 → (𝑥 = 𝐴𝜑)))
138, 9, 12rexlimd 3164 . . . 4 (∀𝑦𝐶 𝜓 → (∃𝑦𝐶 𝑥 = 𝐴𝜑))
147, 13syl5 34 . . 3 (∀𝑦𝐶 𝜓 → (𝑥𝐵𝜑))
1514ralrimiv 3103 . 2 (∀𝑦𝐶 𝜓 → ∀𝑥𝐵 𝜑)
166, 15impbii 199 1 (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196   = wceq 1632  wcel 2139  wral 3050  wrex 3051
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ral 3055  df-rex 3056  df-v 3342
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator