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

Theorem subuhgr 16718
Description: A subgraph of a hypergraph is a hypergraph. (Contributed by AV, 16-Nov-2020.) (Proof shortened by AV, 21-Nov-2020.)
Assertion
Ref Expression
subuhgr  |-  ( ( G  e. UHGraph  /\  S SubGraph  G )  ->  S  e. UHGraph )

Proof of Theorem subuhgr
Dummy variables  x  j  s 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 16706 . . 3  |-  ( S SubGraph  G  ->  ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) ) )
7 subgruhgrfun 16714 . . . . . . . . 9  |-  ( ( G  e. UHGraph  /\  S SubGraph  G )  ->  Fun  (iEdg `  S
) )
87ancoms 268 . . . . . . . 8  |-  ( ( S SubGraph  G  /\  G  e. UHGraph )  ->  Fun  (iEdg `  S
) )
98adantl 277 . . . . . . 7  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  ->  Fun  (iEdg `  S ) )
109funfnd 5411 . . . . . 6  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  ->  (iEdg `  S )  Fn  dom  (iEdg `  S ) )
11 simplrr 542 . . . . . . . . 9  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  G  e. UHGraph )
12 simplrl 541 . . . . . . . . 9  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  S SubGraph  G )
13 simpr 110 . . . . . . . . 9  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  x  e.  dom  (iEdg `  S ) )
141, 3, 11, 12, 13subgruhgredgdm 16716 . . . . . . . 8  |-  ( ( ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  /\  x  e.  dom  (iEdg `  S ) )  ->  ( (iEdg `  S ) `  x
)  e.  { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } )
1514ralrimiva 2623 . . . . . . 7  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  ->  A. x  e.  dom  (iEdg `  S
) ( (iEdg `  S ) `  x
)  e.  { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } )
16 fnfvrnss 5871 . . . . . . 7  |-  ( ( (iEdg `  S )  Fn  dom  (iEdg `  S
)  /\  A. x  e.  dom  (iEdg `  S
) ( (iEdg `  S ) `  x
)  e.  { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } )  ->  ran  (iEdg `  S )  C_  { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } )
1710, 15, 16syl2anc 415 . . . . . 6  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  ->  ran  (iEdg `  S )  C_  { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } )
18 df-f 5384 . . . . . 6  |-  ( (iEdg `  S ) : dom  (iEdg `  S ) --> { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } 
<->  ( (iEdg `  S
)  Fn  dom  (iEdg `  S )  /\  ran  (iEdg `  S )  C_  { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } ) )
1910, 17, 18sylanbrc 421 . . . . 5  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  ->  (iEdg `  S ) : dom  (iEdg `  S ) --> { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } )
20 subgrv 16702 . . . . . . . 8  |-  ( S SubGraph  G  ->  ( S  e. 
_V  /\  G  e.  _V ) )
2120simpld 112 . . . . . . 7  |-  ( S SubGraph  G  ->  S  e.  _V )
221, 3isuhgrm 16517 . . . . . . 7  |-  ( S  e.  _V  ->  ( S  e. UHGraph  <->  (iEdg `  S ) : dom  (iEdg `  S
) --> { s  e. 
~P (Vtx `  S
)  |  E. j 
j  e.  s } ) )
2321, 22syl 14 . . . . . 6  |-  ( S SubGraph  G  ->  ( S  e. UHGraph  <->  (iEdg `  S ) : dom  (iEdg `  S ) --> { s  e.  ~P (Vtx `  S )  |  E. j  j  e.  s } ) )
2423ad2antrl 494 . . . . 5  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  ->  ( S  e. UHGraph  <->  (iEdg `  S ) : dom  (iEdg `  S
) --> { s  e. 
~P (Vtx `  S
)  |  E. j 
j  e.  s } ) )
2519, 24mpbird 167 . . . 4  |-  ( ( ( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  C_  (iEdg `  G
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) )  /\  ( S SubGraph  G  /\  G  e. UHGraph ) )  ->  S  e. UHGraph )
2625ex 115 . . 3  |-  ( ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  C_  (iEdg `  G )  /\  (Edg `  S )  C_ 
~P (Vtx `  S
) )  ->  (
( S SubGraph  G  /\  G  e. UHGraph )  ->  S  e. UHGraph ) )
276, 26syl 14 . 2  |-  ( S SubGraph  G  ->  ( ( S SubGraph  G  /\  G  e. UHGraph )  ->  S  e. UHGraph ) )
2827anabsi8 588 1  |-  ( ( G  e. UHGraph  /\  S SubGraph  G )  ->  S  e. UHGraph )
Colors of variables:    wff set class
This proof depends on syntax axioms:    -> wi 4    /\ wa 104    <-> wb 105    /\ w3a 1009   E.wex 1545    e. wcel 2209   A.wral 2528   {crab 2532   _Vcvv 2821    C_ wss 3220   ~Pcpw 3688   class class class wbr 4131   dom cdm 4776   ran crn 4777   Fun wfun 5374    Fn wfn 5375   -->wf 5376   ` cfv 5380  Vtxcvtx 16458  iEdgciedg 16459  Edgcedg 16503  UHGraphcuhgr 16513   SubGraph csubgr 16699
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 4251  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-setind 4686  ax-cnex 8276  ax-resscn 8277  ax-1cn 8278  ax-1re 8279  ax-icn 8280  ax-addcl 8281  ax-addrcl 8282  ax-mulcl 8283  ax-addcom 8285  ax-mulcom 8286  ax-addass 8287  ax-mulass 8288  ax-distr 8289  ax-i2m1 8290  ax-1rid 8292  ax-0id 8293  ax-rnegex 8294  ax-cnre 8296
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-if 3639  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4132  df-opab 4194  df-mpt 4195  df-id 4440  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-fo 5386  df-fv 5388  df-riota 6041  df-ov 6091  df-oprab 6092  df-mpo 6093  df-1st 6378  df-2nd 6379  df-sub 8506  df-inn 9314  df-2 9372  df-3 9373  df-4 9374  df-5 9375  df-6 9376  df-7 9377  df-8 9378  df-9 9379  df-n0 9575  df-dec 9789  df-ndx 13413  df-slot 13414  df-base 13416  df-edgf 16451  df-vtx 16460  df-iedg 16461  df-edg 16504  df-uhgrm 16515  df-subgr 16700
This theorem is used by:  uhgrspan  16724
  Copyright terms: Public domain W3C validator