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

Theorem iscycl 28908
Description: Sufficient and necessary conditions for a pair of functions to be a cycle (in an undirected graph): A pair of function "is" (represents) a cycle iff it is a closed path. (Contributed by Alexander van der Vekens, 30-Oct-2017.) (Revised by AV, 31-Jan-2021.) (Revised by AV, 30-Oct-2021.)
Assertion
Ref Expression
iscycl (𝐹(Cyclesβ€˜πΊ)𝑃 ↔ (𝐹(Pathsβ€˜πΊ)𝑃 ∧ (π‘ƒβ€˜0) = (π‘ƒβ€˜(β™―β€˜πΉ))))

Proof of Theorem iscycl
Dummy variables 𝑓 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cycls 28906 . 2 (Cyclesβ€˜πΊ) = {βŸ¨π‘“, π‘βŸ© ∣ (𝑓(Pathsβ€˜πΊ)𝑝 ∧ (π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“)))}
2 fveq1 6874 . . . 4 (𝑝 = 𝑃 β†’ (π‘β€˜0) = (π‘ƒβ€˜0))
32adantl 482 . . 3 ((𝑓 = 𝐹 ∧ 𝑝 = 𝑃) β†’ (π‘β€˜0) = (π‘ƒβ€˜0))
4 simpr 485 . . . 4 ((𝑓 = 𝐹 ∧ 𝑝 = 𝑃) β†’ 𝑝 = 𝑃)
5 fveq2 6875 . . . . 5 (𝑓 = 𝐹 β†’ (β™―β€˜π‘“) = (β™―β€˜πΉ))
65adantr 481 . . . 4 ((𝑓 = 𝐹 ∧ 𝑝 = 𝑃) β†’ (β™―β€˜π‘“) = (β™―β€˜πΉ))
74, 6fveq12d 6882 . . 3 ((𝑓 = 𝐹 ∧ 𝑝 = 𝑃) β†’ (π‘β€˜(β™―β€˜π‘“)) = (π‘ƒβ€˜(β™―β€˜πΉ)))
83, 7eqeq12d 2747 . 2 ((𝑓 = 𝐹 ∧ 𝑝 = 𝑃) β†’ ((π‘β€˜0) = (π‘β€˜(β™―β€˜π‘“)) ↔ (π‘ƒβ€˜0) = (π‘ƒβ€˜(β™―β€˜πΉ))))
9 relpths 28837 . 2 Rel (Pathsβ€˜πΊ)
101, 8, 9brfvopabrbr 6978 1 (𝐹(Cyclesβ€˜πΊ)𝑃 ↔ (𝐹(Pathsβ€˜πΊ)𝑃 ∧ (π‘ƒβ€˜0) = (π‘ƒβ€˜(β™―β€˜πΉ))))
Colors of variables: wff setvar class
Syntax hints:   ↔ wb 205   ∧ wa 396   = wceq 1541   class class class wbr 5138  β€˜cfv 6529  0cc0 11089  β™―chash 14269  Pathscpths 28829  Cyclesccycls 28902
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 2702  ax-sep 5289  ax-nul 5296  ax-pr 5417
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 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-rab 3430  df-v 3472  df-sbc 3771  df-csb 3887  df-dif 3944  df-un 3946  df-in 3948  df-ss 3958  df-nul 4316  df-if 4520  df-sn 4620  df-pr 4622  df-op 4626  df-uni 4899  df-br 5139  df-opab 5201  df-mpt 5222  df-id 5564  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6481  df-fun 6531  df-fv 6537  df-pths 28833  df-cycls 28904
This theorem is referenced by:  cyclprop  28910  cycliscrct  28916  cyclnspth  28917  cyclispthon  28918  0cycl  29247  lp1cycl  29265  3cycld  29291  pthisspthorcycl  33934  spthcycl  33935  subgrcycl  33941  2cycld  33944
  Copyright terms: Public domain W3C validator