Proof of Theorem fresaunres2
Step | Hyp | Ref
| Expression |
1 | | ffn 6584 |
. . . 4
⊢ (𝐹:𝐴⟶𝐶 → 𝐹 Fn 𝐴) |
2 | | ffn 6584 |
. . . 4
⊢ (𝐺:𝐵⟶𝐶 → 𝐺 Fn 𝐵) |
3 | | id 22 |
. . . 4
⊢ ((𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵)) → (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) |
4 | | resasplit 6628 |
. . . 4
⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → (𝐹 ∪ 𝐺) = ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ ((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))))) |
5 | 1, 2, 3, 4 | syl3an 1158 |
. . 3
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → (𝐹 ∪ 𝐺) = ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ ((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))))) |
6 | 5 | reseq1d 5879 |
. 2
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → ((𝐹 ∪ 𝐺) ↾ 𝐵) = (((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ ((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) ↾ 𝐵)) |
7 | | resundir 5895 |
. . 3
⊢ (((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ ((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) ↾ 𝐵) = (((𝐹 ↾ (𝐴 ∩ 𝐵)) ↾ 𝐵) ∪ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) ↾ 𝐵)) |
8 | | inss2 4160 |
. . . . . 6
⊢ (𝐴 ∩ 𝐵) ⊆ 𝐵 |
9 | | resabs2 5912 |
. . . . . 6
⊢ ((𝐴 ∩ 𝐵) ⊆ 𝐵 → ((𝐹 ↾ (𝐴 ∩ 𝐵)) ↾ 𝐵) = (𝐹 ↾ (𝐴 ∩ 𝐵))) |
10 | 8, 9 | ax-mp 5 |
. . . . 5
⊢ ((𝐹 ↾ (𝐴 ∩ 𝐵)) ↾ 𝐵) = (𝐹 ↾ (𝐴 ∩ 𝐵)) |
11 | | resundir 5895 |
. . . . 5
⊢ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) ↾ 𝐵) = (((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) ∪ ((𝐺 ↾ (𝐵 ∖ 𝐴)) ↾ 𝐵)) |
12 | 10, 11 | uneq12i 4091 |
. . . 4
⊢ (((𝐹 ↾ (𝐴 ∩ 𝐵)) ↾ 𝐵) ∪ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) ↾ 𝐵)) = ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) ∪ ((𝐺 ↾ (𝐵 ∖ 𝐴)) ↾ 𝐵))) |
13 | | dmres 5902 |
. . . . . . . . 9
⊢ dom
((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) = (𝐵 ∩ dom (𝐹 ↾ (𝐴 ∖ 𝐵))) |
14 | | dmres 5902 |
. . . . . . . . . . 11
⊢ dom
(𝐹 ↾ (𝐴 ∖ 𝐵)) = ((𝐴 ∖ 𝐵) ∩ dom 𝐹) |
15 | 14 | ineq2i 4140 |
. . . . . . . . . 10
⊢ (𝐵 ∩ dom (𝐹 ↾ (𝐴 ∖ 𝐵))) = (𝐵 ∩ ((𝐴 ∖ 𝐵) ∩ dom 𝐹)) |
16 | | disjdif 4402 |
. . . . . . . . . . . 12
⊢ (𝐵 ∩ (𝐴 ∖ 𝐵)) = ∅ |
17 | 16 | ineq1i 4139 |
. . . . . . . . . . 11
⊢ ((𝐵 ∩ (𝐴 ∖ 𝐵)) ∩ dom 𝐹) = (∅ ∩ dom 𝐹) |
18 | | inass 4150 |
. . . . . . . . . . 11
⊢ ((𝐵 ∩ (𝐴 ∖ 𝐵)) ∩ dom 𝐹) = (𝐵 ∩ ((𝐴 ∖ 𝐵) ∩ dom 𝐹)) |
19 | | 0in 4324 |
. . . . . . . . . . 11
⊢ (∅
∩ dom 𝐹) =
∅ |
20 | 17, 18, 19 | 3eqtr3i 2774 |
. . . . . . . . . 10
⊢ (𝐵 ∩ ((𝐴 ∖ 𝐵) ∩ dom 𝐹)) = ∅ |
21 | 15, 20 | eqtri 2766 |
. . . . . . . . 9
⊢ (𝐵 ∩ dom (𝐹 ↾ (𝐴 ∖ 𝐵))) = ∅ |
22 | 13, 21 | eqtri 2766 |
. . . . . . . 8
⊢ dom
((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) = ∅ |
23 | | relres 5909 |
. . . . . . . . 9
⊢ Rel
((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) |
24 | | reldm0 5826 |
. . . . . . . . 9
⊢ (Rel
((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) → (((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) = ∅ ↔ dom ((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) = ∅)) |
25 | 23, 24 | ax-mp 5 |
. . . . . . . 8
⊢ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) = ∅ ↔ dom ((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) = ∅) |
26 | 22, 25 | mpbir 230 |
. . . . . . 7
⊢ ((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) = ∅ |
27 | | difss 4062 |
. . . . . . . 8
⊢ (𝐵 ∖ 𝐴) ⊆ 𝐵 |
28 | | resabs2 5912 |
. . . . . . . 8
⊢ ((𝐵 ∖ 𝐴) ⊆ 𝐵 → ((𝐺 ↾ (𝐵 ∖ 𝐴)) ↾ 𝐵) = (𝐺 ↾ (𝐵 ∖ 𝐴))) |
29 | 27, 28 | ax-mp 5 |
. . . . . . 7
⊢ ((𝐺 ↾ (𝐵 ∖ 𝐴)) ↾ 𝐵) = (𝐺 ↾ (𝐵 ∖ 𝐴)) |
30 | 26, 29 | uneq12i 4091 |
. . . . . 6
⊢ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) ∪ ((𝐺 ↾ (𝐵 ∖ 𝐴)) ↾ 𝐵)) = (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) |
31 | 30 | uneq2i 4090 |
. . . . 5
⊢ ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) ∪ ((𝐺 ↾ (𝐵 ∖ 𝐴)) ↾ 𝐵))) = ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) |
32 | | simp3 1136 |
. . . . . . 7
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) |
33 | 32 | uneq1d 4092 |
. . . . . 6
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) = ((𝐺 ↾ (𝐴 ∩ 𝐵)) ∪ (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))))) |
34 | | uncom 4083 |
. . . . . . . . . 10
⊢ (∅
∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) = ((𝐺 ↾ (𝐵 ∖ 𝐴)) ∪ ∅) |
35 | | un0 4321 |
. . . . . . . . . 10
⊢ ((𝐺 ↾ (𝐵 ∖ 𝐴)) ∪ ∅) = (𝐺 ↾ (𝐵 ∖ 𝐴)) |
36 | 34, 35 | eqtri 2766 |
. . . . . . . . 9
⊢ (∅
∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) = (𝐺 ↾ (𝐵 ∖ 𝐴)) |
37 | 36 | uneq2i 4090 |
. . . . . . . 8
⊢ ((𝐺 ↾ (𝐴 ∩ 𝐵)) ∪ (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) = ((𝐺 ↾ (𝐴 ∩ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) |
38 | | resundi 5894 |
. . . . . . . . 9
⊢ (𝐺 ↾ ((𝐴 ∩ 𝐵) ∪ (𝐵 ∖ 𝐴))) = ((𝐺 ↾ (𝐴 ∩ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) |
39 | | incom 4131 |
. . . . . . . . . . . . 13
⊢ (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴) |
40 | 39 | uneq1i 4089 |
. . . . . . . . . . . 12
⊢ ((𝐴 ∩ 𝐵) ∪ (𝐵 ∖ 𝐴)) = ((𝐵 ∩ 𝐴) ∪ (𝐵 ∖ 𝐴)) |
41 | | inundif 4409 |
. . . . . . . . . . . 12
⊢ ((𝐵 ∩ 𝐴) ∪ (𝐵 ∖ 𝐴)) = 𝐵 |
42 | 40, 41 | eqtri 2766 |
. . . . . . . . . . 11
⊢ ((𝐴 ∩ 𝐵) ∪ (𝐵 ∖ 𝐴)) = 𝐵 |
43 | 42 | reseq2i 5877 |
. . . . . . . . . 10
⊢ (𝐺 ↾ ((𝐴 ∩ 𝐵) ∪ (𝐵 ∖ 𝐴))) = (𝐺 ↾ 𝐵) |
44 | | fnresdm 6535 |
. . . . . . . . . . . 12
⊢ (𝐺 Fn 𝐵 → (𝐺 ↾ 𝐵) = 𝐺) |
45 | 2, 44 | syl 17 |
. . . . . . . . . . 11
⊢ (𝐺:𝐵⟶𝐶 → (𝐺 ↾ 𝐵) = 𝐺) |
46 | 45 | adantl 481 |
. . . . . . . . . 10
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶) → (𝐺 ↾ 𝐵) = 𝐺) |
47 | 43, 46 | eqtrid 2790 |
. . . . . . . . 9
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶) → (𝐺 ↾ ((𝐴 ∩ 𝐵) ∪ (𝐵 ∖ 𝐴))) = 𝐺) |
48 | 38, 47 | eqtr3id 2793 |
. . . . . . . 8
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶) → ((𝐺 ↾ (𝐴 ∩ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) = 𝐺) |
49 | 37, 48 | eqtrid 2790 |
. . . . . . 7
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶) → ((𝐺 ↾ (𝐴 ∩ 𝐵)) ∪ (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) = 𝐺) |
50 | 49 | 3adant3 1130 |
. . . . . 6
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → ((𝐺 ↾ (𝐴 ∩ 𝐵)) ∪ (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) = 𝐺) |
51 | 33, 50 | eqtrd 2778 |
. . . . 5
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ (∅ ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) = 𝐺) |
52 | 31, 51 | eqtrid 2790 |
. . . 4
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → ((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ↾ 𝐵) ∪ ((𝐺 ↾ (𝐵 ∖ 𝐴)) ↾ 𝐵))) = 𝐺) |
53 | 12, 52 | eqtrid 2790 |
. . 3
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → (((𝐹 ↾ (𝐴 ∩ 𝐵)) ↾ 𝐵) ∪ (((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴))) ↾ 𝐵)) = 𝐺) |
54 | 7, 53 | eqtrid 2790 |
. 2
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → (((𝐹 ↾ (𝐴 ∩ 𝐵)) ∪ ((𝐹 ↾ (𝐴 ∖ 𝐵)) ∪ (𝐺 ↾ (𝐵 ∖ 𝐴)))) ↾ 𝐵) = 𝐺) |
55 | 6, 54 | eqtrd 2778 |
1
⊢ ((𝐹:𝐴⟶𝐶 ∧ 𝐺:𝐵⟶𝐶 ∧ (𝐹 ↾ (𝐴 ∩ 𝐵)) = (𝐺 ↾ (𝐴 ∩ 𝐵))) → ((𝐹 ∪ 𝐺) ↾ 𝐵) = 𝐺) |