MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  isushgr Structured version   Visualization version   GIF version

Theorem isushgr 27420
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 𝑉 = (Vtx‘𝐺)
isuhgr.e 𝐸 = (iEdg‘𝐺)
Assertion
Ref Expression
isushgr (𝐺𝑈 → (𝐺 ∈ USHGraph ↔ 𝐸:dom 𝐸1-1→(𝒫 𝑉 ∖ {∅})))

Proof of Theorem isushgr
Dummy variables 𝑔 𝑣 𝑒 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ushgr 27418 . . 3 USHGraph = {𝑔[(Vtx‘𝑔) / 𝑣][(iEdg‘𝑔) / 𝑒]𝑒:dom 𝑒1-1→(𝒫 𝑣 ∖ {∅})}
21eleq2i 2830 . 2 (𝐺 ∈ USHGraph ↔ 𝐺 ∈ {𝑔[(Vtx‘𝑔) / 𝑣][(iEdg‘𝑔) / 𝑒]𝑒:dom 𝑒1-1→(𝒫 𝑣 ∖ {∅})})
3 fveq2 6768 . . . . 5 ( = 𝐺 → (iEdg‘) = (iEdg‘𝐺))
4 isuhgr.e . . . . 5 𝐸 = (iEdg‘𝐺)
53, 4eqtr4di 2796 . . . 4 ( = 𝐺 → (iEdg‘) = 𝐸)
63dmeqd 5809 . . . . 5 ( = 𝐺 → dom (iEdg‘) = dom (iEdg‘𝐺))
74eqcomi 2747 . . . . . 6 (iEdg‘𝐺) = 𝐸
87dmeqi 5808 . . . . 5 dom (iEdg‘𝐺) = dom 𝐸
96, 8eqtrdi 2794 . . . 4 ( = 𝐺 → dom (iEdg‘) = dom 𝐸)
10 fveq2 6768 . . . . . . 7 ( = 𝐺 → (Vtx‘) = (Vtx‘𝐺))
11 isuhgr.v . . . . . . 7 𝑉 = (Vtx‘𝐺)
1210, 11eqtr4di 2796 . . . . . 6 ( = 𝐺 → (Vtx‘) = 𝑉)
1312pweqd 4554 . . . . 5 ( = 𝐺 → 𝒫 (Vtx‘) = 𝒫 𝑉)
1413difeq1d 4057 . . . 4 ( = 𝐺 → (𝒫 (Vtx‘) ∖ {∅}) = (𝒫 𝑉 ∖ {∅}))
155, 9, 14f1eq123d 6702 . . 3 ( = 𝐺 → ((iEdg‘):dom (iEdg‘)–1-1→(𝒫 (Vtx‘) ∖ {∅}) ↔ 𝐸:dom 𝐸1-1→(𝒫 𝑉 ∖ {∅})))
16 fvexd 6783 . . . . 5 (𝑔 = → (Vtx‘𝑔) ∈ V)
17 fveq2 6768 . . . . 5 (𝑔 = → (Vtx‘𝑔) = (Vtx‘))
18 fvexd 6783 . . . . . 6 ((𝑔 = 𝑣 = (Vtx‘)) → (iEdg‘𝑔) ∈ V)
19 fveq2 6768 . . . . . . 7 (𝑔 = → (iEdg‘𝑔) = (iEdg‘))
2019adantr 481 . . . . . 6 ((𝑔 = 𝑣 = (Vtx‘)) → (iEdg‘𝑔) = (iEdg‘))
21 simpr 485 . . . . . . 7 (((𝑔 = 𝑣 = (Vtx‘)) ∧ 𝑒 = (iEdg‘)) → 𝑒 = (iEdg‘))
2221dmeqd 5809 . . . . . . 7 (((𝑔 = 𝑣 = (Vtx‘)) ∧ 𝑒 = (iEdg‘)) → dom 𝑒 = dom (iEdg‘))
23 simpr 485 . . . . . . . . . 10 ((𝑔 = 𝑣 = (Vtx‘)) → 𝑣 = (Vtx‘))
2423pweqd 4554 . . . . . . . . 9 ((𝑔 = 𝑣 = (Vtx‘)) → 𝒫 𝑣 = 𝒫 (Vtx‘))
2524difeq1d 4057 . . . . . . . 8 ((𝑔 = 𝑣 = (Vtx‘)) → (𝒫 𝑣 ∖ {∅}) = (𝒫 (Vtx‘) ∖ {∅}))
2625adantr 481 . . . . . . 7 (((𝑔 = 𝑣 = (Vtx‘)) ∧ 𝑒 = (iEdg‘)) → (𝒫 𝑣 ∖ {∅}) = (𝒫 (Vtx‘) ∖ {∅}))
2721, 22, 26f1eq123d 6702 . . . . . 6 (((𝑔 = 𝑣 = (Vtx‘)) ∧ 𝑒 = (iEdg‘)) → (𝑒:dom 𝑒1-1→(𝒫 𝑣 ∖ {∅}) ↔ (iEdg‘):dom (iEdg‘)–1-1→(𝒫 (Vtx‘) ∖ {∅})))
2818, 20, 27sbcied2 3764 . . . . 5 ((𝑔 = 𝑣 = (Vtx‘)) → ([(iEdg‘𝑔) / 𝑒]𝑒:dom 𝑒1-1→(𝒫 𝑣 ∖ {∅}) ↔ (iEdg‘):dom (iEdg‘)–1-1→(𝒫 (Vtx‘) ∖ {∅})))
2916, 17, 28sbcied2 3764 . . . 4 (𝑔 = → ([(Vtx‘𝑔) / 𝑣][(iEdg‘𝑔) / 𝑒]𝑒:dom 𝑒1-1→(𝒫 𝑣 ∖ {∅}) ↔ (iEdg‘):dom (iEdg‘)–1-1→(𝒫 (Vtx‘) ∖ {∅})))
3029cbvabv 2811 . . 3 {𝑔[(Vtx‘𝑔) / 𝑣][(iEdg‘𝑔) / 𝑒]𝑒:dom 𝑒1-1→(𝒫 𝑣 ∖ {∅})} = { ∣ (iEdg‘):dom (iEdg‘)–1-1→(𝒫 (Vtx‘) ∖ {∅})}
3115, 30elab2g 3612 . 2 (𝐺𝑈 → (𝐺 ∈ {𝑔[(Vtx‘𝑔) / 𝑣][(iEdg‘𝑔) / 𝑒]𝑒:dom 𝑒1-1→(𝒫 𝑣 ∖ {∅})} ↔ 𝐸:dom 𝐸1-1→(𝒫 𝑉 ∖ {∅})))
322, 31syl5bb 283 1 (𝐺𝑈 → (𝐺 ∈ USHGraph ↔ 𝐸:dom 𝐸1-1→(𝒫 𝑉 ∖ {∅})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  {cab 2715  Vcvv 3431  [wsbc 3717  cdif 3885  c0 4258  𝒫 cpw 4535  {csn 4563  dom cdm 5586  1-1wf1 6425  cfv 6428  Vtxcvtx 27355  iEdgciedg 27356  USHGraphcushgr 27416
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3433  df-sbc 3718  df-dif 3891  df-un 3893  df-in 3895  df-ss 3905  df-nul 4259  df-if 4462  df-pw 4537  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4842  df-br 5076  df-opab 5138  df-rel 5593  df-cnv 5594  df-co 5595  df-dm 5596  df-rn 5597  df-iota 6386  df-fun 6430  df-fn 6431  df-f 6432  df-f1 6433  df-fv 6436  df-ushgr 27418
This theorem is referenced by:  ushgrf  27422  uspgrushgr  27534
  Copyright terms: Public domain W3C validator