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

Theorem ralxfrd2 5330
Description: Transfer universal quantification from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. Variant of ralxfrd 5326. (Contributed by Alexander van der Vekens, 25-Apr-2018.)
Hypotheses
Ref Expression
ralxfrd2.1 ((𝜑𝑦𝐶) → 𝐴𝐵)
ralxfrd2.2 ((𝜑𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
ralxfrd2.3 ((𝜑𝑦𝐶𝑥 = 𝐴) → (𝜓𝜒))
Assertion
Ref Expression
ralxfrd2 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶 𝜒))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐵   𝑥,𝐶   𝜒,𝑥   𝜑,𝑥,𝑦   𝜓,𝑦
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑦)   𝐶(𝑦)

Proof of Theorem ralxfrd2
StepHypRef Expression
1 ralxfrd2.1 . . . 4 ((𝜑𝑦𝐶) → 𝐴𝐵)
2 ralxfrd2.3 . . . . 5 ((𝜑𝑦𝐶𝑥 = 𝐴) → (𝜓𝜒))
323expa 1116 . . . 4 (((𝜑𝑦𝐶) ∧ 𝑥 = 𝐴) → (𝜓𝜒))
41, 3rspcdv 3543 . . 3 ((𝜑𝑦𝐶) → (∀𝑥𝐵 𝜓𝜒))
54ralrimdva 3112 . 2 (𝜑 → (∀𝑥𝐵 𝜓 → ∀𝑦𝐶 𝜒))
6 ralxfrd2.2 . . . 4 ((𝜑𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
7 r19.29 3183 . . . . 5 ((∀𝑦𝐶 𝜒 ∧ ∃𝑦𝐶 𝑥 = 𝐴) → ∃𝑦𝐶 (𝜒𝑥 = 𝐴))
82ad4ant134 1172 . . . . . . . 8 ((((𝜑𝑥𝐵) ∧ 𝑦𝐶) ∧ 𝑥 = 𝐴) → (𝜓𝜒))
98exbiri 807 . . . . . . 7 (((𝜑𝑥𝐵) ∧ 𝑦𝐶) → (𝑥 = 𝐴 → (𝜒𝜓)))
109impcomd 411 . . . . . 6 (((𝜑𝑥𝐵) ∧ 𝑦𝐶) → ((𝜒𝑥 = 𝐴) → 𝜓))
1110rexlimdva 3212 . . . . 5 ((𝜑𝑥𝐵) → (∃𝑦𝐶 (𝜒𝑥 = 𝐴) → 𝜓))
127, 11syl5 34 . . . 4 ((𝜑𝑥𝐵) → ((∀𝑦𝐶 𝜒 ∧ ∃𝑦𝐶 𝑥 = 𝐴) → 𝜓))
136, 12mpan2d 690 . . 3 ((𝜑𝑥𝐵) → (∀𝑦𝐶 𝜒𝜓))
1413ralrimdva 3112 . 2 (𝜑 → (∀𝑦𝐶 𝜒 → ∀𝑥𝐵 𝜓))
155, 14impbid 211 1 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-3an 1087  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069
This theorem is referenced by:  rexxfrd2  5331  ntrclsiso  41566  ntrclsk2  41567  ntrclskb  41568  ntrclsk3  41569  ntrclsk13  41570  ntrclsk4  41571
  Copyright terms: Public domain W3C validator