Metamath Proof Explorer


Theorem isushgr

Description: The predicate "is an undirected simple hypergraph." (Contributed by AV, 19-Jan-2020) (Revised by AV, 9-Oct-2020)

Ref Expression
Hypotheses isuhgr.v V=VtxG
isuhgr.e E=iEdgG
Assertion isushgr GUGUSHGraphE:domE1-1𝒫V

Proof

Step Hyp Ref Expression
1 isuhgr.v V=VtxG
2 isuhgr.e E=iEdgG
3 df-ushgr USHGraph=g|[˙Vtxg/v]˙[˙iEdgg/e]˙e:dome1-1𝒫v
4 3 eleq2i GUSHGraphGg|[˙Vtxg/v]˙[˙iEdgg/e]˙e:dome1-1𝒫v
5 fveq2 h=GiEdgh=iEdgG
6 5 2 eqtr4di h=GiEdgh=E
7 5 dmeqd h=GdomiEdgh=domiEdgG
8 2 eqcomi iEdgG=E
9 8 dmeqi domiEdgG=domE
10 7 9 eqtrdi h=GdomiEdgh=domE
11 fveq2 h=GVtxh=VtxG
12 11 1 eqtr4di h=GVtxh=V
13 12 pweqd h=G𝒫Vtxh=𝒫V
14 13 difeq1d h=G𝒫Vtxh=𝒫V
15 6 10 14 f1eq123d h=GiEdgh:domiEdgh1-1𝒫VtxhE:domE1-1𝒫V
16 fvexd g=hVtxgV
17 fveq2 g=hVtxg=Vtxh
18 fvexd g=hv=VtxhiEdggV
19 fveq2 g=hiEdgg=iEdgh
20 19 adantr g=hv=VtxhiEdgg=iEdgh
21 simpr g=hv=Vtxhe=iEdghe=iEdgh
22 21 dmeqd g=hv=Vtxhe=iEdghdome=domiEdgh
23 simpr g=hv=Vtxhv=Vtxh
24 23 pweqd g=hv=Vtxh𝒫v=𝒫Vtxh
25 24 difeq1d g=hv=Vtxh𝒫v=𝒫Vtxh
26 25 adantr g=hv=Vtxhe=iEdgh𝒫v=𝒫Vtxh
27 21 22 26 f1eq123d g=hv=Vtxhe=iEdghe:dome1-1𝒫viEdgh:domiEdgh1-1𝒫Vtxh
28 18 20 27 sbcied2 g=hv=Vtxh[˙iEdgg/e]˙e:dome1-1𝒫viEdgh:domiEdgh1-1𝒫Vtxh
29 16 17 28 sbcied2 g=h[˙Vtxg/v]˙[˙iEdgg/e]˙e:dome1-1𝒫viEdgh:domiEdgh1-1𝒫Vtxh
30 29 cbvabv g|[˙Vtxg/v]˙[˙iEdgg/e]˙e:dome1-1𝒫v=h|iEdgh:domiEdgh1-1𝒫Vtxh
31 15 30 elab2g GUGg|[˙Vtxg/v]˙[˙iEdgg/e]˙e:dome1-1𝒫vE:domE1-1𝒫V
32 4 31 syl5bb GUGUSHGraphE:domE1-1𝒫V