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 42752
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 4061 . . . . . . . . . 10 (𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶})) → 𝑓 ∈ (𝐴m {𝐶}))
21adantl 482 . . . . . . . . 9 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → 𝑓 ∈ (𝐴m {𝐶}))
3 elmapi 8637 . . . . . . . . . . . 12 (𝑓 ∈ (𝐴m {𝐶}) → 𝑓:{𝐶}⟶𝐴)
43adantl 482 . . . . . . . . . . 11 ((𝜑𝑓 ∈ (𝐴m {𝐶})) → 𝑓:{𝐶}⟶𝐴)
5 difmapsn.v . . . . . . . . . . . . 13 (𝜑𝐶𝑍)
6 fsn2g 7010 . . . . . . . . . . . . 13 (𝐶𝑍 → (𝑓:{𝐶}⟶𝐴 ↔ ((𝑓𝐶) ∈ 𝐴𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
75, 6syl 17 . . . . . . . . . . . 12 (𝜑 → (𝑓:{𝐶}⟶𝐴 ↔ ((𝑓𝐶) ∈ 𝐴𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
87adantr 481 . . . . . . . . . . 11 ((𝜑𝑓 ∈ (𝐴m {𝐶})) → (𝑓:{𝐶}⟶𝐴 ↔ ((𝑓𝐶) ∈ 𝐴𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
94, 8mpbid 231 . . . . . . . . . 10 ((𝜑𝑓 ∈ (𝐴m {𝐶})) → ((𝑓𝐶) ∈ 𝐴𝑓 = {⟨𝐶, (𝑓𝐶)⟩}))
109simpld 495 . . . . . . . . 9 ((𝜑𝑓 ∈ (𝐴m {𝐶})) → (𝑓𝐶) ∈ 𝐴)
112, 10syldan 591 . . . . . . . 8 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → (𝑓𝐶) ∈ 𝐴)
12 simpr 485 . . . . . . . . . . . 12 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → (𝑓𝐶) ∈ 𝐵)
139simprd 496 . . . . . . . . . . . . . 14 ((𝜑𝑓 ∈ (𝐴m {𝐶})) → 𝑓 = {⟨𝐶, (𝑓𝐶)⟩})
142, 13syldan 591 . . . . . . . . . . . . 13 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → 𝑓 = {⟨𝐶, (𝑓𝐶)⟩})
1514adantr 481 . . . . . . . . . . . 12 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → 𝑓 = {⟨𝐶, (𝑓𝐶)⟩})
1612, 15jca 512 . . . . . . . . . . 11 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → ((𝑓𝐶) ∈ 𝐵𝑓 = {⟨𝐶, (𝑓𝐶)⟩}))
17 fsn2g 7010 . . . . . . . . . . . . 13 (𝐶𝑍 → (𝑓:{𝐶}⟶𝐵 ↔ ((𝑓𝐶) ∈ 𝐵𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
185, 17syl 17 . . . . . . . . . . . 12 (𝜑 → (𝑓:{𝐶}⟶𝐵 ↔ ((𝑓𝐶) ∈ 𝐵𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
1918ad2antrr 723 . . . . . . . . . . 11 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → (𝑓:{𝐶}⟶𝐵 ↔ ((𝑓𝐶) ∈ 𝐵𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
2016, 19mpbird 256 . . . . . . . . . 10 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → 𝑓:{𝐶}⟶𝐵)
21 difmapsn.b . . . . . . . . . . . 12 (𝜑𝐵𝑊)
2221ad2antrr 723 . . . . . . . . . . 11 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → 𝐵𝑊)
23 snex 5354 . . . . . . . . . . . 12 {𝐶} ∈ V
2423a1i 11 . . . . . . . . . . 11 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → {𝐶} ∈ V)
2522, 24elmapd 8629 . . . . . . . . . 10 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → (𝑓 ∈ (𝐵m {𝐶}) ↔ 𝑓:{𝐶}⟶𝐵))
2620, 25mpbird 256 . . . . . . . . 9 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → 𝑓 ∈ (𝐵m {𝐶}))
27 eldifn 4062 . . . . . . . . . 10 (𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶})) → ¬ 𝑓 ∈ (𝐵m {𝐶}))
2827ad2antlr 724 . . . . . . . . 9 (((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) ∧ (𝑓𝐶) ∈ 𝐵) → ¬ 𝑓 ∈ (𝐵m {𝐶}))
2926, 28pm2.65da 814 . . . . . . . 8 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → ¬ (𝑓𝐶) ∈ 𝐵)
3011, 29eldifd 3898 . . . . . . 7 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → (𝑓𝐶) ∈ (𝐴𝐵))
3130, 14jca 512 . . . . . 6 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → ((𝑓𝐶) ∈ (𝐴𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓𝐶)⟩}))
32 fsn2g 7010 . . . . . . . 8 (𝐶𝑍 → (𝑓:{𝐶}⟶(𝐴𝐵) ↔ ((𝑓𝐶) ∈ (𝐴𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
335, 32syl 17 . . . . . . 7 (𝜑 → (𝑓:{𝐶}⟶(𝐴𝐵) ↔ ((𝑓𝐶) ∈ (𝐴𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
3433adantr 481 . . . . . 6 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → (𝑓:{𝐶}⟶(𝐴𝐵) ↔ ((𝑓𝐶) ∈ (𝐴𝐵) ∧ 𝑓 = {⟨𝐶, (𝑓𝐶)⟩})))
3531, 34mpbird 256 . . . . 5 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → 𝑓:{𝐶}⟶(𝐴𝐵))
36 difmapsn.a . . . . . . . 8 (𝜑𝐴𝑉)
37 difssd 4067 . . . . . . . 8 (𝜑 → (𝐴𝐵) ⊆ 𝐴)
3836, 37ssexd 5248 . . . . . . 7 (𝜑 → (𝐴𝐵) ∈ V)
3923a1i 11 . . . . . . 7 (𝜑 → {𝐶} ∈ V)
4038, 39elmapd 8629 . . . . . 6 (𝜑 → (𝑓 ∈ ((𝐴𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴𝐵)))
4140adantr 481 . . . . 5 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → (𝑓 ∈ ((𝐴𝐵) ↑m {𝐶}) ↔ 𝑓:{𝐶}⟶(𝐴𝐵)))
4235, 41mpbird 256 . . . 4 ((𝜑𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))) → 𝑓 ∈ ((𝐴𝐵) ↑m {𝐶}))
4342ralrimiva 3103 . . 3 (𝜑 → ∀𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))𝑓 ∈ ((𝐴𝐵) ↑m {𝐶}))
44 dfss3 3909 . . 3 (((𝐴m {𝐶}) ∖ (𝐵m {𝐶})) ⊆ ((𝐴𝐵) ↑m {𝐶}) ↔ ∀𝑓 ∈ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶}))𝑓 ∈ ((𝐴𝐵) ↑m {𝐶}))
4543, 44sylibr 233 . 2 (𝜑 → ((𝐴m {𝐶}) ∖ (𝐵m {𝐶})) ⊆ ((𝐴𝐵) ↑m {𝐶}))
465snn0d 4711 . . 3 (𝜑 → {𝐶} ≠ ∅)
4736, 21, 39, 46difmap 42747 . 2 (𝜑 → ((𝐴𝐵) ↑m {𝐶}) ⊆ ((𝐴m {𝐶}) ∖ (𝐵m {𝐶})))
4845, 47eqssd 3938 1 (𝜑 → ((𝐴m {𝐶}) ∖ (𝐵m {𝐶})) = ((𝐴𝐵) ↑m {𝐶}))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cdif 3884  wss 3887  {csn 4561  cop 4567  wf 6429  cfv 6433  (class class class)co 7275  m cmap 8615
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-sep 5223  ax-nul 5230  ax-pow 5288  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-pw 4535  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-1st 7831  df-2nd 7832  df-map 8617
This theorem is referenced by:  vonvolmbllem  44198  vonvolmbl  44199
  Copyright terms: Public domain W3C validator