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

Theorem issubgr 16252
Description: The property of a set to be a subgraph of another set. (Contributed by AV, 16-Nov-2020.)
Hypotheses
Ref Expression
issubgr.v  |-  V  =  (Vtx `  S )
issubgr.a  |-  A  =  (Vtx `  G )
issubgr.i  |-  I  =  (iEdg `  S )
issubgr.b  |-  B  =  (iEdg `  G )
issubgr.e  |-  E  =  (Edg `  S )
Assertion
Ref Expression
issubgr  |-  ( ( G  e.  W  /\  S  e.  U )  ->  ( S SubGraph  G  <->  ( V  C_  A  /\  I  =  ( B  |`  dom  I
)  /\  E  C_  ~P V ) ) )

Proof of Theorem issubgr
Dummy variables  s  g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 5670 . . . . . . 7  |-  ( s  =  S  ->  (Vtx `  s )  =  (Vtx
`  S ) )
21adantr 276 . . . . . 6  |-  ( ( s  =  S  /\  g  =  G )  ->  (Vtx `  s )  =  (Vtx `  S )
)
3 fveq2 5670 . . . . . . 7  |-  ( g  =  G  ->  (Vtx `  g )  =  (Vtx
`  G ) )
43adantl 277 . . . . . 6  |-  ( ( s  =  S  /\  g  =  G )  ->  (Vtx `  g )  =  (Vtx `  G )
)
52, 4sseq12d 3269 . . . . 5  |-  ( ( s  =  S  /\  g  =  G )  ->  ( (Vtx `  s
)  C_  (Vtx `  g
)  <->  (Vtx `  S )  C_  (Vtx `  G )
) )
6 fveq2 5670 . . . . . . 7  |-  ( s  =  S  ->  (iEdg `  s )  =  (iEdg `  S ) )
76adantr 276 . . . . . 6  |-  ( ( s  =  S  /\  g  =  G )  ->  (iEdg `  s )  =  (iEdg `  S )
)
8 fveq2 5670 . . . . . . . 8  |-  ( g  =  G  ->  (iEdg `  g )  =  (iEdg `  G ) )
98adantl 277 . . . . . . 7  |-  ( ( s  =  S  /\  g  =  G )  ->  (iEdg `  g )  =  (iEdg `  G )
)
106dmeqd 4958 . . . . . . . 8  |-  ( s  =  S  ->  dom  (iEdg `  s )  =  dom  (iEdg `  S
) )
1110adantr 276 . . . . . . 7  |-  ( ( s  =  S  /\  g  =  G )  ->  dom  (iEdg `  s
)  =  dom  (iEdg `  S ) )
129, 11reseq12d 5039 . . . . . 6  |-  ( ( s  =  S  /\  g  =  G )  ->  ( (iEdg `  g
)  |`  dom  (iEdg `  s ) )  =  ( (iEdg `  G
)  |`  dom  (iEdg `  S ) ) )
137, 12eqeq12d 2247 . . . . 5  |-  ( ( s  =  S  /\  g  =  G )  ->  ( (iEdg `  s
)  =  ( (iEdg `  g )  |`  dom  (iEdg `  s ) )  <->  (iEdg `  S
)  =  ( (iEdg `  G )  |`  dom  (iEdg `  S ) ) ) )
14 fveq2 5670 . . . . . . 7  |-  ( s  =  S  ->  (Edg `  s )  =  (Edg
`  S ) )
151pweqd 3674 . . . . . . 7  |-  ( s  =  S  ->  ~P (Vtx `  s )  =  ~P (Vtx `  S
) )
1614, 15sseq12d 3269 . . . . . 6  |-  ( s  =  S  ->  (
(Edg `  s )  C_ 
~P (Vtx `  s
)  <->  (Edg `  S )  C_ 
~P (Vtx `  S
) ) )
1716adantr 276 . . . . 5  |-  ( ( s  =  S  /\  g  =  G )  ->  ( (Edg `  s
)  C_  ~P (Vtx `  s )  <->  (Edg `  S
)  C_  ~P (Vtx `  S ) ) )
185, 13, 173anbi123d 1349 . . . 4  |-  ( ( s  =  S  /\  g  =  G )  ->  ( ( (Vtx `  s )  C_  (Vtx `  g )  /\  (iEdg `  s )  =  ( (iEdg `  g )  |` 
dom  (iEdg `  s )
)  /\  (Edg `  s
)  C_  ~P (Vtx `  s ) )  <->  ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  =  ( (iEdg `  G )  |` 
dom  (iEdg `  S )
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) ) ) )
19 df-subgr 16249 . . . 4  |- SubGraph  =  { <. s ,  g >.  |  ( (Vtx `  s )  C_  (Vtx `  g )  /\  (iEdg `  s )  =  ( (iEdg `  g )  |` 
dom  (iEdg `  s )
)  /\  (Edg `  s
)  C_  ~P (Vtx `  s ) ) }
2018, 19brabga 4382 . . 3  |-  ( ( S  e.  U  /\  G  e.  W )  ->  ( S SubGraph  G  <->  ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  =  ( (iEdg `  G )  |` 
dom  (iEdg `  S )
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) ) ) )
2120ancoms 268 . 2  |-  ( ( G  e.  W  /\  S  e.  U )  ->  ( S SubGraph  G  <->  ( (Vtx `  S )  C_  (Vtx `  G )  /\  (iEdg `  S )  =  ( (iEdg `  G )  |` 
dom  (iEdg `  S )
)  /\  (Edg `  S
)  C_  ~P (Vtx `  S ) ) ) )
22 issubgr.v . . . 4  |-  V  =  (Vtx `  S )
23 issubgr.a . . . 4  |-  A  =  (Vtx `  G )
2422, 23sseq12i 3266 . . 3  |-  ( V 
C_  A  <->  (Vtx `  S
)  C_  (Vtx `  G
) )
25 issubgr.i . . . 4  |-  I  =  (iEdg `  S )
26 issubgr.b . . . . 5  |-  B  =  (iEdg `  G )
2725dmeqi 4957 . . . . 5  |-  dom  I  =  dom  (iEdg `  S
)
2826, 27reseq12i 5036 . . . 4  |-  ( B  |`  dom  I )  =  ( (iEdg `  G
)  |`  dom  (iEdg `  S ) )
2925, 28eqeq12i 2246 . . 3  |-  ( I  =  ( B  |`  dom  I )  <->  (iEdg `  S
)  =  ( (iEdg `  G )  |`  dom  (iEdg `  S ) ) )
30 issubgr.e . . . 4  |-  E  =  (Edg `  S )
3122pweqi 3673 . . . 4  |-  ~P V  =  ~P (Vtx `  S
)
3230, 31sseq12i 3266 . . 3  |-  ( E 
C_  ~P V  <->  (Edg `  S
)  C_  ~P (Vtx `  S ) )
3324, 29, 323anbi123i 1215 . 2  |-  ( ( V  C_  A  /\  I  =  ( B  |` 
dom  I )  /\  E  C_  ~P V )  <-> 
( (Vtx `  S
)  C_  (Vtx `  G
)  /\  (iEdg `  S
)  =  ( (iEdg `  G )  |`  dom  (iEdg `  S ) )  /\  (Edg `  S )  C_  ~P (Vtx `  S )
) )
3421, 33bitr4di 198 1  |-  ( ( G  e.  W  /\  S  e.  U )  ->  ( S SubGraph  G  <->  ( V  C_  A  /\  I  =  ( B  |`  dom  I
)  /\  E  C_  ~P V ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    /\ w3a 1005    = wceq 1398    e. wcel 2203    C_ wss 3211   ~Pcpw 3669   class class class wbr 4109   dom cdm 4749    |` cres 4751   ` cfv 5352  Vtxcvtx 16007  iEdgciedg 16008  Edgcedg 16052   SubGraph csubgr 16248
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-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-14 2206  ax-ext 2214  ax-sep 4228  ax-pow 4287  ax-pr 4322
This theorem depends on definitions:  df-bi 117  df-3an 1007  df-tru 1401  df-nf 1510  df-sb 1812  df-eu 2083  df-mo 2084  df-clab 2219  df-cleq 2225  df-clel 2228  df-nfc 2373  df-rex 2526  df-v 2815  df-un 3215  df-in 3217  df-ss 3224  df-pw 3671  df-sn 3695  df-pr 3696  df-op 3698  df-uni 3915  df-br 4110  df-opab 4172  df-xp 4755  df-dm 4759  df-res 4761  df-iota 5312  df-fv 5360  df-subgr 16249
This theorem is referenced by:  issubgr2  16253  subgrprop  16254  uhgrissubgr  16256  egrsubgr  16258  0grsubgr  16259
  Copyright terms: Public domain W3C validator