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

Theorem resdif 5464
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 5421 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → Fun (𝐹𝐴))
2 difss 3253 . . . . . . 7 (𝐴𝐵) ⊆ 𝐴
3 fof 5420 . . . . . . . 8 ((𝐹𝐴):𝐴onto𝐶 → (𝐹𝐴):𝐴𝐶)
4 fdm 5353 . . . . . . . 8 ((𝐹𝐴):𝐴𝐶 → dom (𝐹𝐴) = 𝐴)
53, 4syl 14 . . . . . . 7 ((𝐹𝐴):𝐴onto𝐶 → dom (𝐹𝐴) = 𝐴)
62, 5sseqtrrid 3198 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → (𝐴𝐵) ⊆ dom (𝐹𝐴))
7 fores 5429 . . . . . 6 ((Fun (𝐹𝐴) ∧ (𝐴𝐵) ⊆ dom (𝐹𝐴)) → ((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
81, 6, 7syl2anc 409 . . . . 5 ((𝐹𝐴):𝐴onto𝐶 → ((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
9 resres 4903 . . . . . . . 8 ((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴 ∩ (𝐴𝐵)))
10 indif 3370 . . . . . . . . 9 (𝐴 ∩ (𝐴𝐵)) = (𝐴𝐵)
1110reseq2i 4888 . . . . . . . 8 (𝐹 ↾ (𝐴 ∩ (𝐴𝐵))) = (𝐹 ↾ (𝐴𝐵))
129, 11eqtri 2191 . . . . . . 7 ((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴𝐵))
13 foeq1 5416 . . . . . . 7 (((𝐹𝐴) ↾ (𝐴𝐵)) = (𝐹 ↾ (𝐴𝐵)) → (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵))))
1412, 13ax-mp 5 . . . . . 6 (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)))
1512rneqi 4839 . . . . . . . 8 ran ((𝐹𝐴) ↾ (𝐴𝐵)) = ran (𝐹 ↾ (𝐴𝐵))
16 df-ima 4624 . . . . . . . 8 ((𝐹𝐴) “ (𝐴𝐵)) = ran ((𝐹𝐴) ↾ (𝐴𝐵))
17 df-ima 4624 . . . . . . . 8 (𝐹 “ (𝐴𝐵)) = ran (𝐹 ↾ (𝐴𝐵))
1815, 16, 173eqtr4i 2201 . . . . . . 7 ((𝐹𝐴) “ (𝐴𝐵)) = (𝐹 “ (𝐴𝐵))
19 foeq3 5418 . . . . . . 7 (((𝐹𝐴) “ (𝐴𝐵)) = (𝐹 “ (𝐴𝐵)) → ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵))))
2018, 19ax-mp 5 . . . . . 6 ((𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
2114, 20bitri 183 . . . . 5 (((𝐹𝐴) ↾ (𝐴𝐵)):(𝐴𝐵)–onto→((𝐹𝐴) “ (𝐴𝐵)) ↔ (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
228, 21sylib 121 . . . 4 ((𝐹𝐴):𝐴onto𝐶 → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–onto→(𝐹 “ (𝐴𝐵)))
23 funres11 5270 . . . 4 (Fun 𝐹 → Fun (𝐹 ↾ (𝐴𝐵)))
24 dff1o3 5448 . . . . 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 1012 . 2 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 ↾ (𝐴𝐵)):(𝐴𝐵)–1-1-onto→(𝐹 “ (𝐴𝐵)))
28 df-ima 4624 . . . . . . 7 (𝐹𝐴) = ran (𝐹𝐴)
29 forn 5423 . . . . . . 7 ((𝐹𝐴):𝐴onto𝐶 → ran (𝐹𝐴) = 𝐶)
3028, 29eqtrid 2215 . . . . . 6 ((𝐹𝐴):𝐴onto𝐶 → (𝐹𝐴) = 𝐶)
31 df-ima 4624 . . . . . . 7 (𝐹𝐵) = ran (𝐹𝐵)
32 forn 5423 . . . . . . 7 ((𝐹𝐵):𝐵onto𝐷 → ran (𝐹𝐵) = 𝐷)
3331, 32eqtrid 2215 . . . . . 6 ((𝐹𝐵):𝐵onto𝐷 → (𝐹𝐵) = 𝐷)
3430, 33anim12i 336 . . . . 5 (((𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → ((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷))
35 imadif 5278 . . . . . 6 (Fun 𝐹 → (𝐹 “ (𝐴𝐵)) = ((𝐹𝐴) ∖ (𝐹𝐵)))
36 difeq12 3240 . . . . . 6 (((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷) → ((𝐹𝐴) ∖ (𝐹𝐵)) = (𝐶𝐷))
3735, 36sylan9eq 2223 . . . . 5 ((Fun 𝐹 ∧ ((𝐹𝐴) = 𝐶 ∧ (𝐹𝐵) = 𝐷)) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
3834, 37sylan2 284 . . . 4 ((Fun 𝐹 ∧ ((𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷)) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
39383impb 1194 . . 3 ((Fun 𝐹 ∧ (𝐹𝐴):𝐴onto𝐶 ∧ (𝐹𝐵):𝐵onto𝐷) → (𝐹 “ (𝐴𝐵)) = (𝐶𝐷))
40 f1oeq3 5433 . . 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 973   = wceq 1348  cdif 3118  cin 3120  wss 3121  ccnv 4610  dom cdm 4611  ran crn 4612  cres 4613  cima 4614  Fun wfun 5192  wf 5194  ontowfo 5196  1-1-ontowf1o 5197
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-br 3990  df-opab 4051  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205
This theorem is referenced by:  dif1en  6857
  Copyright terms: Public domain W3C validator