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

Theorem resdif 5454
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 5411 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → Fun (𝐹𝐴))
2 difss 3248 . . . . . . 7 (𝐴𝐵) ⊆ 𝐴
3 fof 5410 . . . . . . . 8 ((𝐹𝐴):𝐴onto𝐶 → (𝐹𝐴):𝐴𝐶)
4 fdm 5343 . . . . . . . 8 ((𝐹𝐴):𝐴𝐶 → dom (𝐹𝐴) = 𝐴)
53, 4syl 14 . . . . . . 7 ((𝐹𝐴):𝐴onto𝐶 → dom (𝐹𝐴) = 𝐴)
62, 5sseqtrrid 3193 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → (𝐴𝐵) ⊆ dom (𝐹𝐴))
7 fores 5419 . . . . . 6 ((Fun (𝐹𝐴) ∧ (𝐴𝐵) ⊆ dom (𝐹𝐴)) → ((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
81, 6, 7syl2anc 409 . . . . 5 ((𝐹𝐴):𝐴onto𝐶 → ((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
9 resres 4896 . . . . . . . 8 ((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴 ∩ (𝐴𝐵)))
10 indif 3365 . . . . . . . . 9 (𝐴 ∩ (𝐴𝐵)) = (𝐴𝐵)
1110reseq2i 4881 . . . . . . . 8 (𝐹 ↾ (𝐴 ∩ (𝐴𝐵))) = (𝐹 ↾ (𝐴𝐵))
129, 11eqtri 2186 . . . . . . 7 ((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴𝐵))
13 foeq1 5406 . . . . . . 7 (((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴𝐵)) → (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵))))
1412, 13ax-mp 5 . . . . . 6 (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
1512rneqi 4832 . . . . . . . 8 ran ((𝐹𝐴) ↾ (𝐴𝐵)) = ran (𝐹 ↾ (𝐴𝐵))
16 df-ima 4617 . . . . . . . 8 ((𝐹𝐴) “ (𝐴𝐵)) = ran ((𝐹𝐴) ↾ (𝐴𝐵))
17 df-ima 4617 . . . . . . . 8 (𝐹 “ (𝐴𝐵)) = ran (𝐹 ↾ (𝐴𝐵))
1815, 16, 173eqtr4i 2196 . . . . . . 7 ((𝐹𝐴) “ (𝐴𝐵)) = (𝐹 “ (𝐴𝐵))
19 foeq3 5408 . . . . . . 7 (((𝐹𝐴) “ (𝐴𝐵)) = (𝐹 “ (𝐴𝐵)) → ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵))))
2018, 19ax-mp 5 . . . . . 6 ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
2114, 20bitri 183 . . . . 5 (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
228, 21sylib 121 . . . 4 ((𝐹𝐴):𝐴onto𝐶 → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
23 funres11 5260 . . . 4 (Fun 𝐹 → Fun (𝐹 ↾ (𝐴𝐵)))
24 dff1o3 5438 . . . . 5 ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)) ↔ ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)) ∧ Fun (𝐹 ↾ (𝐴𝐵))))
2524biimpri 132 . . . 4 (((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)) ∧ Fun (𝐹 ↾ (𝐴𝐵))) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)))
2622, 23, 25syl2anr 288 . . 3 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)))
27263adant3 1007 . 2 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)))
28 df-ima 4617 . . . . . . 7 (𝐹𝐴) = ran (𝐹𝐴)
29 forn 5413 . . . . . . 7 ((𝐹𝐴):𝐴onto𝐶 → ran (𝐹𝐴) = 𝐶)
3028, 29syl5eq 2211 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → (𝐹𝐴) = 𝐶)
31 df-ima 4617 . . . . . . 7 (𝐹𝐵) = ran (𝐹𝐵)
32 forn 5413 . . . . . . 7 ((𝐹𝐵):𝐵onto𝐷 → ran (𝐹𝐵) = 𝐷)
3331, 32syl5eq 2211 . . . . . 6 ((𝐹𝐵):𝐵onto𝐷 → (𝐹𝐵) = 𝐷)
3430, 33anim12i 336 . . . . 5 (((𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → ((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷))
35 imadif 5268 . . . . . 6 (Fun 𝐹 → (𝐹 “ (𝐴𝐵)) = ((𝐹𝐴) ∖ (𝐹𝐵)))
36 difeq12 3235 . . . . . 6 (((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷) → ((𝐹𝐴) ∖ (𝐹𝐵)) = (𝐶𝐷))
3735, 36sylan9eq 2219 . . . . 5 ((Fun 𝐹 ∧ ((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷)) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
3834, 37sylan2 284 . . . 4 ((Fun 𝐹 ∧ ((𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷)) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
39383impb 1189 . . 3 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
40 f1oeq3 5423 . . 3 ((𝐹 “ (𝐴𝐵)) = (𝐶𝐷) → ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐶𝐷)))
4139, 40syl 14 . 2 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐶𝐷)))
4227, 41mpbid 146 1 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐶𝐷))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 968   = wceq 1343  cdif 3113  cin 3115  wss 3116  ccnv 4603  dom cdm 4604  ran crn 4605  cres 4606  cima 4607  Fun wfun 5182  wf 5184  ontowfo 5186  1-1-ontowf1o 5187
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195
This theorem is referenced by:  dif1en  6845
  Copyright terms: Public domain W3C validator