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

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

Proof of Theorem rexxfrd2
StepHypRef Expression
1 ralxfrd2.1 . . . 4 ((𝜑𝑦𝐶) → 𝐴𝐵)
2 ralxfrd2.2 . . . 4 ((𝜑𝑥𝐵) → ∃𝑦𝐶 𝑥 = 𝐴)
3 ralxfrd2.3 . . . . 5 ((𝜑𝑦𝐶𝑥 = 𝐴) → (𝜓𝜒))
43notbid 320 . . . 4 ((𝜑𝑦𝐶𝑥 = 𝐴) → (¬ 𝜓 ↔ ¬ 𝜒))
51, 2, 4ralxfrd2 5312 . . 3 (𝜑 → (∀𝑥𝐵 ¬ 𝜓 ↔ ∀𝑦𝐶 ¬ 𝜒))
65notbid 320 . 2 (𝜑 → (¬ ∀𝑥𝐵 ¬ 𝜓 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒))
7 dfrex2 3239 . 2 (∃𝑥𝐵 𝜓 ↔ ¬ ∀𝑥𝐵 ¬ 𝜓)
8 dfrex2 3239 . 2 (∃𝑦𝐶 𝜒 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒)
96, 7, 83bitr4g 316 1 (𝜑 → (∃𝑥𝐵 𝜓 ↔ ∃𝑦𝐶 𝜒))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wcel 2110  wral 3138  wrex 3139
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-3an 1085  df-ex 1777  df-cleq 2814  df-clel 2893  df-ral 3143  df-rex 3144
This theorem is referenced by:  cshimadifsn  14190  cshimadifsn0  14191  cshwrnid  30635  ntrclsneine0lem  40412
  Copyright terms: Public domain W3C validator