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

Theorem suppvalbr 7952
Description: The value of the operation constructing the support of a function expressed by binary relations. (Contributed by AV, 7-Apr-2019.)
Assertion
Ref Expression
suppvalbr ((𝑅𝑉𝑍𝑊) → (𝑅 supp 𝑍) = {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦𝑦𝑍))})
Distinct variable groups:   𝑥,𝑅,𝑦   𝑥,𝑍,𝑦
Allowed substitution hints:   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem suppvalbr
StepHypRef Expression
1 suppval 7950 . 2 ((𝑅𝑉𝑍𝑊) → (𝑅 supp 𝑍) = {𝑥 ∈ dom 𝑅 ∣ (𝑅 “ {𝑥}) ≠ {𝑍}})
2 df-rab 3072 . . . 4 {𝑥 ∈ dom 𝑅 ∣ (𝑅 “ {𝑥}) ≠ {𝑍}} = {𝑥 ∣ (𝑥 ∈ dom 𝑅 ∧ (𝑅 “ {𝑥}) ≠ {𝑍})}
3 vex 3426 . . . . . . 7 𝑥 ∈ V
43eldm 5798 . . . . . 6 (𝑥 ∈ dom 𝑅 ↔ ∃𝑦 𝑥𝑅𝑦)
5 df-sn 4559 . . . . . . . 8 {𝑍} = {𝑦𝑦 = 𝑍}
65neeq2i 3008 . . . . . . 7 ({𝑦𝑥𝑅𝑦} ≠ {𝑍} ↔ {𝑦𝑥𝑅𝑦} ≠ {𝑦𝑦 = 𝑍})
7 imasng 5980 . . . . . . . . 9 (𝑥 ∈ V → (𝑅 “ {𝑥}) = {𝑦𝑥𝑅𝑦})
87elv 3428 . . . . . . . 8 (𝑅 “ {𝑥}) = {𝑦𝑥𝑅𝑦}
98neeq1i 3007 . . . . . . 7 ((𝑅 “ {𝑥}) ≠ {𝑍} ↔ {𝑦𝑥𝑅𝑦} ≠ {𝑍})
10 nabbi 3046 . . . . . . 7 (∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍) ↔ {𝑦𝑥𝑅𝑦} ≠ {𝑦𝑦 = 𝑍})
116, 9, 103bitr4i 302 . . . . . 6 ((𝑅 “ {𝑥}) ≠ {𝑍} ↔ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍))
124, 11anbi12i 626 . . . . 5 ((𝑥 ∈ dom 𝑅 ∧ (𝑅 “ {𝑥}) ≠ {𝑍}) ↔ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍)))
1312abbii 2809 . . . 4 {𝑥 ∣ (𝑥 ∈ dom 𝑅 ∧ (𝑅 “ {𝑥}) ≠ {𝑍})} = {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍))}
142, 13eqtri 2766 . . 3 {𝑥 ∈ dom 𝑅 ∣ (𝑅 “ {𝑥}) ≠ {𝑍}} = {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍))}
1514a1i 11 . 2 ((𝑅𝑉𝑍𝑊) → {𝑥 ∈ dom 𝑅 ∣ (𝑅 “ {𝑥}) ≠ {𝑍}} = {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍))})
16 df-ne 2943 . . . . . . . 8 (𝑦𝑍 ↔ ¬ 𝑦 = 𝑍)
1716bicomi 223 . . . . . . 7 𝑦 = 𝑍𝑦𝑍)
1817bibi2i 337 . . . . . 6 ((𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍) ↔ (𝑥𝑅𝑦𝑦𝑍))
1918exbii 1851 . . . . 5 (∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍) ↔ ∃𝑦(𝑥𝑅𝑦𝑦𝑍))
2019anbi2i 622 . . . 4 ((∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍)) ↔ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦𝑦𝑍)))
2120abbii 2809 . . 3 {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍))} = {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦𝑦𝑍))}
2221a1i 11 . 2 ((𝑅𝑉𝑍𝑊) → {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦 ↔ ¬ 𝑦 = 𝑍))} = {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦𝑦𝑍))})
231, 15, 223eqtrd 2782 1 ((𝑅𝑉𝑍𝑊) → (𝑅 supp 𝑍) = {𝑥 ∣ (∃𝑦 𝑥𝑅𝑦 ∧ ∃𝑦(𝑥𝑅𝑦𝑦𝑍))})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wne 2942  {crab 3067  Vcvv 3422  {csn 4558   class class class wbr 5070  dom cdm 5580  cima 5583  (class class class)co 7255   supp csupp 7948
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-supp 7949
This theorem is referenced by:  suppimacnvss  7960  suppimacnv  7961
  Copyright terms: Public domain W3C validator