| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > 0pth | Structured version Visualization version GIF version | ||
| Description: A pair of an empty set (of edges) and a second set (of vertices) is a path iff the second set contains exactly one vertex. (Contributed by Alexander van der Vekens, 30-Oct-2017.) (Revised by AV, 19-Jan-2021.) (Revised by AV, 30-Oct-2021.) |
| Ref | Expression |
|---|---|
| 0pth.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| Ref | Expression |
|---|---|
| 0pth | ⊢ (𝐺 ∈ 𝑊 → (∅(Paths‘𝐺)𝑃 ↔ 𝑃:(0...0)⟶𝑉)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ispth 30040 | . . 3 ⊢ (∅(Paths‘𝐺)𝑃 ↔ (∅(Trails‘𝐺)𝑃 ∧ Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅)) | |
| 2 | 1 | a1i 11 | . 2 ⊢ (𝐺 ∈ 𝑊 → (∅(Paths‘𝐺)𝑃 ↔ (∅(Trails‘𝐺)𝑃 ∧ Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅))) |
| 3 | 3anass 1109 | . . . 4 ⊢ ((∅(Trails‘𝐺)𝑃 ∧ Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅) ↔ (∅(Trails‘𝐺)𝑃 ∧ (Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅))) | |
| 4 | 3 | a1i 11 | . . 3 ⊢ (𝐺 ∈ 𝑊 → ((∅(Trails‘𝐺)𝑃 ∧ Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅) ↔ (∅(Trails‘𝐺)𝑃 ∧ (Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅)))) |
| 5 | funcnv0 6606 | . . . . . 6 ⊢ Fun ◡∅ | |
| 6 | hash0 14406 | . . . . . . . . . . . 12 ⊢ (♯‘∅) = 0 | |
| 7 | 0le1 11740 | . . . . . . . . . . . 12 ⊢ 0 ≤ 1 | |
| 8 | 6, 7 | eqbrtri 5137 | . . . . . . . . . . 11 ⊢ (♯‘∅) ≤ 1 |
| 9 | 1z 12627 | . . . . . . . . . . . 12 ⊢ 1 ∈ ℤ | |
| 10 | 0z 12605 | . . . . . . . . . . . . 13 ⊢ 0 ∈ ℤ | |
| 11 | 6, 10 | eqeltri 2866 | . . . . . . . . . . . 12 ⊢ (♯‘∅) ∈ ℤ |
| 12 | fzon 13712 | . . . . . . . . . . . 12 ⊢ ((1 ∈ ℤ ∧ (♯‘∅) ∈ ℤ) → ((♯‘∅) ≤ 1 ↔ (1..^(♯‘∅)) = ∅)) | |
| 13 | 9, 11, 12 | mp2an 704 | . . . . . . . . . . 11 ⊢ ((♯‘∅) ≤ 1 ↔ (1..^(♯‘∅)) = ∅) |
| 14 | 8, 13 | mpbi 233 | . . . . . . . . . 10 ⊢ (1..^(♯‘∅)) = ∅ |
| 15 | 14 | reseq2i 5979 | . . . . . . . . 9 ⊢ (𝑃 ↾ (1..^(♯‘∅))) = (𝑃 ↾ ∅) |
| 16 | res0 5986 | . . . . . . . . 9 ⊢ (𝑃 ↾ ∅) = ∅ | |
| 17 | 15, 16 | eqtri 2793 | . . . . . . . 8 ⊢ (𝑃 ↾ (1..^(♯‘∅))) = ∅ |
| 18 | 17 | cnveqi 5864 | . . . . . . 7 ⊢ ◡(𝑃 ↾ (1..^(♯‘∅))) = ◡∅ |
| 19 | 18 | funeqi 6561 | . . . . . 6 ⊢ (Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ↔ Fun ◡∅) |
| 20 | 5, 19 | mpbir 234 | . . . . 5 ⊢ Fun ◡(𝑃 ↾ (1..^(♯‘∅))) |
| 21 | 14 | imaeq2i 6064 | . . . . . . . 8 ⊢ (𝑃 “ (1..^(♯‘∅))) = (𝑃 “ ∅) |
| 22 | ima0 6083 | . . . . . . . 8 ⊢ (𝑃 “ ∅) = ∅ | |
| 23 | 21, 22 | eqtri 2793 | . . . . . . 7 ⊢ (𝑃 “ (1..^(♯‘∅))) = ∅ |
| 24 | 23 | ineq2i 4178 | . . . . . 6 ⊢ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ((𝑃 “ {0, (♯‘∅)}) ∩ ∅) |
| 25 | in0 4359 | . . . . . 6 ⊢ ((𝑃 “ {0, (♯‘∅)}) ∩ ∅) = ∅ | |
| 26 | 24, 25 | eqtri 2793 | . . . . 5 ⊢ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅ |
| 27 | 20, 26 | pm3.2i 475 | . . . 4 ⊢ (Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅) |
| 28 | 27 | biantru 538 | . . 3 ⊢ (∅(Trails‘𝐺)𝑃 ↔ (∅(Trails‘𝐺)𝑃 ∧ (Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅))) |
| 29 | 4, 28 | bitr4di 292 | . 2 ⊢ (𝐺 ∈ 𝑊 → ((∅(Trails‘𝐺)𝑃 ∧ Fun ◡(𝑃 ↾ (1..^(♯‘∅))) ∧ ((𝑃 “ {0, (♯‘∅)}) ∩ (𝑃 “ (1..^(♯‘∅)))) = ∅) ↔ ∅(Trails‘𝐺)𝑃)) |
| 30 | 0pth.v | . . 3 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 31 | 30 | 0trl 30443 | . 2 ⊢ (𝐺 ∈ 𝑊 → (∅(Trails‘𝐺)𝑃 ↔ 𝑃:(0...0)⟶𝑉)) |
| 32 | 2, 29, 31 | 3bitrd 308 | 1 ⊢ (𝐺 ∈ 𝑊 → (∅(Paths‘𝐺)𝑃 ↔ 𝑃:(0...0)⟶𝑉)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 209 ∧ wa 400 ∧ w3a 1101 = wceq 1568 ∈ wcel 2150 ∩ cin 3912 ∅c0 4294 {cpr 4596 class class class wbr 5114 ◡ccnv 5664 ↾ cres 5667 “ cima 5668 Fun wfun 6534 ⟶wf 6536 ‘cfv 6540 (class class class)co 7414 0cc0 11103 1c1 11104 ≤ cle 11247 ℤcz 12594 ...cfz 13538 ..^cfzo 13685 ♯chash 14369 Vtxcvtx 29316 Trailsctrls 30008 Pathscpths 30029 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1823 ax-4 1837 ax-5 1938 ax-6 1995 ax-7 2036 ax-8 2152 ax-9 2160 ax-10 2183 ax-11 2199 ax-12 2220 ax-ext 2742 ax-rep 5243 ax-sep 5262 ax-nul 5274 ax-pow 5340 ax-pr 5408 ax-un 7736 ax-cnex 11159 ax-resscn 11160 ax-1cn 11161 ax-icn 11162 ax-addcl 11163 ax-addrcl 11164 ax-mulcl 11165 ax-mulrcl 11166 ax-mulcom 11167 ax-addass 11168 ax-mulass 11169 ax-distr 11170 ax-i2m1 11171 ax-1ne0 11172 ax-1rid 11173 ax-rnegex 11174 ax-rrecex 11175 ax-cnre 11176 ax-pre-lttri 11177 ax-pre-lttrn 11178 ax-pre-ltadd 11179 ax-pre-mulgt0 11180 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-ifp 1077 df-3or 1102 df-3an 1103 df-tru 1571 df-fal 1581 df-ex 1808 df-nf 1812 df-sb 2099 df-mo 2574 df-eu 2604 df-clab 2749 df-cleq 2762 df-clel 2845 df-nfc 2919 df-ne 2966 df-nel 3072 df-ral 3087 df-rex 3097 df-reu 3377 df-rab 3424 df-v 3464 df-sbc 3753 df-csb 3862 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-pss 3933 df-nul 4295 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-int 4918 df-iun 4963 df-br 5115 df-opab 5179 df-mpt 5198 df-tr 5224 df-id 5560 df-eprel 5565 df-po 5573 df-so 5574 df-fr 5618 df-we 5620 df-xp 5671 df-rel 5672 df-cnv 5673 df-co 5674 df-dm 5675 df-rn 5676 df-res 5677 df-ima 5678 df-pred 6306 df-ord 6367 df-on 6368 df-lim 6369 df-suc 6370 df-iota 6496 df-fun 6542 df-fn 6543 df-f 6544 df-f1 6545 df-fo 6546 df-f1o 6547 df-fv 6548 df-riota 7371 df-ov 7417 df-oprab 7418 df-mpo 7419 df-om 7866 df-1st 7989 df-2nd 7990 df-frecs 8281 df-wrecs 8312 df-recs 8361 df-rdg 8400 df-1o 8456 df-er 8697 df-map 8829 df-pm 8830 df-en 8947 df-dom 8948 df-sdom 8949 df-fin 8950 df-card 9928 df-pnf 11248 df-mnf 11249 df-xr 11250 df-ltxr 11251 df-le 11252 df-sub 11446 df-neg 11447 df-nn 12237 df-n0 12508 df-z 12595 df-uz 12866 df-fz 13539 df-fzo 13686 df-hash 14370 df-word 14554 df-wlks 29919 df-trls 30010 df-pths 30033 |
| This theorem is referenced by: 0pthon 30448 0cycl 30455 |
| Copyright terms: Public domain | W3C validator |