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

Definition df-crcts 28776
Description: Define the set of all circuits (in an undirected graph).

According to Wikipedia ("Cycle (graph theory)", https://en.wikipedia.org/wiki/Cycle_(graph_theory), 3-Oct-2017): "A circuit can be a closed walk allowing repetitions of vertices but not edges"; according to Wikipedia ("Glossary of graph theory terms", https://en.wikipedia.org/wiki/Glossary_of_graph_theory_terms, 3-Oct-2017): "A circuit may refer to ... a trail (a closed tour without repeated edges), ...".

Following Bollobas ("A trail whose endvertices coincide (a closed trail) is called a circuit.", see Definition of [Bollobas] p. 5.), a circuit is a closed trail without repeated edges. So the circuit is also represented by the following sequence: p(0) e(f(1)) p(1) e(f(2)) ... p(n-1) e(f(n)) p(n)=p(0). (Contributed by Alexander van der Vekens, 3-Oct-2017.) (Revised by AV, 31-Jan-2021.)

Assertion
Ref Expression
df-crcts Circuits = (𝑔 ∈ V ↦ {βŸ¨π‘“, π‘βŸ© ∣ (𝑓(Trailsβ€˜π‘”)𝑝 ∧ (π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“)))})
Distinct variable group:   𝑓,𝑔,𝑝

Detailed syntax breakdown of Definition df-crcts
StepHypRef Expression
1 ccrcts 28774 . 2 class Circuits
2 vg . . 3 setvar 𝑔
3 cvv 3444 . . 3 class V
4 vf . . . . . . 7 setvar 𝑓
54cv 1541 . . . . . 6 class 𝑓
6 vp . . . . . . 7 setvar 𝑝
76cv 1541 . . . . . 6 class 𝑝
82cv 1541 . . . . . . 7 class 𝑔
9 ctrls 28680 . . . . . . 7 class Trails
108, 9cfv 6497 . . . . . 6 class (Trailsβ€˜π‘”)
115, 7, 10wbr 5106 . . . . 5 wff 𝑓(Trailsβ€˜π‘”)𝑝
12 cc0 11056 . . . . . . 7 class 0
1312, 7cfv 6497 . . . . . 6 class (π‘β€˜0)
14 chash 14236 . . . . . . . 8 class β™―
155, 14cfv 6497 . . . . . . 7 class (β™―β€˜π‘“)
1615, 7cfv 6497 . . . . . 6 class (π‘β€˜(β™―β€˜π‘“))
1713, 16wceq 1542 . . . . 5 wff (π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“))
1811, 17wa 397 . . . 4 wff (𝑓(Trailsβ€˜π‘”)𝑝 ∧ (π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“)))
1918, 4, 6copab 5168 . . 3 class {βŸ¨π‘“, π‘βŸ© ∣ (𝑓(Trailsβ€˜π‘”)𝑝 ∧ (π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“)))}
202, 3, 19cmpt 5189 . 2 class (𝑔 ∈ V ↦ {βŸ¨π‘“, π‘βŸ© ∣ (𝑓(Trailsβ€˜π‘”)𝑝 ∧ (π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“)))})
211, 20wceq 1542 1 wff Circuits = (𝑔 ∈ V ↦ {βŸ¨π‘“, π‘βŸ© ∣ (𝑓(Trailsβ€˜π‘”)𝑝 ∧ (π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“)))})
Colors of variables: wff setvar class
This definition is referenced by:  crcts  28778
  Copyright terms: Public domain W3C validator