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

Theorem uspgr1edc 16222
Description: A simple pseudograph with one edge. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 16-Oct-2020.) (Revised by AV, 21-Mar-2021.) (Proof shortened by AV, 17-Apr-2021.)
Hypotheses
Ref Expression
uspgr1e.v  |-  V  =  (Vtx `  G )
uspgr1e.a  |-  ( ph  ->  A  e.  X )
uspgr1e.b  |-  ( ph  ->  B  e.  V )
uspgr1e.c  |-  ( ph  ->  C  e.  V )
uspgr1e.e  |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { B ,  C } >. } )
uspgr1edc.dc  |-  ( ph  -> DECID  B  =  C )
Assertion
Ref Expression
uspgr1edc  |-  ( ph  ->  G  e. USPGraph )

Proof of Theorem uspgr1edc
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 uspgr1e.a . . . . . 6  |-  ( ph  ->  A  e.  X )
2 uspgr1e.b . . . . . . . 8  |-  ( ph  ->  B  e.  V )
3 uspgr1e.c . . . . . . . 8  |-  ( ph  ->  C  e.  V )
4 prexg 4324 . . . . . . . 8  |-  ( ( B  e.  V  /\  C  e.  V )  ->  { B ,  C }  e.  _V )
52, 3, 4syl2anc 411 . . . . . . 7  |-  ( ph  ->  { B ,  C }  e.  _V )
6 snidg 3717 . . . . . . 7  |-  ( { B ,  C }  e.  _V  ->  { B ,  C }  e.  { { B ,  C } } )
75, 6syl 14 . . . . . 6  |-  ( ph  ->  { B ,  C }  e.  { { B ,  C } } )
8 f1sng 5657 . . . . . 6  |-  ( ( A  e.  X  /\  { B ,  C }  e.  { { B ,  C } } )  ->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { { B ,  C } } )
91, 7, 8syl2anc 411 . . . . 5  |-  ( ph  ->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { { B ,  C } } )
102, 3prssd 3852 . . . . . . . 8  |-  ( ph  ->  { B ,  C }  C_  V )
11 uspgr1e.v . . . . . . . 8  |-  V  =  (Vtx `  G )
1210, 11sseqtrdi 3285 . . . . . . 7  |-  ( ph  ->  { B ,  C }  C_  (Vtx `  G
) )
13 elpwg 3676 . . . . . . . 8  |-  ( { B ,  C }  e.  _V  ->  ( { B ,  C }  e.  ~P (Vtx `  G
)  <->  { B ,  C }  C_  (Vtx `  G
) ) )
145, 13syl 14 . . . . . . 7  |-  ( ph  ->  ( { B ,  C }  e.  ~P (Vtx `  G )  <->  { B ,  C }  C_  (Vtx `  G ) ) )
1512, 14mpbird 167 . . . . . 6  |-  ( ph  ->  { B ,  C }  e.  ~P (Vtx `  G ) )
16 uspgr1edc.dc . . . . . 6  |-  ( ph  -> DECID  B  =  C )
1715, 2, 3, 16upgr1elem1 16102 . . . . 5  |-  ( ph  ->  { { B ,  C } }  C_  { x  e.  ~P (Vtx `  G
)  |  ( x 
~~  1o  \/  x  ~~  2o ) } )
18 f1ss 5578 . . . . 5  |-  ( ( { <. A ,  { B ,  C } >. } : { A } -1-1-> { { B ,  C } }  /\  { { B ,  C } }  C_  { x  e. 
~P (Vtx `  G
)  |  ( x 
~~  1o  \/  x  ~~  2o ) } )  ->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } )
199, 17, 18syl2anc 411 . . . 4  |-  ( ph  ->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } )
205, 2, 3, 16upgr1elem1 16102 . . . . . 6  |-  ( ph  ->  { { B ,  C } }  C_  { x  e.  _V  |  ( x 
~~  1o  \/  x  ~~  2o ) } )
21 f1ss 5578 . . . . . 6  |-  ( ( { <. A ,  { B ,  C } >. } : { A } -1-1-> { { B ,  C } }  /\  { { B ,  C } }  C_  { x  e. 
_V  |  ( x 
~~  1o  \/  x  ~~  2o ) } )  ->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  _V  |  ( x  ~~  1o  \/  x  ~~  2o ) } )
229, 20, 21syl2anc 411 . . . . 5  |-  ( ph  ->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  _V  |  ( x  ~~  1o  \/  x  ~~  2o ) } )
23 f1dm 5577 . . . . 5  |-  ( {
<. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  _V  |  ( x 
~~  1o  \/  x  ~~  2o ) }  ->  dom 
{ <. A ,  { B ,  C } >. }  =  { A } )
24 f1eq2 5568 . . . . 5  |-  ( dom 
{ <. A ,  { B ,  C } >. }  =  { A }  ->  ( { <. A ,  { B ,  C } >. } : dom  {
<. A ,  { B ,  C } >. } -1-1-> {
x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) }  <->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } ) )
2522, 23, 243syl 17 . . . 4  |-  ( ph  ->  ( { <. A ,  { B ,  C } >. } : dom  { <. A ,  { B ,  C } >. } -1-1-> {
x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) }  <->  { <. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } ) )
2619, 25mpbird 167 . . 3  |-  ( ph  ->  { <. A ,  { B ,  C } >. } : dom  { <. A ,  { B ,  C } >. } -1-1-> {
x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } )
27 uspgr1e.e . . . 4  |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  { B ,  C } >. } )
2827dmeqd 4957 . . . 4  |-  ( ph  ->  dom  (iEdg `  G
)  =  dom  { <. A ,  { B ,  C } >. } )
29 eqidd 2233 . . . 4  |-  ( ph  ->  { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) }  =  { x  e.  ~P (Vtx `  G
)  |  ( x 
~~  1o  \/  x  ~~  2o ) } )
3027, 28, 29f1eq123d 5605 . . 3  |-  ( ph  ->  ( (iEdg `  G
) : dom  (iEdg `  G ) -1-1-> { x  e.  ~P (Vtx `  G
)  |  ( x 
~~  1o  \/  x  ~~  2o ) }  <->  { <. A ,  { B ,  C } >. } : dom  { <. A ,  { B ,  C } >. } -1-1-> {
x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } ) )
3126, 30mpbird 167 . 2  |-  ( ph  ->  (iEdg `  G ) : dom  (iEdg `  G
) -1-1-> { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } )
32111vgrex 16002 . . 3  |-  ( B  e.  V  ->  G  e.  _V )
33 eqid 2232 . . . 4  |-  (Vtx `  G )  =  (Vtx
`  G )
34 eqid 2232 . . . 4  |-  (iEdg `  G )  =  (iEdg `  G )
3533, 34isuspgren 16139 . . 3  |-  ( G  e.  _V  ->  ( G  e. USPGraph  <->  (iEdg `  G ) : dom  (iEdg `  G
) -1-1-> { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) } ) )
362, 32, 353syl 17 . 2  |-  ( ph  ->  ( G  e. USPGraph  <->  (iEdg `  G
) : dom  (iEdg `  G ) -1-1-> { x  e.  ~P (Vtx `  G
)  |  ( x 
~~  1o  \/  x  ~~  2o ) } ) )
3731, 36mpbird 167 1  |-  ( ph  ->  G  e. USPGraph )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 105    \/ wo 716  DECID wdc 842    = wceq 1398    e. wcel 2203   {crab 2524   _Vcvv 2812    C_ wss 3210   ~Pcpw 3668   {csn 3688   {cpr 3689   <.cop 3691   class class class wbr 4108   dom cdm 4748   -1-1->wf1 5348   ` cfv 5351   1oc1o 6639   2oc2o 6640    ~~ cen 6972  Vtxcvtx 15994  iEdgciedg 15995  USPGraphcuspgr 16135
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-in1 619  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-13 2205  ax-14 2206  ax-ext 2214  ax-sep 4227  ax-nul 4235  ax-pow 4286  ax-pr 4321  ax-un 4553  ax-setind 4658  ax-iinf 4709  ax-cnex 8214  ax-resscn 8215  ax-1cn 8216  ax-1re 8217  ax-icn 8218  ax-addcl 8219  ax-addrcl 8220  ax-mulcl 8221  ax-addcom 8223  ax-mulcom 8224  ax-addass 8225  ax-mulass 8226  ax-distr 8227  ax-i2m1 8228  ax-1rid 8230  ax-0id 8231  ax-rnegex 8232  ax-cnre 8234
This theorem depends on definitions:  df-bi 117  df-dc 843  df-3or 1006  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2083  df-mo 2084  df-clab 2219  df-cleq 2225  df-clel 2228  df-nfc 2373  df-ne 2413  df-ral 2525  df-rex 2526  df-reu 2527  df-rab 2529  df-v 2814  df-sbc 3042  df-csb 3138  df-dif 3212  df-un 3214  df-in 3216  df-ss 3223  df-nul 3508  df-if 3620  df-pw 3670  df-sn 3694  df-pr 3695  df-op 3697  df-uni 3914  df-int 3949  df-br 4109  df-opab 4171  df-mpt 4172  df-tr 4208  df-id 4413  df-iord 4486  df-on 4488  df-suc 4491  df-iom 4712  df-xp 4754  df-rel 4755  df-cnv 4756  df-co 4757  df-dm 4758  df-rn 4759  df-res 4760  df-ima 4761  df-iota 5311  df-fun 5353  df-fn 5354  df-f 5355  df-f1 5356  df-fo 5357  df-f1o 5358  df-fv 5359  df-riota 6002  df-ov 6052  df-oprab 6053  df-mpo 6054  df-1st 6333  df-2nd 6334  df-1o 6646  df-2o 6647  df-er 6766  df-en 6975  df-sub 8442  df-inn 9234  df-2 9292  df-3 9293  df-4 9294  df-5 9295  df-6 9296  df-7 9297  df-8 9298  df-9 9299  df-n0 9493  df-dec 9706  df-ndx 13204  df-slot 13205  df-base 13207  df-edgf 15987  df-vtx 15996  df-iedg 15997  df-uspgren 16137
This theorem is referenced by:  usgr1e  16223  uspgr1eopdc  16225  1loopgruspgr  16285
  Copyright terms: Public domain W3C validator