Intuitionistic Logic Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  ILE Home  >  Th. List  >  resdif GIF version

Theorem resdif 5175
 Description: The restriction of a one-to-one onto function to a difference maps onto the difference of the images. (Contributed by Paul Chapman, 11-Apr-2009.)
Assertion
Ref Expression
resdif ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐶𝐷))

Proof of Theorem resdif
StepHypRef Expression
1 fofun 5134 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → Fun (𝐹𝐴))
2 difss 3097 . . . . . . 7 (𝐴𝐵) ⊆ 𝐴
3 fof 5133 . . . . . . . 8 ((𝐹𝐴):𝐴onto𝐶 → (𝐹𝐴):𝐴𝐶)
4 fdm 5077 . . . . . . . 8 ((𝐹𝐴):𝐴𝐶 → dom (𝐹𝐴) = 𝐴)
53, 4syl 14 . . . . . . 7 ((𝐹𝐴):𝐴onto𝐶 → dom (𝐹𝐴) = 𝐴)
62, 5syl5sseqr 3021 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → (𝐴𝐵) ⊆ dom (𝐹𝐴))
7 fores 5142 . . . . . 6 ((Fun (𝐹𝐴) ∧ (𝐴𝐵) ⊆ dom (𝐹𝐴)) → ((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
81, 6, 7syl2anc 397 . . . . 5 ((𝐹𝐴):𝐴onto𝐶 → ((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
9 resres 4651 . . . . . . . 8 ((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴 ∩ (𝐴𝐵)))
10 indif 3207 . . . . . . . . 9 (𝐴 ∩ (𝐴𝐵)) = (𝐴𝐵)
1110reseq2i 4636 . . . . . . . 8 (𝐹 ↾ (𝐴 ∩ (𝐴𝐵))) = (𝐹 ↾ (𝐴𝐵))
129, 11eqtri 2076 . . . . . . 7 ((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴𝐵))
13 foeq1 5129 . . . . . . 7 (((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴𝐵)) → (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵))))
1412, 13ax-mp 7 . . . . . 6 (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
1512rneqi 4589 . . . . . . . 8 ran ((𝐹𝐴) ↾ (𝐴𝐵)) = ran (𝐹 ↾ (𝐴𝐵))
16 df-ima 4385 . . . . . . . 8 ((𝐹𝐴) “ (𝐴𝐵)) = ran ((𝐹𝐴) ↾ (𝐴𝐵))
17 df-ima 4385 . . . . . . . 8 (𝐹 “ (𝐴𝐵)) = ran (𝐹 ↾ (𝐴𝐵))
1815, 16, 173eqtr4i 2086 . . . . . . 7 ((𝐹𝐴) “ (𝐴𝐵)) = (𝐹 “ (𝐴𝐵))
19 foeq3 5131 . . . . . . 7 (((𝐹𝐴) “ (𝐴𝐵)) = (𝐹 “ (𝐴𝐵)) → ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵))))
2018, 19ax-mp 7 . . . . . 6 ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
2114, 20bitri 177 . . . . 5 (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
228, 21sylib 131 . . . 4 ((𝐹𝐴):𝐴onto𝐶 → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
23 funres11 4998 . . . 4 (Fun 𝐹 → Fun (𝐹 ↾ (𝐴𝐵)))
24 dff1o3 5159 . . . . 5 ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)) ↔ ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)) ∧ Fun (𝐹 ↾ (𝐴𝐵))))
2524biimpri 128 . . . 4 (((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)) ∧ Fun (𝐹 ↾ (𝐴𝐵))) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)))
2622, 23, 25syl2anr 278 . . 3 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)))
27263adant3 935 . 2 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)))
28 df-ima 4385 . . . . . . 7 (𝐹𝐴) = ran (𝐹𝐴)
29 forn 5136 . . . . . . 7 ((𝐹𝐴):𝐴onto𝐶 → ran (𝐹𝐴) = 𝐶)
3028, 29syl5eq 2100 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → (𝐹𝐴) = 𝐶)
31 df-ima 4385 . . . . . . 7 (𝐹𝐵) = ran (𝐹𝐵)
32 forn 5136 . . . . . . 7 ((𝐹𝐵):𝐵onto𝐷 → ran (𝐹𝐵) = 𝐷)
3331, 32syl5eq 2100 . . . . . 6 ((𝐹𝐵):𝐵onto𝐷 → (𝐹𝐵) = 𝐷)
3430, 33anim12i 325 . . . . 5 (((𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → ((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷))
35 imadif 5006 . . . . . 6 (Fun 𝐹 → (𝐹 “ (𝐴𝐵)) = ((𝐹𝐴) ∖ (𝐹𝐵)))
36 difeq12 3084 . . . . . 6 (((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷) → ((𝐹𝐴) ∖ (𝐹𝐵)) = (𝐶𝐷))
3735, 36sylan9eq 2108 . . . . 5 ((Fun 𝐹 ∧ ((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷)) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
3834, 37sylan2 274 . . . 4 ((Fun 𝐹 ∧ ((𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷)) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
39383impb 1111 . . 3 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
40 f1oeq3 5146 . . 3 ((𝐹 “ (𝐴𝐵)) = (𝐶𝐷) → ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐶𝐷)))
4139, 40syl 14 . 2 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐶𝐷)))
4227, 41mpbid 139 1 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐶𝐷))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 101   ↔ wb 102   ∧ w3a 896   = wceq 1259   ∖ cdif 2941   ∩ cin 2943   ⊆ wss 2944  ◡ccnv 4371  dom cdm 4372  ran crn 4373   ↾ cres 4374   “ cima 4375  Fun wfun 4923  ⟶wf 4925  –onto→wfo 4927  –1-1-onto→wf1o 4928 This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 103  ax-ia2 104  ax-ia3 105  ax-in1 554  ax-in2 555  ax-io 640  ax-5 1352  ax-7 1353  ax-gen 1354  ax-ie1 1398  ax-ie2 1399  ax-8 1411  ax-10 1412  ax-11 1413  ax-i12 1414  ax-bndl 1415  ax-4 1416  ax-14 1421  ax-17 1435  ax-i9 1439  ax-ial 1443  ax-i5r 1444  ax-ext 2038  ax-sep 3902  ax-pow 3954  ax-pr 3971 This theorem depends on definitions:  df-bi 114  df-3an 898  df-tru 1262  df-fal 1265  df-nf 1366  df-sb 1662  df-eu 1919  df-mo 1920  df-clab 2043  df-cleq 2049  df-clel 2052  df-nfc 2183  df-ral 2328  df-rex 2329  df-rab 2332  df-v 2576  df-dif 2947  df-un 2949  df-in 2951  df-ss 2958  df-pw 3388  df-sn 3408  df-pr 3409  df-op 3411  df-br 3792  df-opab 3846  df-id 4057  df-xp 4378  df-rel 4379  df-cnv 4380  df-co 4381  df-dm 4382  df-rn 4383  df-res 4384  df-ima 4385  df-fun 4931  df-fn 4932  df-f 4933  df-f1 4934  df-fo 4935  df-f1o 4936 This theorem is referenced by:  dif1en  6367
 Copyright terms: Public domain W3C validator