Metamath Proof Explorer


Theorem iscrct

Description: Sufficient and necessary conditions for a pair of functions to be a circuit (in an undirected graph): A pair of function "is" (represents) a circuit iff it is a closed trail. (Contributed by Alexander van der Vekens, 30-Oct-2017) (Revised by AV, 31-Jan-2021) (Revised by AV, 30-Oct-2021)

Ref Expression
Assertion iscrct FCircuitsGPFTrailsGPP0=PF

Proof

Step Hyp Ref Expression
1 crcts CircuitsG=fp|fTrailsGpp0=pf
2 fveq1 p=Pp0=P0
3 2 adantl f=Fp=Pp0=P0
4 simpr f=Fp=Pp=P
5 fveq2 f=Ff=F
6 5 adantr f=Fp=Pf=F
7 4 6 fveq12d f=Fp=Ppf=PF
8 3 7 eqeq12d f=Fp=Pp0=pfP0=PF
9 reltrls RelTrailsG
10 1 8 9 brfvopabrbr FCircuitsGPFTrailsGPP0=PF