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

Theorem rexxfr2d 5381
Description: Transfer existential quantification from a variable 𝑥 to another variable 𝑦 contained in expression 𝐴. (Contributed by Mario Carneiro, 20-Aug-2014.) (Proof shortened by Mario Carneiro, 19-Nov-2016.)
Hypotheses
Ref Expression
ralxfr2d.1 ((𝜑𝑦𝐶) → 𝐴𝑉)
ralxfr2d.2 (𝜑 → (𝑥𝐵 ↔ ∃𝑦𝐶 𝑥 = 𝐴))
ralxfr2d.3 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
Assertion
Ref Expression
rexxfr2d (𝜑 → (∃𝑥𝐵 𝜓 ↔ ∃𝑦𝐶 𝜒))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑦,𝐵   𝑥,𝐶   𝜒,𝑥   𝜑,𝑥,𝑦   𝜓,𝑦
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑦)   𝐶(𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem rexxfr2d
StepHypRef Expression
1 ralxfr2d.1 . . . 4 ((𝜑𝑦𝐶) → 𝐴𝑉)
2 ralxfr2d.2 . . . 4 (𝜑 → (𝑥𝐵 ↔ ∃𝑦𝐶 𝑥 = 𝐴))
3 ralxfr2d.3 . . . . 5 ((𝜑𝑥 = 𝐴) → (𝜓𝜒))
43notbid 318 . . . 4 ((𝜑𝑥 = 𝐴) → (¬ 𝜓 ↔ ¬ 𝜒))
51, 2, 4ralxfr2d 5380 . . 3 (𝜑 → (∀𝑥𝐵 ¬ 𝜓 ↔ ∀𝑦𝐶 ¬ 𝜒))
65notbid 318 . 2 (𝜑 → (¬ ∀𝑥𝐵 ¬ 𝜓 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒))
7 dfrex2 3063 . 2 (∃𝑥𝐵 𝜓 ↔ ¬ ∀𝑥𝐵 ¬ 𝜓)
8 dfrex2 3063 . 2 (∃𝑦𝐶 𝜒 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒)
96, 7, 83bitr4g 314 1 (𝜑 → (∃𝑥𝐵 𝜓 ↔ ∃𝑦𝐶 𝜒))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395   = wceq 1540  wcel 2108  wral 3051  wrex 3060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-12 2177  ax-ext 2707
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1543  df-ex 1780  df-sb 2065  df-clab 2714  df-cleq 2727  df-clel 2809  df-ral 3052  df-rex 3061
This theorem is referenced by:  rexrn  7077  reximaOLD  7231  cnpresti  23226  cnprest  23227  1stcrest  23391  subislly  23419  txrest  23569  trfil2  23825  met1stc  24460  metucn  24510  xrlimcnp  26930  esumlub  34091  esumfsup  34101  rexxfr3d  35660  ptrest  37643  djhcvat42  41434
  Copyright terms: Public domain W3C validator