Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  difmapsn Structured version   Visualization version   GIF version

Theorem difmapsn 46332
Description: Difference of two sets exponentiatiated to a singleton. (Contributed by Glauco Siliprandi, 3-Mar-2021.)
Hypotheses
Ref Expression
difmapsn.a (𝜑 → 𝐴 ∈ 𝑉)
difmapsn.b (𝜑 → 𝐵 ∈ 𝑊)
difmapsn.v (𝜑 → 𝐶 ∈ 𝑍)
Assertion
Ref Expression
difmapsn (𝜑 → ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) = ((𝐴 ∖ 𝐵) ↑m {𝐶}))

Proof of Theorem difmapsn
Dummy variable 𝑓 is distinct from all other variables.
StepHypRef Expression
1 eldifi 4066 . . . . . . . . . 10 (𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) → 𝑓 ∈ (𝐴 ↑m {𝐶}))
21adantl 487 . . . . . . . . 9 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓 ∈ (𝐴 ↑m {𝐶}))
3 elmapi 8874 . . . . . . . . . . . 12 (𝑓 ∈ (𝐴 ↑m {𝐶}) → 𝑓:{𝐶}⟶𝐴)
43adantl 487 . . . . . . . . . . 11 ((𝜑 ∧ 𝑓 ∈ (𝐴 ↑m {𝐶})) → 𝑓:{𝐶}⟶𝐴)
5 difmapsn.v . . . . . . . . . . . . 13 (𝜑 → 𝐶 ∈ 𝑍)
6 fsn2g 7142 . . . . . . . . . . . . 13 (𝐶 ∈ 𝑍 → (𝑓:{𝐶}⟶𝐴 ↔ ((𝑓‘𝐶) ∈ 𝐴 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
75, 6syl 18 . . . . . . . . . . . 12 (𝜑 → (𝑓:{𝐶}⟶𝐴 ↔ ((𝑓‘𝐶) ∈ 𝐴 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
87adantr 486 . . . . . . . . . . 11 ((𝜑 ∧ 𝑓 ∈ (𝐴 ↑m {𝐶})) → (𝑓:{𝐶}⟶𝐴 ↔ ((𝑓‘𝐶) ∈ 𝐴 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
94, 8mpbid 235 . . . . . . . . . 10 ((𝜑 ∧ 𝑓 ∈ (𝐴 ↑m {𝐶})) → ((𝑓‘𝐶) ∈ 𝐴 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩}))
109simpld 500 . . . . . . . . 9 ((𝜑 ∧ 𝑓 ∈ (𝐴 ↑m {𝐶})) → (𝑓‘𝐶) ∈ 𝐴)
112, 10syldan 603 . . . . . . . 8 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓‘𝐶) ∈ 𝐴)
12 simpr 490 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → (𝑓‘𝐶) ∈ 𝐵)
139simprd 501 . . . . . . . . . . . . . 14 ((𝜑 ∧ 𝑓 ∈ (𝐴 ↑m {𝐶})) → 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})
142, 13syldan 603 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})
1514adantr 486 . . . . . . . . . . . 12 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})
1612, 15jca 521 . . . . . . . . . . 11 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → ((𝑓‘𝐶) ∈ 𝐵 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩}))
17 fsn2g 7142 . . . . . . . . . . . . 13 (𝐶 ∈ 𝑍 → (𝑓:{𝐶}⟶𝐵 ↔ ((𝑓‘𝐶) ∈ 𝐵 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
185, 17syl 18 . . . . . . . . . . . 12 (𝜑 → (𝑓:{𝐶}⟶𝐵 ↔ ((𝑓‘𝐶) ∈ 𝐵 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
1918ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → (𝑓:{𝐶}⟶𝐵 ↔ ((𝑓‘𝐶) ∈ 𝐵 ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
2016, 19mpbird 260 . . . . . . . . . 10 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → 𝑓:{𝐶}⟶𝐵)
21 difmapsn.b . . . . . . . . . . . 12 (𝜑 → 𝐵 ∈ 𝑊)
2221ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → 𝐵 ∈ 𝑊)
23 snex 5396 . . . . . . . . . . . 12 {𝐶} ∈ V
2423a1i 11 . . . . . . . . . . 11 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → {𝐶} ∈ V)
2522, 24elmapd 8865 . . . . . . . . . 10 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → (𝑓 ∈ (𝐵 ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶𝐵))
2620, 25mpbird 260 . . . . . . . . 9 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → 𝑓 ∈ (𝐵 ↑m {𝐶}))
27 eldifn 4067 . . . . . . . . . 10 (𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) → ¬ 𝑓 ∈ (𝐵 ↑m {𝐶}))
2827ad2antlr 740 . . . . . . . . 9 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → ¬ 𝑓 ∈ (𝐵 ↑m {𝐶}))
2926, 28pm2.65da 829 . . . . . . . 8 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → ¬ (𝑓‘𝐶) ∈ 𝐵)
3011, 29eldifd 4049 . . . . . . 7 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵))
3130, 14jca 521 . . . . . 6 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩}))
32 fsn2g 7142 . . . . . . . 8 (𝐶 ∈ 𝑍 → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
335, 32syl 18 . . . . . . 7 (𝜑 → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
3433adantr 486 . . . . . 6 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
3531, 34mpbird 260 . . . . 5 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵))
36 difmapsn.a . . . . . . . 8 (𝜑 → 𝐴 ∈ 𝑉)
37 difssd 4072 . . . . . . . 8 (𝜑 → (𝐴 ∖ 𝐵) ⊆ 𝐴)
3836, 37ssexd 5285 . . . . . . 7 (𝜑 → (𝐴 ∖ 𝐵) ∈ V)
3923a1i 11 . . . . . . 7 (𝜑 → {𝐶} ∈ V)
4038, 39elmapd 8865 . . . . . 6 (𝜑 → (𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵)))
4140adantr 486 . . . . 5 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵)))
4235, 41mpbird 260 . . . 4 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
4342ralrimiva 3154 . . 3 (𝜑 → ∀𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
44 dfss3 3898 . . 3 (((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) ⊆ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ ∀𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
4543, 44sylibr 237 . 2 (𝜑 → ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) ⊆ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
465snn0d 4732 . . 3 (𝜑 → {𝐶} ≠ ∅)
4736, 21, 39, 46difmap 46327 . 2 (𝜑 → ((𝐴 ∖ 𝐵) ↑m {𝐶}) ⊆ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})))
4845, 47eqssd 3926 1 (𝜑 → ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) = ((𝐴 ∖ 𝐵) ↑m {𝐶}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  Vcvv 3450   ⊆ wss 3896   ∖ cdif 4044  {csn 4584  ⟨cop 4834  ⟶wf 6537  ‘cfv 6541  (class class class)co 7422   ↑m cmap 8852
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7425  df-oprab 7426  df-mpo 7427  df-1st 8003  df-2nd 8004  df-map 8854
This theorem is used by:  vonvolmbllem  47777  vonvolmbl  47778
  Copyright terms: Public domain W3C validator