ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ifpprsnssdc Unicode version

Theorem ifpprsnssdc 3783
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
ifpprsnssdc  |-  ( ( P  =  { A ,  B }  /\ DECID  A  =  B )  -> if- ( A  =  B ,  P  =  { A } ,  { A ,  B }  C_  P ) )

Proof of Theorem ifpprsnssdc
StepHypRef Expression
1 preq2 3753 . . . . . . 7  |-  ( B  =  A  ->  { A ,  B }  =  { A ,  A }
)
2 dfsn2 3687 . . . . . . 7  |-  { A }  =  { A ,  A }
31, 2eqtr4di 2282 . . . . . 6  |-  ( B  =  A  ->  { A ,  B }  =  { A } )
43eqcoms 2234 . . . . 5  |-  ( A  =  B  ->  { A ,  B }  =  { A } )
54eqeq2d 2243 . . . 4  |-  ( A  =  B  ->  ( P  =  { A ,  B }  <->  P  =  { A } ) )
65biimpcd 159 . . 3  |-  ( P  =  { A ,  B }  ->  ( A  =  B  ->  P  =  { A } ) )
76adantr 276 . 2  |-  ( ( P  =  { A ,  B }  /\ DECID  A  =  B )  ->  ( A  =  B  ->  P  =  { A }
) )
8 eqimss2 3283 . . . 4  |-  ( P  =  { A ,  B }  ->  { A ,  B }  C_  P
)
98a1d 22 . . 3  |-  ( P  =  { A ,  B }  ->  ( -.  A  =  B  ->  { A ,  B }  C_  P ) )
109adantr 276 . 2  |-  ( ( P  =  { A ,  B }  /\ DECID  A  =  B )  ->  ( -.  A  =  B  ->  { A ,  B }  C_  P ) )
11 dfifp2dc 990 . . 3  |-  (DECID  A  =  B  ->  (if- ( A  =  B ,  P  =  { A } ,  { A ,  B }  C_  P
)  <->  ( ( A  =  B  ->  P  =  { A } )  /\  ( -.  A  =  B  ->  { A ,  B }  C_  P
) ) ) )
1211adantl 277 . 2  |-  ( ( P  =  { A ,  B }  /\ DECID  A  =  B )  ->  (if- ( A  =  B ,  P  =  { A } ,  { A ,  B }  C_  P
)  <->  ( ( A  =  B  ->  P  =  { A } )  /\  ( -.  A  =  B  ->  { A ,  B }  C_  P
) ) ) )
137, 10, 12mpbir2and 953 1  |-  ( ( P  =  { A ,  B }  /\ DECID  A  =  B )  -> if- ( A  =  B ,  P  =  { A } ,  { A ,  B }  C_  P ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 104    <-> wb 105  DECID wdc 842  if-wif 986    = wceq 1398    C_ wss 3201   {csn 3673   {cpr 3674
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-ext 2213
This theorem depends on definitions:  df-bi 117  df-dc 843  df-ifp 987  df-tru 1401  df-nf 1510  df-sb 1811  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2364  df-v 2805  df-un 3205  df-in 3207  df-ss 3214  df-sn 3679  df-pr 3680
This theorem is referenced by:  upgriswlkdc  16301  eupth2lem3lem7fi  16415
  Copyright terms: Public domain W3C validator