Proof of Theorem resdif
Step | Hyp | Ref
| Expression |
1 | | fofun 6673 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → Fun (𝐹 ↾ 𝐴)) |
2 | | difss 4062 |
. . . . . . 7
⊢ (𝐴 ∖ 𝐵) ⊆ 𝐴 |
3 | | fof 6672 |
. . . . . . . 8
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐹 ↾ 𝐴):𝐴⟶𝐶) |
4 | 3 | fdmd 6595 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → dom (𝐹 ↾ 𝐴) = 𝐴) |
5 | 2, 4 | sseqtrrid 3970 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐴 ∖ 𝐵) ⊆ dom (𝐹 ↾ 𝐴)) |
6 | | fores 6682 |
. . . . . 6
⊢ ((Fun
(𝐹 ↾ 𝐴) ∧ (𝐴 ∖ 𝐵) ⊆ dom (𝐹 ↾ 𝐴)) → ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵))) |
7 | 1, 5, 6 | syl2anc 583 |
. . . . 5
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵))) |
8 | | resres 5893 |
. . . . . . . 8
⊢ ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = (𝐹 ↾ (𝐴 ∩ (𝐴 ∖ 𝐵))) |
9 | | indif 4200 |
. . . . . . . . 9
⊢ (𝐴 ∩ (𝐴 ∖ 𝐵)) = (𝐴 ∖ 𝐵) |
10 | 9 | reseq2i 5877 |
. . . . . . . 8
⊢ (𝐹 ↾ (𝐴 ∩ (𝐴 ∖ 𝐵))) = (𝐹 ↾ (𝐴 ∖ 𝐵)) |
11 | 8, 10 | eqtri 2766 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = (𝐹 ↾ (𝐴 ∖ 𝐵)) |
12 | | foeq1 6668 |
. . . . . . 7
⊢ (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = (𝐹 ↾ (𝐴 ∖ 𝐵)) → (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)))) |
13 | 11, 12 | ax-mp 5 |
. . . . . 6
⊢ (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵))) |
14 | 11 | rneqi 5835 |
. . . . . . . 8
⊢ ran
((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) = ran (𝐹 ↾ (𝐴 ∖ 𝐵)) |
15 | | df-ima 5593 |
. . . . . . . 8
⊢ ((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) = ran ((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)) |
16 | | df-ima 5593 |
. . . . . . . 8
⊢ (𝐹 “ (𝐴 ∖ 𝐵)) = ran (𝐹 ↾ (𝐴 ∖ 𝐵)) |
17 | 14, 15, 16 | 3eqtr4i 2776 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) = (𝐹 “ (𝐴 ∖ 𝐵)) |
18 | | foeq3 6670 |
. . . . . . 7
⊢ (((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) = (𝐹 “ (𝐴 ∖ 𝐵)) → ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵)))) |
19 | 17, 18 | ax-mp 5 |
. . . . . 6
⊢ ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
20 | 13, 19 | bitri 274 |
. . . . 5
⊢ (((𝐹 ↾ 𝐴) ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→((𝐹 ↾ 𝐴) “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
21 | 7, 20 | sylib 217 |
. . . 4
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
22 | | funres11 6495 |
. . . 4
⊢ (Fun
◡𝐹 → Fun ◡(𝐹 ↾ (𝐴 ∖ 𝐵))) |
23 | | dff1o3 6706 |
. . . . 5
⊢ ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵)) ↔ ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵)) ∧ Fun ◡(𝐹 ↾ (𝐴 ∖ 𝐵)))) |
24 | 23 | biimpri 227 |
. . . 4
⊢ (((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–onto→(𝐹 “ (𝐴 ∖ 𝐵)) ∧ Fun ◡(𝐹 ↾ (𝐴 ∖ 𝐵))) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
25 | 21, 22, 24 | syl2anr 596 |
. . 3
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
26 | 25 | 3adant3 1130 |
. 2
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵))) |
27 | | df-ima 5593 |
. . . . . . 7
⊢ (𝐹 “ 𝐴) = ran (𝐹 ↾ 𝐴) |
28 | | forn 6675 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → ran (𝐹 ↾ 𝐴) = 𝐶) |
29 | 27, 28 | eqtrid 2790 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 → (𝐹 “ 𝐴) = 𝐶) |
30 | | df-ima 5593 |
. . . . . . 7
⊢ (𝐹 “ 𝐵) = ran (𝐹 ↾ 𝐵) |
31 | | forn 6675 |
. . . . . . 7
⊢ ((𝐹 ↾ 𝐵):𝐵–onto→𝐷 → ran (𝐹 ↾ 𝐵) = 𝐷) |
32 | 30, 31 | eqtrid 2790 |
. . . . . 6
⊢ ((𝐹 ↾ 𝐵):𝐵–onto→𝐷 → (𝐹 “ 𝐵) = 𝐷) |
33 | 29, 32 | anim12i 612 |
. . . . 5
⊢ (((𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → ((𝐹 “ 𝐴) = 𝐶 ∧ (𝐹 “ 𝐵) = 𝐷)) |
34 | | imadif 6502 |
. . . . . 6
⊢ (Fun
◡𝐹 → (𝐹 “ (𝐴 ∖ 𝐵)) = ((𝐹 “ 𝐴) ∖ (𝐹 “ 𝐵))) |
35 | | difeq12 4048 |
. . . . . 6
⊢ (((𝐹 “ 𝐴) = 𝐶 ∧ (𝐹 “ 𝐵) = 𝐷) → ((𝐹 “ 𝐴) ∖ (𝐹 “ 𝐵)) = (𝐶 ∖ 𝐷)) |
36 | 34, 35 | sylan9eq 2799 |
. . . . 5
⊢ ((Fun
◡𝐹 ∧ ((𝐹 “ 𝐴) = 𝐶 ∧ (𝐹 “ 𝐵) = 𝐷)) → (𝐹 “ (𝐴 ∖ 𝐵)) = (𝐶 ∖ 𝐷)) |
37 | 33, 36 | sylan2 592 |
. . . 4
⊢ ((Fun
◡𝐹 ∧ ((𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷)) → (𝐹 “ (𝐴 ∖ 𝐵)) = (𝐶 ∖ 𝐷)) |
38 | 37 | 3impb 1113 |
. . 3
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → (𝐹 “ (𝐴 ∖ 𝐵)) = (𝐶 ∖ 𝐷)) |
39 | 38 | f1oeq3d 6697 |
. 2
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → ((𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐹 “ (𝐴 ∖ 𝐵)) ↔ (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐶 ∖ 𝐷))) |
40 | 26, 39 | mpbid 231 |
1
⊢ ((Fun
◡𝐹 ∧ (𝐹 ↾ 𝐴):𝐴–onto→𝐶 ∧ (𝐹 ↾ 𝐵):𝐵–onto→𝐷) → (𝐹 ↾ (𝐴 ∖ 𝐵)):(𝐴 ∖ 𝐵)–1-1-onto→(𝐶 ∖ 𝐷)) |