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

Theorem iseupthf1o 30860
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-1ontodom 𝐼))

Proof of Theorem iseupthf1o
StepHypRef Expression
1 eupths.i . . 3 𝐼 = (iEdg‘𝐺)
21iseupth 30859 . 2 (𝐹(EulerPaths‘𝐺)𝑃 ↔ (𝐹(Trails‘𝐺)𝑃 ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼))
3 istrl 30336 . . . 4 (𝐹(Trails‘𝐺)𝑃 ↔ (𝐹(Walks‘𝐺)𝑃 ∧ Fun ◡𝐹))
43anbi1i 636 . . 3 ((𝐹(Trails‘𝐺)𝑃 ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼) ↔ ((𝐹(Walks‘𝐺)𝑃 ∧ Fun ◡𝐹) ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼))
5 anass 474 . . 3 (((𝐹(Walks‘𝐺)𝑃 ∧ Fun ◡𝐹) ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼) ↔ (𝐹(Walks‘𝐺)𝑃 ∧ (Fun ◡𝐹 ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼)))
6 ancom 466 . . . 4 ((Fun ◡𝐹 ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼) ↔ (𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼 ∧ Fun ◡𝐹))
76anbi2i 635 . . 3 ((𝐹(Walks‘𝐺)𝑃 ∧ (Fun ◡𝐹 ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼)) ↔ (𝐹(Walks‘𝐺)𝑃 ∧ (𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼 ∧ Fun ◡𝐹)))
84, 5, 73bitri 300 . 2 ((𝐹(Trails‘𝐺)𝑃 ∧ 𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼) ↔ (𝐹(Walks‘𝐺)𝑃 ∧ (𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼 ∧ Fun ◡𝐹)))
9 dff1o3 6861 . . . 4 (𝐹:(0..^(♯‘𝐹))⟶1-1ontodom 𝐼 ↔ (𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼 ∧ Fun ◡𝐹))
109bicomi 227 . . 3 ((𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼 ∧ Fun ◡𝐹) ↔ 𝐹:(0..^(♯‘𝐹))⟶1-1ontodom 𝐼)
1110anbi2i 635 . 2 ((𝐹(Walks‘𝐺)𝑃 ∧ (𝐹:(0..^(♯‘𝐹))⟶ontodom 𝐼 ∧ Fun ◡𝐹)) ↔ (𝐹(Walks‘𝐺)𝑃 ∧ 𝐹:(0..^(♯‘𝐹))⟶1-1ontodom 𝐼))
122, 8, 113bitri 300 1 (𝐹(EulerPaths‘𝐺)𝑃 ↔ (𝐹(Walks‘𝐺)𝑃 ∧ 𝐹:(0..^(♯‘𝐹))⟶1-1ontodom 𝐼))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570   class class class wbr 5108  ◡ccnv 5657  dom cdm 5658  Fun wfun 6560  ⟶ontowfo 6564  ⟶1-1ontowf1o 6565  ‘cfv 6566  (class class class)co 7451  0cc0 11239  ..^cfzo 13828  ♯chash 14515  iEdgciedg 29632  Walkscwlks 30234  Trailsctrls 30330  EulerPathsceupth 30855
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-wlks 30237  df-trls 30332  df-eupth 30856
This theorem is used by:  eupthi  30861  upgriseupth  30865  eupth0  30872  eupthres  30873  eupthp1  30874
  Copyright terms: Public domain W3C validator