MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  eupthvdres Structured version   Visualization version   GIF version

Theorem eupthvdres 29477
Description: Formerly part of proof of eupth2 29481: The vertex degree remains the same for all vertices if the edges are restricted to the edges of an Eulerian path. (Contributed by Mario Carneiro, 8-Apr-2015.) (Revised by AV, 26-Feb-2021.)
Hypotheses
Ref Expression
eupthvdres.v 𝑉 = (Vtxβ€˜πΊ)
eupthvdres.i 𝐼 = (iEdgβ€˜πΊ)
eupthvdres.g (πœ‘ β†’ 𝐺 ∈ π‘Š)
eupthvdres.f (πœ‘ β†’ Fun 𝐼)
eupthvdres.p (πœ‘ β†’ 𝐹(EulerPathsβ€˜πΊ)𝑃)
eupthvdres.h 𝐻 = βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩
Assertion
Ref Expression
eupthvdres (πœ‘ β†’ (VtxDegβ€˜π») = (VtxDegβ€˜πΊ))

Proof of Theorem eupthvdres
StepHypRef Expression
1 eupthvdres.g . 2 (πœ‘ β†’ 𝐺 ∈ π‘Š)
2 eupthvdres.h . . . 4 𝐻 = βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩
3 opex 5463 . . . 4 βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩ ∈ V
42, 3eqeltri 2829 . . 3 𝐻 ∈ V
54a1i 11 . 2 (πœ‘ β†’ 𝐻 ∈ V)
62fveq2i 6891 . . . 4 (Vtxβ€˜π») = (Vtxβ€˜βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩)
7 eupthvdres.v . . . . . . . 8 𝑉 = (Vtxβ€˜πΊ)
87fvexi 6902 . . . . . . 7 𝑉 ∈ V
9 eupthvdres.i . . . . . . . . 9 𝐼 = (iEdgβ€˜πΊ)
109fvexi 6902 . . . . . . . 8 𝐼 ∈ V
1110resex 6027 . . . . . . 7 (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))) ∈ V
128, 11pm3.2i 471 . . . . . 6 (𝑉 ∈ V ∧ (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))) ∈ V)
1312a1i 11 . . . . 5 (πœ‘ β†’ (𝑉 ∈ V ∧ (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))) ∈ V))
14 opvtxfv 28253 . . . . 5 ((𝑉 ∈ V ∧ (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))) ∈ V) β†’ (Vtxβ€˜βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩) = 𝑉)
1513, 14syl 17 . . . 4 (πœ‘ β†’ (Vtxβ€˜βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩) = 𝑉)
166, 15eqtrid 2784 . . 3 (πœ‘ β†’ (Vtxβ€˜π») = 𝑉)
1716, 7eqtrdi 2788 . 2 (πœ‘ β†’ (Vtxβ€˜π») = (Vtxβ€˜πΊ))
182fveq2i 6891 . . . . 5 (iEdgβ€˜π») = (iEdgβ€˜βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩)
19 opiedgfv 28256 . . . . . 6 ((𝑉 ∈ V ∧ (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))) ∈ V) β†’ (iEdgβ€˜βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩) = (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))))
2013, 19syl 17 . . . . 5 (πœ‘ β†’ (iEdgβ€˜βŸ¨π‘‰, (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ))))⟩) = (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))))
2118, 20eqtrid 2784 . . . 4 (πœ‘ β†’ (iEdgβ€˜π») = (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))))
22 eupthvdres.p . . . . . . 7 (πœ‘ β†’ 𝐹(EulerPathsβ€˜πΊ)𝑃)
239eupthf1o 29446 . . . . . . 7 (𝐹(EulerPathsβ€˜πΊ)𝑃 β†’ 𝐹:(0..^(β™―β€˜πΉ))–1-1-ontoβ†’dom 𝐼)
2422, 23syl 17 . . . . . 6 (πœ‘ β†’ 𝐹:(0..^(β™―β€˜πΉ))–1-1-ontoβ†’dom 𝐼)
25 f1ofo 6837 . . . . . 6 (𝐹:(0..^(β™―β€˜πΉ))–1-1-ontoβ†’dom 𝐼 β†’ 𝐹:(0..^(β™―β€˜πΉ))–ontoβ†’dom 𝐼)
26 foima 6807 . . . . . 6 (𝐹:(0..^(β™―β€˜πΉ))–ontoβ†’dom 𝐼 β†’ (𝐹 β€œ (0..^(β™―β€˜πΉ))) = dom 𝐼)
2724, 25, 263syl 18 . . . . 5 (πœ‘ β†’ (𝐹 β€œ (0..^(β™―β€˜πΉ))) = dom 𝐼)
2827reseq2d 5979 . . . 4 (πœ‘ β†’ (𝐼 β†Ύ (𝐹 β€œ (0..^(β™―β€˜πΉ)))) = (𝐼 β†Ύ dom 𝐼))
29 eupthvdres.f . . . . . 6 (πœ‘ β†’ Fun 𝐼)
3029funfnd 6576 . . . . 5 (πœ‘ β†’ 𝐼 Fn dom 𝐼)
31 fnresdm 6666 . . . . 5 (𝐼 Fn dom 𝐼 β†’ (𝐼 β†Ύ dom 𝐼) = 𝐼)
3230, 31syl 17 . . . 4 (πœ‘ β†’ (𝐼 β†Ύ dom 𝐼) = 𝐼)
3321, 28, 323eqtrd 2776 . . 3 (πœ‘ β†’ (iEdgβ€˜π») = 𝐼)
3433, 9eqtrdi 2788 . 2 (πœ‘ β†’ (iEdgβ€˜π») = (iEdgβ€˜πΊ))
351, 5, 17, 34vtxdeqd 28723 1 (πœ‘ β†’ (VtxDegβ€˜π») = (VtxDegβ€˜πΊ))
Colors of variables: wff setvar class
Syntax hints:   β†’ wi 4   ∧ wa 396   = wceq 1541   ∈ wcel 2106  Vcvv 3474  βŸ¨cop 4633   class class class wbr 5147  dom cdm 5675   β†Ύ cres 5677   β€œ cima 5678  Fun wfun 6534   Fn wfn 6535  β€“ontoβ†’wfo 6538  β€“1-1-ontoβ†’wf1o 6539  β€˜cfv 6540  (class class class)co 7405  0cc0 11106  ..^cfzo 13623  β™―chash 14286  Vtxcvtx 28245  iEdgciedg 28246  VtxDegcvtxdg 28711  EulerPathsceupth 29439
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  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 2703  ax-rep 5284  ax-sep 5298  ax-nul 5305  ax-pr 5426  ax-un 7721
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3377  df-rab 3433  df-v 3476  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-iun 4998  df-br 5148  df-opab 5210  df-mpt 5231  df-id 5573  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-res 5687  df-ima 5688  df-iota 6492  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-ov 7408  df-1st 7971  df-2nd 7972  df-vtx 28247  df-iedg 28248  df-vtxdg 28712  df-wlks 28845  df-trls 28938  df-eupth 29440
This theorem is referenced by:  eupth2  29481
  Copyright terms: Public domain W3C validator