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

Theorem ralxfr 5317
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 484 . . 3 ((⊤ ∧ 𝑦𝐶) → 𝐴𝐵)
3 ralxfr.2 . . . 4 (𝑥𝐵 → ∃𝑦𝐶 𝑥 = 𝐴)
43adantl 484 . . 3 ((⊤ ∧ 𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
5 ralxfr.3 . . . 4 (𝑥 = 𝐴 → (𝜑𝜓))
65adantl 484 . . 3 ((⊤ ∧ 𝑥 = 𝐴) → (𝜑𝜓))
72, 4, 6ralxfrd 5311 . 2 (⊤ → (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓))
87mptru 1544 1 (∀𝑥𝐵 𝜑 ↔ ∀𝑦𝐶 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1537  wtru 1538  wcel 2114  wral 3140  wrex 3141
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-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-tru 1540  df-ex 1781  df-cleq 2816  df-clel 2895  df-ral 3145  df-rex 3146
This theorem is referenced by:  rexxfr  5319  infm3  11602
  Copyright terms: Public domain W3C validator