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

Theorem gencbvex 3281
Description: Change of bound variable using implicit substitution. (Contributed by NM, 17-May-1996.) (Proof shortened by Andrew Salmon, 8-Jun-2011.)
Hypotheses
Ref Expression
gencbvex.1 𝐴 ∈ V
gencbvex.2 (𝐴 = 𝑦 → (𝜑𝜓))
gencbvex.3 (𝐴 = 𝑦 → (𝜒𝜃))
gencbvex.4 (𝜃 ↔ ∃𝑥(𝜒𝐴 = 𝑦))
Assertion
Ref Expression
gencbvex (∃𝑥(𝜒𝜑) ↔ ∃𝑦(𝜃𝜓))
Distinct variable groups:   𝜓,𝑥   𝜑,𝑦   𝜃,𝑥   𝜒,𝑦   𝑦,𝐴
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑥)   𝜃(𝑦)   𝐴(𝑥)

Proof of Theorem gencbvex
StepHypRef Expression
1 excom 2082 . 2 (∃𝑥𝑦(𝑦 = 𝐴 ∧ (𝜃𝜓)) ↔ ∃𝑦𝑥(𝑦 = 𝐴 ∧ (𝜃𝜓)))
2 gencbvex.1 . . . 4 𝐴 ∈ V
3 gencbvex.3 . . . . . . 7 (𝐴 = 𝑦 → (𝜒𝜃))
4 gencbvex.2 . . . . . . 7 (𝐴 = 𝑦 → (𝜑𝜓))
53, 4anbi12d 747 . . . . . 6 (𝐴 = 𝑦 → ((𝜒𝜑) ↔ (𝜃𝜓)))
65bicomd 213 . . . . 5 (𝐴 = 𝑦 → ((𝜃𝜓) ↔ (𝜒𝜑)))
76eqcoms 2659 . . . 4 (𝑦 = 𝐴 → ((𝜃𝜓) ↔ (𝜒𝜑)))
82, 7ceqsexv 3273 . . 3 (∃𝑦(𝑦 = 𝐴 ∧ (𝜃𝜓)) ↔ (𝜒𝜑))
98exbii 1814 . 2 (∃𝑥𝑦(𝑦 = 𝐴 ∧ (𝜃𝜓)) ↔ ∃𝑥(𝜒𝜑))
10 19.41v 1917 . . . 4 (∃𝑥(𝑦 = 𝐴 ∧ (𝜃𝜓)) ↔ (∃𝑥 𝑦 = 𝐴 ∧ (𝜃𝜓)))
11 simpr 476 . . . . 5 ((∃𝑥 𝑦 = 𝐴 ∧ (𝜃𝜓)) → (𝜃𝜓))
12 gencbvex.4 . . . . . . . 8 (𝜃 ↔ ∃𝑥(𝜒𝐴 = 𝑦))
13 eqcom 2658 . . . . . . . . . . 11 (𝐴 = 𝑦𝑦 = 𝐴)
1413biimpi 206 . . . . . . . . . 10 (𝐴 = 𝑦𝑦 = 𝐴)
1514adantl 481 . . . . . . . . 9 ((𝜒𝐴 = 𝑦) → 𝑦 = 𝐴)
1615eximi 1802 . . . . . . . 8 (∃𝑥(𝜒𝐴 = 𝑦) → ∃𝑥 𝑦 = 𝐴)
1712, 16sylbi 207 . . . . . . 7 (𝜃 → ∃𝑥 𝑦 = 𝐴)
1817adantr 480 . . . . . 6 ((𝜃𝜓) → ∃𝑥 𝑦 = 𝐴)
1918ancri 574 . . . . 5 ((𝜃𝜓) → (∃𝑥 𝑦 = 𝐴 ∧ (𝜃𝜓)))
2011, 19impbii 199 . . . 4 ((∃𝑥 𝑦 = 𝐴 ∧ (𝜃𝜓)) ↔ (𝜃𝜓))
2110, 20bitri 264 . . 3 (∃𝑥(𝑦 = 𝐴 ∧ (𝜃𝜓)) ↔ (𝜃𝜓))
2221exbii 1814 . 2 (∃𝑦𝑥(𝑦 = 𝐴 ∧ (𝜃𝜓)) ↔ ∃𝑦(𝜃𝜓))
231, 9, 223bitr3i 290 1 (∃𝑥(𝜒𝜑) ↔ ∃𝑦(𝜃𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1523  wex 1744  wcel 2030  Vcvv 3231
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-11 2074  ax-12 2087  ax-ext 2631
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-clab 2638  df-cleq 2644  df-clel 2647  df-v 3233
This theorem is referenced by:  gencbvex2  3282  gencbval  3283
  Copyright terms: Public domain W3C validator