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

Theorem ifpsnprss 30209
Description: Lemma for wlkvtxeledg 30210: 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 3931 . . 3 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴} ⊆ {𝐴})
2 preq2 4691 . . . . . 6 (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴, 𝐴})
3 dfsn2 4593 . . . . . 6 {𝐴} = {𝐴, 𝐴}
42, 3eqtr4di 2813 . . . . 5 (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴})
54eqcoms 2768 . . . 4 (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴})
65adantr 486 . . 3 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴, 𝐵} = {𝐴})
7 simpr 490 . . 3 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → 𝐸 = {𝐴})
81, 6, 73sstr4d 3963 . 2 ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴, 𝐵} ⊆ 𝐸)
981fpid3 1098 1 (if-(𝐴 = 𝐵, 𝐸 = {𝐴}, {𝐴, 𝐵} ⊆ 𝐸) → {𝐴, 𝐵} ⊆ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  if-wif 1078   = wceq 1569   ⊆ wss 3895  {csn 4584  {cpr 4586
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1079  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-ss 3896  df-un 4151  df-sn 4585  df-pr 4587
This theorem is used by:  wlkvtxeledg  30210
  Copyright terms: Public domain W3C validator