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

Theorem cbvrexdva2 3382
Description: Rule used to change the bound variable in a restricted existential quantifier with implicit substitution which also changes the quantifier domain. Deduction form. (Contributed by David Moews, 1-May-2017.) (Proof shortened by Wolf Lammen, 12-Aug-2023.)
Hypotheses
Ref Expression
cbvraldva2.1 ((𝜑𝑥 = 𝑦) → (𝜓𝜒))
cbvraldva2.2 ((𝜑𝑥 = 𝑦) → 𝐴 = 𝐵)
Assertion
Ref Expression
cbvrexdva2 (𝜑 → (∃𝑥𝐴 𝜓 ↔ ∃𝑦𝐵 𝜒))
Distinct variable groups:   𝑦,𝐴   𝜓,𝑦   𝑥,𝐵   𝜒,𝑥   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem cbvrexdva2
StepHypRef Expression
1 simpr 484 . . . . . . . . 9 ((𝜑𝑥 = 𝑦) → 𝑥 = 𝑦)
2 cbvraldva2.2 . . . . . . . . 9 ((𝜑𝑥 = 𝑦) → 𝐴 = 𝐵)
31, 2eleq12d 2833 . . . . . . . 8 ((𝜑𝑥 = 𝑦) → (𝑥𝐴𝑦𝐵))
4 cbvraldva2.1 . . . . . . . 8 ((𝜑𝑥 = 𝑦) → (𝜓𝜒))
53, 4anbi12d 630 . . . . . . 7 ((𝜑𝑥 = 𝑦) → ((𝑥𝐴𝜓) ↔ (𝑦𝐵𝜒)))
65ancoms 458 . . . . . 6 ((𝑥 = 𝑦𝜑) → ((𝑥𝐴𝜓) ↔ (𝑦𝐵𝜒)))
76pm5.32da 578 . . . . 5 (𝑥 = 𝑦 → ((𝜑 ∧ (𝑥𝐴𝜓)) ↔ (𝜑 ∧ (𝑦𝐵𝜒))))
87cbvexvw 2041 . . . 4 (∃𝑥(𝜑 ∧ (𝑥𝐴𝜓)) ↔ ∃𝑦(𝜑 ∧ (𝑦𝐵𝜒)))
9 19.42v 1958 . . . 4 (∃𝑥(𝜑 ∧ (𝑥𝐴𝜓)) ↔ (𝜑 ∧ ∃𝑥(𝑥𝐴𝜓)))
10 19.42v 1958 . . . 4 (∃𝑦(𝜑 ∧ (𝑦𝐵𝜒)) ↔ (𝜑 ∧ ∃𝑦(𝑦𝐵𝜒)))
118, 9, 103bitr3i 300 . . 3 ((𝜑 ∧ ∃𝑥(𝑥𝐴𝜓)) ↔ (𝜑 ∧ ∃𝑦(𝑦𝐵𝜒)))
12 pm5.32 573 . . 3 ((𝜑 → (∃𝑥(𝑥𝐴𝜓) ↔ ∃𝑦(𝑦𝐵𝜒))) ↔ ((𝜑 ∧ ∃𝑥(𝑥𝐴𝜓)) ↔ (𝜑 ∧ ∃𝑦(𝑦𝐵𝜒))))
1311, 12mpbir 230 . 2 (𝜑 → (∃𝑥(𝑥𝐴𝜓) ↔ ∃𝑦(𝑦𝐵𝜒)))
14 df-rex 3069 . 2 (∃𝑥𝐴 𝜓 ↔ ∃𝑥(𝑥𝐴𝜓))
15 df-rex 3069 . 2 (∃𝑦𝐵 𝜒 ↔ ∃𝑦(𝑦𝐵𝜒))
1613, 14, 153bitr4g 313 1 (𝜑 → (∃𝑥𝐴 𝜓 ↔ ∃𝑦𝐵 𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wrex 3064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-ex 1784  df-cleq 2730  df-clel 2817  df-rex 3069
This theorem is referenced by:  cbvrexdva  3384  mreexexlemd  17270  eulerpartlemgvv  32243  ismnu  41768
  Copyright terms: Public domain W3C validator