| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > usgrexi | Structured version Visualization version GIF version | ||
| Description: An arbitrary set regarded as vertices together with the set of pairs of elements of this set regarded as edges is a simple graph. (Contributed by Alexander van der Vekens, 12-Jan-2018.) (Revised by AV, 5-Nov-2020.) (Proof shortened by AV, 10-Nov-2021.) |
| Ref | Expression |
|---|---|
| usgrexi.p | ⊢ 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2} |
| Ref | Expression |
|---|---|
| usgrexi | ⊢ (𝑉 ∈ 𝑊 → 〈𝑉, ( I ↾ 𝑃)〉 ∈ USGraph) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | usgrexi.p | . . . 4 ⊢ 𝑃 = {𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2} | |
| 2 | 1 | usgrexilem 29462 | . . 3 ⊢ (𝑉 ∈ 𝑊 → ( I ↾ 𝑃):dom ( I ↾ 𝑃)–1-1→{𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2}) |
| 3 | 1 | cusgrexilem1 29461 | . . . . 5 ⊢ (𝑉 ∈ 𝑊 → ( I ↾ 𝑃) ∈ V) |
| 4 | opiedgfv 29029 | . . . . 5 ⊢ ((𝑉 ∈ 𝑊 ∧ ( I ↾ 𝑃) ∈ V) → (iEdg‘〈𝑉, ( I ↾ 𝑃)〉) = ( I ↾ 𝑃)) | |
| 5 | 3, 4 | mpdan 687 | . . . 4 ⊢ (𝑉 ∈ 𝑊 → (iEdg‘〈𝑉, ( I ↾ 𝑃)〉) = ( I ↾ 𝑃)) |
| 6 | 5 | dmeqd 5852 | . . . 4 ⊢ (𝑉 ∈ 𝑊 → dom (iEdg‘〈𝑉, ( I ↾ 𝑃)〉) = dom ( I ↾ 𝑃)) |
| 7 | opvtxfv 29026 | . . . . . . 7 ⊢ ((𝑉 ∈ 𝑊 ∧ ( I ↾ 𝑃) ∈ V) → (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) = 𝑉) | |
| 8 | 3, 7 | mpdan 687 | . . . . . 6 ⊢ (𝑉 ∈ 𝑊 → (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) = 𝑉) |
| 9 | 8 | pweqd 4569 | . . . . 5 ⊢ (𝑉 ∈ 𝑊 → 𝒫 (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) = 𝒫 𝑉) |
| 10 | 9 | rabeqdv 3412 | . . . 4 ⊢ (𝑉 ∈ 𝑊 → {𝑥 ∈ 𝒫 (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) ∣ (♯‘𝑥) = 2} = {𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2}) |
| 11 | 5, 6, 10 | f1eq123d 6764 | . . 3 ⊢ (𝑉 ∈ 𝑊 → ((iEdg‘〈𝑉, ( I ↾ 𝑃)〉):dom (iEdg‘〈𝑉, ( I ↾ 𝑃)〉)–1-1→{𝑥 ∈ 𝒫 (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) ∣ (♯‘𝑥) = 2} ↔ ( I ↾ 𝑃):dom ( I ↾ 𝑃)–1-1→{𝑥 ∈ 𝒫 𝑉 ∣ (♯‘𝑥) = 2})) |
| 12 | 2, 11 | mpbird 257 | . 2 ⊢ (𝑉 ∈ 𝑊 → (iEdg‘〈𝑉, ( I ↾ 𝑃)〉):dom (iEdg‘〈𝑉, ( I ↾ 𝑃)〉)–1-1→{𝑥 ∈ 𝒫 (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) ∣ (♯‘𝑥) = 2}) |
| 13 | opex 5410 | . . 3 ⊢ 〈𝑉, ( I ↾ 𝑃)〉 ∈ V | |
| 14 | eqid 2734 | . . . 4 ⊢ (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) = (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) | |
| 15 | eqid 2734 | . . . 4 ⊢ (iEdg‘〈𝑉, ( I ↾ 𝑃)〉) = (iEdg‘〈𝑉, ( I ↾ 𝑃)〉) | |
| 16 | 14, 15 | isusgrs 29178 | . . 3 ⊢ (〈𝑉, ( I ↾ 𝑃)〉 ∈ V → (〈𝑉, ( I ↾ 𝑃)〉 ∈ USGraph ↔ (iEdg‘〈𝑉, ( I ↾ 𝑃)〉):dom (iEdg‘〈𝑉, ( I ↾ 𝑃)〉)–1-1→{𝑥 ∈ 𝒫 (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) ∣ (♯‘𝑥) = 2})) |
| 17 | 13, 16 | mp1i 13 | . 2 ⊢ (𝑉 ∈ 𝑊 → (〈𝑉, ( I ↾ 𝑃)〉 ∈ USGraph ↔ (iEdg‘〈𝑉, ( I ↾ 𝑃)〉):dom (iEdg‘〈𝑉, ( I ↾ 𝑃)〉)–1-1→{𝑥 ∈ 𝒫 (Vtx‘〈𝑉, ( I ↾ 𝑃)〉) ∣ (♯‘𝑥) = 2})) |
| 18 | 12, 17 | mpbird 257 | 1 ⊢ (𝑉 ∈ 𝑊 → 〈𝑉, ( I ↾ 𝑃)〉 ∈ USGraph) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 206 = wceq 1541 ∈ wcel 2113 {crab 3397 Vcvv 3438 𝒫 cpw 4552 〈cop 4584 I cid 5516 dom cdm 5622 ↾ cres 5624 –1-1→wf1 6487 ‘cfv 6490 2c2 12198 ♯chash 14251 Vtxcvtx 29018 iEdgciedg 29019 USGraphcusgr 29171 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-11 2162 ax-12 2182 ax-ext 2706 ax-sep 5239 ax-nul 5249 ax-pow 5308 ax-pr 5375 ax-un 7678 ax-cnex 11080 ax-resscn 11081 ax-1cn 11082 ax-icn 11083 ax-addcl 11084 ax-addrcl 11085 ax-mulcl 11086 ax-mulrcl 11087 ax-mulcom 11088 ax-addass 11089 ax-mulass 11090 ax-distr 11091 ax-i2m1 11092 ax-1ne0 11093 ax-1rid 11094 ax-rnegex 11095 ax-rrecex 11096 ax-cnre 11097 ax-pre-lttri 11098 ax-pre-lttrn 11099 ax-pre-ltadd 11100 ax-pre-mulgt0 11101 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2537 df-eu 2567 df-clab 2713 df-cleq 2726 df-clel 2809 df-nfc 2883 df-ne 2931 df-nel 3035 df-ral 3050 df-rex 3059 df-reu 3349 df-rab 3398 df-v 3440 df-sbc 3739 df-csb 3848 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-pss 3919 df-nul 4284 df-if 4478 df-pw 4554 df-sn 4579 df-pr 4581 df-op 4585 df-uni 4862 df-int 4901 df-iun 4946 df-br 5097 df-opab 5159 df-mpt 5178 df-tr 5204 df-id 5517 df-eprel 5522 df-po 5530 df-so 5531 df-fr 5575 df-we 5577 df-xp 5628 df-rel 5629 df-cnv 5630 df-co 5631 df-dm 5632 df-rn 5633 df-res 5634 df-ima 5635 df-pred 6257 df-ord 6318 df-on 6319 df-lim 6320 df-suc 6321 df-iota 6446 df-fun 6492 df-fn 6493 df-f 6494 df-f1 6495 df-fo 6496 df-f1o 6497 df-fv 6498 df-riota 7313 df-ov 7359 df-oprab 7360 df-mpo 7361 df-om 7807 df-1st 7931 df-2nd 7932 df-frecs 8221 df-wrecs 8252 df-recs 8301 df-rdg 8339 df-1o 8395 df-er 8633 df-en 8882 df-dom 8883 df-sdom 8884 df-fin 8885 df-card 9849 df-pnf 11166 df-mnf 11167 df-xr 11168 df-ltxr 11169 df-le 11170 df-sub 11364 df-neg 11365 df-nn 12144 df-2 12206 df-n0 12400 df-z 12487 df-uz 12750 df-fz 13422 df-hash 14252 df-vtx 29020 df-iedg 29021 df-usgr 29173 |
| This theorem is referenced by: cusgrexi 29465 |
| Copyright terms: Public domain | W3C validator |