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

Theorem ausgrusgrien 16183
Description: The equivalence of the definitions of a simple graph, expressed with the set of vertices and the set of edges. (Contributed by AV, 15-Oct-2020.)
Hypotheses
Ref Expression
ausgr.1  |-  G  =  { <. v ,  e
>.  |  e  C_  { x  e.  ~P v  |  x  ~~  2o } }
ausgrusgri.1  |-  O  =  { f  |  f : dom  f -1-1-> ran  f }
Assertion
Ref Expression
ausgrusgrien  |-  ( ( H  e.  W  /\  (Vtx `  H ) G (Edg `  H )  /\  (iEdg `  H )  e.  O )  ->  H  e. USGraph )
Distinct variable groups:    v, e, x, H    f, H    x, W
Allowed substitution hints:    G( x, v, e, f)    O( x, v, e, f)    W( v, e, f)

Proof of Theorem ausgrusgrien
StepHypRef Expression
1 vtxex 16030 . . . . 5  |-  ( H  e.  W  ->  (Vtx `  H )  e.  _V )
2 edgvalg 16071 . . . . . 6  |-  ( H  e.  W  ->  (Edg `  H )  =  ran  (iEdg `  H ) )
3 iedgex 16031 . . . . . . 7  |-  ( H  e.  W  ->  (iEdg `  H )  e.  _V )
4 rnexg 5024 . . . . . . 7  |-  ( (iEdg `  H )  e.  _V  ->  ran  (iEdg `  H
)  e.  _V )
53, 4syl 14 . . . . . 6  |-  ( H  e.  W  ->  ran  (iEdg `  H )  e. 
_V )
62, 5eqeltrd 2311 . . . . 5  |-  ( H  e.  W  ->  (Edg `  H )  e.  _V )
7 ausgr.1 . . . . . 6  |-  G  =  { <. v ,  e
>.  |  e  C_  { x  e.  ~P v  |  x  ~~  2o } }
87isausgren 16179 . . . . 5  |-  ( ( (Vtx `  H )  e.  _V  /\  (Edg `  H )  e.  _V )  ->  ( (Vtx `  H ) G (Edg
`  H )  <->  (Edg `  H
)  C_  { x  e.  ~P (Vtx `  H
)  |  x  ~~  2o } ) )
91, 6, 8syl2anc 411 . . . 4  |-  ( H  e.  W  ->  (
(Vtx `  H ) G (Edg `  H )  <->  (Edg
`  H )  C_  { x  e.  ~P (Vtx `  H )  |  x 
~~  2o } ) )
102sseq1d 3269 . . . . 5  |-  ( H  e.  W  ->  (
(Edg `  H )  C_ 
{ x  e.  ~P (Vtx `  H )  |  x  ~~  2o }  <->  ran  (iEdg `  H )  C_ 
{ x  e.  ~P (Vtx `  H )  |  x  ~~  2o }
) )
11 ausgrusgri.1 . . . . . . . . . . 11  |-  O  =  { f  |  f : dom  f -1-1-> ran  f }
1211eleq2i 2301 . . . . . . . . . 10  |-  ( (iEdg `  H )  e.  O  <->  (iEdg `  H )  e.  {
f  |  f : dom  f -1-1-> ran  f } )
1312biimpi 120 . . . . . . . . 9  |-  ( (iEdg `  H )  e.  O  ->  (iEdg `  H )  e.  { f  |  f : dom  f -1-1-> ran  f } )
14 id 19 . . . . . . . . . . 11  |-  ( f  =  (iEdg `  H
)  ->  f  =  (iEdg `  H ) )
15 dmeq 4958 . . . . . . . . . . 11  |-  ( f  =  (iEdg `  H
)  ->  dom  f  =  dom  (iEdg `  H
) )
16 rneq 4986 . . . . . . . . . . 11  |-  ( f  =  (iEdg `  H
)  ->  ran  f  =  ran  (iEdg `  H
) )
1714, 15, 16f1eq123d 5608 . . . . . . . . . 10  |-  ( f  =  (iEdg `  H
)  ->  ( f : dom  f -1-1-> ran  f  <->  (iEdg `  H ) : dom  (iEdg `  H ) -1-1-> ran  (iEdg `  H ) ) )
1817elabg 2965 . . . . . . . . 9  |-  ( (iEdg `  H )  e.  O  ->  ( (iEdg `  H
)  e.  { f  |  f : dom  f -1-1-> ran  f }  <->  (iEdg `  H
) : dom  (iEdg `  H ) -1-1-> ran  (iEdg `  H ) ) )
1913, 18mpbid 147 . . . . . . . 8  |-  ( (iEdg `  H )  e.  O  ->  (iEdg `  H ) : dom  (iEdg `  H
) -1-1-> ran  (iEdg `  H
) )
20193ad2ant3 1047 . . . . . . 7  |-  ( ( H  e.  W  /\  ran  (iEdg `  H )  C_ 
{ x  e.  ~P (Vtx `  H )  |  x  ~~  2o }  /\  (iEdg `  H )  e.  O )  ->  (iEdg `  H ) : dom  (iEdg `  H ) -1-1-> ran  (iEdg `  H ) )
21 simp2 1025 . . . . . . 7  |-  ( ( H  e.  W  /\  ran  (iEdg `  H )  C_ 
{ x  e.  ~P (Vtx `  H )  |  x  ~~  2o }  /\  (iEdg `  H )  e.  O )  ->  ran  (iEdg `  H )  C_  { x  e.  ~P (Vtx `  H )  |  x 
~~  2o } )
22 f1ssr 5582 . . . . . . 7  |-  ( ( (iEdg `  H ) : dom  (iEdg `  H
) -1-1-> ran  (iEdg `  H
)  /\  ran  (iEdg `  H )  C_  { x  e.  ~P (Vtx `  H
)  |  x  ~~  2o } )  ->  (iEdg `  H ) : dom  (iEdg `  H ) -1-1-> {
x  e.  ~P (Vtx `  H )  |  x 
~~  2o } )
2320, 21, 22syl2anc 411 . . . . . 6  |-  ( ( H  e.  W  /\  ran  (iEdg `  H )  C_ 
{ x  e.  ~P (Vtx `  H )  |  x  ~~  2o }  /\  (iEdg `  H )  e.  O )  ->  (iEdg `  H ) : dom  (iEdg `  H ) -1-1-> {
x  e.  ~P (Vtx `  H )  |  x 
~~  2o } )
24233exp 1229 . . . . 5  |-  ( H  e.  W  ->  ( ran  (iEdg `  H )  C_ 
{ x  e.  ~P (Vtx `  H )  |  x  ~~  2o }  ->  ( (iEdg `  H
)  e.  O  -> 
(iEdg `  H ) : dom  (iEdg `  H
) -1-1-> { x  e.  ~P (Vtx `  H )  |  x  ~~  2o }
) ) )
2510, 24sylbid 150 . . . 4  |-  ( H  e.  W  ->  (
(Edg `  H )  C_ 
{ x  e.  ~P (Vtx `  H )  |  x  ~~  2o }  ->  ( (iEdg `  H
)  e.  O  -> 
(iEdg `  H ) : dom  (iEdg `  H
) -1-1-> { x  e.  ~P (Vtx `  H )  |  x  ~~  2o }
) ) )
269, 25sylbid 150 . . 3  |-  ( H  e.  W  ->  (
(Vtx `  H ) G (Edg `  H )  ->  ( (iEdg `  H
)  e.  O  -> 
(iEdg `  H ) : dom  (iEdg `  H
) -1-1-> { x  e.  ~P (Vtx `  H )  |  x  ~~  2o }
) ) )
27263imp 1220 . 2  |-  ( ( H  e.  W  /\  (Vtx `  H ) G (Edg `  H )  /\  (iEdg `  H )  e.  O )  ->  (iEdg `  H ) : dom  (iEdg `  H ) -1-1-> {
x  e.  ~P (Vtx `  H )  |  x 
~~  2o } )
28 eqid 2234 . . . 4  |-  (Vtx `  H )  =  (Vtx
`  H )
29 eqid 2234 . . . 4  |-  (iEdg `  H )  =  (iEdg `  H )
3028, 29isusgren 16170 . . 3  |-  ( H  e.  W  ->  ( H  e. USGraph  <->  (iEdg `  H ) : dom  (iEdg `  H
) -1-1-> { x  e.  ~P (Vtx `  H )  |  x  ~~  2o }
) )
31303ad2ant1 1045 . 2  |-  ( ( H  e.  W  /\  (Vtx `  H ) G (Edg `  H )  /\  (iEdg `  H )  e.  O )  ->  ( H  e. USGraph  <->  (iEdg `  H ) : dom  (iEdg `  H
) -1-1-> { x  e.  ~P (Vtx `  H )  |  x  ~~  2o }
) )
3227, 31mpbird 167 1  |-  ( ( H  e.  W  /\  (Vtx `  H ) G (Edg `  H )  /\  (iEdg `  H )  e.  O )  ->  H  e. USGraph )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 105    /\ w3a 1005    = wceq 1398    e. wcel 2205   {cab 2220   {crab 2526   _Vcvv 2815    C_ wss 3213   ~Pcpw 3671   class class class wbr 4111   {copab 4172   dom cdm 4751   ran crn 4752   -1-1->wf1 5351   ` cfv 5354   2oc2o 6643    ~~ cen 6975  Vtxcvtx 16024  iEdgciedg 16025  Edgcedg 16069  USGraphcusgr 16166
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 2207  ax-14 2208  ax-ext 2216  ax-sep 4230  ax-pow 4289  ax-pr 4324  ax-un 4556  ax-setind 4661  ax-cnex 8220  ax-resscn 8221  ax-1cn 8222  ax-1re 8223  ax-icn 8224  ax-addcl 8225  ax-addrcl 8226  ax-mulcl 8227  ax-addcom 8229  ax-mulcom 8230  ax-addass 8231  ax-mulass 8232  ax-distr 8233  ax-i2m1 8234  ax-1rid 8236  ax-0id 8237  ax-rnegex 8238  ax-cnre 8240
This theorem depends on definitions:  df-bi 117  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2085  df-mo 2086  df-clab 2221  df-cleq 2227  df-clel 2230  df-nfc 2375  df-ne 2415  df-ral 2527  df-rex 2528  df-reu 2529  df-rab 2531  df-v 2817  df-sbc 3045  df-csb 3141  df-dif 3215  df-un 3217  df-in 3219  df-ss 3226  df-if 3623  df-pw 3673  df-sn 3697  df-pr 3698  df-op 3700  df-uni 3917  df-int 3952  df-br 4112  df-opab 4174  df-mpt 4175  df-id 4416  df-xp 4757  df-rel 4758  df-cnv 4759  df-co 4760  df-dm 4761  df-rn 4762  df-res 4763  df-iota 5314  df-fun 5356  df-fn 5357  df-f 5358  df-f1 5359  df-fo 5360  df-fv 5362  df-riota 6005  df-ov 6055  df-oprab 6056  df-mpo 6057  df-1st 6336  df-2nd 6337  df-sub 8448  df-inn 9240  df-2 9298  df-3 9299  df-4 9300  df-5 9301  df-6 9302  df-7 9303  df-8 9304  df-9 9305  df-n0 9499  df-dec 9713  df-ndx 13232  df-slot 13233  df-base 13235  df-edgf 16017  df-vtx 16026  df-iedg 16027  df-edg 16070  df-usgren 16168
This theorem is referenced by:  usgrausgrben  16184
  Copyright terms: Public domain W3C validator