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

Theorem suppsnop 7994
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 6757 . . . . . . 7 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌})
2 f1of 6716 . . . . . . 7 ({⟨𝑋, 𝑌⟩}:{𝑋}–1-1-onto→{𝑌} → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
31, 2syl 17 . . . . . 6 ((𝑋𝑉𝑌𝑊) → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
433adant3 1131 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
5 suppsnop.f . . . . . 6 𝐹 = {⟨𝑋, 𝑌⟩}
65feq1i 6591 . . . . 5 (𝐹:{𝑋}⟶{𝑌} ↔ {⟨𝑋, 𝑌⟩}:{𝑋}⟶{𝑌})
74, 6sylibr 233 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹:{𝑋}⟶{𝑌})
8 snex 5354 . . . 4 {𝑋} ∈ V
9 fex 7102 . . . 4 ((𝐹:{𝑋}⟶{𝑌} ∧ {𝑋} ∈ V) → 𝐹 ∈ V)
107, 8, 9sylancl 586 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹 ∈ V)
11 simp3 1137 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝑍𝑈)
12 suppval 7979 . . 3 ((𝐹 ∈ V ∧ 𝑍𝑈) → (𝐹 supp 𝑍) = {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
1310, 11, 12syl2anc 584 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 supp 𝑍) = {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
147fdmd 6611 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → dom 𝐹 = {𝑋})
1514rabeqdv 3419 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = {𝑥 ∈ {𝑋} ∣ (𝐹 “ {𝑥}) ≠ {𝑍}})
16 sneq 4571 . . . . . 6 (𝑥 = 𝑋 → {𝑥} = {𝑋})
1716imaeq2d 5969 . . . . 5 (𝑥 = 𝑋 → (𝐹 “ {𝑥}) = (𝐹 “ {𝑋}))
1817neeq1d 3003 . . . 4 (𝑥 = 𝑋 → ((𝐹 “ {𝑥}) ≠ {𝑍} ↔ (𝐹 “ {𝑋}) ≠ {𝑍}))
1918rabsnif 4659 . . 3 {𝑥 ∈ {𝑋} ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅)
2015, 19eqtrdi 2794 . 2 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {𝑥 ∈ dom 𝐹 ∣ (𝐹 “ {𝑥}) ≠ {𝑍}} = if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅))
217ffnd 6601 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝐹 Fn {𝑋})
22 snidg 4595 . . . . . . . 8 (𝑋𝑉𝑋 ∈ {𝑋})
23223ad2ant1 1132 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → 𝑋 ∈ {𝑋})
24 fnsnfv 6847 . . . . . . . 8 ((𝐹 Fn {𝑋} ∧ 𝑋 ∈ {𝑋}) → {(𝐹𝑋)} = (𝐹 “ {𝑋}))
2524eqcomd 2744 . . . . . . 7 ((𝐹 Fn {𝑋} ∧ 𝑋 ∈ {𝑋}) → (𝐹 “ {𝑋}) = {(𝐹𝑋)})
2621, 23, 25syl2anc 584 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹 “ {𝑋}) = {(𝐹𝑋)})
2726neeq1d 3003 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ((𝐹 “ {𝑋}) ≠ {𝑍} ↔ {(𝐹𝑋)} ≠ {𝑍}))
285fveq1i 6775 . . . . . . . 8 (𝐹𝑋) = ({⟨𝑋, 𝑌⟩}‘𝑋)
29 fvsng 7052 . . . . . . . . 9 ((𝑋𝑉𝑌𝑊) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
30293adant3 1131 . . . . . . . 8 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({⟨𝑋, 𝑌⟩}‘𝑋) = 𝑌)
3128, 30eqtrid 2790 . . . . . . 7 ((𝑋𝑉𝑌𝑊𝑍𝑈) → (𝐹𝑋) = 𝑌)
3231sneqd 4573 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → {(𝐹𝑋)} = {𝑌})
3332neeq1d 3003 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({(𝐹𝑋)} ≠ {𝑍} ↔ {𝑌} ≠ {𝑍}))
34 sneqbg 4774 . . . . . . 7 (𝑌𝑊 → ({𝑌} = {𝑍} ↔ 𝑌 = 𝑍))
35343ad2ant2 1133 . . . . . 6 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({𝑌} = {𝑍} ↔ 𝑌 = 𝑍))
3635necon3abid 2980 . . . . 5 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ({𝑌} ≠ {𝑍} ↔ ¬ 𝑌 = 𝑍))
3727, 33, 363bitrd 305 . . . 4 ((𝑋𝑉𝑌𝑊𝑍𝑈) → ((𝐹 “ {𝑋}) ≠ {𝑍} ↔ ¬ 𝑌 = 𝑍))
3837ifbid 4482 . . 3 ((𝑋𝑉𝑌𝑊𝑍𝑈) → if((𝐹 “ {𝑋}) ≠ {𝑍}, {𝑋}, ∅) = if(¬ 𝑌 = 𝑍, {𝑋}, ∅))
39 ifnot 4511 . . 3 if(¬ 𝑌 = 𝑍, {𝑋}, ∅) = if(𝑌 = 𝑍, ∅, {𝑋})
4038, 39eqtrdi 2794 . 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 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  {crab 3068  Vcvv 3432  c0 4256  ifcif 4459  {csn 4561  cop 4567  dom cdm 5589  cima 5592   Fn wfn 6428  wf 6429  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275   supp csupp 7977
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-supp 7978
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator