| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifpsnprss | Structured version Visualization version GIF version | ||
| Description: Lemma for wlkvtxeledg 29954: Two adjacent (not necessarily different) vertices 𝐴 and 𝐵 in a walk are incident with an edge 𝐸. (Contributed by AV, 4-Apr-2021.) (Revised by AV, 5-Nov-2021.) |
| Ref | Expression |
|---|---|
| ifpsnprss | ⊢ (if-(𝐴 = 𝐵, 𝐸 = {𝐴}, {𝐴, 𝐵} ⊆ 𝐸) → {𝐴, 𝐵} ⊆ 𝐸) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ssidd 3961 | . . 3 ⊢ ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴} ⊆ {𝐴}) | |
| 2 | preq2 4701 | . . . . . 6 ⊢ (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴, 𝐴}) | |
| 3 | dfsn2 4603 | . . . . . 6 ⊢ {𝐴} = {𝐴, 𝐴} | |
| 4 | 2, 3 | eqtr4di 2816 | . . . . 5 ⊢ (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴}) |
| 5 | 4 | eqcoms 2771 | . . . 4 ⊢ (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴}) |
| 6 | 5 | adantr 485 | . . 3 ⊢ ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴, 𝐵} = {𝐴}) |
| 7 | simpr 489 | . . 3 ⊢ ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → 𝐸 = {𝐴}) | |
| 8 | 1, 6, 7 | 3sstr4d 3993 | . 2 ⊢ ((𝐴 = 𝐵 ∧ 𝐸 = {𝐴}) → {𝐴, 𝐵} ⊆ 𝐸) |
| 9 | 8 | 1fpid3 1098 | 1 ⊢ (if-(𝐴 = 𝐵, 𝐸 = {𝐴}, {𝐴, 𝐵} ⊆ 𝐸) → {𝐴, 𝐵} ⊆ 𝐸) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 400 if-wif 1078 = wceq 1570 ⊆ wss 3906 {csn 4590 {cpr 4592 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-ext 2735 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-ifp 1079 df-tru 1573 df-ex 1810 df-sb 2097 df-clab 2742 df-cleq 2755 df-clel 2838 df-v 3457 df-un 3911 df-ss 3923 df-sn 4591 df-pr 4593 |
| This theorem is referenced by: wlkvtxeledg 29954 |
| Copyright terms: Public domain | W3C validator |