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

Theorem suppsnop 7852
 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 6642 . . . . . . 7 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌})
2 f1of 6602 . . . . . . 7 ({⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌} → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
31, 2syl 17 . . . . . 6 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
433adant3 1129 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
5 suppsnop.f . . . . . 6 𝐹 = {⟨𝑋, 𝑌⟩}
65feq1i 6489 . . . . 5 (𝐹:{𝑋}⟶{𝑌} ↔ {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
74, 6sylibr 237 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹:{𝑋}⟶{𝑌})
8 snex 5300 . . . 4 {𝑋} ∈ V
9 fex 6980 . . . 4 ((𝐹:{𝑋}⟶{𝑌} ∧ {𝑋} ∈ V) → 𝐹 ∈ V)
107, 8, 9sylancl 589 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹 ∈ V)
11 simp3 1135 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝑍𝑈)
12 suppval 7837 . . 3 ((𝐹 ∈ V ∧ 𝑍𝑈) → (𝐹 supp 𝑍) = {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
1310, 11, 12syl2anc 587 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 supp 𝑍) = {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
147fdmd 6508 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → dom 𝐹 = {𝑋})
1514rabeqdv 3397 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = {𝑥 ∈ {𝑋} ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
16 sneq 4532 . . . . . 6 (𝑥 = 𝑋 → {𝑥} = {𝑋})
1716imaeq2d 5901 . . . . 5 (𝑥 = 𝑋 → (𝐹 “ {𝑥}) = (𝐹 “ {𝑋}))
1817neeq1d 3010 . . . 4 (𝑥 = 𝑋 → ((𝐹 “ {𝑥}) ≠ {𝑍} ↔ (𝐹 “ {𝑋}) ≠ {𝑍}))
1918rabsnif 4616 . . 3 {𝑥 ∈ {𝑋} ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅)
2015, 19eqtrdi 2809 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅))
217ffnd 6499 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹 Fn {𝑋})
22 snidg 4556 . . . . . . . 8 (𝑋𝑉𝑋 ∈ {𝑋})
23223ad2ant1 1130 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝑋 ∈ {𝑋})
24 fnsnfv 6731 . . . . . . . 8 ((𝐹 Fn {𝑋} ∧ 𝑋 ∈ {𝑋}) → {(𝐹𝑋)} = (𝐹 “ {𝑋}))
2524eqcomd 2764 . . . . . . 7 ((𝐹 Fn {𝑋} ∧ 𝑋 ∈ {𝑋}) → (𝐹 “ {𝑋}) = {(𝐹𝑋)})
2621, 23, 25syl2anc 587 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 “ {𝑋}) = {(𝐹𝑋)})
2726neeq1d 3010 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ((𝐹 “ {𝑋}) ≠ {𝑍} ↔ {(𝐹𝑋)} ≠ {𝑍}))
285fveq1i 6659 . . . . . . . 8 (𝐹𝑋) = ({⟨𝑋, 𝑌⟩}‘𝑋)
29 fvsng 6933 . . . . . . . . 9 ((𝑋𝑉𝑌𝑊) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
30293adant3 1129 . . . . . . . 8 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
3128, 30syl5eq 2805 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹𝑋) = 𝑌)
3231sneqd 4534 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {(𝐹𝑋)} = {𝑌})
3332neeq1d 3010 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({(𝐹𝑋)} ≠ {𝑍} ↔ {𝑌} ≠ {𝑍}))
34 sneqbg 4731 . . . . . . 7 (𝑌𝑊 → ({𝑌} = {𝑍} ↔ 𝑌 = 𝑍))
35343ad2ant2 1131 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({𝑌} = {𝑍} ↔ 𝑌 = 𝑍))
3635necon3abid 2987 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({𝑌} ≠ {𝑍} ↔ ¬ 𝑌 = 𝑍))
3727, 33, 363bitrd 308 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ((𝐹 “ {𝑋}) ≠ {𝑍} ↔ ¬ 𝑌 = 𝑍))
3837ifbid 4443 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅) = if(¬ 𝑌 = 𝑍, {𝑋}, ∅))
39 ifnot 4472 . . 3 if(¬ 𝑌 = 𝑍, {𝑋}, ∅) = if(𝑌 = 𝑍, ∅, {𝑋})
4038, 39eqtrdi 2809 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅) = if(𝑌 = 𝑍, ∅, {𝑋}))
4113, 20, 403eqtrd 2797 1 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 supp 𝑍) = if(𝑌 = 𝑍, ∅, {𝑋}))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 399   ∧ w3a 1084   = wceq 1538   ∈ wcel 2111   ≠ wne 2951  {crab 3074  Vcvv 3409  ∅c0 4225  ifcif 4420  {csn 4522  ⟨cop 4528  dom cdm 5524   “ cima 5527   Fn wfn 6330  ⟶wf 6331  –1-1-onto→wf1o 6334  ‘cfv 6335  (class class class)co 7150   supp csupp 7835 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-rep 5156  ax-sep 5169  ax-nul 5176  ax-pr 5298  ax-un 7459 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-reu 3077  df-rab 3079  df-v 3411  df-sbc 3697  df-csb 3806  df-dif 3861  df-un 3863  df-in 3865  df-ss 3875  df-nul 4226  df-if 4421  df-sn 4523  df-pr 4525  df-op 4529  df-uni 4799  df-iun 4885  df-br 5033  df-opab 5095  df-mpt 5113  df-id 5430  df-xp 5530  df-rel 5531  df-cnv 5532  df-co 5533  df-dm 5534  df-rn 5535  df-res 5536  df-ima 5537  df-iota 6294  df-fun 6337  df-fn 6338  df-f 6339  df-f1 6340  df-fo 6341  df-f1o 6342  df-fv 6343  df-ov 7153  df-oprab 7154  df-mpo 7155  df-supp 7836 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator