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

Theorem uspgr1edc 16059
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 4296 . . . . . . . 8  |-  ( ( B  e.  V  /\  C  e.  V )  ->  { B ,  C }  e.  _V )
52, 3, 4syl2anc 411 . . . . . . 7  |-  ( ph  ->  { B ,  C }  e.  _V )
6 snidg 3695 . . . . . . 7  |-  ( { B ,  C }  e.  _V  ->  { B ,  C }  e.  { { B ,  C } } )
75, 6syl 14 . . . . . 6  |-  ( ph  ->  { B ,  C }  e.  { { B ,  C } } )
8 f1sng 5620 . . . . . 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 3827 . . . . . . . 8  |-  ( ph  ->  { B ,  C }  C_  V )
11 uspgr1e.v . . . . . . . 8  |-  V  =  (Vtx `  G )
1210, 11sseqtrdi 3272 . . . . . . 7  |-  ( ph  ->  { B ,  C }  C_  (Vtx `  G
) )
13 elpwg 3657 . . . . . . . 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 15941 . . . . 5  |-  ( ph  ->  { { B ,  C } }  C_  { x  e.  ~P (Vtx `  G
)  |  ( x 
~~  1o  \/  x  ~~  2o ) } )
18 f1ss 5542 . . . . 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 15941 . . . . . 6  |-  ( ph  ->  { { B ,  C } }  C_  { x  e.  _V  |  ( x 
~~  1o  \/  x  ~~  2o ) } )
21 f1ss 5542 . . . . . 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 5541 . . . . 5  |-  ( {
<. A ,  { B ,  C } >. } : { A } -1-1-> { x  e.  _V  |  ( x 
~~  1o  \/  x  ~~  2o ) }  ->  dom 
{ <. A ,  { B ,  C } >. }  =  { A } )
24 f1eq2 5532 . . . . 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 4928 . . . 4  |-  ( ph  ->  dom  (iEdg `  G
)  =  dom  { <. A ,  { B ,  C } >. } )
29 eqidd 2230 . . . 4  |-  ( ph  ->  { x  e.  ~P (Vtx `  G )  |  ( x  ~~  1o  \/  x  ~~  2o ) }  =  { x  e.  ~P (Vtx `  G
)  |  ( x 
~~  1o  \/  x  ~~  2o ) } )
3027, 28, 29f1eq123d 5569 . . 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 15842 . . 3  |-  ( B  e.  V  ->  G  e.  _V )
33 eqid 2229 . . . 4  |-  (Vtx `  G )  =  (Vtx
`  G )
34 eqid 2229 . . . 4  |-  (iEdg `  G )  =  (iEdg `  G )
3533, 34isuspgren 15976 . . 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 713  DECID wdc 839    = wceq 1395    e. wcel 2200   {crab 2512   _Vcvv 2799    C_ wss 3197   ~Pcpw 3649   {csn 3666   {cpr 3667   <.cop 3669   class class class wbr 4083   dom cdm 4720   -1-1->wf1 5318   ` cfv 5321   1oc1o 6566   2oc2o 6567    ~~ cen 6898  Vtxcvtx 15834  iEdgciedg 15835  USPGraphcuspgr 15972
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 617  ax-in2 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-13 2202  ax-14 2203  ax-ext 2211  ax-sep 4202  ax-nul 4210  ax-pow 4259  ax-pr 4294  ax-un 4525  ax-setind 4630  ax-iinf 4681  ax-cnex 8106  ax-resscn 8107  ax-1cn 8108  ax-1re 8109  ax-icn 8110  ax-addcl 8111  ax-addrcl 8112  ax-mulcl 8113  ax-addcom 8115  ax-mulcom 8116  ax-addass 8117  ax-mulass 8118  ax-distr 8119  ax-i2m1 8120  ax-1rid 8122  ax-0id 8123  ax-rnegex 8124  ax-cnre 8126
This theorem depends on definitions:  df-bi 117  df-dc 840  df-3or 1003  df-3an 1004  df-tru 1398  df-fal 1401  df-nf 1507  df-sb 1809  df-eu 2080  df-mo 2081  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ne 2401  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2517  df-v 2801  df-sbc 3029  df-csb 3125  df-dif 3199  df-un 3201  df-in 3203  df-ss 3210  df-nul 3492  df-if 3603  df-pw 3651  df-sn 3672  df-pr 3673  df-op 3675  df-uni 3889  df-int 3924  df-br 4084  df-opab 4146  df-mpt 4147  df-tr 4183  df-id 4385  df-iord 4458  df-on 4460  df-suc 4463  df-iom 4684  df-xp 4726  df-rel 4727  df-cnv 4728  df-co 4729  df-dm 4730  df-rn 4731  df-res 4732  df-ima 4733  df-iota 5281  df-fun 5323  df-fn 5324  df-f 5325  df-f1 5326  df-fo 5327  df-f1o 5328  df-fv 5329  df-riota 5963  df-ov 6013  df-oprab 6014  df-mpo 6015  df-1st 6295  df-2nd 6296  df-1o 6573  df-2o 6574  df-er 6693  df-en 6901  df-sub 8335  df-inn 9127  df-2 9185  df-3 9186  df-4 9187  df-5 9188  df-6 9189  df-7 9190  df-8 9191  df-9 9192  df-n0 9386  df-dec 9595  df-ndx 13056  df-slot 13057  df-base 13059  df-edgf 15827  df-vtx 15836  df-iedg 15837  df-uspgren 15974
This theorem is referenced by:  usgr1e  16060  uspgr1eopdc  16062
  Copyright terms: Public domain W3C validator