Step | Hyp | Ref
| Expression |
1 | | df-ima 5602 |
. 2
⊢ (𝐸 “ 𝐹) = ran (𝐸 ↾ 𝐹) |
2 | | fveq2 6774 |
. . . . . . 7
⊢ (𝑖 = 𝑗 → (𝐸‘𝑖) = (𝐸‘𝑗)) |
3 | | neleq2 3055 |
. . . . . . 7
⊢ ((𝐸‘𝑖) = (𝐸‘𝑗) → (𝑁 ∉ (𝐸‘𝑖) ↔ 𝑁 ∉ (𝐸‘𝑗))) |
4 | 2, 3 | syl 17 |
. . . . . 6
⊢ (𝑖 = 𝑗 → (𝑁 ∉ (𝐸‘𝑖) ↔ 𝑁 ∉ (𝐸‘𝑗))) |
5 | | upgrres.f |
. . . . . 6
⊢ 𝐹 = {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∉ (𝐸‘𝑖)} |
6 | 4, 5 | elrab2 3627 |
. . . . 5
⊢ (𝑗 ∈ 𝐹 ↔ (𝑗 ∈ dom 𝐸 ∧ 𝑁 ∉ (𝐸‘𝑗))) |
7 | | upgrres.v |
. . . . . . . 8
⊢ 𝑉 = (Vtx‘𝐺) |
8 | | upgrres.e |
. . . . . . . 8
⊢ 𝐸 = (iEdg‘𝐺) |
9 | 7, 8 | upgrf 27456 |
. . . . . . 7
⊢ (𝐺 ∈ UPGraph → 𝐸:dom 𝐸⟶{𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤
2}) |
10 | | ffvelrn 6959 |
. . . . . . . . . 10
⊢ ((𝐸:dom 𝐸⟶{𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
∧ 𝑗 ∈ dom 𝐸) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤
2}) |
11 | | fveq2 6774 |
. . . . . . . . . . . . 13
⊢ (𝑝 = (𝐸‘𝑗) → (♯‘𝑝) = (♯‘(𝐸‘𝑗))) |
12 | 11 | breq1d 5084 |
. . . . . . . . . . . 12
⊢ (𝑝 = (𝐸‘𝑗) → ((♯‘𝑝) ≤ 2 ↔ (♯‘(𝐸‘𝑗)) ≤ 2)) |
13 | 12 | elrab 3624 |
. . . . . . . . . . 11
⊢ ((𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
↔ ((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2)) |
14 | | eldifsn 4720 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ↔ ((𝐸‘𝑗) ∈ 𝒫 𝑉 ∧ (𝐸‘𝑗) ≠ ∅)) |
15 | | simpl 483 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝐸‘𝑗) ∈ 𝒫 𝑉 ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ∈ 𝒫 𝑉) |
16 | | elpwi 4542 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝐸‘𝑗) ∈ 𝒫 𝑉 → (𝐸‘𝑗) ⊆ 𝑉) |
17 | 16 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝐸‘𝑗) ∈ 𝒫 𝑉 ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ⊆ 𝑉) |
18 | | simpr 485 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝐸‘𝑗) ∈ 𝒫 𝑉 ∧ 𝑁 ∉ (𝐸‘𝑗)) → 𝑁 ∉ (𝐸‘𝑗)) |
19 | | elpwdifsn 4722 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝐸‘𝑗) ∈ 𝒫 𝑉 ∧ (𝐸‘𝑗) ⊆ 𝑉 ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁})) |
20 | 15, 17, 18, 19 | syl3anc 1370 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (((𝐸‘𝑗) ∈ 𝒫 𝑉 ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁})) |
21 | 20 | ex 413 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝐸‘𝑗) ∈ 𝒫 𝑉 → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁}))) |
22 | 21 | adantr 481 |
. . . . . . . . . . . . . . . . . 18
⊢ (((𝐸‘𝑗) ∈ 𝒫 𝑉 ∧ (𝐸‘𝑗) ≠ ∅) → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁}))) |
23 | 14, 22 | sylbi 216 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁}))) |
24 | 23 | adantr 481 |
. . . . . . . . . . . . . . . 16
⊢ (((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁}))) |
25 | 24 | imp 407 |
. . . . . . . . . . . . . . 15
⊢ ((((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁})) |
26 | | eldifsni 4723 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) → (𝐸‘𝑗) ≠ ∅) |
27 | 26 | adantr 481 |
. . . . . . . . . . . . . . . 16
⊢ (((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) → (𝐸‘𝑗) ≠ ∅) |
28 | 27 | adantr 481 |
. . . . . . . . . . . . . . 15
⊢ ((((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ≠ ∅) |
29 | | eldifsn 4720 |
. . . . . . . . . . . . . . 15
⊢ ((𝐸‘𝑗) ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ↔ ((𝐸‘𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁}) ∧ (𝐸‘𝑗) ≠ ∅)) |
30 | 25, 28, 29 | sylanbrc 583 |
. . . . . . . . . . . . . 14
⊢ ((((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅})) |
31 | | simpr 485 |
. . . . . . . . . . . . . . 15
⊢ (((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) → (♯‘(𝐸‘𝑗)) ≤ 2) |
32 | 31 | adantr 481 |
. . . . . . . . . . . . . 14
⊢ ((((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) ∧ 𝑁 ∉ (𝐸‘𝑗)) → (♯‘(𝐸‘𝑗)) ≤ 2) |
33 | 12, 30, 32 | elrabd 3626 |
. . . . . . . . . . . . 13
⊢ ((((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2}) |
34 | 33 | ex 413 |
. . . . . . . . . . . 12
⊢ (((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})) |
35 | 34 | a1d 25 |
. . . . . . . . . . 11
⊢ (((𝐸‘𝑗) ∈ (𝒫 𝑉 ∖ {∅}) ∧
(♯‘(𝐸‘𝑗)) ≤ 2) → (𝑁 ∈ 𝑉 → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2}))) |
36 | 13, 35 | sylbi 216 |
. . . . . . . . . 10
⊢ ((𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
→ (𝑁 ∈ 𝑉 → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2}))) |
37 | 10, 36 | syl 17 |
. . . . . . . . 9
⊢ ((𝐸:dom 𝐸⟶{𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
∧ 𝑗 ∈ dom 𝐸) → (𝑁 ∈ 𝑉 → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2}))) |
38 | 37 | ex 413 |
. . . . . . . 8
⊢ (𝐸:dom 𝐸⟶{𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
→ (𝑗 ∈ dom 𝐸 → (𝑁 ∈ 𝑉 → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})))) |
39 | 38 | com23 86 |
. . . . . . 7
⊢ (𝐸:dom 𝐸⟶{𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
→ (𝑁 ∈ 𝑉 → (𝑗 ∈ dom 𝐸 → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})))) |
40 | 9, 39 | syl 17 |
. . . . . 6
⊢ (𝐺 ∈ UPGraph → (𝑁 ∈ 𝑉 → (𝑗 ∈ dom 𝐸 → (𝑁 ∉ (𝐸‘𝑗) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})))) |
41 | 40 | imp4b 422 |
. . . . 5
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → ((𝑗 ∈ dom 𝐸 ∧ 𝑁 ∉ (𝐸‘𝑗)) → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})) |
42 | 6, 41 | syl5bi 241 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → (𝑗 ∈ 𝐹 → (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})) |
43 | 42 | ralrimiv 3102 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → ∀𝑗 ∈ 𝐹 (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2}) |
44 | | upgruhgr 27472 |
. . . . . 6
⊢ (𝐺 ∈ UPGraph → 𝐺 ∈
UHGraph) |
45 | 8 | uhgrfun 27436 |
. . . . . 6
⊢ (𝐺 ∈ UHGraph → Fun 𝐸) |
46 | 44, 45 | syl 17 |
. . . . 5
⊢ (𝐺 ∈ UPGraph → Fun 𝐸) |
47 | 46 | adantr 481 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → Fun 𝐸) |
48 | 5 | ssrab3 4015 |
. . . 4
⊢ 𝐹 ⊆ dom 𝐸 |
49 | | funimass4 6834 |
. . . 4
⊢ ((Fun
𝐸 ∧ 𝐹 ⊆ dom 𝐸) → ((𝐸 “ 𝐹) ⊆ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
↔ ∀𝑗 ∈
𝐹 (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})) |
50 | 47, 48, 49 | sylancl 586 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → ((𝐸 “ 𝐹) ⊆ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤ 2}
↔ ∀𝑗 ∈
𝐹 (𝐸‘𝑗) ∈ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2})) |
51 | 43, 50 | mpbird 256 |
. 2
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → (𝐸 “ 𝐹) ⊆ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2}) |
52 | 1, 51 | eqsstrrid 3970 |
1
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → ran (𝐸 ↾ 𝐹) ⊆ {𝑝 ∈ (𝒫 (𝑉 ∖ {𝑁}) ∖ {∅}) ∣
(♯‘𝑝) ≤
2}) |