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 46498
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 4070 . . . . . . . . . 10 (𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) → 𝑓 ∈ (𝐴 ↑m {𝐶}))
21adantl 487 . . . . . . . . 9 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓 ∈ (𝐴 ↑m {𝐶}))
3 elmapi 8907 . . . . . . . . . . . 12 (𝑓 ∈ (𝐴 ↑m {𝐶}) → 𝑓:{𝐶}⟶𝐴)
43adantl 487 . . . . . . . . . . 11 ((𝜑 ∧ 𝑓 ∈ (𝐴 ↑m {𝐶})) → 𝑓:{𝐶}⟶𝐴)
5 difmapsn.v . . . . . . . . . . . . 13 (𝜑 → 𝐶 ∈ 𝑍)
6 fsn2g 7171 . . . . . . . . . . . . 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 7171 . . . . . . . . . . . . 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 5404 . . . . . . . . . . . 12 {𝐶} ∈ V
2423a1i 11 . . . . . . . . . . 11 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → {𝐶} ∈ V)
2522, 24elmapd 8898 . . . . . . . . . 10 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → (𝑓 ∈ (𝐵 ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶𝐵))
2620, 25mpbird 260 . . . . . . . . 9 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → 𝑓 ∈ (𝐵 ↑m {𝐶}))
27 eldifn 4071 . . . . . . . . . 10 (𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) → ¬ 𝑓 ∈ (𝐵 ↑m {𝐶}))
2827ad2antlr 740 . . . . . . . . 9 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → ¬ 𝑓 ∈ (𝐵 ↑m {𝐶}))
2926, 28pm2.65da 829 . . . . . . . 8 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → ¬ (𝑓‘𝐶) ∈ 𝐵)
3011, 29eldifd 4053 . . . . . . 7 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵))
3130, 14jca 521 . . . . . 6 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩}))
32 fsn2g 7171 . . . . . . . 8 (𝐶 ∈ 𝑍 → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
335, 32syl 18 . . . . . . 7 (𝜑 → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
3433adantr 486 . . . . . 6 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
3531, 34mpbird 260 . . . . 5 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵))
36 difmapsn.a . . . . . . . 8 (𝜑 → 𝐴 ∈ 𝑉)
37 difssd 4076 . . . . . . . 8 (𝜑 → (𝐴 ∖ 𝐵) ⊆ 𝐴)
3836, 37ssexd 5293 . . . . . . 7 (𝜑 → (𝐴 ∖ 𝐵) ∈ V)
3923a1i 11 . . . . . . 7 (𝜑 → {𝐶} ∈ V)
4038, 39elmapd 8898 . . . . . 6 (𝜑 → (𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵)))
4140adantr 486 . . . . 5 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵)))
4235, 41mpbird 260 . . . 4 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
4342ralrimiva 3158 . . 3 (𝜑 → ∀𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
44 dfss3 3902 . . 3 (((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) ⊆ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ ∀𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
4543, 44sylibr 237 . 2 (𝜑 → ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) ⊆ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
465snn0d 4738 . . 3 (𝜑 → {𝐶} ≠ ∅)
4736, 21, 39, 46difmap 46493 . 2 (𝜑 → ((𝐴 ∖ 𝐵) ↑m {𝐶}) ⊆ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})))
4845, 47eqssd 3930 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 1570   ∈ wcel 2147  ∀wral 3080  Vcvv 3454   ⊆ wss 3900   ∖ cdif 4048  {csn 4588  ⟨cop 4840  ⟶wf 6562  ‘cfv 6566  (class class class)co 7451   ↑m cmap 8885
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-1st 8035  df-2nd 8036  df-map 8887
This theorem is used by:  vonvolmbllem  47943  vonvolmbl  47944
  Copyright terms: Public domain W3C validator