Proof of Theorem funelss
Step | Hyp | Ref
| Expression |
1 | | funrel 6451 |
. . . . . 6
⊢ (Fun
𝐴 → Rel 𝐴) |
2 | | 1st2nd 7880 |
. . . . . 6
⊢ ((Rel
𝐴 ∧ 𝑋 ∈ 𝐴) → 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉) |
3 | 1, 2 | sylan 580 |
. . . . 5
⊢ ((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) → 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉) |
4 | | simpl1l 1223 |
. . . . . . . . . 10
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → Fun 𝐴) |
5 | | simpl3 1192 |
. . . . . . . . . 10
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → 𝐵 ⊆ 𝐴) |
6 | | simpr 485 |
. . . . . . . . . 10
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → (1st ‘𝑋) ∈ dom 𝐵) |
7 | | funssfv 6795 |
. . . . . . . . . 10
⊢ ((Fun
𝐴 ∧ 𝐵 ⊆ 𝐴 ∧ (1st ‘𝑋) ∈ dom 𝐵) → (𝐴‘(1st ‘𝑋)) = (𝐵‘(1st ‘𝑋))) |
8 | 4, 5, 6, 7 | syl3anc 1370 |
. . . . . . . . 9
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → (𝐴‘(1st ‘𝑋)) = (𝐵‘(1st ‘𝑋))) |
9 | | eleq1 2826 |
. . . . . . . . . . . . . . 15
⊢ (𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 →
(𝑋 ∈ 𝐴 ↔ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐴)) |
10 | 9 | adantl 482 |
. . . . . . . . . . . . . 14
⊢ ((Fun
𝐴 ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉) → (𝑋 ∈ 𝐴 ↔ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐴)) |
11 | | funopfv 6821 |
. . . . . . . . . . . . . . 15
⊢ (Fun
𝐴 →
(〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐴 → (𝐴‘(1st ‘𝑋)) = (2nd
‘𝑋))) |
12 | 11 | adantr 481 |
. . . . . . . . . . . . . 14
⊢ ((Fun
𝐴 ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉) →
(〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐴 → (𝐴‘(1st ‘𝑋)) = (2nd
‘𝑋))) |
13 | 10, 12 | sylbid 239 |
. . . . . . . . . . . . 13
⊢ ((Fun
𝐴 ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉) → (𝑋 ∈ 𝐴 → (𝐴‘(1st ‘𝑋)) = (2nd
‘𝑋))) |
14 | 13 | impancom 452 |
. . . . . . . . . . . 12
⊢ ((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) → (𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 → (𝐴‘(1st
‘𝑋)) =
(2nd ‘𝑋))) |
15 | 14 | imp 407 |
. . . . . . . . . . 11
⊢ (((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉) → (𝐴‘(1st
‘𝑋)) =
(2nd ‘𝑋)) |
16 | 15 | 3adant3 1131 |
. . . . . . . . . 10
⊢ (((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) → (𝐴‘(1st ‘𝑋)) = (2nd
‘𝑋)) |
17 | 16 | adantr 481 |
. . . . . . . . 9
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → (𝐴‘(1st ‘𝑋)) = (2nd
‘𝑋)) |
18 | 8, 17 | eqtr3d 2780 |
. . . . . . . 8
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → (𝐵‘(1st ‘𝑋)) = (2nd
‘𝑋)) |
19 | | funss 6453 |
. . . . . . . . . . . . . 14
⊢ (𝐵 ⊆ 𝐴 → (Fun 𝐴 → Fun 𝐵)) |
20 | 19 | com12 32 |
. . . . . . . . . . . . 13
⊢ (Fun
𝐴 → (𝐵 ⊆ 𝐴 → Fun 𝐵)) |
21 | 20 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) → (𝐵 ⊆ 𝐴 → Fun 𝐵)) |
22 | 21 | imp 407 |
. . . . . . . . . . 11
⊢ (((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝐵 ⊆ 𝐴) → Fun 𝐵) |
23 | 22 | funfnd 6465 |
. . . . . . . . . 10
⊢ (((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝐵 ⊆ 𝐴) → 𝐵 Fn dom 𝐵) |
24 | 23 | 3adant2 1130 |
. . . . . . . . 9
⊢ (((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) → 𝐵 Fn dom 𝐵) |
25 | | fnopfvb 6823 |
. . . . . . . . 9
⊢ ((𝐵 Fn dom 𝐵 ∧ (1st ‘𝑋) ∈ dom 𝐵) → ((𝐵‘(1st ‘𝑋)) = (2nd
‘𝑋) ↔
〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐵)) |
26 | 24, 25 | sylan 580 |
. . . . . . . 8
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → ((𝐵‘(1st ‘𝑋)) = (2nd
‘𝑋) ↔
〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐵)) |
27 | 18, 26 | mpbid 231 |
. . . . . . 7
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐵) |
28 | | eleq1 2826 |
. . . . . . . . 9
⊢ (𝑋 = 〈(1st
‘𝑋), (2nd
‘𝑋)〉 →
(𝑋 ∈ 𝐵 ↔ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐵)) |
29 | 28 | 3ad2ant2 1133 |
. . . . . . . 8
⊢ (((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) → (𝑋 ∈ 𝐵 ↔ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐵)) |
30 | 29 | adantr 481 |
. . . . . . 7
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → (𝑋 ∈ 𝐵 ↔ 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∈ 𝐵)) |
31 | 27, 30 | mpbird 256 |
. . . . . 6
⊢ ((((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) ∧ 𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 ∧ 𝐵 ⊆ 𝐴) ∧ (1st ‘𝑋) ∈ dom 𝐵) → 𝑋 ∈ 𝐵) |
32 | 31 | 3exp1 1351 |
. . . . 5
⊢ ((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) → (𝑋 = 〈(1st ‘𝑋), (2nd ‘𝑋)〉 → (𝐵 ⊆ 𝐴 → ((1st ‘𝑋) ∈ dom 𝐵 → 𝑋 ∈ 𝐵)))) |
33 | 3, 32 | mpd 15 |
. . . 4
⊢ ((Fun
𝐴 ∧ 𝑋 ∈ 𝐴) → (𝐵 ⊆ 𝐴 → ((1st ‘𝑋) ∈ dom 𝐵 → 𝑋 ∈ 𝐵))) |
34 | 33 | ex 413 |
. . 3
⊢ (Fun
𝐴 → (𝑋 ∈ 𝐴 → (𝐵 ⊆ 𝐴 → ((1st ‘𝑋) ∈ dom 𝐵 → 𝑋 ∈ 𝐵)))) |
35 | 34 | com23 86 |
. 2
⊢ (Fun
𝐴 → (𝐵 ⊆ 𝐴 → (𝑋 ∈ 𝐴 → ((1st ‘𝑋) ∈ dom 𝐵 → 𝑋 ∈ 𝐵)))) |
36 | 35 | 3imp 1110 |
1
⊢ ((Fun
𝐴 ∧ 𝐵 ⊆ 𝐴 ∧ 𝑋 ∈ 𝐴) → ((1st ‘𝑋) ∈ dom 𝐵 → 𝑋 ∈ 𝐵)) |