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

Theorem isushgrm 15926
Description: The predicate "is an undirected simple hypergraph." (Contributed by AV, 19-Jan-2020.) (Revised by AV, 9-Oct-2020.)
Hypotheses
Ref Expression
isuhgr.v  |-  V  =  (Vtx `  G )
isuhgr.e  |-  E  =  (iEdg `  G )
Assertion
Ref Expression
isushgrm  |-  ( G  e.  U  ->  ( G  e. USHGraph  <->  E : dom  E -1-1-> { s  e.  ~P V  |  E. j  j  e.  s } ) )
Distinct variable groups:    j, s    V, s
Allowed substitution hints:    U( j, s)    E( j, s)    G( j, s)    V( j)

Proof of Theorem isushgrm
Dummy variables  g  h  v  e are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ushgrm 15924 . . 3  |- USHGraph  =  {
g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g
)  /  e ]. e : dom  e -1-1-> {
s  e.  ~P v  |  E. j  j  e.  s } }
21eleq2i 2298 . 2  |-  ( G  e. USHGraph 
<->  G  e.  { g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g
)  /  e ]. e : dom  e -1-1-> {
s  e.  ~P v  |  E. j  j  e.  s } } )
3 fveq2 5639 . . . . 5  |-  ( h  =  G  ->  (iEdg `  h )  =  (iEdg `  G ) )
4 isuhgr.e . . . . 5  |-  E  =  (iEdg `  G )
53, 4eqtr4di 2282 . . . 4  |-  ( h  =  G  ->  (iEdg `  h )  =  E )
63dmeqd 4933 . . . . 5  |-  ( h  =  G  ->  dom  (iEdg `  h )  =  dom  (iEdg `  G
) )
74eqcomi 2235 . . . . . 6  |-  (iEdg `  G )  =  E
87dmeqi 4932 . . . . 5  |-  dom  (iEdg `  G )  =  dom  E
96, 8eqtrdi 2280 . . . 4  |-  ( h  =  G  ->  dom  (iEdg `  h )  =  dom  E )
10 fveq2 5639 . . . . . . 7  |-  ( h  =  G  ->  (Vtx `  h )  =  (Vtx
`  G ) )
11 isuhgr.v . . . . . . 7  |-  V  =  (Vtx `  G )
1210, 11eqtr4di 2282 . . . . . 6  |-  ( h  =  G  ->  (Vtx `  h )  =  V )
1312pweqd 3657 . . . . 5  |-  ( h  =  G  ->  ~P (Vtx `  h )  =  ~P V )
1413rabeqdv 2796 . . . 4  |-  ( h  =  G  ->  { s  e.  ~P (Vtx `  h )  |  E. j  j  e.  s }  =  { s  e.  ~P V  |  E. j  j  e.  s } )
155, 9, 14f1eq123d 5575 . . 3  |-  ( h  =  G  ->  (
(iEdg `  h ) : dom  (iEdg `  h
) -1-1-> { s  e.  ~P (Vtx `  h )  |  E. j  j  e.  s }  <->  E : dom  E -1-1-> { s  e.  ~P V  |  E. j 
j  e.  s } ) )
16 vtxex 15872 . . . . . . 7  |-  ( g  e.  _V  ->  (Vtx `  g )  e.  _V )
1716elv 2806 . . . . . 6  |-  (Vtx `  g )  e.  _V
1817a1i 9 . . . . 5  |-  ( g  =  h  ->  (Vtx `  g )  e.  _V )
19 fveq2 5639 . . . . 5  |-  ( g  =  h  ->  (Vtx `  g )  =  (Vtx
`  h ) )
20 iedgex 15873 . . . . . . . 8  |-  ( g  e.  _V  ->  (iEdg `  g )  e.  _V )
2120elv 2806 . . . . . . 7  |-  (iEdg `  g )  e.  _V
2221a1i 9 . . . . . 6  |-  ( ( g  =  h  /\  v  =  (Vtx `  h
) )  ->  (iEdg `  g )  e.  _V )
23 fveq2 5639 . . . . . . 7  |-  ( g  =  h  ->  (iEdg `  g )  =  (iEdg `  h ) )
2423adantr 276 . . . . . 6  |-  ( ( g  =  h  /\  v  =  (Vtx `  h
) )  ->  (iEdg `  g )  =  (iEdg `  h ) )
25 simpr 110 . . . . . . 7  |-  ( ( ( g  =  h  /\  v  =  (Vtx
`  h ) )  /\  e  =  (iEdg `  h ) )  -> 
e  =  (iEdg `  h ) )
2625dmeqd 4933 . . . . . . 7  |-  ( ( ( g  =  h  /\  v  =  (Vtx
`  h ) )  /\  e  =  (iEdg `  h ) )  ->  dom  e  =  dom  (iEdg `  h ) )
27 simpr 110 . . . . . . . . . 10  |-  ( ( g  =  h  /\  v  =  (Vtx `  h
) )  ->  v  =  (Vtx `  h )
)
2827pweqd 3657 . . . . . . . . 9  |-  ( ( g  =  h  /\  v  =  (Vtx `  h
) )  ->  ~P v  =  ~P (Vtx `  h ) )
2928rabeqdv 2796 . . . . . . . 8  |-  ( ( g  =  h  /\  v  =  (Vtx `  h
) )  ->  { s  e.  ~P v  |  E. j  j  e.  s }  =  {
s  e.  ~P (Vtx `  h )  |  E. j  j  e.  s } )
3029adantr 276 . . . . . . 7  |-  ( ( ( g  =  h  /\  v  =  (Vtx
`  h ) )  /\  e  =  (iEdg `  h ) )  ->  { s  e.  ~P v  |  E. j 
j  e.  s }  =  { s  e. 
~P (Vtx `  h
)  |  E. j 
j  e.  s } )
3125, 26, 30f1eq123d 5575 . . . . . 6  |-  ( ( ( g  =  h  /\  v  =  (Vtx
`  h ) )  /\  e  =  (iEdg `  h ) )  -> 
( e : dom  e -1-1-> { s  e.  ~P v  |  E. j 
j  e.  s }  <-> 
(iEdg `  h ) : dom  (iEdg `  h
) -1-1-> { s  e.  ~P (Vtx `  h )  |  E. j  j  e.  s } ) )
3222, 24, 31sbcied2 3069 . . . . 5  |-  ( ( g  =  h  /\  v  =  (Vtx `  h
) )  ->  ( [. (iEdg `  g )  /  e ]. e : dom  e -1-1-> { s  e.  ~P v  |  E. j  j  e.  s }  <->  (iEdg `  h
) : dom  (iEdg `  h ) -1-1-> { s  e.  ~P (Vtx `  h )  |  E. j  j  e.  s } ) )
3318, 19, 32sbcied2 3069 . . . 4  |-  ( g  =  h  ->  ( [. (Vtx `  g )  /  v ]. [. (iEdg `  g )  /  e ]. e : dom  e -1-1-> { s  e.  ~P v  |  E. j 
j  e.  s }  <-> 
(iEdg `  h ) : dom  (iEdg `  h
) -1-1-> { s  e.  ~P (Vtx `  h )  |  E. j  j  e.  s } ) )
3433cbvabv 2356 . . 3  |-  { g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g
)  /  e ]. e : dom  e -1-1-> {
s  e.  ~P v  |  E. j  j  e.  s } }  =  { h  |  (iEdg `  h ) : dom  (iEdg `  h ) -1-1-> {
s  e.  ~P (Vtx `  h )  |  E. j  j  e.  s } }
3515, 34elab2g 2953 . 2  |-  ( G  e.  U  ->  ( G  e.  { g  |  [. (Vtx `  g
)  /  v ]. [. (iEdg `  g )  /  e ]. e : dom  e -1-1-> { s  e.  ~P v  |  E. j  j  e.  s } }  <->  E : dom  E -1-1-> { s  e.  ~P V  |  E. j 
j  e.  s } ) )
362, 35bitrid 192 1  |-  ( G  e.  U  ->  ( G  e. USHGraph  <->  E : dom  E -1-1-> { s  e.  ~P V  |  E. j  j  e.  s } ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    = wceq 1397   E.wex 1540    e. wcel 2202   {cab 2217   {crab 2514   _Vcvv 2802   [.wsbc 3031   ~Pcpw 3652   dom cdm 4725   -1-1->wf1 5323   ` cfv 5326  Vtxcvtx 15866  iEdgciedg 15867  USHGraphcushgr 15922
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 2204  ax-14 2205  ax-ext 2213  ax-sep 4207  ax-pow 4264  ax-pr 4299  ax-un 4530  ax-setind 4635  ax-cnex 8123  ax-resscn 8124  ax-1cn 8125  ax-1re 8126  ax-icn 8127  ax-addcl 8128  ax-addrcl 8129  ax-mulcl 8130  ax-addcom 8132  ax-mulcom 8133  ax-addass 8134  ax-mulass 8135  ax-distr 8136  ax-i2m1 8137  ax-1rid 8139  ax-0id 8140  ax-rnegex 8141  ax-cnre 8143
This theorem depends on definitions:  df-bi 117  df-3an 1006  df-tru 1400  df-fal 1403  df-nf 1509  df-sb 1811  df-eu 2082  df-mo 2083  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-ne 2403  df-ral 2515  df-rex 2516  df-reu 2517  df-rab 2519  df-v 2804  df-sbc 3032  df-csb 3128  df-dif 3202  df-un 3204  df-in 3206  df-ss 3213  df-if 3606  df-pw 3654  df-sn 3675  df-pr 3676  df-op 3678  df-uni 3894  df-int 3929  df-br 4089  df-opab 4151  df-mpt 4152  df-id 4390  df-xp 4731  df-rel 4732  df-cnv 4733  df-co 4734  df-dm 4735  df-rn 4736  df-res 4737  df-iota 5286  df-fun 5328  df-fn 5329  df-f 5330  df-f1 5331  df-fo 5332  df-fv 5334  df-riota 5971  df-ov 6021  df-oprab 6022  df-mpo 6023  df-1st 6303  df-2nd 6304  df-sub 8352  df-inn 9144  df-2 9202  df-3 9203  df-4 9204  df-5 9205  df-6 9206  df-7 9207  df-8 9208  df-9 9209  df-n0 9403  df-dec 9612  df-ndx 13087  df-slot 13088  df-base 13090  df-edgf 15859  df-vtx 15868  df-iedg 15869  df-ushgrm 15924
This theorem is referenced by:  ushgrfm  15928  uspgrushgr  16034
  Copyright terms: Public domain W3C validator