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

Theorem ralxfrd2 4884
Description: Transfer universal quantification from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. Variant of ralxfrd 4879. (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 1265 . . . 4 (((𝜑𝑦𝐶) ∧ 𝑥 = 𝐴) → (𝜓𝜒))
41, 3rspcdv 3312 . . 3 ((𝜑𝑦𝐶) → (∀𝑥𝐵 𝜓𝜒))
54ralrimdva 2969 . 2 (𝜑 → (∀𝑥𝐵 𝜓 → ∀𝑦𝐶 𝜒))
6 ralxfrd2.2 . . . 4 ((𝜑𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
7 r19.29 3072 . . . . 5 ((∀𝑦𝐶 𝜒 ∧ ∃𝑦𝐶 𝑥 = 𝐴) → ∃𝑦𝐶 (𝜒𝑥 = 𝐴))
82ad4ant134 1296 . . . . . . . . 9 ((((𝜑𝑥𝐵) ∧ 𝑦𝐶) ∧ 𝑥 = 𝐴) → (𝜓𝜒))
98exbiri 652 . . . . . . . 8 (((𝜑𝑥𝐵) ∧ 𝑦𝐶) → (𝑥 = 𝐴 → (𝜒𝜓)))
109com23 86 . . . . . . 7 (((𝜑𝑥𝐵) ∧ 𝑦𝐶) → (𝜒 → (𝑥 = 𝐴𝜓)))
1110impd 447 . . . . . 6 (((𝜑𝑥𝐵) ∧ 𝑦𝐶) → ((𝜒𝑥 = 𝐴) → 𝜓))
1211rexlimdva 3031 . . . . 5 ((𝜑𝑥𝐵) → (∃𝑦𝐶 (𝜒𝑥 = 𝐴) → 𝜓))
137, 12syl5 34 . . . 4 ((𝜑𝑥𝐵) → ((∀𝑦𝐶 𝜒 ∧ ∃𝑦𝐶 𝑥 = 𝐴) → 𝜓))
146, 13mpan2d 710 . . 3 ((𝜑𝑥𝐵) → (∀𝑦𝐶 𝜒𝜓))
1514ralrimdva 2969 . 2 (𝜑 → (∀𝑦𝐶 𝜒 → ∀𝑥𝐵 𝜓))
165, 15impbid 202 1 (𝜑 → (∀𝑥𝐵 𝜓 ↔ ∀𝑦𝐶 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1037   = wceq 1483  wcel 1990  wral 2912  wrex 2913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-v 3202
This theorem is referenced by:  rexxfrd2  4885  ntrclsiso  38365  ntrclsk2  38366  ntrclskb  38367  ntrclsk3  38368  ntrclsk13  38369  ntrclsk4  38370
  Copyright terms: Public domain W3C validator