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

Theorem alxfr 5368
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 3550 . . . . . 6 (𝐴 ∈ 𝐵 → (∀𝑥𝜑 → 𝜓))
32com12 33 . . . . 5 (∀𝑥𝜑 → (𝐴 ∈ 𝐵 → 𝜓))
43alimdv 1948 . . . 4 (∀𝑥𝜑 → (∀𝑦 𝐴 ∈ 𝐵 → ∀𝑦𝜓))
54com12 33 . . 3 (∀𝑦 𝐴 ∈ 𝐵 → (∀𝑥𝜑 → ∀𝑦𝜓))
65adantr 486 . 2 ((∀𝑦 𝐴 ∈ 𝐵 ∧ ∀𝑥∃𝑦 𝑥 = 𝐴) → (∀𝑥𝜑 → ∀𝑦𝜓))
7 nfa1 2187 . . . . . 6 Ⅎ𝑦∀𝑦𝜓
8 nfv 1946 . . . . . 6 Ⅎ𝑦𝜑
9 sp 2219 . . . . . . 7 (∀𝑦𝜓 → 𝜓)
109, 1syl5ibrcom 250 . . . . . 6 (∀𝑦𝜓 → (𝑥 = 𝐴 → 𝜑))
117, 8, 10exlimd 2254 . . . . 5 (∀𝑦𝜓 → (∃𝑦 𝑥 = 𝐴 → 𝜑))
1211alimdv 1948 . . . 4 (∀𝑦𝜓 → (∀𝑥∃𝑦 𝑥 = 𝐴 → ∀𝑥𝜑))
1312com12 33 . . 3 (∀𝑥∃𝑦 𝑥 = 𝐴 → (∀𝑦𝜓 → ∀𝑥𝜑))
1413adantl 487 . 2 ((∀𝑦 𝐴 ∈ 𝐵 ∧ ∀𝑥∃𝑦 𝑥 = 𝐴) → (∀𝑦𝜓 → ∀𝑥𝜑))
156, 14impbid 215 1 ((∀𝑦 𝐴 ∈ 𝐵 ∧ ∀𝑥∃𝑦 𝑥 = 𝐴) → (∀𝑥𝜑 ↔ ∀𝑦𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator