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

Theorem ifpprsnss 4699
Description: An unordered pair is a singleton or a subset of itself. This theorem is helpful to convert theorems about walks in arbitrary graphs into theorems about walks in pseudographs. (Contributed by AV, 27-Feb-2021.)
Assertion
Ref Expression
ifpprsnss (𝑃 = {𝐴, 𝐵} → if-(𝐴 = 𝐵, 𝑃 = {𝐴}, {𝐴, 𝐵} ⊆ 𝑃))

Proof of Theorem ifpprsnss
StepHypRef Expression
1 preq2 4669 . . . . . 6 (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴, 𝐴})
2 dfsn2 4579 . . . . . 6 {𝐴} = {𝐴, 𝐴}
31, 2syl6eqr 2874 . . . . 5 (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴})
43eqcoms 2829 . . . 4 (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴})
54eqeq2d 2832 . . 3 (𝐴 = 𝐵 → (𝑃 = {𝐴, 𝐵} ↔ 𝑃 = {𝐴}))
65biimpac 481 . 2 ((𝑃 = {𝐴, 𝐵} ∧ 𝐴 = 𝐵) → 𝑃 = {𝐴})
7 eqimss2 4023 . . 3 (𝑃 = {𝐴, 𝐵} → {𝐴, 𝐵} ⊆ 𝑃)
87adantr 483 . 2 ((𝑃 = {𝐴, 𝐵} ∧ ¬ 𝐴 = 𝐵) → {𝐴, 𝐵} ⊆ 𝑃)
96, 8ifpimpda 1074 1 (𝑃 = {𝐴, 𝐵} → if-(𝐴 = 𝐵, 𝑃 = {𝐴}, {𝐴, 𝐵} ⊆ 𝑃))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  if-wif 1057   = wceq 1533  wss 3935  {csn 4566  {cpr 4568
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ifp 1058  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-v 3496  df-un 3940  df-in 3942  df-ss 3951  df-sn 4567  df-pr 4569
This theorem is referenced by:  upgriswlk  27421  eupth2lem3lem7  28012  upwlkwlk  44013
  Copyright terms: Public domain W3C validator