Proof of Theorem resdif
Step | Hyp | Ref
| Expression |
1 | | fofun 5411 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → Fun (𝐹 ↾ 𝐴)) |
2 | | difss 3248 |
. . . . . . 7
⊢ (𝐴 ∖ 𝐵) ⊆ 𝐴 |
3 | | fof 5410 |
. . . . . . . 8
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐹 ↾ 𝐴):𝐴⟶𝐶) |
4 | | fdm 5343 |
. . . . . . . 8
⊢ ((𝐹 ↾ 𝐴):𝐴⟶𝐶 → dom (𝐹 ↾ 𝐴) = 𝐴) |
5 | 3, 4 | syl 14 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → dom (𝐹 ↾ 𝐴) = 𝐴) |
6 | 2, 5 | sseqtrrid 3193 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐴 ∖ 𝐵) ⊆ dom (𝐹 ↾ 𝐴)) |
7 | | fores 5419 |
. . . . . 6
⊢ ((Fun
(𝐹 ↾ 𝐴) ∧ (𝐴 ∖ 𝐵) ⊆ dom (𝐹 ↾ 𝐴)) → ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵))) |
8 | 1, 6, 7 | syl2anc 409 |
. . . . 5
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵))) |
9 | | resres 4896 |
. . . . . . . 8
⊢ ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = (𝐹 ↾ (𝐴 ∩ (𝐴 ∖ 𝐵))) |
10 | | indif 3365 |
. . . . . . . . 9
⊢ (𝐴 ∩ (𝐴 ∖ 𝐵)) = (𝐴 ∖ 𝐵) |
11 | 10 | reseq2i 4881 |
. . . . . . . 8
⊢ (𝐹 ↾ (𝐴 ∩ (𝐴 ∖ 𝐵))) = (𝐹 ↾ (𝐴 ∖ 𝐵)) |
12 | 9, 11 | eqtri 2186 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = (𝐹 ↾ (𝐴 ∖ 𝐵)) |
13 | | foeq1 5406 |
. . . . . . 7
⊢ (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = (𝐹 ↾ (𝐴 ∖ 𝐵)) → (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)))) |
14 | 12, 13 | ax-mp 5 |
. . . . . 6
⊢ (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵))) |
15 | 12 | rneqi 4832 |
. . . . . . . 8
⊢ ran
((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = ran (𝐹 ↾ (𝐴 ∖ 𝐵)) |
16 | | df-ima 4617 |
. . . . . . . 8
⊢ ((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) = ran ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) |
17 | | df-ima 4617 |
. . . . . . . 8
⊢ (𝐹 “ (𝐴 ∖ 𝐵)) = ran (𝐹 ↾ (𝐴 ∖ 𝐵)) |
18 | 15, 16, 17 | 3eqtr4i 2196 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) = (𝐹 “ (𝐴 ∖ 𝐵)) |
19 | | foeq3 5408 |
. . . . . . 7
⊢ (((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) = (𝐹 “ (𝐴 ∖ 𝐵)) → ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵)))) |
20 | 18, 19 | ax-mp 5 |
. . . . . 6
⊢ ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
21 | 14, 20 | bitri 183 |
. . . . 5
⊢ (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
22 | 8, 21 | sylib 121 |
. . . 4
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
23 | | funres11 5260 |
. . . 4
⊢ (Fun
◡𝐹 → Fun ◡(𝐹 ↾ (𝐴 ∖ 𝐵))) |
24 | | dff1o3 5438 |
. . . . 5
⊢ ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵)) ↔ ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵)) ∧ Fun ◡(𝐹 ↾ (𝐴 ∖ 𝐵)))) |
25 | 24 | biimpri 132 |
. . . 4
⊢ (((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵)) ∧ Fun ◡(𝐹 ↾ (𝐴 ∖ 𝐵))) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
26 | 22, 23, 25 | syl2anr 288 |
. . 3
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
27 | 26 | 3adant3 1007 |
. 2
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
28 | | df-ima 4617 |
. . . . . . 7
⊢ (𝐹 “ 𝐴) = ran (𝐹 ↾ 𝐴) |
29 | | forn 5413 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → ran (𝐹 ↾ 𝐴) = 𝐶) |
30 | 28, 29 | syl5eq 2211 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐹 “ 𝐴) = 𝐶) |
31 | | df-ima 4617 |
. . . . . . 7
⊢ (𝐹 “ 𝐵) = ran (𝐹 ↾ 𝐵) |
32 | | forn 5413 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐵):𝐵–onto→𝐷 → ran (𝐹 ↾ 𝐵) = 𝐷) |
33 | 31, 32 | syl5eq 2211 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐵):𝐵–onto→𝐷 → (𝐹 “ 𝐵) = 𝐷) |
34 | 30, 33 | anim12i 336 |
. . . . 5
⊢ (((𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → ((𝐹 “ 𝐴) = 𝐶 ∧ (𝐹 “ 𝐵) = 𝐷)) |
35 | | imadif 5268 |
. . . . . 6
⊢ (Fun
◡𝐹 → (𝐹 “ (𝐴 ∖ 𝐵)) = ((𝐹 “ 𝐴) ∖ (𝐹 “ 𝐵))) |
36 | | difeq12 3235 |
. . . . . 6
⊢ (((𝐹 “ 𝐴) = 𝐶 ∧ (𝐹 “ 𝐵) = 𝐷) → ((𝐹 “ 𝐴) ∖ (𝐹 “ 𝐵)) = (𝐶 ∖ 𝐷)) |
37 | 35, 36 | sylan9eq 2219 |
. . . . 5
⊢ ((Fun
◡𝐹 ∧ ((𝐹 “ 𝐴) = 𝐶 ∧ (𝐹 “ 𝐵) = 𝐷)) → (𝐹 “ (𝐴 ∖ 𝐵)) = (𝐶 ∖ 𝐷)) |
38 | 34, 37 | sylan2 284 |
. . . 4
⊢ ((Fun
◡𝐹 ∧ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷)) → (𝐹 “ (𝐴 ∖ 𝐵)) = (𝐶 ∖ 𝐷)) |
39 | 38 | 3impb 1189 |
. . 3
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → (𝐹 “ (𝐴 ∖ 𝐵)) = (𝐶 ∖ 𝐷)) |
40 | | f1oeq3 5423 |
. . 3
⊢ ((𝐹 “ (𝐴 ∖ 𝐵)) = (𝐶 ∖ 𝐷) → ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐶 ∖ 𝐷))) |
41 | 39, 40 | syl 14 |
. 2
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐶 ∖ 𝐷))) |
42 | 27, 41 | mpbid 146 |
1
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐶 ∖ 𝐷)) |