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 46638
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 4077 . . . . . . . . . 10 (𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) → 𝑓 ∈ (𝐴 ↑m {𝐶}))
21adantl 487 . . . . . . . . 9 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓 ∈ (𝐴 ↑m {𝐶}))
3 elmapi 8923 . . . . . . . . . . . 12 (𝑓 ∈ (𝐴 ↑m {𝐶}) → 𝑓:{𝐶}⟶𝐴)
43adantl 487 . . . . . . . . . . 11 ((𝜑 ∧ 𝑓 ∈ (𝐴 ↑m {𝐶})) → 𝑓:{𝐶}⟶𝐴)
5 difmapsn.v . . . . . . . . . . . . 13 (𝜑 → 𝐶 ∈ 𝑍)
6 fsn2g 7186 . . . . . . . . . . . . 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 7186 . . . . . . . . . . . . 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 5412 . . . . . . . . . . . 12 {𝐶} ∈ V
2423a1i 11 . . . . . . . . . . 11 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → {𝐶} ∈ V)
2522, 24elmapd 8914 . . . . . . . . . 10 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → (𝑓 ∈ (𝐵 ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶𝐵))
2620, 25mpbird 260 . . . . . . . . 9 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → 𝑓 ∈ (𝐵 ↑m {𝐶}))
27 eldifn 4078 . . . . . . . . . 10 (𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) → ¬ 𝑓 ∈ (𝐵 ↑m {𝐶}))
2827ad2antlr 740 . . . . . . . . 9 (((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) ∧ (𝑓‘𝐶) ∈ 𝐵) → ¬ 𝑓 ∈ (𝐵 ↑m {𝐶}))
2926, 28pm2.65da 829 . . . . . . . 8 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → ¬ (𝑓‘𝐶) ∈ 𝐵)
3011, 29eldifd 4060 . . . . . . 7 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵))
3130, 14jca 521 . . . . . 6 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩}))
32 fsn2g 7186 . . . . . . . 8 (𝐶 ∈ 𝑍 → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
335, 32syl 18 . . . . . . 7 (𝜑 → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
3433adantr 486 . . . . . 6 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓:{𝐶}⟶(𝐴 ∖ 𝐵) ↔ ((𝑓‘𝐶) ∈ (𝐴 ∖ 𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓‘𝐶)⟩})))
3531, 34mpbird 260 . . . . 5 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵))
36 difmapsn.a . . . . . . . 8 (𝜑 → 𝐴 ∈ 𝑉)
37 difssd 4083 . . . . . . . 8 (𝜑 → (𝐴 ∖ 𝐵) ⊆ 𝐴)
3836, 37ssexd 5301 . . . . . . 7 (𝜑 → (𝐴 ∖ 𝐵) ∈ V)
3923a1i 11 . . . . . . 7 (𝜑 → {𝐶} ∈ V)
4038, 39elmapd 8914 . . . . . 6 (𝜑 → (𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵)))
4140adantr 486 . . . . 5 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → (𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴 ∖ 𝐵)))
4235, 41mpbird 260 . . . 4 ((𝜑 ∧ 𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))) → 𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
4342ralrimiva 3169 . . 3 (𝜑 → ∀𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
44 dfss3 3909 . . 3 (((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) ⊆ ((𝐴 ∖ 𝐵) ↑m {𝐶}) ↔ ∀𝑓 ∈ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶}))𝑓 ∈ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
4543, 44sylibr 237 . 2 (𝜑 → ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})) ⊆ ((𝐴 ∖ 𝐵) ↑m {𝐶}))
465snn0d 4746 . . 3 (𝜑 → {𝐶} ≠ ∅)
4736, 21, 39, 46difmap 46633 . 2 (𝜑 → ((𝐴 ∖ 𝐵) ↑m {𝐶}) ⊆ ((𝐴 ↑m {𝐶}) ∖ (𝐵 ↑m {𝐶})))
4845, 47eqssd 3937 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 1572   ∈ wcel 2156  ∀wral 3091  Vcvv 3461   ⊆ wss 3907   ∖ cdif 4055  {csn 4595  ⟨cop 4848  ⟶wf 6574  ‘cfv 6578  (class class class)co 7467   ↑m cmap 8901
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-ov 7470  df-oprab 7471  df-mpo 7472  df-1st 8051  df-2nd 8052  df-map 8903
This theorem is used by:  vonvolmbllem  48083  vonvolmbl  48084
  Copyright terms: Public domain W3C validator