| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > usgr1e | Structured version Visualization version GIF version | ||
| Description: A simple graph with one edge (with additional assumption that 𝐵 ≠ 𝐶 since otherwise the edge is a loop!). (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by AV, 18-Oct-2020.) |
| Ref | Expression |
|---|---|
| uspgr1e.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| uspgr1e.a | ⊢ (𝜑 → 𝐴 ∈ 𝑋) |
| uspgr1e.b | ⊢ (𝜑 → 𝐵 ∈ 𝑉) |
| uspgr1e.c | ⊢ (𝜑 → 𝐶 ∈ 𝑉) |
| uspgr1e.e | ⊢ (𝜑 → (iEdg‘𝐺) = {〈𝐴, {𝐵, 𝐶}〉}) |
| usgr1e.e | ⊢ (𝜑 → 𝐵 ≠ 𝐶) |
| Ref | Expression |
|---|---|
| usgr1e | ⊢ (𝜑 → 𝐺 ∈ USGraph) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | uspgr1e.v | . . 3 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 2 | uspgr1e.a | . . 3 ⊢ (𝜑 → 𝐴 ∈ 𝑋) | |
| 3 | uspgr1e.b | . . 3 ⊢ (𝜑 → 𝐵 ∈ 𝑉) | |
| 4 | uspgr1e.c | . . 3 ⊢ (𝜑 → 𝐶 ∈ 𝑉) | |
| 5 | uspgr1e.e | . . 3 ⊢ (𝜑 → (iEdg‘𝐺) = {〈𝐴, {𝐵, 𝐶}〉}) | |
| 6 | 1, 2, 3, 4, 5 | uspgr1e 29446 | . 2 ⊢ (𝜑 → 𝐺 ∈ USPGraph) |
| 7 | usgr1e.e | . . . . 5 ⊢ (𝜑 → 𝐵 ≠ 𝐶) | |
| 8 | hashprg 14409 | . . . . . 6 ⊢ ((𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → (𝐵 ≠ 𝐶 ↔ (♯‘{𝐵, 𝐶}) = 2)) | |
| 9 | 3, 4, 8 | syl2anc 593 | . . . . 5 ⊢ (𝜑 → (𝐵 ≠ 𝐶 ↔ (♯‘{𝐵, 𝐶}) = 2)) |
| 10 | 7, 9 | mpbid 234 | . . . 4 ⊢ (𝜑 → (♯‘{𝐵, 𝐶}) = 2) |
| 11 | prex 5396 | . . . . 5 ⊢ {𝐵, 𝐶} ∈ V | |
| 12 | fveqeq2 6877 | . . . . 5 ⊢ (𝑥 = {𝐵, 𝐶} → ((♯‘𝑥) = 2 ↔ (♯‘{𝐵, 𝐶}) = 2)) | |
| 13 | 11, 12 | ralsn 4641 | . . . 4 ⊢ (∀𝑥 ∈ {{𝐵, 𝐶}} (♯‘𝑥) = 2 ↔ (♯‘{𝐵, 𝐶}) = 2) |
| 14 | 10, 13 | sylibr 236 | . . 3 ⊢ (𝜑 → ∀𝑥 ∈ {{𝐵, 𝐶}} (♯‘𝑥) = 2) |
| 15 | edgval 29251 | . . . . 5 ⊢ (Edg‘𝐺) = ran (iEdg‘𝐺) | |
| 16 | 15 | a1i 11 | . . . 4 ⊢ (𝜑 → (Edg‘𝐺) = ran (iEdg‘𝐺)) |
| 17 | 5 | rneqd 5915 | . . . 4 ⊢ (𝜑 → ran (iEdg‘𝐺) = ran {〈𝐴, {𝐵, 𝐶}〉}) |
| 18 | rnsnopg 6209 | . . . . 5 ⊢ (𝐴 ∈ 𝑋 → ran {〈𝐴, {𝐵, 𝐶}〉} = {{𝐵, 𝐶}}) | |
| 19 | 2, 18 | syl 17 | . . . 4 ⊢ (𝜑 → ran {〈𝐴, {𝐵, 𝐶}〉} = {{𝐵, 𝐶}}) |
| 20 | 16, 17, 19 | 3eqtrd 2802 | . . 3 ⊢ (𝜑 → (Edg‘𝐺) = {{𝐵, 𝐶}}) |
| 21 | 14, 20 | raleqtrrdv 3325 | . 2 ⊢ (𝜑 → ∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) = 2) |
| 22 | usgruspgrb 29385 | . 2 ⊢ (𝐺 ∈ USGraph ↔ (𝐺 ∈ USPGraph ∧ ∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) = 2)) | |
| 23 | 6, 21, 22 | sylanbrc 592 | 1 ⊢ (𝜑 → 𝐺 ∈ USGraph) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 = wceq 1561 ∈ wcel 2143 ≠ wne 2958 ∀wral 3077 {csn 4583 {cpr 4585 〈cop 4589 ran crn 5649 ‘cfv 6522 2c2 12273 ♯chash 14344 Vtxcvtx 29198 iEdgciedg 29199 Edgcedg 29249 USPGraphcuspgr 29350 USGraphcusgr 29351 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1816 ax-4 1830 ax-5 1931 ax-6 1988 ax-7 2029 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-sep 5247 ax-nul 5257 ax-pow 5323 ax-pr 5391 ax-un 7719 ax-cnex 11130 ax-resscn 11131 ax-1cn 11132 ax-icn 11133 ax-addcl 11134 ax-addrcl 11135 ax-mulcl 11136 ax-mulrcl 11137 ax-mulcom 11138 ax-addass 11139 ax-mulass 11140 ax-distr 11141 ax-i2m1 11142 ax-1ne0 11143 ax-1rid 11144 ax-rnegex 11145 ax-rrecex 11146 ax-cnre 11147 ax-pre-lttri 11148 ax-pre-lttrn 11149 ax-pre-ltadd 11150 ax-pre-mulgt0 11151 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3or 1100 df-3an 1101 df-tru 1564 df-fal 1574 df-ex 1801 df-nf 1805 df-sb 2092 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-nel 3063 df-ral 3078 df-rex 3088 df-reu 3369 df-rab 3416 df-v 3457 df-sbc 3746 df-csb 3854 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-pss 3925 df-nul 4287 df-if 4482 df-pw 4558 df-sn 4584 df-pr 4586 df-op 4590 df-uni 4867 df-int 4907 df-iun 4952 df-br 5102 df-opab 5164 df-mpt 5183 df-tr 5209 df-id 5543 df-eprel 5548 df-po 5556 df-so 5557 df-fr 5601 df-we 5603 df-xp 5654 df-rel 5655 df-cnv 5656 df-co 5657 df-dm 5658 df-rn 5659 df-res 5660 df-ima 5661 df-pred 6289 df-ord 6350 df-on 6351 df-lim 6352 df-suc 6353 df-iota 6478 df-fun 6524 df-fn 6525 df-f 6526 df-f1 6527 df-fo 6528 df-f1o 6529 df-fv 6530 df-riota 7354 df-ov 7400 df-oprab 7401 df-mpo 7402 df-om 7848 df-1st 7971 df-2nd 7972 df-frecs 8263 df-wrecs 8294 df-recs 8343 df-rdg 8382 df-1o 8438 df-oadd 8442 df-er 8679 df-en 8929 df-dom 8930 df-sdom 8931 df-fin 8932 df-dju 9860 df-card 9898 df-pnf 11219 df-mnf 11220 df-xr 11221 df-ltxr 11222 df-le 11223 df-sub 11417 df-neg 11418 df-nn 12212 df-2 12281 df-n0 12483 df-xnn0 12556 df-z 12570 df-uz 12841 df-fz 13514 df-hash 14345 df-edg 29250 df-uspgr 29352 df-usgr 29353 |
| This theorem is referenced by: usgr1eop 29452 1egrvtxdg1 29711 1egrvtxdg0 29713 |
| Copyright terms: Public domain | W3C validator |