Metamath Proof Explorer


Theorem ifpsnprss

Description: Lemma for wlkvtxeledg : Two adjacent (not necessarily different) vertices A and B in a walk are incident with an edge E . (Contributed by AV, 4-Apr-2021) (Revised by AV, 5-Nov-2021)

Ref Expression
Assertion ifpsnprss if-A=BE=AABEABE

Proof

Step Hyp Ref Expression
1 ssidd A=BE=AAA
2 preq2 B=AAB=AA
3 dfsn2 A=AA
4 2 3 eqtr4di B=AAB=A
5 4 eqcoms A=BAB=A
6 5 adantr A=BE=AAB=A
7 simpr A=BE=AE=A
8 1 6 7 3sstr4d A=BE=AABE
9 8 1fpid3 if-A=BE=AABEABE