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

Theorem ifpsnprss 30348
Description: Lemma for wlkvtxeledg 30349: Two adjacent (not necessarily different) vertices 𝐴 and 𝐵 in a walk are incident with an edge 𝐸. (Contributed by AV, 4-Apr-2021.) (Revised by AV, 5-Nov-2021.)
Assertion
Ref Expression
ifpsnprss (if-(𝐴 = 𝐵, 𝐸 = {𝐴}, {𝐴, 𝐵} ⊆ 𝐸) → {𝐴, 𝐵} ⊆ 𝐸)

Proof of Theorem ifpsnprss
StepHypRef Expression
1 ssidd 3943 . . 3 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴} ⊆ {𝐴})
2 preq2 4705 . . . . . 6 (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴, 𝐴})
3 dfsn2 4604 . . . . . 6 {𝐴} = {𝐴, 𝐴}
42, 3eqtr4di 2827 . . . . 5 (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴})
54eqcoms 2782 . . . 4 (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴})
65adantr 486 . . 3 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴, 𝐵} = {𝐴})
7 simpr 490 . . 3 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → 𝐸 = {𝐴})
81, 6, 73sstr4d 3975 . 2 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴, 𝐵} ⊆ 𝐸)
981fpid3 1099 1 (if-(𝐴 = 𝐵, 𝐸 = {𝐴}, {𝐴, 𝐵} ⊆ 𝐸) → {𝐴, 𝐵} ⊆ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  if-wif 1079   = wceq 1572   ⊆ wss 3907  {csn 4595  {cpr 4597
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1080  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-v 3463  df-ss 3908  df-un 4161  df-sn 4596  df-pr 4598
This theorem is used by:  wlkvtxeledg  30349
  Copyright terms: Public domain W3C validator