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

Theorem subusgr 16516
Description: A subgraph of a simple graph is a simple graph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 27-Nov-2020.)
Assertion
Ref Expression
subusgr  |-  ( ( G  e. USGraph  /\  S SubGraph  G )  ->  S  e. USGraph )

Proof of Theorem subusgr
Dummy variables  x  e  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2238 . . . 4  |-  (Vtx `  S )  =  (Vtx
`  S )
2 eqid 2238 . . . 4  |-  (Vtx `  G )  =  (Vtx
`  G )
3 eqid 2238 . . . 4  |-  (iEdg `  S )  =  (iEdg `  S )
4 eqid 2238 . . . 4  |-  (iEdg `  G )  =  (iEdg `  G )
5 eqid 2238 . . . 4  |-  (Edg `  S )  =  (Edg
`  S )
61, 2, 3, 4, 5subgrprop2 16501 . . 3  |-  ( S SubGraph  G  ->  ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) ) )
7 usgruhgr 16430 . . . . . . . . . . 11  |-  ( G  e. USGraph  ->  G  e. UHGraph )
8 subgruhgrfun 16509 . . . . . . . . . . 11  |-  ( ( G  e. UHGraph  /\  S SubGraph  G )  ->  Fun  (iEdg `  S
) )
97, 8sylan 283 . . . . . . . . . 10  |-  ( ( G  e. USGraph  /\  S SubGraph  G )  ->  Fun  (iEdg `  S
) )
109ancoms 268 . . . . . . . . 9  |-  ( ( S SubGraph  G  /\  G  e. USGraph )  ->  Fun  (iEdg `  S
) )
1110funfnd 5408 . . . . . . . 8  |-  ( ( S SubGraph  G  /\  G  e. USGraph )  ->  (iEdg `  S
)  Fn  dom  (iEdg `  S ) )
1211adantl 277 . . . . . . 7  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  (iEdg `  S )  Fn  dom  (iEdg `  S ) )
13 simplrl 541 . . . . . . . . . 10  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  S SubGraph  G )
14 usgrumgr 16425 . . . . . . . . . . . . 13  |-  ( G  e. USGraph  ->  G  e. UMGraph )
1514adantl 277 . . . . . . . . . . . 12  |-  ( ( S SubGraph  G  /\  G  e. USGraph )  ->  G  e. UMGraph )
1615adantl 277 . . . . . . . . . . 11  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  G  e. UMGraph )
1716adantr 276 . . . . . . . . . 10  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  G  e. UMGraph )
18 simpr 110 . . . . . . . . . 10  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  x  e.  dom  (iEdg `  S ) )
191, 3subumgredg2en 16512 . . . . . . . . . 10  |-  ( ( S SubGraph  G  /\  G  e. UMGraph  /\  x  e.  dom  (iEdg `  S ) )  ->  ( (iEdg `  S ) `  x
)  e.  { e  e.  ~P (Vtx `  S )  |  e 
~~  2o } )
2013, 17, 18, 19syl3anc 1278 . . . . . . . . 9  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  ( (iEdg `  S ) `  x
)  e.  { e  e.  ~P (Vtx `  S )  |  e 
~~  2o } )
2120ralrimiva 2623 . . . . . . . 8  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  A. x  e.  dom  (iEdg `  S
) ( (iEdg `  S ) `  x
)  e.  { e  e.  ~P (Vtx `  S )  |  e 
~~  2o } )
22 fnfvrnss 5868 . . . . . . . 8  |-  ( ( (iEdg `  S )  Fn  dom  (iEdg `  S
)  /\  A. x  e.  dom  (iEdg `  S
) ( (iEdg `  S ) `  x
)  e.  { e  e.  ~P (Vtx `  S )  |  e 
~~  2o } )  ->  ran  (iEdg `  S
)  C_  { e  e.  ~P (Vtx `  S
)  |  e  ~~  2o } )
2312, 21, 22syl2anc 415 . . . . . . 7  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  ran  (iEdg `  S )  C_  { e  e.  ~P (Vtx `  S )  |  e 
~~  2o } )
24 df-f 5381 . . . . . . 7  |-  ( (iEdg `  S ) : dom  (iEdg `  S ) --> { e  e.  ~P (Vtx `  S )  |  e 
~~  2o }  <->  ( (iEdg `  S )  Fn  dom  (iEdg `  S )  /\  ran  (iEdg `  S )  C_ 
{ e  e.  ~P (Vtx `  S )  |  e  ~~  2o }
) )
2512, 23, 24sylanbrc 421 . . . . . 6  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  (iEdg `  S ) : dom  (iEdg `  S ) --> { e  e.  ~P (Vtx `  S )  |  e 
~~  2o } )
26 simp2 1029 . . . . . . . . 9  |-  ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_ 
~P (Vtx `  S
) )  ->  (iEdg `  S )  C_  (iEdg `  G ) )
272, 4usgrfen 16401 . . . . . . . . . . 11  |-  ( G  e. USGraph  ->  (iEdg `  G
) : dom  (iEdg `  G ) -1-1-> { y  e.  ~P (Vtx `  G )  |  y 
~~  2o } )
28 df-f1 5382 . . . . . . . . . . . 12  |-  ( (iEdg `  G ) : dom  (iEdg `  G ) -1-1-> {
y  e.  ~P (Vtx `  G )  |  y 
~~  2o }  <->  ( (iEdg `  G ) : dom  (iEdg `  G ) --> { y  e.  ~P (Vtx `  G )  |  y 
~~  2o }  /\  Fun  `' (iEdg `  G )
) )
29 ffun 5536 . . . . . . . . . . . . 13  |-  ( (iEdg `  G ) : dom  (iEdg `  G ) --> { y  e.  ~P (Vtx `  G )  |  y 
~~  2o }  ->  Fun  (iEdg `  G )
)
3029anim1i 340 . . . . . . . . . . . 12  |-  ( ( (iEdg `  G ) : dom  (iEdg `  G
) --> { y  e. 
~P (Vtx `  G
)  |  y  ~~  2o }  /\  Fun  `' (iEdg `  G ) )  ->  ( Fun  (iEdg `  G )  /\  Fun  `' (iEdg `  G )
) )
3128, 30sylbi 121 . . . . . . . . . . 11  |-  ( (iEdg `  G ) : dom  (iEdg `  G ) -1-1-> {
y  e.  ~P (Vtx `  G )  |  y 
~~  2o }  ->  ( Fun  (iEdg `  G
)  /\  Fun  `' (iEdg `  G ) ) )
3227, 31syl 14 . . . . . . . . . 10  |-  ( G  e. USGraph  ->  ( Fun  (iEdg `  G )  /\  Fun  `' (iEdg `  G )
) )
3332adantl 277 . . . . . . . . 9  |-  ( ( S SubGraph  G  /\  G  e. USGraph )  ->  ( Fun  (iEdg `  G )  /\  Fun  `' (iEdg `  G )
) )
3426, 33anim12ci 339 . . . . . . . 8  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  (
( Fun  (iEdg `  G
)  /\  Fun  `' (iEdg `  G ) )  /\  (iEdg `  S )  C_  (iEdg `  G ) ) )
35 df-3an 1011 . . . . . . . 8  |-  ( ( Fun  (iEdg `  G
)  /\  Fun  `' (iEdg `  G )  /\  (iEdg `  S )  C_  (iEdg `  G ) )  <->  ( ( Fun  (iEdg `  G )  /\  Fun  `' (iEdg `  G ) )  /\  (iEdg `  S )  C_  (iEdg `  G ) ) )
3634, 35sylibr 134 . . . . . . 7  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  ( Fun  (iEdg `  G )  /\  Fun  `' (iEdg `  G )  /\  (iEdg `  S )  C_  (iEdg `  G ) ) )
37 f1ssf1 5671 . . . . . . 7  |-  ( ( Fun  (iEdg `  G
)  /\  Fun  `' (iEdg `  G )  /\  (iEdg `  S )  C_  (iEdg `  G ) )  ->  Fun  `' (iEdg `  S )
)
3836, 37syl 14 . . . . . 6  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  Fun  `' (iEdg `  S )
)
39 df-f1 5382 . . . . . 6  |-  ( (iEdg `  S ) : dom  (iEdg `  S ) -1-1-> {
e  e.  ~P (Vtx `  S )  |  e 
~~  2o }  <->  ( (iEdg `  S ) : dom  (iEdg `  S ) --> { e  e.  ~P (Vtx `  S )  |  e 
~~  2o }  /\  Fun  `' (iEdg `  S )
) )
4025, 38, 39sylanbrc 421 . . . . 5  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  (iEdg `  S ) : dom  (iEdg `  S ) -1-1-> {
e  e.  ~P (Vtx `  S )  |  e 
~~  2o } )
41 subgrv 16497 . . . . . . . . 9  |-  ( S SubGraph  G  ->  ( S  e. 
_V  /\  G  e.  _V ) )
4241simpld 112 . . . . . . . 8  |-  ( S SubGraph  G  ->  S  e.  _V )
431, 3isusgren 16399 . . . . . . . 8  |-  ( S  e.  _V  ->  ( S  e. USGraph  <->  (iEdg `  S ) : dom  (iEdg `  S
) -1-1-> { e  e.  ~P (Vtx `  S )  |  e  ~~  2o }
) )
4442, 43syl 14 . . . . . . 7  |-  ( S SubGraph  G  ->  ( S  e. USGraph  <->  (iEdg `  S ) : dom  (iEdg `  S ) -1-1-> {
e  e.  ~P (Vtx `  S )  |  e 
~~  2o } ) )
4544adantr 276 . . . . . 6  |-  ( ( S SubGraph  G  /\  G  e. USGraph )  ->  ( S  e. USGraph  <->  (iEdg `  S ) : dom  (iEdg `  S ) -1-1-> {
e  e.  ~P (Vtx `  S )  |  e 
~~  2o } ) )
4645adantl 277 . . . . 5  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  ( S  e. USGraph  <->  (iEdg `  S ) : dom  (iEdg `  S
) -1-1-> { e  e.  ~P (Vtx `  S )  |  e  ~~  2o }
) )
4740, 46mpbird 167 . . . 4  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. USGraph ) )  ->  S  e. USGraph )
4847ex 115 . . 3  |-  ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_ 
~P (Vtx `  S
) )  ->  (
( S SubGraph  G  /\  G  e. USGraph )  ->  S  e. USGraph ) )
496, 48syl 14 . 2  |-  ( S SubGraph  G  ->  ( ( S SubGraph  G  /\  G  e. USGraph )  ->  S  e. USGraph ) )
5049anabsi8 588 1  |-  ( ( G  e. USGraph  /\  S SubGraph  G )  ->  S  e. USGraph )
Colors of variables:    wff set class
This proof depends on syntax axioms:    -> wi 4    /\ wa 104    <-> wb 105    /\ w3a 1009    e. wcel 2209   A.wral 2528   {crab 2532   _Vcvv 2821    C_ wss 3220   ~Pcpw 3688   class class class wbr 4130   `'ccnv 4773   dom cdm 4774   ran crn 4775   Fun wfun 5371    Fn wfn 5372   -->wf 5373   -1-1->wf1 5374   ` cfv 5377   2oc2o 6681    ~~ cen 7020  Vtxcvtx 16253  iEdgciedg 16254  Edgcedg 16298  UHGraphcuhgr 16308  UMGraphcumgr 16333  USGraphcusgr 16395   SubGraph csubgr 16494
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-nul 4259  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-cnex 8270  ax-resscn 8271  ax-1cn 8272  ax-1re 8273  ax-icn 8274  ax-addcl 8275  ax-addrcl 8276  ax-mulcl 8277  ax-addcom 8279  ax-mulcom 8280  ax-addass 8281  ax-mulass 8282  ax-distr 8283  ax-i2m1 8284  ax-1rid 8286  ax-0id 8287  ax-rnegex 8288  ax-cnre 8290
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-if 3639  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4131  df-opab 4193  df-mpt 4194  df-tr 4230  df-id 4438  df-iord 4511  df-on 4513  df-suc 4516  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-riota 6038  df-ov 6088  df-oprab 6089  df-mpo 6090  df-1st 6374  df-2nd 6375  df-1o 6687  df-2o 6688  df-en 7023  df-sub 8499  df-inn 9305  df-2 9363  df-3 9364  df-4 9365  df-5 9366  df-6 9367  df-7 9368  df-8 9369  df-9 9370  df-n0 9564  df-dec 9778  df-ndx 13355  df-slot 13356  df-base 13358  df-edgf 16246  df-vtx 16255  df-iedg 16256  df-edg 16299  df-uhgrm 16310  df-upgren 16334  df-umgren 16335  df-uspgren 16396  df-usgren 16397  df-subgr 16495
This theorem is used by:  usgrspan  16522
  Copyright terms: Public domain W3C validator