Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > vtxdginducedm1fi | Structured version Visualization version GIF version |
Description: The degree of a vertex 𝑣 in the induced subgraph 𝑆 of a pseudograph 𝐺 of finite size obtained by removing one vertex 𝑁 plus the number of edges joining the vertex 𝑣 and the vertex 𝑁 is the degree of the vertex 𝑣 in the pseudograph 𝐺. (Contributed by AV, 18-Dec-2021.) |
Ref | Expression |
---|---|
vtxdginducedm1.v | ⊢ 𝑉 = (Vtx‘𝐺) |
vtxdginducedm1.e | ⊢ 𝐸 = (iEdg‘𝐺) |
vtxdginducedm1.k | ⊢ 𝐾 = (𝑉 ∖ {𝑁}) |
vtxdginducedm1.i | ⊢ 𝐼 = {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∉ (𝐸‘𝑖)} |
vtxdginducedm1.p | ⊢ 𝑃 = (𝐸 ↾ 𝐼) |
vtxdginducedm1.s | ⊢ 𝑆 = 〈𝐾, 𝑃〉 |
vtxdginducedm1.j | ⊢ 𝐽 = {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)} |
Ref | Expression |
---|---|
vtxdginducedm1fi | ⊢ (𝐸 ∈ Fin → ∀𝑣 ∈ (𝑉 ∖ {𝑁})((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) + (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)}))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | vtxdginducedm1.v | . . 3 ⊢ 𝑉 = (Vtx‘𝐺) | |
2 | vtxdginducedm1.e | . . 3 ⊢ 𝐸 = (iEdg‘𝐺) | |
3 | vtxdginducedm1.k | . . 3 ⊢ 𝐾 = (𝑉 ∖ {𝑁}) | |
4 | vtxdginducedm1.i | . . 3 ⊢ 𝐼 = {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∉ (𝐸‘𝑖)} | |
5 | vtxdginducedm1.p | . . 3 ⊢ 𝑃 = (𝐸 ↾ 𝐼) | |
6 | vtxdginducedm1.s | . . 3 ⊢ 𝑆 = 〈𝐾, 𝑃〉 | |
7 | vtxdginducedm1.j | . . 3 ⊢ 𝐽 = {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)} | |
8 | 1, 2, 3, 4, 5, 6, 7 | vtxdginducedm1 27898 | . 2 ⊢ ∀𝑣 ∈ (𝑉 ∖ {𝑁})((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) +𝑒 (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})) |
9 | 5 | dmeqi 5807 | . . . . . . . . 9 ⊢ dom 𝑃 = dom (𝐸 ↾ 𝐼) |
10 | finresfin 9033 | . . . . . . . . . 10 ⊢ (𝐸 ∈ Fin → (𝐸 ↾ 𝐼) ∈ Fin) | |
11 | dmfi 9085 | . . . . . . . . . 10 ⊢ ((𝐸 ↾ 𝐼) ∈ Fin → dom (𝐸 ↾ 𝐼) ∈ Fin) | |
12 | 10, 11 | syl 17 | . . . . . . . . 9 ⊢ (𝐸 ∈ Fin → dom (𝐸 ↾ 𝐼) ∈ Fin) |
13 | 9, 12 | eqeltrid 2843 | . . . . . . . 8 ⊢ (𝐸 ∈ Fin → dom 𝑃 ∈ Fin) |
14 | 6 | fveq2i 6770 | . . . . . . . . . 10 ⊢ (Vtx‘𝑆) = (Vtx‘〈𝐾, 𝑃〉) |
15 | 1 | fvexi 6781 | . . . . . . . . . . . . 13 ⊢ 𝑉 ∈ V |
16 | 15 | difexi 5251 | . . . . . . . . . . . 12 ⊢ (𝑉 ∖ {𝑁}) ∈ V |
17 | 3, 16 | eqeltri 2835 | . . . . . . . . . . 11 ⊢ 𝐾 ∈ V |
18 | 2 | fvexi 6781 | . . . . . . . . . . . . 13 ⊢ 𝐸 ∈ V |
19 | 18 | resex 5933 | . . . . . . . . . . . 12 ⊢ (𝐸 ↾ 𝐼) ∈ V |
20 | 5, 19 | eqeltri 2835 | . . . . . . . . . . 11 ⊢ 𝑃 ∈ V |
21 | 17, 20 | opvtxfvi 27367 | . . . . . . . . . 10 ⊢ (Vtx‘〈𝐾, 𝑃〉) = 𝐾 |
22 | 14, 21, 3 | 3eqtrri 2771 | . . . . . . . . 9 ⊢ (𝑉 ∖ {𝑁}) = (Vtx‘𝑆) |
23 | 1, 2, 3, 4, 5, 6 | vtxdginducedm1lem1 27894 | . . . . . . . . . 10 ⊢ (iEdg‘𝑆) = 𝑃 |
24 | 23 | eqcomi 2747 | . . . . . . . . 9 ⊢ 𝑃 = (iEdg‘𝑆) |
25 | eqid 2738 | . . . . . . . . 9 ⊢ dom 𝑃 = dom 𝑃 | |
26 | 22, 24, 25 | vtxdgfisnn0 27830 | . . . . . . . 8 ⊢ ((dom 𝑃 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → ((VtxDeg‘𝑆)‘𝑣) ∈ ℕ0) |
27 | 13, 26 | sylan 580 | . . . . . . 7 ⊢ ((𝐸 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → ((VtxDeg‘𝑆)‘𝑣) ∈ ℕ0) |
28 | 27 | nn0red 12282 | . . . . . 6 ⊢ ((𝐸 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → ((VtxDeg‘𝑆)‘𝑣) ∈ ℝ) |
29 | dmfi 9085 | . . . . . . . . . . 11 ⊢ (𝐸 ∈ Fin → dom 𝐸 ∈ Fin) | |
30 | rabfi 9032 | . . . . . . . . . . 11 ⊢ (dom 𝐸 ∈ Fin → {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)} ∈ Fin) | |
31 | 29, 30 | syl 17 | . . . . . . . . . 10 ⊢ (𝐸 ∈ Fin → {𝑖 ∈ dom 𝐸 ∣ 𝑁 ∈ (𝐸‘𝑖)} ∈ Fin) |
32 | 7, 31 | eqeltrid 2843 | . . . . . . . . 9 ⊢ (𝐸 ∈ Fin → 𝐽 ∈ Fin) |
33 | rabfi 9032 | . . . . . . . . 9 ⊢ (𝐽 ∈ Fin → {𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)} ∈ Fin) | |
34 | hashcl 14059 | . . . . . . . . 9 ⊢ ({𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)} ∈ Fin → (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)}) ∈ ℕ0) | |
35 | 32, 33, 34 | 3syl 18 | . . . . . . . 8 ⊢ (𝐸 ∈ Fin → (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)}) ∈ ℕ0) |
36 | 35 | adantr 481 | . . . . . . 7 ⊢ ((𝐸 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)}) ∈ ℕ0) |
37 | 36 | nn0red 12282 | . . . . . 6 ⊢ ((𝐸 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)}) ∈ ℝ) |
38 | 28, 37 | rexaddd 12956 | . . . . 5 ⊢ ((𝐸 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → (((VtxDeg‘𝑆)‘𝑣) +𝑒 (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})) = (((VtxDeg‘𝑆)‘𝑣) + (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)}))) |
39 | 38 | eqeq2d 2749 | . . . 4 ⊢ ((𝐸 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → (((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) +𝑒 (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})) ↔ ((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) + (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})))) |
40 | 39 | biimpd 228 | . . 3 ⊢ ((𝐸 ∈ Fin ∧ 𝑣 ∈ (𝑉 ∖ {𝑁})) → (((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) +𝑒 (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})) → ((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) + (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})))) |
41 | 40 | ralimdva 3103 | . 2 ⊢ (𝐸 ∈ Fin → (∀𝑣 ∈ (𝑉 ∖ {𝑁})((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) +𝑒 (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})) → ∀𝑣 ∈ (𝑉 ∖ {𝑁})((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) + (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)})))) |
42 | 8, 41 | mpi 20 | 1 ⊢ (𝐸 ∈ Fin → ∀𝑣 ∈ (𝑉 ∖ {𝑁})((VtxDeg‘𝐺)‘𝑣) = (((VtxDeg‘𝑆)‘𝑣) + (♯‘{𝑙 ∈ 𝐽 ∣ 𝑣 ∈ (𝐸‘𝑙)}))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1539 ∈ wcel 2106 ∉ wnel 3049 ∀wral 3064 {crab 3068 Vcvv 3430 ∖ cdif 3884 {csn 4562 〈cop 4568 dom cdm 5585 ↾ cres 5587 ‘cfv 6427 (class class class)co 7268 Fincfn 8721 + caddc 10862 ℕ0cn0 12221 +𝑒 cxad 12834 ♯chash 14032 Vtxcvtx 27354 iEdgciedg 27355 VtxDegcvtxdg 27820 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2709 ax-rep 5209 ax-sep 5222 ax-nul 5229 ax-pow 5287 ax-pr 5351 ax-un 7579 ax-cnex 10915 ax-resscn 10916 ax-1cn 10917 ax-icn 10918 ax-addcl 10919 ax-addrcl 10920 ax-mulcl 10921 ax-mulrcl 10922 ax-mulcom 10923 ax-addass 10924 ax-mulass 10925 ax-distr 10926 ax-i2m1 10927 ax-1ne0 10928 ax-1rid 10929 ax-rnegex 10930 ax-rrecex 10931 ax-cnre 10932 ax-pre-lttri 10933 ax-pre-lttrn 10934 ax-pre-ltadd 10935 ax-pre-mulgt0 10936 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2068 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2816 df-nfc 2889 df-ne 2944 df-nel 3050 df-ral 3069 df-rex 3070 df-reu 3071 df-rab 3073 df-v 3432 df-sbc 3717 df-csb 3833 df-dif 3890 df-un 3892 df-in 3894 df-ss 3904 df-pss 3906 df-nul 4258 df-if 4461 df-pw 4536 df-sn 4563 df-pr 4565 df-op 4569 df-uni 4841 df-int 4881 df-iun 4927 df-br 5075 df-opab 5137 df-mpt 5158 df-tr 5192 df-id 5485 df-eprel 5491 df-po 5499 df-so 5500 df-fr 5540 df-we 5542 df-xp 5591 df-rel 5592 df-cnv 5593 df-co 5594 df-dm 5595 df-rn 5596 df-res 5597 df-ima 5598 df-pred 6196 df-ord 6263 df-on 6264 df-lim 6265 df-suc 6266 df-iota 6385 df-fun 6429 df-fn 6430 df-f 6431 df-f1 6432 df-fo 6433 df-f1o 6434 df-fv 6435 df-riota 7225 df-ov 7271 df-oprab 7272 df-mpo 7273 df-om 7704 df-1st 7821 df-2nd 7822 df-frecs 8085 df-wrecs 8116 df-recs 8190 df-rdg 8229 df-1o 8285 df-oadd 8289 df-er 8486 df-en 8722 df-dom 8723 df-sdom 8724 df-fin 8725 df-dju 9647 df-card 9685 df-pnf 10999 df-mnf 11000 df-xr 11001 df-ltxr 11002 df-le 11003 df-sub 11195 df-neg 11196 df-nn 11962 df-n0 12222 df-xnn0 12294 df-z 12308 df-uz 12571 df-xadd 12837 df-fz 13228 df-hash 14033 df-vtx 27356 df-iedg 27357 df-vtxdg 27821 |
This theorem is referenced by: finsumvtxdg2ssteplem4 27903 |
Copyright terms: Public domain | W3C validator |