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

Theorem iseupth 30233
Description: The property "𝐹, 𝑃 is an Eulerian path on the graph 𝐺". An Eulerian path is defined as bijection 𝐹 from the edges to a set 0...(𝑁 − 1) and a function 𝑃:(0...𝑁)⟶𝑉 into the vertices such that for each 0 ≤ 𝑘 < 𝑁, 𝐹(𝑘) is an edge from 𝑃(𝑘) to 𝑃(𝑘 + 1). (Since the edges are undirected and there are possibly many edges between any two given vertices, we need to list both the edges and the vertices of the path separately.) (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by Mario Carneiro, 3-May-2015.) (Revised by AV, 18-Feb-2021.) (Revised by AV, 30-Oct-2021.)
Hypothesis
Ref Expression
eupths.i 𝐼 = (iEdg‘𝐺)
Assertion
Ref Expression
iseupth (𝐹(EulerPaths‘𝐺)𝑃 ↔ (𝐹(Trails‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼))

Proof of Theorem iseupth
Dummy variables 𝑓 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eupths.i . . 3 𝐼 = (iEdg‘𝐺)
21eupths 30232 . 2 (EulerPaths‘𝐺) = {⟨𝑓, 𝑝⟩ ∣ (𝑓(Trails‘𝐺)𝑝𝑓:(0..^(♯‘𝑓))–onto→dom 𝐼)}
3 simpl 482 . . 3 ((𝑓 = 𝐹𝑝 = 𝑃) → 𝑓 = 𝐹)
4 fveq2 6920 . . . . 5 (𝑓 = 𝐹 → (♯‘𝑓) = (♯‘𝐹))
54oveq2d 7464 . . . 4 (𝑓 = 𝐹 → (0..^(♯‘𝑓)) = (0..^(♯‘𝐹)))
65adantr 480 . . 3 ((𝑓 = 𝐹𝑝 = 𝑃) → (0..^(♯‘𝑓)) = (0..^(♯‘𝐹)))
7 eqidd 2741 . . 3 ((𝑓 = 𝐹𝑝 = 𝑃) → dom 𝐼 = dom 𝐼)
83, 6, 7foeq123d 6855 . 2 ((𝑓 = 𝐹𝑝 = 𝑃) → (𝑓:(0..^(♯‘𝑓))–onto→dom 𝐼𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼))
9 reltrls 29730 . 2 Rel (Trails‘𝐺)
102, 8, 9brfvopabrbr 7026 1 (𝐹(EulerPaths‘𝐺)𝑃 ↔ (𝐹(Trails‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼))
Colors of variables: wff setvar class
Syntax hints:  wb 206  wa 395   = wceq 1537   class class class wbr 5166  dom cdm 5700  ontowfo 6571  cfv 6573  (class class class)co 7448  0cc0 11184  ..^cfzo 13711  chash 14379  iEdgciedg 29032  Trailsctrls 29726  EulerPathsceupth 30229
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-iota 6525  df-fun 6575  df-fn 6576  df-fo 6579  df-fv 6581  df-ov 7451  df-trls 29728  df-eupth 30230
This theorem is referenced by:  iseupthf1o  30234  eupthistrl  30243  eucrctshift  30275
  Copyright terms: Public domain W3C validator