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

Theorem ralxfrd 5300
Description: Transfer universal quantification from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. (Contributed by NM, 15-Aug-2014.) (Proof shortened by Mario Carneiro, 19-Nov-2016.) (Proof shortened by JJ, 7-Aug-2021.)
Hypotheses
Ref Expression
ralxfrd.1 ((𝜑𝑦𝐶) → 𝐴𝐵)
ralxfrd.2 ((𝜑𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
ralxfrd.3 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
Assertion
Ref Expression
ralxfrd (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶 𝜒))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐵   𝑥,𝐶   𝜒,𝑥   𝜑,𝑥,𝑦   𝜓,𝑦
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑦)   𝐶(𝑦)

Proof of Theorem ralxfrd
StepHypRef Expression
1 ralxfrd.1 . . . 4 ((𝜑𝑦𝐶) → 𝐴𝐵)
2 ralxfrd.3 . . . . 5 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
32adantlr 713 . . . 4 (((𝜑𝑦𝐶) ∧ 𝑥 = 𝐴) → (𝜓𝜒))
41, 3rspcdv 3614 . . 3 ((𝜑𝑦𝐶) → (∀𝑥𝐵 𝜓𝜒))
54ralrimdva 3189 . 2 (𝜑 → (∀𝑥𝐵 𝜓 → ∀𝑦𝐶 𝜒))
6 ralxfrd.2 . . . 4 ((𝜑𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
7 r19.29 3254 . . . . . 6 ((∀𝑦𝐶 𝜒 ∧ ∃𝑦𝐶 𝑥 = 𝐴) → ∃𝑦𝐶 (𝜒𝑥 = 𝐴))
82exbiri 809 . . . . . . . 8 (𝜑 → (𝑥 = 𝐴 → (𝜒𝜓)))
98impcomd 414 . . . . . . 7 (𝜑 → ((𝜒𝑥 = 𝐴) → 𝜓))
109rexlimdvw 3290 . . . . . 6 (𝜑 → (∃𝑦𝐶 (𝜒𝑥 = 𝐴) → 𝜓))
117, 10syl5 34 . . . . 5 (𝜑 → ((∀𝑦𝐶 𝜒 ∧ ∃𝑦𝐶 𝑥 = 𝐴) → 𝜓))
1211adantr 483 . . . 4 ((𝜑𝑥𝐵) → ((∀𝑦𝐶 𝜒 ∧ ∃𝑦𝐶 𝑥 = 𝐴) → 𝜓))
136, 12mpan2d 692 . . 3 ((𝜑𝑥𝐵) → (∀𝑦𝐶 𝜒𝜓))
1413ralrimdva 3189 . 2 (𝜑 → (∀𝑦𝐶 𝜒 → ∀𝑥𝐵 𝜓))
155, 14impbid 214 1 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  wral 3138  wrex 3139
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1777  df-cleq 2814  df-clel 2893  df-ral 3143  df-rex 3144
This theorem is referenced by:  rexxfrd  5301  ralxfr2d  5302  ralxfr  5306  islindf4  20976  cmpfi  22010  rlimcnp  25537  ispisys2  31407  glbconN  36507  mapdordlem2  38767
  Copyright terms: Public domain W3C validator