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

Theorem ceqsrex2v 2727
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 393 . . . . . 6 (((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ (𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
21rexbii 2373 . . . . 5 (∃𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ ∃𝑦𝐷 (𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
3 r19.42v 2511 . . . . 5 (∃𝑦𝐷 (𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)) ↔ (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)))
42, 3bitri 182 . . . 4 (∃𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)))
54rexbii 2373 . . 3 (∃𝑥𝐶𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ ∃𝑥𝐶 (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)))
6 ceqsrex2v.1 . . . . . 6 (𝑥 = 𝐴 → (𝜑𝜓))
76anbi2d 451 . . . . 5 (𝑥 = 𝐴 → ((𝑦 = 𝐵𝜑) ↔ (𝑦 = 𝐵𝜓)))
87rexbidv 2369 . . . 4 (𝑥 = 𝐴 → (∃𝑦𝐷 (𝑦 = 𝐵𝜑) ↔ ∃𝑦𝐷 (𝑦 = 𝐵𝜓)))
98ceqsrexv 2725 . . 3 (𝐴𝐶 → (∃𝑥𝐶 (𝑥 = 𝐴 ∧ ∃𝑦𝐷 (𝑦 = 𝐵𝜑)) ↔ ∃𝑦𝐷 (𝑦 = 𝐵𝜓)))
105, 9syl5bb 190 . 2 (𝐴𝐶 → (∃𝑥𝐶𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ ∃𝑦𝐷 (𝑦 = 𝐵𝜓)))
11 ceqsrex2v.2 . . 3 (𝑦 = 𝐵 → (𝜓𝜒))
1211ceqsrexv 2725 . 2 (𝐵𝐷 → (∃𝑦𝐷 (𝑦 = 𝐵𝜓) ↔ 𝜒))
1310, 12sylan9bb 449 1 ((𝐴𝐶𝐵𝐷) → (∃𝑥𝐶𝑦𝐷 ((𝑥 = 𝐴𝑦 = 𝐵) ∧ 𝜑) ↔ 𝜒))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103   = wceq 1284  wcel 1433  wrex 2349
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-rex 2354  df-v 2603
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator