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

Theorem ralxfrd 5369
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 728 . . . 4 (((𝜑 ∧ 𝑦 ∈ 𝐶) ∧ 𝑥 = 𝐴) → (𝜓 ↔ 𝜒))
41, 3rspcdv 3568 . . 3 ((𝜑 ∧ 𝑦 ∈ 𝐶) → (∀𝑥 ∈ 𝐵 𝜓 → 𝜒))
54ralrimdva 3162 . 2 (𝜑 → (∀𝑥 ∈ 𝐵 𝜓 → ∀𝑦 ∈ 𝐶 𝜒))
6 ralxfrd.2 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑦 ∈ 𝐶 𝑥 = 𝐴)
7 r19.29 3125 . . . . . 6 ((∀𝑦 ∈ 𝐶 𝜒 ∧ ∃𝑦 ∈ 𝐶 𝑥 = 𝐴) → ∃𝑦 ∈ 𝐶 (𝜒 ∧ 𝑥 = 𝐴))
82exbiri 823 . . . . . . . 8 (𝜑 → (𝑥 = 𝐴 → (𝜒 → 𝜓)))
98impcomd 417 . . . . . . 7 (𝜑 → ((𝜒 ∧ 𝑥 = 𝐴) → 𝜓))
109rexlimdvw 3168 . . . . . 6 (𝜑 → (∃𝑦 ∈ 𝐶 (𝜒 ∧ 𝑥 = 𝐴) → 𝜓))
117, 10syl5 35 . . . . 5 (𝜑 → ((∀𝑦 ∈ 𝐶 𝜒 ∧ ∃𝑦 ∈ 𝐶 𝑥 = 𝐴) → 𝜓))
1211adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ((∀𝑦 ∈ 𝐶 𝜒 ∧ ∃𝑦 ∈ 𝐶 𝑥 = 𝐴) → 𝜓))
136, 12mpan2d 707 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (∀𝑦 ∈ 𝐶 𝜒 → 𝜓))
1413ralrimdva 3162 . 2 (𝜑 → (∀𝑦 ∈ 𝐶 𝜒 → ∀𝑥 ∈ 𝐵 𝜓))
155, 14impbid 215 1 (𝜑 → (∀𝑥 ∈ 𝐵 𝜓 ↔ ∀𝑦 ∈ 𝐶 𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3076  ∃wrex 3086
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087
This theorem is used by:  rexxfrd  5370  ralxfr2d  5371  ralxfr  5375  islindf4  22105  cmpfi  23687  rlimcnp  27256  ispisys2  34719  glbconN  40354  mapdordlem2  42614  opncldbid  49932
  Copyright terms: Public domain W3C validator