ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ceqsrex2v GIF version

Theorem ceqsrex2v 2791
Description: Elimination of a restricted existential quantifier, using implicit substitution. (Contributed by NM, 29-Oct-2005.)
Hypotheses
Ref Expression
ceqsrex2v.1 (𝑥 = 𝐴 → (𝜑𝜓))
ceqsrex2v.2 (𝑦 = 𝐵 → (𝜓𝜒))
Assertion
Ref Expression
ceqsrex2v ((𝐴𝐶𝐵𝐷) → (∃𝑥𝐶𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ 𝜒))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶   𝑥,𝐷,𝑦   𝜓,𝑥   𝜒,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑦)   𝜒(𝑥)   𝐶(𝑦)

Proof of Theorem ceqsrex2v
StepHypRef Expression
1 anass 398 . . . . . 6 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ (𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
21rexbii 2419 . . . . 5 (∃𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ ∃𝑦𝐷 (𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
3 r19.42v 2565 . . . . 5 (∃𝑦𝐷 (𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)) ↔ (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)))
42, 3bitri 183 . . . 4 (∃𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)))
54rexbii 2419 . . 3 (∃𝑥𝐶𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ ∃𝑥𝐶 (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)))
6 ceqsrex2v.1 . . . . . 6 (𝑥 = 𝐴 → (𝜑𝜓))
76anbi2d 459 . . . . 5 (𝑥 = 𝐴 → ((𝑦 = 𝐵𝜑) ↔ (𝑦 = 𝐵𝜓)))
87rexbidv 2415 . . . 4 (𝑥 = 𝐴 → (∃𝑦𝐷 (𝑦 = 𝐵𝜑) ↔ ∃𝑦𝐷 (𝑦 = 𝐵𝜓)))
98ceqsrexv 2789 . . 3 (𝐴𝐶 → (∃𝑥𝐶 (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)) ↔ ∃𝑦𝐷 (𝑦 = 𝐵𝜓)))
105, 9syl5bb 191 . 2 (𝐴𝐶 → (∃𝑥𝐶𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ ∃𝑦𝐷 (𝑦 = 𝐵𝜓)))
11 ceqsrex2v.2 . . 3 (𝑦 = 𝐵 → (𝜓𝜒))
1211ceqsrexv 2789 . 2 (𝐵𝐷 → (∃𝑦𝐷 (𝑦 = 𝐵𝜓) ↔ 𝜒))
1310, 12sylan9bb 457 1 ((𝐴𝐶𝐵𝐷) → (∃𝑥𝐶𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ 𝜒))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1316  wcel 1465  wrex 2394
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099
This theorem depends on definitions:  df-bi 116  df-tru 1319  df-nf 1422  df-sb 1721  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-rex 2399  df-v 2662
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator