Step | Hyp | Ref
| Expression |
1 | | diffi 8979 |
. . . . . . 7
⊢ (𝑉 ∈ Fin → (𝑉 ∖ {𝑁}) ∈ Fin) |
2 | 1 | adantr 480 |
. . . . . 6
⊢ ((𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) → (𝑉 ∖ {𝑁}) ∈ Fin) |
3 | 2 | 3ad2ant2 1132 |
. . . . 5
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (𝑉 ∖ {𝑁}) ∈ Fin) |
4 | | dmfi 9027 |
. . . . . . . . 9
⊢ (𝐸 ∈ Fin → dom 𝐸 ∈ Fin) |
5 | | rabfi 8973 |
. . . . . . . . 9
⊢ (dom
𝐸 ∈ Fin → {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
6 | 4, 5 | syl 17 |
. . . . . . . 8
⊢ (𝐸 ∈ Fin → {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
7 | 6 | adantl 481 |
. . . . . . 7
⊢ ((𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) → {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
8 | 7 | 3ad2ant2 1132 |
. . . . . 6
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
9 | 8 | adantr 480 |
. . . . 5
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
10 | | notnotb 314 |
. . . . . . . . . . . . . 14
⊢ (𝑁 ∈ (𝐸‘𝑖) ↔ ¬ ¬ 𝑁 ∈ (𝐸‘𝑖)) |
11 | | notnotb 314 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑣 ∈ (𝐸‘𝑖) ↔ ¬ ¬ 𝑣 ∈ (𝐸‘𝑖)) |
12 | | upgruhgr 27375 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝐺 ∈ UPGraph → 𝐺 ∈
UHGraph) |
13 | | edglnl.e |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ 𝐸 = (iEdg‘𝐺) |
14 | 13 | uhgrfun 27339 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (𝐺 ∈ UHGraph → Fun 𝐸) |
15 | 12, 14 | syl 17 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (𝐺 ∈ UPGraph → Fun 𝐸) |
16 | 13 | iedgedg 27323 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ ((Fun
𝐸 ∧ 𝑖 ∈ dom 𝐸) → (𝐸‘𝑖) ∈ (Edg‘𝐺)) |
17 | 15, 16 | sylan 579 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝐺 ∈ UPGraph ∧ 𝑖 ∈ dom 𝐸) → (𝐸‘𝑖) ∈ (Edg‘𝐺)) |
18 | | edglnl.v |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ 𝑉 = (Vtx‘𝐺) |
19 | | eqid 2738 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢
(Edg‘𝐺) =
(Edg‘𝐺) |
20 | 18, 19 | upgredg 27410 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((𝐺 ∈ UPGraph ∧ (𝐸‘𝑖) ∈ (Edg‘𝐺)) → ∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛}) |
21 | 17, 20 | syldan 590 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ ((𝐺 ∈ UPGraph ∧ 𝑖 ∈ dom 𝐸) → ∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛}) |
22 | 21 | ex 412 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝐺 ∈ UPGraph → (𝑖 ∈ dom 𝐸 → ∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛})) |
23 | 22 | 3ad2ant1 1131 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (𝑖 ∈ dom 𝐸 → ∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛})) |
24 | 23 | adantr 480 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) → (𝑖 ∈ dom 𝐸 → ∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛})) |
25 | 24 | adantr 480 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) → (𝑖 ∈ dom 𝐸 → ∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛})) |
26 | 25 | imp 406 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) → ∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛}) |
27 | | eldifsni 4720 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑣 ∈ (𝑉 ∖ {𝑁}) → 𝑣 ≠ 𝑁) |
28 | | eldifsni 4720 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑤 ∈ (𝑉 ∖ {𝑁}) → 𝑤 ≠ 𝑁) |
29 | | 3elpr2eq 4835 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 35
⊢ (((𝑁 ∈ {𝑚, 𝑛} ∧ 𝑣 ∈ {𝑚, 𝑛} ∧ 𝑤 ∈ {𝑚, 𝑛}) ∧ (𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁)) → 𝑣 = 𝑤) |
30 | 29 | expcom 413 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
⊢ ((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) → ((𝑁 ∈ {𝑚, 𝑛} ∧ 𝑣 ∈ {𝑚, 𝑛} ∧ 𝑤 ∈ {𝑚, 𝑛}) → 𝑣 = 𝑤)) |
31 | 30 | 3expd 1351 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
⊢ ((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) → (𝑁 ∈ {𝑚, 𝑛} → (𝑣 ∈ {𝑚, 𝑛} → (𝑤 ∈ {𝑚, 𝑛} → 𝑣 = 𝑤)))) |
32 | 31 | com23 86 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
⊢ ((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) → (𝑣 ∈ {𝑚, 𝑛} → (𝑁 ∈ {𝑚, 𝑛} → (𝑤 ∈ {𝑚, 𝑛} → 𝑣 = 𝑤)))) |
33 | 32 | 3imp 1109 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
⊢ (((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) ∧ 𝑣 ∈ {𝑚, 𝑛} ∧ 𝑁 ∈ {𝑚, 𝑛}) → (𝑤 ∈ {𝑚, 𝑛} → 𝑣 = 𝑤)) |
34 | 33 | con3d 152 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ (((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) ∧ 𝑣 ∈ {𝑚, 𝑛} ∧ 𝑁 ∈ {𝑚, 𝑛}) → (¬ 𝑣 = 𝑤 → ¬ 𝑤 ∈ {𝑚, 𝑛})) |
35 | 34 | 3exp 1117 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ ((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) → (𝑣 ∈ {𝑚, 𝑛} → (𝑁 ∈ {𝑚, 𝑛} → (¬ 𝑣 = 𝑤 → ¬ 𝑤 ∈ {𝑚, 𝑛})))) |
36 | 35 | com24 95 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ ((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) → (¬ 𝑣 = 𝑤 → (𝑁 ∈ {𝑚, 𝑛} → (𝑣 ∈ {𝑚, 𝑛} → ¬ 𝑤 ∈ {𝑚, 𝑛})))) |
37 | 36 | imp 406 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ (((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) ∧ ¬ 𝑣 = 𝑤) → (𝑁 ∈ {𝑚, 𝑛} → (𝑣 ∈ {𝑚, 𝑛} → ¬ 𝑤 ∈ {𝑚, 𝑛}))) |
38 | | eleq2 2827 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ ((𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) ↔ 𝑁 ∈ {𝑚, 𝑛})) |
39 | | eleq2 2827 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ ((𝐸‘𝑖) = {𝑚, 𝑛} → (𝑣 ∈ (𝐸‘𝑖) ↔ 𝑣 ∈ {𝑚, 𝑛})) |
40 | | eleq2 2827 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
⊢ ((𝐸‘𝑖) = {𝑚, 𝑛} → (𝑤 ∈ (𝐸‘𝑖) ↔ 𝑤 ∈ {𝑚, 𝑛})) |
41 | 40 | notbid 317 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
⊢ ((𝐸‘𝑖) = {𝑚, 𝑛} → (¬ 𝑤 ∈ (𝐸‘𝑖) ↔ ¬ 𝑤 ∈ {𝑚, 𝑛})) |
42 | 39, 41 | imbi12d 344 |
. . . . . . . . . . . . . . . . . . . . . . . . . . . 28
⊢ ((𝐸‘𝑖) = {𝑚, 𝑛} → ((𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖)) ↔ (𝑣 ∈ {𝑚, 𝑛} → ¬ 𝑤 ∈ {𝑚, 𝑛}))) |
43 | 38, 42 | imbi12d 344 |
. . . . . . . . . . . . . . . . . . . . . . . . . . 27
⊢ ((𝐸‘𝑖) = {𝑚, 𝑛} → ((𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))) ↔ (𝑁 ∈ {𝑚, 𝑛} → (𝑣 ∈ {𝑚, 𝑛} → ¬ 𝑤 ∈ {𝑚, 𝑛})))) |
44 | 37, 43 | syl5ibrcom 246 |
. . . . . . . . . . . . . . . . . . . . . . . . . 26
⊢ (((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) ∧ ¬ 𝑣 = 𝑤) → ((𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))))) |
45 | 44 | adantr 480 |
. . . . . . . . . . . . . . . . . . . . . . . . 25
⊢ ((((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) ∧ ¬ 𝑣 = 𝑤) ∧ (𝑚 ∈ 𝑉 ∧ 𝑛 ∈ 𝑉)) → ((𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))))) |
46 | 45 | rexlimdvva 3222 |
. . . . . . . . . . . . . . . . . . . . . . . 24
⊢ (((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) ∧ ¬ 𝑣 = 𝑤) → (∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))))) |
47 | 46 | ex 412 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ ((𝑣 ≠ 𝑁 ∧ 𝑤 ≠ 𝑁) → (¬ 𝑣 = 𝑤 → (∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖)))))) |
48 | 27, 28, 47 | syl2an 595 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁})) → (¬ 𝑣 = 𝑤 → (∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖)))))) |
49 | 48 | adantl 481 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) → (¬ 𝑣 = 𝑤 → (∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖)))))) |
50 | 49 | imp 406 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) → (∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))))) |
51 | 50 | adantr 480 |
. . . . . . . . . . . . . . . . . . 19
⊢
(((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) → (∃𝑚 ∈ 𝑉 ∃𝑛 ∈ 𝑉 (𝐸‘𝑖) = {𝑚, 𝑛} → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))))) |
52 | 26, 51 | mpd 15 |
. . . . . . . . . . . . . . . . . 18
⊢
(((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) → (𝑁 ∈ (𝐸‘𝑖) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖)))) |
53 | 52 | imp 406 |
. . . . . . . . . . . . . . . . 17
⊢
((((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) ∧ 𝑁 ∈ (𝐸‘𝑖)) → (𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))) |
54 | 11, 53 | syl5bir 242 |
. . . . . . . . . . . . . . . 16
⊢
((((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) ∧ 𝑁 ∈ (𝐸‘𝑖)) → (¬ ¬ 𝑣 ∈ (𝐸‘𝑖) → ¬ 𝑤 ∈ (𝐸‘𝑖))) |
55 | 54 | orrd 859 |
. . . . . . . . . . . . . . 15
⊢
((((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) ∧ 𝑁 ∈ (𝐸‘𝑖)) → (¬ 𝑣 ∈ (𝐸‘𝑖) ∨ ¬ 𝑤 ∈ (𝐸‘𝑖))) |
56 | 55 | ex 412 |
. . . . . . . . . . . . . 14
⊢
(((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) → (𝑁 ∈ (𝐸‘𝑖) → (¬ 𝑣 ∈ (𝐸‘𝑖) ∨ ¬ 𝑤 ∈ (𝐸‘𝑖)))) |
57 | 10, 56 | syl5bir 242 |
. . . . . . . . . . . . 13
⊢
(((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) → (¬ ¬ 𝑁 ∈ (𝐸‘𝑖) → (¬ 𝑣 ∈ (𝐸‘𝑖) ∨ ¬ 𝑤 ∈ (𝐸‘𝑖)))) |
58 | 57 | orrd 859 |
. . . . . . . . . . . 12
⊢
(((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) → (¬ 𝑁 ∈ (𝐸‘𝑖) ∨ (¬ 𝑣 ∈ (𝐸‘𝑖) ∨ ¬ 𝑤 ∈ (𝐸‘𝑖)))) |
59 | | anandi 672 |
. . . . . . . . . . . . . . 15
⊢ ((𝑁 ∈ (𝐸‘𝑖) ∧ (𝑣 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))) ↔ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
60 | 59 | bicomi 223 |
. . . . . . . . . . . . . 14
⊢ (((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))) ↔ (𝑁 ∈ (𝐸‘𝑖) ∧ (𝑣 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
61 | 60 | notbii 319 |
. . . . . . . . . . . . 13
⊢ (¬
((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))) ↔ ¬ (𝑁 ∈ (𝐸‘𝑖) ∧ (𝑣 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
62 | | ianor 978 |
. . . . . . . . . . . . 13
⊢ (¬
(𝑁 ∈ (𝐸‘𝑖) ∧ (𝑣 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))) ↔ (¬ 𝑁 ∈ (𝐸‘𝑖) ∨ ¬ (𝑣 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
63 | | ianor 978 |
. . . . . . . . . . . . . 14
⊢ (¬
(𝑣 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)) ↔ (¬ 𝑣 ∈ (𝐸‘𝑖) ∨ ¬ 𝑤 ∈ (𝐸‘𝑖))) |
64 | 63 | orbi2i 909 |
. . . . . . . . . . . . 13
⊢ ((¬
𝑁 ∈ (𝐸‘𝑖) ∨ ¬ (𝑣 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))) ↔ (¬ 𝑁 ∈ (𝐸‘𝑖) ∨ (¬ 𝑣 ∈ (𝐸‘𝑖) ∨ ¬ 𝑤 ∈ (𝐸‘𝑖)))) |
65 | 61, 62, 64 | 3bitri 296 |
. . . . . . . . . . . 12
⊢ (¬
((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))) ↔ (¬ 𝑁 ∈ (𝐸‘𝑖) ∨ (¬ 𝑣 ∈ (𝐸‘𝑖) ∨ ¬ 𝑤 ∈ (𝐸‘𝑖)))) |
66 | 58, 65 | sylibr 233 |
. . . . . . . . . . 11
⊢
(((((𝐺 ∈
UPGraph ∧ (𝑉 ∈ Fin
∧ 𝐸 ∈ Fin) ∧
𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) ∧ 𝑖 ∈ dom 𝐸) → ¬ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
67 | 66 | ralrimiva 3107 |
. . . . . . . . . 10
⊢ ((((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) → ∀𝑖 ∈ dom 𝐸 ¬ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
68 | | inrab 4237 |
. . . . . . . . . . . 12
⊢ ({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = {𝑖 ∈ dom 𝐸 ∣ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))} |
69 | 68 | eqeq1i 2743 |
. . . . . . . . . . 11
⊢ (({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = ∅ ↔ {𝑖 ∈ dom 𝐸 ∣ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))} = ∅) |
70 | | rabeq0 4315 |
. . . . . . . . . . 11
⊢ ({𝑖 ∈ dom 𝐸 ∣ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))} = ∅ ↔ ∀𝑖 ∈ dom 𝐸 ¬ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
71 | 69, 70 | bitri 274 |
. . . . . . . . . 10
⊢ (({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = ∅ ↔ ∀𝑖 ∈ dom 𝐸 ¬ ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ∧ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
72 | 67, 71 | sylibr 233 |
. . . . . . . . 9
⊢ ((((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) ∧ ¬ 𝑣 = 𝑤) → ({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = ∅) |
73 | 72 | ex 412 |
. . . . . . . 8
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) → (¬ 𝑣 = 𝑤 → ({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = ∅)) |
74 | 73 | orrd 859 |
. . . . . . 7
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑣 ∈ (𝑉 ∖ {𝑁}) ∧ 𝑤 ∈ (𝑉 ∖ {𝑁}))) → (𝑣 = 𝑤 ∨ ({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = ∅)) |
75 | 74 | ralrimivva 3114 |
. . . . . 6
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → ∀𝑣 ∈ (𝑉 ∖ {𝑁})∀𝑤 ∈ (𝑉 ∖ {𝑁})(𝑣 = 𝑤 ∨ ({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = ∅)) |
76 | | eleq1w 2821 |
. . . . . . . . 9
⊢ (𝑣 = 𝑤 → (𝑣 ∈ (𝐸‘𝑖) ↔ 𝑤 ∈ (𝐸‘𝑖))) |
77 | 76 | anbi2d 628 |
. . . . . . . 8
⊢ (𝑣 = 𝑤 → ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ↔ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖)))) |
78 | 77 | rabbidv 3404 |
. . . . . . 7
⊢ (𝑣 = 𝑤 → {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} = {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) |
79 | 78 | disjor 5050 |
. . . . . 6
⊢
(Disj 𝑣
∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ ∀𝑣 ∈ (𝑉 ∖ {𝑁})∀𝑤 ∈ (𝑉 ∖ {𝑁})(𝑣 = 𝑤 ∨ ({𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑤 ∈ (𝐸‘𝑖))}) = ∅)) |
80 | 75, 79 | sylibr 233 |
. . . . 5
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → Disj 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) |
81 | 3, 9, 80 | hashiun 15462 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (♯‘∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) = Σ𝑣 ∈ (𝑉 ∖ {𝑁})(♯‘{𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))})) |
82 | 81 | eqcomd 2744 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → Σ𝑣 ∈ (𝑉 ∖ {𝑁})(♯‘{𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) = (♯‘∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))})) |
83 | 82 | oveq1d 7270 |
. 2
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (Σ𝑣 ∈ (𝑉 ∖ {𝑁})(♯‘{𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) + (♯‘{𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}})) = ((♯‘∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) + (♯‘{𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}))) |
84 | 9 | ralrimiva 3107 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → ∀𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
85 | | iunfi 9037 |
. . . 4
⊢ (((𝑉 ∖ {𝑁}) ∈ Fin ∧ ∀𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) → ∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
86 | 3, 84, 85 | syl2anc 583 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → ∪
𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin) |
87 | | rabfi 8973 |
. . . . . 6
⊢ (dom
𝐸 ∈ Fin → {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ∈ Fin) |
88 | 4, 87 | syl 17 |
. . . . 5
⊢ (𝐸 ∈ Fin → {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ∈ Fin) |
89 | 88 | adantl 481 |
. . . 4
⊢ ((𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) → {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ∈ Fin) |
90 | 89 | 3ad2ant2 1132 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ∈ Fin) |
91 | | fveqeq2 6765 |
. . . . . . 7
⊢ (𝑖 = 𝑗 → ((𝐸‘𝑖) = {𝑁} ↔ (𝐸‘𝑗) = {𝑁})) |
92 | 91 | elrab 3617 |
. . . . . 6
⊢ (𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ↔ (𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁})) |
93 | | eldifn 4058 |
. . . . . . . . . . . . . . 15
⊢ (𝑣 ∈ (𝑉 ∖ {𝑁}) → ¬ 𝑣 ∈ {𝑁}) |
94 | | eleq2 2827 |
. . . . . . . . . . . . . . . 16
⊢ ((𝐸‘𝑗) = {𝑁} → (𝑣 ∈ (𝐸‘𝑗) ↔ 𝑣 ∈ {𝑁})) |
95 | 94 | notbid 317 |
. . . . . . . . . . . . . . 15
⊢ ((𝐸‘𝑗) = {𝑁} → (¬ 𝑣 ∈ (𝐸‘𝑗) ↔ ¬ 𝑣 ∈ {𝑁})) |
96 | 93, 95 | syl5ibr 245 |
. . . . . . . . . . . . . 14
⊢ ((𝐸‘𝑗) = {𝑁} → (𝑣 ∈ (𝑉 ∖ {𝑁}) → ¬ 𝑣 ∈ (𝐸‘𝑗))) |
97 | 96 | adantl 481 |
. . . . . . . . . . . . 13
⊢ ((𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁}) → (𝑣 ∈ (𝑉 ∖ {𝑁}) → ¬ 𝑣 ∈ (𝐸‘𝑗))) |
98 | 97 | adantl 481 |
. . . . . . . . . . . 12
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁})) → (𝑣 ∈ (𝑉 ∖ {𝑁}) → ¬ 𝑣 ∈ (𝐸‘𝑗))) |
99 | 98 | imp 406 |
. . . . . . . . . . 11
⊢ ((((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁})) ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → ¬ 𝑣 ∈ (𝐸‘𝑗)) |
100 | 99 | intnand 488 |
. . . . . . . . . 10
⊢ ((((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁})) ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → ¬ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗))) |
101 | 100 | intnand 488 |
. . . . . . . . 9
⊢ ((((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁})) ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → ¬ (𝑗 ∈ dom 𝐸 ∧ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗)))) |
102 | 101 | ralrimiva 3107 |
. . . . . . . 8
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁})) → ∀𝑣 ∈ (𝑉 ∖ {𝑁}) ¬ (𝑗 ∈ dom 𝐸 ∧ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗)))) |
103 | | eliun 4925 |
. . . . . . . . . 10
⊢ (𝑗 ∈ ∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ ∃𝑣 ∈ (𝑉 ∖ {𝑁})𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) |
104 | 103 | notbii 319 |
. . . . . . . . 9
⊢ (¬
𝑗 ∈ ∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ ¬ ∃𝑣 ∈ (𝑉 ∖ {𝑁})𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) |
105 | | ralnex 3163 |
. . . . . . . . 9
⊢
(∀𝑣 ∈
(𝑉 ∖ {𝑁}) ¬ 𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ ¬ ∃𝑣 ∈ (𝑉 ∖ {𝑁})𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) |
106 | | fveq2 6756 |
. . . . . . . . . . . . . 14
⊢ (𝑖 = 𝑗 → (𝐸‘𝑖) = (𝐸‘𝑗)) |
107 | 106 | eleq2d 2824 |
. . . . . . . . . . . . 13
⊢ (𝑖 = 𝑗 → (𝑁 ∈ (𝐸‘𝑖) ↔ 𝑁 ∈ (𝐸‘𝑗))) |
108 | 106 | eleq2d 2824 |
. . . . . . . . . . . . 13
⊢ (𝑖 = 𝑗 → (𝑣 ∈ (𝐸‘𝑖) ↔ 𝑣 ∈ (𝐸‘𝑗))) |
109 | 107, 108 | anbi12d 630 |
. . . . . . . . . . . 12
⊢ (𝑖 = 𝑗 → ((𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖)) ↔ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗)))) |
110 | 109 | elrab 3617 |
. . . . . . . . . . 11
⊢ (𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ (𝑗 ∈ dom 𝐸 ∧ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗)))) |
111 | 110 | notbii 319 |
. . . . . . . . . 10
⊢ (¬
𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ ¬ (𝑗 ∈ dom 𝐸 ∧ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗)))) |
112 | 111 | ralbii 3090 |
. . . . . . . . 9
⊢
(∀𝑣 ∈
(𝑉 ∖ {𝑁}) ¬ 𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ ∀𝑣 ∈ (𝑉 ∖ {𝑁}) ¬ (𝑗 ∈ dom 𝐸 ∧ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗)))) |
113 | 104, 105,
112 | 3bitr2i 298 |
. . . . . . . 8
⊢ (¬
𝑗 ∈ ∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ↔ ∀𝑣 ∈ (𝑉 ∖ {𝑁}) ¬ (𝑗 ∈ dom 𝐸 ∧ (𝑁 ∈ (𝐸‘𝑗) ∧ 𝑣 ∈ (𝐸‘𝑗)))) |
114 | 102, 113 | sylibr 233 |
. . . . . . 7
⊢ (((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) ∧ (𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁})) → ¬ 𝑗 ∈ ∪
𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) |
115 | 114 | ex 412 |
. . . . . 6
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → ((𝑗 ∈ dom 𝐸 ∧ (𝐸‘𝑗) = {𝑁}) → ¬ 𝑗 ∈ ∪
𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))})) |
116 | 92, 115 | syl5bi 241 |
. . . . 5
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} → ¬ 𝑗 ∈ ∪
𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))})) |
117 | 116 | ralrimiv 3106 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → ∀𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ¬ 𝑗 ∈ ∪
𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) |
118 | | disjr 4380 |
. . . 4
⊢
((∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}) = ∅ ↔ ∀𝑗 ∈ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ¬ 𝑗 ∈ ∪
𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) |
119 | 117, 118 | sylibr 233 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}) = ∅) |
120 | | hashun 14025 |
. . 3
⊢
((∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∈ Fin ∧ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}} ∈ Fin ∧ (∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∩ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}) = ∅) →
(♯‘(∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∪ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}})) = ((♯‘∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) + (♯‘{𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}))) |
121 | 86, 90, 119, 120 | syl3anc 1369 |
. 2
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (♯‘(∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∪ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}})) = ((♯‘∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) + (♯‘{𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}))) |
122 | 18, 13 | edglnl 27416 |
. . . 4
⊢ ((𝐺 ∈ UPGraph ∧ 𝑁 ∈ 𝑉) → (∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∪ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}) = {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)}) |
123 | 122 | 3adant2 1129 |
. . 3
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∪ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}}) = {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)}) |
124 | 123 | fveq2d 6760 |
. 2
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (♯‘(∪ 𝑣 ∈ (𝑉 ∖ {𝑁}){𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))} ∪ {𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}})) = (♯‘{𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)})) |
125 | 83, 121, 124 | 3eqtr2d 2784 |
1
⊢ ((𝐺 ∈ UPGraph ∧ (𝑉 ∈ Fin ∧ 𝐸 ∈ Fin) ∧ 𝑁 ∈ 𝑉) → (Σ𝑣 ∈ (𝑉 ∖ {𝑁})(♯‘{𝑖 ∈ dom 𝐸 ∣ (𝑁 ∈ (𝐸‘𝑖) ∧ 𝑣 ∈ (𝐸‘𝑖))}) + (♯‘{𝑖 ∈ dom 𝐸 ∣ (𝐸‘𝑖) = {𝑁}})) = (♯‘{𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)})) |