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

Theorem uhgreq12g 26844
Description: If two sets have the same vertices and the same edges, one set is a hypergraph iff the other set is a hypergraph. (Contributed by Alexander van der Vekens, 26-Dec-2017.) (Revised by AV, 18-Jan-2020.)
Hypotheses
Ref Expression
uhgrf.v 𝑉 = (Vtx‘𝐺)
uhgrf.e 𝐸 = (iEdg‘𝐺)
uhgreq12g.w 𝑊 = (Vtx‘𝐻)
uhgreq12g.f 𝐹 = (iEdg‘𝐻)
Assertion
Ref Expression
uhgreq12g (((𝐺𝑋𝐻𝑌) ∧ (𝑉 = 𝑊𝐸 = 𝐹)) → (𝐺 ∈ UHGraph ↔ 𝐻 ∈ UHGraph))

Proof of Theorem uhgreq12g
StepHypRef Expression
1 uhgrf.v . . . . 5 𝑉 = (Vtx‘𝐺)
2 uhgrf.e . . . . 5 𝐸 = (iEdg‘𝐺)
31, 2isuhgr 26839 . . . 4 (𝐺𝑋 → (𝐺 ∈ UHGraph ↔ 𝐸:dom 𝐸⟶(𝒫 𝑉 ∖ {∅})))
43adantr 483 . . 3 ((𝐺𝑋𝐻𝑌) → (𝐺 ∈ UHGraph ↔ 𝐸:dom 𝐸⟶(𝒫 𝑉 ∖ {∅})))
54adantr 483 . 2 (((𝐺𝑋𝐻𝑌) ∧ (𝑉 = 𝑊𝐸 = 𝐹)) → (𝐺 ∈ UHGraph ↔ 𝐸:dom 𝐸⟶(𝒫 𝑉 ∖ {∅})))
6 simpr 487 . . . 4 ((𝑉 = 𝑊𝐸 = 𝐹) → 𝐸 = 𝐹)
76dmeqd 5768 . . . 4 ((𝑉 = 𝑊𝐸 = 𝐹) → dom 𝐸 = dom 𝐹)
8 pweq 4541 . . . . . 6 (𝑉 = 𝑊 → 𝒫 𝑉 = 𝒫 𝑊)
98difeq1d 4097 . . . . 5 (𝑉 = 𝑊 → (𝒫 𝑉 ∖ {∅}) = (𝒫 𝑊 ∖ {∅}))
109adantr 483 . . . 4 ((𝑉 = 𝑊𝐸 = 𝐹) → (𝒫 𝑉 ∖ {∅}) = (𝒫 𝑊 ∖ {∅}))
116, 7, 10feq123d 6497 . . 3 ((𝑉 = 𝑊𝐸 = 𝐹) → (𝐸:dom 𝐸⟶(𝒫 𝑉 ∖ {∅}) ↔ 𝐹:dom 𝐹⟶(𝒫 𝑊 ∖ {∅})))
12 uhgreq12g.w . . . . . 6 𝑊 = (Vtx‘𝐻)
13 uhgreq12g.f . . . . . 6 𝐹 = (iEdg‘𝐻)
1412, 13isuhgr 26839 . . . . 5 (𝐻𝑌 → (𝐻 ∈ UHGraph ↔ 𝐹:dom 𝐹⟶(𝒫 𝑊 ∖ {∅})))
1514adantl 484 . . . 4 ((𝐺𝑋𝐻𝑌) → (𝐻 ∈ UHGraph ↔ 𝐹:dom 𝐹⟶(𝒫 𝑊 ∖ {∅})))
1615bicomd 225 . . 3 ((𝐺𝑋𝐻𝑌) → (𝐹:dom 𝐹⟶(𝒫 𝑊 ∖ {∅}) ↔ 𝐻 ∈ UHGraph))
1711, 16sylan9bbr 513 . 2 (((𝐺𝑋𝐻𝑌) ∧ (𝑉 = 𝑊𝐸 = 𝐹)) → (𝐸:dom 𝐸⟶(𝒫 𝑉 ∖ {∅}) ↔ 𝐻 ∈ UHGraph))
185, 17bitrd 281 1 (((𝐺𝑋𝐻𝑌) ∧ (𝑉 = 𝑊𝐸 = 𝐹)) → (𝐺 ∈ UHGraph ↔ 𝐻 ∈ UHGraph))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  cdif 3932  c0 4290  𝒫 cpw 4538  {csn 4560  dom cdm 5549  wf 6345  cfv 6349  Vtxcvtx 26775  iEdgciedg 26776  UHGraphcuhgr 26835
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-nul 5202
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-fv 6357  df-uhgr 26837
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator