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

Theorem iseupthf1o 30629
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
iseupthf1o (𝐹(EulerPaths‘𝐺)𝑃 ↔ (𝐹(Walks‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–1-1-onto→dom 𝐼))

Proof of Theorem iseupthf1o
StepHypRef Expression
1 eupths.i . . 3 𝐼 = (iEdg‘𝐺)
21iseupth 30628 . 2 (𝐹(EulerPaths‘𝐺)𝑃 ↔ (𝐹(Trails‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼))
3 istrl 30111 . . . 4 (𝐹(Trails‘𝐺)𝑃 ↔ (𝐹(Walks‘𝐺)𝑃 ∧ Fun 𝐹))
43anbi1i 636 . . 3 ((𝐹(Trails‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼) ↔ ((𝐹(Walks‘𝐺)𝑃 ∧ Fun 𝐹) ∧ 𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼))
5 anass 474 . . 3 (((𝐹(Walks‘𝐺)𝑃 ∧ Fun 𝐹) ∧ 𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼) ↔ (𝐹(Walks‘𝐺)𝑃 ∧ (Fun 𝐹𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼)))
6 ancom 466 . . . 4 ((Fun 𝐹𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼) ↔ (𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼 ∧ Fun 𝐹))
76anbi2i 635 . . 3 ((𝐹(Walks‘𝐺)𝑃 ∧ (Fun 𝐹𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼)) ↔ (𝐹(Walks‘𝐺)𝑃 ∧ (𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼 ∧ Fun 𝐹)))
84, 5, 73bitri 300 . 2 ((𝐹(Trails‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼) ↔ (𝐹(Walks‘𝐺)𝑃 ∧ (𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼 ∧ Fun 𝐹)))
9 dff1o3 6832 . . . 4 (𝐹:(0..^(♯‘𝐹))–1-1-onto→dom 𝐼 ↔ (𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼 ∧ Fun 𝐹))
109bicomi 227 . . 3 ((𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼 ∧ Fun 𝐹) ↔ 𝐹:(0..^(♯‘𝐹))–1-1-onto→dom 𝐼)
1110anbi2i 635 . 2 ((𝐹(Walks‘𝐺)𝑃 ∧ (𝐹:(0..^(♯‘𝐹))–onto→dom 𝐼 ∧ Fun 𝐹)) ↔ (𝐹(Walks‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–1-1-onto→dom 𝐼))
122, 8, 113bitri 300 1 (𝐹(EulerPaths‘𝐺)𝑃 ↔ (𝐹(Walks‘𝐺)𝑃𝐹:(0..^(♯‘𝐹))–1-1-onto→dom 𝐼))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 401   = wceq 1570   class class class wbr 5111  ccnv 5662  dom cdm 5663  Fun wfun 6535  ontowfo 6539  1-1-ontowf1o 6540  cfv 6541  (class class class)co 7420  0cc0 11120  ..^cfzo 13704  chash 14389  iEdgciedg 29407  Walkscwlks 30009  Trailsctrls 30105  EulerPathsceupth 30624
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-br 5112  df-opab 5176  df-mpt 5195  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-iota 6497  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7423  df-wlks 30012  df-trls 30107  df-eupth 30625
This theorem is used by:  eupthi  30630  upgriseupth  30634  eupth0  30641  eupthres  30642  eupthp1  30643
  Copyright terms: Public domain W3C validator