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

Theorem abrexco 5876
Description: Composition of two image maps 𝐶(𝑦) and 𝐵(𝑤). (Contributed by NM, 27-May-2013.)
Hypotheses
Ref Expression
abrexco.1 𝐵 ∈ V
abrexco.2 (𝑦 = 𝐵𝐶 = 𝐷)
Assertion
Ref Expression
abrexco {𝑥 ∣ ∃𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵}𝑥 = 𝐶} = {𝑥 ∣ ∃𝑤𝐴 𝑥 = 𝐷}
Distinct variable groups:   𝑦,𝐴,𝑧   𝑦,𝐵,𝑧   𝑤,𝐶   𝑦,𝐷   𝑥,𝑤,𝑦   𝑧,𝑤
Allowed substitution hints:   𝐴(𝑥,𝑤)   𝐵(𝑥,𝑤)   𝐶(𝑥,𝑦,𝑧)   𝐷(𝑥,𝑧,𝑤)

Proof of Theorem abrexco
StepHypRef Expression
1 df-rex 2514 . . . . 5 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶))
2 vex 2802 . . . . . . . . 9 𝑦 ∈ V
3 eqeq1 2236 . . . . . . . . . 10 (𝑧 = 𝑦 → (𝑧 = 𝐵𝑦 = 𝐵))
43rexbidv 2531 . . . . . . . . 9 (𝑧 = 𝑦 → (∃𝑤𝐴 𝑧 = 𝐵 ↔ ∃𝑤𝐴 𝑦 = 𝐵))
52, 4elab 2947 . . . . . . . 8 (𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵} ↔ ∃𝑤𝐴 𝑦 = 𝐵)
65anbi1i 458 . . . . . . 7 ((𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶) ↔ (∃𝑤𝐴 𝑦 = 𝐵𝑥 = 𝐶))
7 r19.41v 2687 . . . . . . 7 (∃𝑤𝐴 (𝑦 = 𝐵𝑥 = 𝐶) ↔ (∃𝑤𝐴 𝑦 = 𝐵𝑥 = 𝐶))
86, 7bitr4i 187 . . . . . 6 ((𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶) ↔ ∃𝑤𝐴 (𝑦 = 𝐵𝑥 = 𝐶))
98exbii 1651 . . . . 5 (∃𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵} ∧ 𝑥 = 𝐶) ↔ ∃𝑦𝑤𝐴 (𝑦 = 𝐵𝑥 = 𝐶))
101, 9bitri 184 . . . 4 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑦𝑤𝐴 (𝑦 = 𝐵𝑥 = 𝐶))
11 rexcom4 2823 . . . 4 (∃𝑤𝐴𝑦(𝑦 = 𝐵𝑥 = 𝐶) ↔ ∃𝑦𝑤𝐴 (𝑦 = 𝐵𝑥 = 𝐶))
1210, 11bitr4i 187 . . 3 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑤𝐴𝑦(𝑦 = 𝐵𝑥 = 𝐶))
13 abrexco.1 . . . . 5 𝐵 ∈ V
14 abrexco.2 . . . . . 6 (𝑦 = 𝐵𝐶 = 𝐷)
1514eqeq2d 2241 . . . . 5 (𝑦 = 𝐵 → (𝑥 = 𝐶𝑥 = 𝐷))
1613, 15ceqsexv 2839 . . . 4 (∃𝑦(𝑦 = 𝐵𝑥 = 𝐶) ↔ 𝑥 = 𝐷)
1716rexbii 2537 . . 3 (∃𝑤𝐴𝑦(𝑦 = 𝐵𝑥 = 𝐶) ↔ ∃𝑤𝐴 𝑥 = 𝐷)
1812, 17bitri 184 . 2 (∃𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵}𝑥 = 𝐶 ↔ ∃𝑤𝐴 𝑥 = 𝐷)
1918abbii 2345 1 {𝑥 ∣ ∃𝑦 ∈ {𝑧 ∣ ∃𝑤𝐴 𝑧 = 𝐵}𝑥 = 𝐶} = {𝑥 ∣ ∃𝑤𝐴 𝑥 = 𝐷}
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1395  wex 1538  wcel 2200  {cab 2215  wrex 2509  Vcvv 2799
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-ext 2211
This theorem depends on definitions:  df-bi 117  df-tru 1398  df-nf 1507  df-sb 1809  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-rex 2514  df-v 2801
This theorem is referenced by:  restco  14833
  Copyright terms: Public domain W3C validator