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

Theorem rexxfr2d 5429
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 5428 . . 3 (𝜑 → (∀𝑥𝐵 ¬ 𝜓 ↔ ∀𝑦𝐶 ¬ 𝜒))
65notbid 318 . 2 (𝜑 → (¬ ∀𝑥𝐵 ¬ 𝜓 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒))
7 dfrex2 3079 . 2 (∃𝑥𝐵 𝜓 ↔ ¬ ∀𝑥𝐵 ¬ 𝜓)
8 dfrex2 3079 . 2 (∃𝑦𝐶 𝜒 ↔ ¬ ∀𝑦𝐶 ¬ 𝜒)
96, 7, 83bitr4g 314 1 (𝜑 → (∃𝑥𝐵 𝜓 ↔ ∃𝑦𝐶 𝜒))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395   = wceq 1537  wcel 2108  wral 3067  wrex 3076
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-12 2178  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1540  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-ral 3068  df-rex 3077
This theorem is referenced by:  rexrn  7121  reximaOLD  7276  cnpresti  23317  cnprest  23318  1stcrest  23482  subislly  23510  txrest  23660  trfil2  23916  met1stc  24555  metucn  24605  xrlimcnp  27029  esumlub  34024  esumfsup  34034  rexxfr3d  35606  ptrest  37579  djhcvat42  41372
  Copyright terms: Public domain W3C validator