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

Theorem suppsnop 7965
Description: The support of a singleton of an ordered pair. (Contributed by AV, 12-Apr-2019.)
Hypothesis
Ref Expression
suppsnop.f 𝐹 = {⟨𝑋, 𝑌⟩}
Assertion
Ref Expression
suppsnop ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 supp 𝑍) = if(𝑌 = 𝑍, ∅, {𝑋}))

Proof of Theorem suppsnop
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 f1osng 6740 . . . . . . 7 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌})
2 f1of 6700 . . . . . . 7 ({⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌} → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
31, 2syl 17 . . . . . 6 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
433adant3 1130 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
5 suppsnop.f . . . . . 6 𝐹 = {⟨𝑋, 𝑌⟩}
65feq1i 6575 . . . . 5 (𝐹:{𝑋}⟶{𝑌} ↔ {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
74, 6sylibr 233 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹:{𝑋}⟶{𝑌})
8 snex 5349 . . . 4 {𝑋} ∈ V
9 fex 7084 . . . 4 ((𝐹:{𝑋}⟶{𝑌} ∧ {𝑋} ∈ V) → 𝐹 ∈ V)
107, 8, 9sylancl 585 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹 ∈ V)
11 simp3 1136 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝑍𝑈)
12 suppval 7950 . . 3 ((𝐹 ∈ V ∧ 𝑍𝑈) → (𝐹 supp 𝑍) = {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
1310, 11, 12syl2anc 583 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 supp 𝑍) = {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
147fdmd 6595 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → dom 𝐹 = {𝑋})
1514rabeqdv 3409 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = {𝑥 ∈ {𝑋} ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
16 sneq 4568 . . . . . 6 (𝑥 = 𝑋 → {𝑥} = {𝑋})
1716imaeq2d 5958 . . . . 5 (𝑥 = 𝑋 → (𝐹 “ {𝑥}) = (𝐹 “ {𝑋}))
1817neeq1d 3002 . . . 4 (𝑥 = 𝑋 → ((𝐹 “ {𝑥}) ≠ {𝑍} ↔ (𝐹 “ {𝑋}) ≠ {𝑍}))
1918rabsnif 4656 . . 3 {𝑥 ∈ {𝑋} ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅)
2015, 19eqtrdi 2795 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅))
217ffnd 6585 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹 Fn {𝑋})
22 snidg 4592 . . . . . . . 8 (𝑋𝑉𝑋 ∈ {𝑋})
23223ad2ant1 1131 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝑋 ∈ {𝑋})
24 fnsnfv 6829 . . . . . . . 8 ((𝐹 Fn {𝑋} ∧ 𝑋 ∈ {𝑋}) → {(𝐹𝑋)} = (𝐹 “ {𝑋}))
2524eqcomd 2744 . . . . . . 7 ((𝐹 Fn {𝑋} ∧ 𝑋 ∈ {𝑋}) → (𝐹 “ {𝑋}) = {(𝐹𝑋)})
2621, 23, 25syl2anc 583 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 “ {𝑋}) = {(𝐹𝑋)})
2726neeq1d 3002 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ((𝐹 “ {𝑋}) ≠ {𝑍} ↔ {(𝐹𝑋)} ≠ {𝑍}))
285fveq1i 6757 . . . . . . . 8 (𝐹𝑋) = ({⟨𝑋, 𝑌⟩}‘𝑋)
29 fvsng 7034 . . . . . . . . 9 ((𝑋𝑉𝑌𝑊) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
30293adant3 1130 . . . . . . . 8 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
3128, 30eqtrid 2790 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹𝑋) = 𝑌)
3231sneqd 4570 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {(𝐹𝑋)} = {𝑌})
3332neeq1d 3002 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({(𝐹𝑋)} ≠ {𝑍} ↔ {𝑌} ≠ {𝑍}))
34 sneqbg 4771 . . . . . . 7 (𝑌𝑊 → ({𝑌} = {𝑍} ↔ 𝑌 = 𝑍))
35343ad2ant2 1132 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({𝑌} = {𝑍} ↔ 𝑌 = 𝑍))
3635necon3abid 2979 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({𝑌} ≠ {𝑍} ↔ ¬ 𝑌 = 𝑍))
3727, 33, 363bitrd 304 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ((𝐹 “ {𝑋}) ≠ {𝑍} ↔ ¬ 𝑌 = 𝑍))
3837ifbid 4479 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅) = if(¬ 𝑌 = 𝑍, {𝑋}, ∅))
39 ifnot 4508 . . 3 if(¬ 𝑌 = 𝑍, {𝑋}, ∅) = if(𝑌 = 𝑍, ∅, {𝑋})
4038, 39eqtrdi 2795 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅) = if(𝑌 = 𝑍, ∅, {𝑋}))
4113, 20, 403eqtrd 2782 1 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 supp 𝑍) = if(𝑌 = 𝑍, ∅, {𝑋}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  {crab 3067  Vcvv 3422  c0 4253  ifcif 4456  {csn 4558  cop 4564  dom cdm 5580  cima 5583   Fn wfn 6413  wf 6414  1-1-ontowf1o 6417  cfv 6418  (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-rep 5205  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-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  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-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  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-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-supp 7949
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator