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

Theorem ralxfr 5305
Description: Transfer universal quantification from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. (Contributed by NM, 10-Jun-2005.) (Revised by Mario Carneiro, 15-Aug-2014.)
Hypotheses
Ref Expression
ralxfr.1 (𝑦𝐶𝐴𝐵)
ralxfr.2 (𝑥𝐵 → ∃𝑦𝐶 𝑥 = 𝐴)
ralxfr.3 (𝑥 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
ralxfr (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓)
Distinct variable groups:   𝜓,𝑥   𝜑,𝑦   𝑥,𝐴   𝑥,𝑦,𝐵   𝑥,𝐶
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝐴(𝑦)   𝐶(𝑦)

Proof of Theorem ralxfr
StepHypRef Expression
1 ralxfr.1 . . . 4 (𝑦𝐶𝐴𝐵)
21adantl 482 . . 3 ((⊤ ∧ 𝑦𝐶) → 𝐴𝐵)
3 ralxfr.2 . . . 4 (𝑥𝐵 → ∃𝑦𝐶 𝑥 = 𝐴)
43adantl 482 . . 3 ((⊤ ∧ 𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
5 ralxfr.3 . . . 4 (𝑥 = 𝐴 → (𝜑𝜓))
65adantl 482 . . 3 ((⊤ ∧ 𝑥 = 𝐴) → (𝜑𝜓))
72, 4, 6ralxfrd 5299 . 2 (⊤ → (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓))
87mptru 1535 1 (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207   = wceq 1528  wtru 1529  wcel 2105  wral 3135  wrex 3136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-tru 1531  df-ex 1772  df-cleq 2811  df-clel 2890  df-ral 3140  df-rex 3141
This theorem is referenced by:  rexxfr  5307  infm3  11588
  Copyright terms: Public domain W3C validator