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

Theorem rexxfrd2 5304
Description: Transfer existence from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. Variant of rexxfrd 5300. (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 319 . . . 4 ((𝜑𝑦𝐶𝑥 = 𝐴) → (¬ 𝜓 ↔ ¬ 𝜒))
51, 2, 4ralxfrd2 5303 . . 3 (𝜑 → (∀𝑥𝐵 ¬ 𝜓 ↔ ∀𝑦𝐶 ¬ 𝜒))
65notbid 319 . 2 (𝜑 → (¬ ∀𝑥𝐵 ¬ 𝜓 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒))
7 dfrex2 3236 . 2 (∃𝑥𝐵 𝜓 ↔ ¬ ∀𝑥𝐵 ¬ 𝜓)
8 dfrex2 3236 . 2 (∃𝑦𝐶 𝜒 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒)
96, 7, 83bitr4g 315 1 (𝜑 → (∃𝑥𝐵 𝜓 ↔ ∃𝑦𝐶 𝜒))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  w3a 1079   = wceq 1528  wcel 2105  wral 3135  wrex 3136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-3an 1081  df-ex 1772  df-cleq 2811  df-clel 2890  df-ral 3140  df-rex 3141
This theorem is referenced by:  cshimadifsn  14179  cshimadifsn0  14180  cshwrnid  30562  ntrclsneine0lem  40292
  Copyright terms: Public domain W3C validator