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

Theorem alxfr 4804
Description: Transfer universal quantification from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. (Contributed by NM, 18-Feb-2007.)
Hypothesis
Ref Expression
alxfr.1 (𝑥 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
alxfr ((∀𝑦 𝐴𝐵 ∧ ∀𝑥𝑦 𝑥 = 𝐴) → (∀𝑥𝜑 ↔ ∀𝑦𝜓))
Distinct variable groups:   𝑥,𝐴   𝜑,𝑦   𝜓,𝑥   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝐴(𝑦)   𝐵(𝑥,𝑦)

Proof of Theorem alxfr
StepHypRef Expression
1 alxfr.1 . . . . . . 7 (𝑥 = 𝐴 → (𝜑𝜓))
21spcgv 3266 . . . . . 6 (𝐴𝐵 → (∀𝑥𝜑𝜓))
32com12 32 . . . . 5 (∀𝑥𝜑 → (𝐴𝐵𝜓))
43alimdv 1832 . . . 4 (∀𝑥𝜑 → (∀𝑦 𝐴𝐵 → ∀𝑦𝜓))
54com12 32 . . 3 (∀𝑦 𝐴𝐵 → (∀𝑥𝜑 → ∀𝑦𝜓))
65adantr 480 . 2 ((∀𝑦 𝐴𝐵 ∧ ∀𝑥𝑦 𝑥 = 𝐴) → (∀𝑥𝜑 → ∀𝑦𝜓))
7 nfa1 2015 . . . . . 6 𝑦𝑦𝜓
8 nfv 1830 . . . . . 6 𝑦𝜑
9 sp 2041 . . . . . . 7 (∀𝑦𝜓𝜓)
109, 1syl5ibrcom 236 . . . . . 6 (∀𝑦𝜓 → (𝑥 = 𝐴𝜑))
117, 8, 10exlimd 2074 . . . . 5 (∀𝑦𝜓 → (∃𝑦 𝑥 = 𝐴𝜑))
1211alimdv 1832 . . . 4 (∀𝑦𝜓 → (∀𝑥𝑦 𝑥 = 𝐴 → ∀𝑥𝜑))
1312com12 32 . . 3 (∀𝑥𝑦 𝑥 = 𝐴 → (∀𝑦𝜓 → ∀𝑥𝜑))
1413adantl 481 . 2 ((∀𝑦 𝐴𝐵 ∧ ∀𝑥𝑦 𝑥 = 𝐴) → (∀𝑦𝜓 → ∀𝑥𝜑))
156, 14impbid 201 1 ((∀𝑦 𝐴𝐵 ∧ ∀𝑥𝑦 𝑥 = 𝐴) → (∀𝑥𝜑 ↔ ∀𝑦𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wex 1695  wcel 1977
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-v 3175
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator