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

Theorem gencbvex 3507
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 2199 . 2 (∃𝑥∃𝑦(𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) ↔ ∃𝑦∃𝑥(𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)))
2 gencbvex.1 . . . 4 𝐴 ∈ V
3 gencbvex.3 . . . . . . 7 (𝐴 = 𝑦 → (𝜒 ↔ 𝜃))
4 gencbvex.2 . . . . . . 7 (𝐴 = 𝑦 → (𝜑 ↔ 𝜓))
53, 4anbi12d 644 . . . . . 6 (𝐴 = 𝑦 → ((𝜒 ∧ 𝜑) ↔ (𝜃 ∧ 𝜓)))
65bicomd 226 . . . . 5 (𝐴 = 𝑦 → ((𝜃 ∧ 𝜓) ↔ (𝜒 ∧ 𝜑)))
76eqcoms 2769 . . . 4 (𝑦 = 𝐴 → ((𝜃 ∧ 𝜓) ↔ (𝜒 ∧ 𝜑)))
82, 7ceqsexv 3499 . . 3 (∃𝑦(𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) ↔ (𝜒 ∧ 𝜑))
98exbii 1881 . 2 (∃𝑥∃𝑦(𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) ↔ ∃𝑥(𝜒 ∧ 𝜑))
10 19.41v 1982 . . . 4 (∃𝑥(𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) ↔ (∃𝑥 𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)))
11 simpr 490 . . . . 5 ((∃𝑥 𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) → (𝜃 ∧ 𝜓))
12 gencbvex.4 . . . . . . . 8 (𝜃 ↔ ∃𝑥(𝜒 ∧ 𝐴 = 𝑦))
13 eqcom 2768 . . . . . . . . . 10 (𝐴 = 𝑦 ↔ 𝑦 = 𝐴)
1413bilani 510 . . . . . . . . 9 ((𝜒 ∧ 𝐴 = 𝑦) → 𝑦 = 𝐴)
1514eximi 1868 . . . . . . . 8 (∃𝑥(𝜒 ∧ 𝐴 = 𝑦) → ∃𝑥 𝑦 = 𝐴)
1612, 15sylbi 220 . . . . . . 7 (𝜃 → ∃𝑥 𝑦 = 𝐴)
1716adantr 486 . . . . . 6 ((𝜃 ∧ 𝜓) → ∃𝑥 𝑦 = 𝐴)
1817ancri 559 . . . . 5 ((𝜃 ∧ 𝜓) → (∃𝑥 𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)))
1911, 18impbii 212 . . . 4 ((∃𝑥 𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) ↔ (𝜃 ∧ 𝜓))
2010, 19bitri 278 . . 3 (∃𝑥(𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) ↔ (𝜃 ∧ 𝜓))
2120exbii 1881 . 2 (∃𝑦∃𝑥(𝑦 = 𝐴 ∧ (𝜃 ∧ 𝜓)) ↔ ∃𝑦(𝜃 ∧ 𝜓))
221, 9, 213bitr3i 304 1 (∃𝑥(𝜒 ∧ 𝜑) ↔ ∃𝑦(𝜃 ∧ 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  Vcvv 3451
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-11 2194  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-cleq 2753  df-clel 2836
This theorem is used by:  gencbvex2  3508  gencbval  3509
  Copyright terms: Public domain W3C validator