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

Theorem rexxfrd 5378
Description: Transfer existential quantification from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. (Contributed by FL, 10-Apr-2007.) (Revised by Mario Carneiro, 15-Aug-2014.)
Hypotheses
Ref Expression
ralxfrd.1 ((𝜑 ∧ 𝑦 ∈ 𝐶) → 𝐴 ∈ 𝐵)
ralxfrd.2 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑦 ∈ 𝐶 𝑥 = 𝐴)
ralxfrd.3 ((𝜑 ∧ 𝑥 = 𝐴) → (𝜓 ↔ 𝜒))
Assertion
Ref Expression
rexxfrd (𝜑 → (∃𝑥 ∈ 𝐵 𝜓 ↔ ∃𝑦 ∈ 𝐶 𝜒))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐵   𝑥,𝐶   𝜒,𝑥   𝜑,𝑥,𝑦   𝜓,𝑦
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑦)   𝐶(𝑦)

Proof of Theorem rexxfrd
StepHypRef Expression
1 ralxfrd.1 . . . 4 ((𝜑 ∧ 𝑦 ∈ 𝐶) → 𝐴 ∈ 𝐵)
2 ralxfrd.2 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑦 ∈ 𝐶 𝑥 = 𝐴)
3 ralxfrd.3 . . . . 5 ((𝜑 ∧ 𝑥 = 𝐴) → (𝜓 ↔ 𝜒))
43notbid 321 . . . 4 ((𝜑 ∧ 𝑥 = 𝐴) → (¬ 𝜓 ↔ ¬ 𝜒))
51, 2, 4ralxfrd 5377 . . 3 (𝜑 → (∀𝑥 ∈ 𝐵 ¬ 𝜓 ↔ ∀𝑦 ∈ 𝐶 ¬ 𝜒))
65notbid 321 . 2 (𝜑 → (¬ ∀𝑥 ∈ 𝐵 ¬ 𝜓 ↔ ¬ ∀𝑦 ∈ 𝐶 ¬ 𝜒))
7 dfrex2 3093 . 2 (∃𝑥 ∈ 𝐵 𝜓 ↔ ¬ ∀𝑥 ∈ 𝐵 ¬ 𝜓)
8 dfrex2 3093 . 2 (∃𝑦 ∈ 𝐶 𝜒 ↔ ¬ ∀𝑦 ∈ 𝐶 ¬ 𝜒)
96, 7, 83bitr4g 317 1 (𝜑 → (∃𝑥 ∈ 𝐵 𝜓 ↔ ∃𝑦 ∈ 𝐶 𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → 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:  swrdrn3  14844  cmpfi  23781  elfm  24321  rlimcnp  27350  rmoxfrd  33188  iunrdx  33256  dvh4dimat  42761  mapdcv  42983  fimgmcyc  43864  elrfirn  43972  fargshiftfo  48797
  Copyright terms: Public domain W3C validator