| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > vdegp1ai | Structured version Visualization version GIF version | ||
| Description: The induction step for a vertex degree calculation. If the degree of 𝑈 in the edge set 𝐸 is 𝑃, then adding {𝑋, 𝑌} to the edge set, where 𝑋 ≠ 𝑈 ≠ 𝑌, yields degree 𝑃 as well. (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 3-Mar-2021.) |
| Ref | Expression |
|---|---|
| vdegp1ai.vg | ⊢ 𝑉 = (Vtx‘𝐺) |
| vdegp1ai.u | ⊢ 𝑈 ∈ 𝑉 |
| vdegp1ai.i | ⊢ 𝐼 = (iEdg‘𝐺) |
| vdegp1ai.w | ⊢ 𝐼 ∈ Word {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} |
| vdegp1ai.d | ⊢ ((VtxDeg‘𝐺)‘𝑈) = 𝑃 |
| vdegp1ai.vf | ⊢ (Vtx‘𝐹) = 𝑉 |
| vdegp1ai.x | ⊢ 𝑋 ∈ 𝑉 |
| vdegp1ai.xu | ⊢ 𝑋 ≠ 𝑈 |
| vdegp1ai.y | ⊢ 𝑌 ∈ 𝑉 |
| vdegp1ai.yu | ⊢ 𝑌 ≠ 𝑈 |
| vdegp1ai.f | ⊢ (iEdg‘𝐹) = (𝐼 ++ 〈“{𝑋, 𝑌}”〉) |
| Ref | Expression |
|---|---|
| vdegp1ai | ⊢ ((VtxDeg‘𝐹)‘𝑈) = 𝑃 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | prex 5409 | . . 3 ⊢ {𝑋, 𝑌} ∈ V | |
| 2 | vdegp1ai.vg | . . . 4 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 3 | vdegp1ai.i | . . . 4 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 4 | vdegp1ai.w | . . . . 5 ⊢ 𝐼 ∈ Word {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} | |
| 5 | wrdf 14560 | . . . . . 6 ⊢ (𝐼 ∈ Word {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} → 𝐼:(0..^(♯‘𝐼))⟶{𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}) | |
| 6 | 5 | ffund 6710 | . . . . 5 ⊢ (𝐼 ∈ Word {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} → Fun 𝐼) |
| 7 | 4, 6 | mp1i 14 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → Fun 𝐼) |
| 8 | vdegp1ai.vf | . . . . 5 ⊢ (Vtx‘𝐹) = 𝑉 | |
| 9 | 8 | a1i 11 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → (Vtx‘𝐹) = 𝑉) |
| 10 | vdegp1ai.f | . . . . 5 ⊢ (iEdg‘𝐹) = (𝐼 ++ 〈“{𝑋, 𝑌}”〉) | |
| 11 | wrdv 14571 | . . . . . . 7 ⊢ (𝐼 ∈ Word {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} → 𝐼 ∈ Word V) | |
| 12 | 4, 11 | ax-mp 5 | . . . . . 6 ⊢ 𝐼 ∈ Word V |
| 13 | cats1un 14763 | . . . . . 6 ⊢ ((𝐼 ∈ Word V ∧ {𝑋, 𝑌} ∈ V) → (𝐼 ++ 〈“{𝑋, 𝑌}”〉) = (𝐼 ∪ {〈(♯‘𝐼), {𝑋, 𝑌}〉})) | |
| 14 | 12, 13 | mpan 702 | . . . . 5 ⊢ ({𝑋, 𝑌} ∈ V → (𝐼 ++ 〈“{𝑋, 𝑌}”〉) = (𝐼 ∪ {〈(♯‘𝐼), {𝑋, 𝑌}〉})) |
| 15 | 10, 14 | eqtrid 2810 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → (iEdg‘𝐹) = (𝐼 ∪ {〈(♯‘𝐼), {𝑋, 𝑌}〉})) |
| 16 | fvexd 6896 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → (♯‘𝐼) ∈ V) | |
| 17 | wrdlndm 14572 | . . . . 5 ⊢ (𝐼 ∈ Word {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} → (♯‘𝐼) ∉ dom 𝐼) | |
| 18 | 4, 17 | mp1i 14 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → (♯‘𝐼) ∉ dom 𝐼) |
| 19 | vdegp1ai.u | . . . . 5 ⊢ 𝑈 ∈ 𝑉 | |
| 20 | 19 | a1i 11 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → 𝑈 ∈ 𝑉) |
| 21 | id 23 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → {𝑋, 𝑌} ∈ V) | |
| 22 | vdegp1ai.xu | . . . . . . 7 ⊢ 𝑋 ≠ 𝑈 | |
| 23 | 22 | necomi 3012 | . . . . . 6 ⊢ 𝑈 ≠ 𝑋 |
| 24 | vdegp1ai.yu | . . . . . . 7 ⊢ 𝑌 ≠ 𝑈 | |
| 25 | 24 | necomi 3012 | . . . . . 6 ⊢ 𝑈 ≠ 𝑌 |
| 26 | 23, 25 | prneli 4622 | . . . . 5 ⊢ 𝑈 ∉ {𝑋, 𝑌} |
| 27 | 26 | a1i 11 | . . . 4 ⊢ ({𝑋, 𝑌} ∈ V → 𝑈 ∉ {𝑋, 𝑌}) |
| 28 | 2, 3, 7, 9, 15, 16, 18, 20, 21, 27 | p1evtxdeq 29872 | . . 3 ⊢ ({𝑋, 𝑌} ∈ V → ((VtxDeg‘𝐹)‘𝑈) = ((VtxDeg‘𝐺)‘𝑈)) |
| 29 | 1, 28 | ax-mp 5 | . 2 ⊢ ((VtxDeg‘𝐹)‘𝑈) = ((VtxDeg‘𝐺)‘𝑈) |
| 30 | vdegp1ai.d | . 2 ⊢ ((VtxDeg‘𝐺)‘𝑈) = 𝑃 | |
| 31 | 29, 30 | eqtri 2786 | 1 ⊢ ((VtxDeg‘𝐹)‘𝑈) = 𝑃 |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: = wceq 1570 ∈ wcel 2143 ≠ wne 2958 ∉ wnel 3064 {crab 3416 Vcvv 3455 ∖ cdif 3902 ∪ cun 3903 ∅c0 4286 𝒫 cpw 4562 {csn 4589 {cpr 4591 〈cop 4595 class class class wbr 5109 dom cdm 5661 Fun wfun 6530 ‘cfv 6536 (class class class)co 7410 0cc0 11104 ≤ cle 11248 2c2 12299 ..^cfzo 13687 ♯chash 14371 Word cword 14555 ++ cconcat 14612 〈“cs1 14638 Vtxcvtx 29355 iEdgciedg 29356 VtxDegcvtxdg 29824 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-rep 5238 ax-sep 5257 ax-nul 5269 ax-pow 5336 ax-pr 5404 ax-un 7732 ax-cnex 11160 ax-resscn 11161 ax-1cn 11162 ax-icn 11163 ax-addcl 11164 ax-addrcl 11165 ax-mulcl 11166 ax-mulrcl 11167 ax-mulcom 11168 ax-addass 11169 ax-mulass 11170 ax-distr 11171 ax-i2m1 11172 ax-1ne0 11173 ax-1rid 11174 ax-rnegex 11175 ax-rrecex 11176 ax-cnre 11177 ax-pre-lttri 11178 ax-pre-lttrn 11179 ax-pre-ltadd 11180 ax-pre-mulgt0 11181 |
| This proof depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-nel 3065 df-ral 3080 df-rex 3090 df-reu 3370 df-rab 3417 df-v 3457 df-sbc 3745 df-csb 3854 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-pss 3925 df-nul 4287 df-if 4488 df-pw 4564 df-sn 4590 df-pr 4592 df-op 4596 df-uni 4873 df-int 4913 df-iun 4958 df-br 5110 df-opab 5174 df-mpt 5193 df-tr 5219 df-id 5556 df-eprel 5561 df-po 5569 df-so 5570 df-fr 5614 df-we 5616 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-rn 5672 df-res 5673 df-ima 5674 df-pred 6302 df-ord 6363 df-on 6364 df-lim 6365 df-suc 6366 df-iota 6492 df-fun 6538 df-fn 6539 df-f 6540 df-f1 6541 df-fo 6542 df-f1o 6543 df-fv 6544 df-riota 7367 df-ov 7413 df-oprab 7414 df-mpo 7415 df-om 7859 df-1st 7982 df-2nd 7983 df-frecs 8274 df-wrecs 8305 df-recs 8354 df-rdg 8393 df-1o 8449 df-oadd 8453 df-er 8690 df-en 8940 df-dom 8941 df-sdom 8942 df-fin 8943 df-dju 9892 df-card 9930 df-pnf 11249 df-mnf 11250 df-xr 11251 df-ltxr 11252 df-le 11253 df-sub 11447 df-neg 11448 df-nn 12238 df-n0 12509 df-xnn0 12582 df-z 12596 df-uz 12867 df-xadd 13142 df-fz 13540 df-fzo 13688 df-hash 14372 df-word 14556 df-concat 14613 df-s1 14639 df-vtx 29357 df-iedg 29358 df-vtxdg 29825 |
| This theorem is used by: konigsberglem1 30612 konigsberglem2 30613 konigsberglem3 30614 |
| Copyright terms: Public domain | W3C validator |