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

Theorem subusgr 16152
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 2230 . . . 4  |-  (Vtx `  S )  =  (Vtx
`  S )
2 eqid 2230 . . . 4  |-  (Vtx `  G )  =  (Vtx
`  G )
3 eqid 2230 . . . 4  |-  (iEdg `  S )  =  (iEdg `  S )
4 eqid 2230 . . . 4  |-  (iEdg `  G )  =  (iEdg `  G )
5 eqid 2230 . . . 4  |-  (Edg `  S )  =  (Edg
`  S )
61, 2, 3, 4, 5subgrprop2 16137 . . 3  |-  ( S SubGraph  G  ->  ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) ) )
7 usgruhgr 16066 . . . . . . . . . . 11  |-  ( G  e. USGraph  ->  G  e. UHGraph )
8 subgruhgrfun 16145 . . . . . . . . . . 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 5356 . . . . . . . 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 537 . . . . . . . . . 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 16061 . . . . . . . . . . . . 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 16148 . . . . . . . . . 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 1273 . . . . . . . . 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 2604 . . . . . . . 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 5807 . . . . . . . 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 411 . . . . . . 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 5329 . . . . . . 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 417 . . . . . 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 1024 . . . . . . . . 9  |-  ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_ 
~P (Vtx `  S
) )  ->  (iEdg `  S )  C_  (iEdg `  G ) )
272, 4usgrfen 16037 . . . . . . . . . . 11  |-  ( G  e. USGraph  ->  (iEdg `  G
) : dom  (iEdg `  G ) -1-1-> { y  e.  ~P (Vtx `  G )  |  y 
~~  2o } )
28 df-f1 5330 . . . . . . . . . . . 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 5484 . . . . . . . . . . . . 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 1006 . . . . . . . 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 5615 . . . . . . 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 5330 . . . . . 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 417 . . . . 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 16133 . . . . . . . . 9  |-  ( S SubGraph  G  ->  ( S  e. 
_V  /\  G  e.  _V ) )
4241simpld 112 . . . . . . . 8  |-  ( S SubGraph  G  ->  S  e.  _V )
431, 3isusgren 16035 . . . . . . . 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 584 1  |-  ( ( G  e. USGraph  /\  S SubGraph  G )  ->  S  e. USGraph )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    /\ w3a 1004    e. wcel 2201   A.wral 2509   {crab 2513   _Vcvv 2801    C_ wss 3199   ~Pcpw 3651   class class class wbr 4087   `'ccnv 4723   dom cdm 4724   ran crn 4725   Fun wfun 5319    Fn wfn 5320   -->wf 5321   -1-1->wf1 5322   ` cfv 5325   2oc2o 6578    ~~ cen 6909  Vtxcvtx 15889  iEdgciedg 15890  Edgcedg 15934  UHGraphcuhgr 15944  UMGraphcumgr 15969  USGraphcusgr 16031   SubGraph csubgr 16130
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 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-13 2203  ax-14 2204  ax-ext 2212  ax-sep 4206  ax-nul 4214  ax-pow 4263  ax-pr 4298  ax-un 4529  ax-setind 4634  ax-cnex 8125  ax-resscn 8126  ax-1cn 8127  ax-1re 8128  ax-icn 8129  ax-addcl 8130  ax-addrcl 8131  ax-mulcl 8132  ax-addcom 8134  ax-mulcom 8135  ax-addass 8136  ax-mulass 8137  ax-distr 8138  ax-i2m1 8139  ax-1rid 8141  ax-0id 8142  ax-rnegex 8143  ax-cnre 8145
This theorem depends on definitions:  df-bi 117  df-3an 1006  df-tru 1400  df-fal 1403  df-nf 1509  df-sb 1810  df-eu 2081  df-mo 2082  df-clab 2217  df-cleq 2223  df-clel 2226  df-nfc 2362  df-ne 2402  df-ral 2514  df-rex 2515  df-reu 2516  df-rab 2518  df-v 2803  df-sbc 3031  df-csb 3127  df-dif 3201  df-un 3203  df-in 3205  df-ss 3212  df-nul 3494  df-if 3605  df-pw 3653  df-sn 3674  df-pr 3675  df-op 3677  df-uni 3893  df-int 3928  df-br 4088  df-opab 4150  df-mpt 4151  df-tr 4187  df-id 4389  df-iord 4462  df-on 4464  df-suc 4467  df-xp 4730  df-rel 4731  df-cnv 4732  df-co 4733  df-dm 4734  df-rn 4735  df-res 4736  df-ima 4737  df-iota 5285  df-fun 5327  df-fn 5328  df-f 5329  df-f1 5330  df-fo 5331  df-f1o 5332  df-fv 5333  df-riota 5973  df-ov 6023  df-oprab 6024  df-mpo 6025  df-1st 6305  df-2nd 6306  df-1o 6584  df-2o 6585  df-en 6912  df-sub 8354  df-inn 9146  df-2 9204  df-3 9205  df-4 9206  df-5 9207  df-6 9208  df-7 9209  df-8 9210  df-9 9211  df-n0 9405  df-dec 9614  df-ndx 13105  df-slot 13106  df-base 13108  df-edgf 15882  df-vtx 15891  df-iedg 15892  df-edg 15935  df-uhgrm 15946  df-upgren 15970  df-umgren 15971  df-uspgren 16032  df-usgren 16033  df-subgr 16131
This theorem is referenced by:  usgrspan  16158
  Copyright terms: Public domain W3C validator