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

Theorem ralxfrd 5374
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 3572 . . 3 ((𝜑 ∧ 𝑦 ∈ 𝐶) → (∀𝑥 ∈ 𝐵 𝜓 → 𝜒))
54ralrimdva 3166 . 2 (𝜑 → (∀𝑥 ∈ 𝐵 𝜓 → ∀𝑦 ∈ 𝐶 𝜒))
6 ralxfrd.2 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑦 ∈ 𝐶 𝑥 = 𝐴)
7 r19.29 3129 . . . . . 6 ((∀𝑦 ∈ 𝐶 𝜒 ∧ ∃𝑦 ∈ 𝐶 𝑥 = 𝐴) → ∃𝑦 ∈ 𝐶 (𝜒 ∧ 𝑥 = 𝐴))
82exbiri 823 . . . . . . . 8 (𝜑 → (𝑥 = 𝐴 → (𝜒 → 𝜓)))
98impcomd 417 . . . . . . 7 (𝜑 → ((𝜒 ∧ 𝑥 = 𝐴) → 𝜓))
109rexlimdvw 3172 . . . . . 6 (𝜑 → (∃𝑦 ∈ 𝐶 (𝜒 ∧ 𝑥 = 𝐴) → 𝜓))
117, 10syl5 35 . . . . 5 (𝜑 → ((∀𝑦 ∈ 𝐶 𝜒 ∧ ∃𝑦 ∈ 𝐶 𝑥 = 𝐴) → 𝜓))
1211adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ((∀𝑦 ∈ 𝐶 𝜒 ∧ ∃𝑦 ∈ 𝐶 𝑥 = 𝐴) → 𝜓))
136, 12mpan2d 707 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (∀𝑦 ∈ 𝐶 𝜒 → 𝜓))
1413ralrimdva 3166 . 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 2147  ∀wral 3080  ∃wrex 3090
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091
This theorem is used by:  rexxfrd  5375  ralxfr2d  5376  ralxfr  5380  islindf4  22174  cmpfi  23756  rlimcnp  27323  ispisys2  34856  glbconN  40626  mapdordlem2  42886  opncldbid  50221
  Copyright terms: Public domain W3C validator