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

Theorem konigsberglem1 27432
Description: Lemma 1 for konigsberg 27437: Vertex 0 has degree three. (Contributed by Mario Carneiro, 11-Mar-2015.) (Revised by Mario Carneiro, 28-Feb-2016.) (Revised by AV, 4-Mar-2021.)
Hypotheses
Ref Expression
konigsberg.v 𝑉 = (0...3)
konigsberg.e 𝐸 = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
konigsberg.g 𝐺 = ⟨𝑉, 𝐸
Assertion
Ref Expression
konigsberglem1 ((VtxDeg‘𝐺)‘0) = 3

Proof of Theorem konigsberglem1
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ovex 6823 . . . 4 (0...3) ∈ V
2 s6cli 13838 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V
32elexi 3365 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ V
41, 3opvtxfvi 26110 . . 3 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (0...3)
54eqcomi 2780 . 2 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)
6 3nn0 11512 . . 3 3 ∈ ℕ0
7 0elfz 12644 . . 3 (3 ∈ ℕ0 → 0 ∈ (0...3))
86, 7ax-mp 5 . 2 0 ∈ (0...3)
91, 3opiedgfvi 26111 . . 3 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩
109eqcomi 2780 . 2 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)
11 s1cli 13585 . . 3 ⟨“{2, 3}”⟩ ∈ Word V
12 df-s7 13807 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ++ ⟨“{2, 3}”⟩)
13 eqid 2771 . . . 4 (0...3) = (0...3)
14 eqid 2771 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
15 eqid 2771 . . . 4 ⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩⟩ = ⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩⟩
1613, 14, 15konigsbergssiedgw 27430 . . 3 ((⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V ∧ ⟨“{2, 3}”⟩ ∈ Word V ∧ ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ++ ⟨“{2, 3}”⟩)) → ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
172, 11, 12, 16mp3an 1572 . 2 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
18 s5cli 13837 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V
1918elexi 3365 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ V
201, 19opvtxfvi 26110 . . . 4 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (0...3)
2120eqcomi 2780 . . 3 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
221, 19opiedgfvi 26111 . . . 4 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩
2322eqcomi 2780 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
24 s2cli 13834 . . . 4 ⟨“{2, 3} {2, 3}”⟩ ∈ Word V
25 s5s2 13889 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ++ ⟨“{2, 3} {2, 3}”⟩)
2613, 14, 15konigsbergssiedgw 27430 . . . 4 ((⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V ∧ ⟨“{2, 3} {2, 3}”⟩ ∈ Word V ∧ ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ++ ⟨“{2, 3} {2, 3}”⟩)) → ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
2718, 24, 25, 26mp3an 1572 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
28 s4cli 13836 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V
2928elexi 3365 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ V
301, 29opvtxfvi 26110 . . . . 5 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (0...3)
3130eqcomi 2780 . . . 4 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
321, 29opiedgfvi 26111 . . . . 5 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩
3332eqcomi 2780 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
34 s3cli 13835 . . . . 5 ⟨“{1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
35 s4s3 13885 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2} {2, 3} {2, 3}”⟩)
3613, 14, 15konigsbergssiedgw 27430 . . . . 5 ((⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V ∧ ⟨“{1, 2} {2, 3} {2, 3}”⟩ ∈ Word V ∧ ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2} {2, 3} {2, 3}”⟩)) → ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
3728, 34, 35, 36mp3an 1572 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
38 s3cli 13835 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V
3938elexi 3365 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ V
401, 39opvtxfvi 26110 . . . . . 6 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (0...3)
4140eqcomi 2780 . . . . 5 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
421, 39opiedgfvi 26111 . . . . . 6 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3}”⟩
4342eqcomi 2780 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
44 s4cli 13836 . . . . . 6 ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
45 s3s4 13887 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩)
4613, 14, 15konigsbergssiedgw 27430 . . . . . 6 ((⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V ∧ ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V ∧ ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩)) → ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
4738, 44, 45, 46mp3an 1572 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
48 s2cli 13834 . . . . . . . . . 10 ⟨“{0, 1} {0, 2}”⟩ ∈ Word V
4948elexi 3365 . . . . . . . . 9 ⟨“{0, 1} {0, 2}”⟩ ∈ V
501, 49opvtxfvi 26110 . . . . . . . 8 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (0...3)
5150eqcomi 2780 . . . . . . 7 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
521, 49opiedgfvi 26111 . . . . . . . 8 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = ⟨“{0, 1} {0, 2}”⟩
5352eqcomi 2780 . . . . . . 7 ⟨“{0, 1} {0, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
54 s5cli 13837 . . . . . . . 8 ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
55 s2s5 13888 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩)
5613, 14, 15konigsbergssiedgw 27430 . . . . . . . 8 ((⟨“{0, 1} {0, 2}”⟩ ∈ Word V ∧ ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V ∧ ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩)) → ⟨“{0, 1} {0, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
5748, 54, 55, 56mp3an 1572 . . . . . . 7 ⟨“{0, 1} {0, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
58 s1cli 13585 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ ∈ Word V
5958elexi 3365 . . . . . . . . . . 11 ⟨“{0, 1}”⟩ ∈ V
601, 59opvtxfvi 26110 . . . . . . . . . 10 (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (0...3)
6160eqcomi 2780 . . . . . . . . 9 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
621, 59opiedgfvi 26111 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = ⟨“{0, 1}”⟩
6362eqcomi 2780 . . . . . . . . 9 ⟨“{0, 1}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
64 s6cli 13838 . . . . . . . . . 10 ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
65 s1s6 13881 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩)
6613, 14, 15konigsbergssiedgw 27430 . . . . . . . . . 10 ((⟨“{0, 1}”⟩ ∈ Word V ∧ ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V ∧ ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩)) → ⟨“{0, 1}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
6758, 64, 65, 66mp3an 1572 . . . . . . . . 9 ⟨“{0, 1}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
68 0ex 4924 . . . . . . . . . . . . 13 ∅ ∈ V
691, 68opvtxfvi 26110 . . . . . . . . . . . 12 (Vtx‘⟨(0...3), ∅⟩) = (0...3)
7069eqcomi 2780 . . . . . . . . . . 11 (0...3) = (Vtx‘⟨(0...3), ∅⟩)
711, 68opiedgfvi 26111 . . . . . . . . . . . 12 (iEdg‘⟨(0...3), ∅⟩) = ∅
7271eqcomi 2780 . . . . . . . . . . 11 ∅ = (iEdg‘⟨(0...3), ∅⟩)
73 wrd0 13526 . . . . . . . . . . 11 ∅ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
74 eqid 2771 . . . . . . . . . . . 12 ∅ = ∅
7570, 72vtxdg0e 26605 . . . . . . . . . . . 12 ((0 ∈ (0...3) ∧ ∅ = ∅) → ((VtxDeg‘⟨(0...3), ∅⟩)‘0) = 0)
768, 74, 75mp2an 672 . . . . . . . . . . 11 ((VtxDeg‘⟨(0...3), ∅⟩)‘0) = 0
77 1nn0 11510 . . . . . . . . . . . 12 1 ∈ ℕ0
78 1le3 11446 . . . . . . . . . . . 12 1 ≤ 3
79 elfz2nn0 12638 . . . . . . . . . . . 12 (1 ∈ (0...3) ↔ (1 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 1 ≤ 3))
8077, 6, 78, 79mpbir3an 1426 . . . . . . . . . . 11 1 ∈ (0...3)
81 ax-1ne0 10207 . . . . . . . . . . 11 1 ≠ 0
82 s0s1 13876 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ = (∅ ++ ⟨“{0, 1}”⟩)
8362, 82eqtri 2793 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (∅ ++ ⟨“{0, 1}”⟩)
8470, 8, 72, 73, 76, 60, 80, 81, 83vdegp1bi 26668 . . . . . . . . . 10 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘0) = (0 + 1)
85 0p1e1 11334 . . . . . . . . . 10 (0 + 1) = 1
8684, 85eqtri 2793 . . . . . . . . 9 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘0) = 1
87 2nn0 11511 . . . . . . . . . 10 2 ∈ ℕ0
88 2re 11292 . . . . . . . . . . 11 2 ∈ ℝ
89 3re 11296 . . . . . . . . . . 11 3 ∈ ℝ
90 2lt3 11397 . . . . . . . . . . 11 2 < 3
9188, 89, 90ltleii 10362 . . . . . . . . . 10 2 ≤ 3
92 elfz2nn0 12638 . . . . . . . . . 10 (2 ∈ (0...3) ↔ (2 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 2 ≤ 3))
9387, 6, 91, 92mpbir3an 1426 . . . . . . . . 9 2 ∈ (0...3)
94 2ne0 11315 . . . . . . . . 9 2 ≠ 0
95 df-s2 13802 . . . . . . . . . 10 ⟨“{0, 1} {0, 2}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
9652, 95eqtri 2793 . . . . . . . . 9 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
9761, 8, 63, 67, 86, 50, 93, 94, 96vdegp1bi 26668 . . . . . . . 8 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘0) = (1 + 1)
98 1p1e2 11336 . . . . . . . 8 (1 + 1) = 2
9997, 98eqtri 2793 . . . . . . 7 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘0) = 2
100 nn0fz0 12645 . . . . . . . 8 (3 ∈ ℕ0 ↔ 3 ∈ (0...3))
1016, 100mpbi 220 . . . . . . 7 3 ∈ (0...3)
102 3ne0 11317 . . . . . . 7 3 ≠ 0
103 df-s3 13803 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10442, 103eqtri 2793 . . . . . . 7 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10551, 8, 53, 57, 99, 40, 101, 102, 104vdegp1bi 26668 . . . . . 6 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘0) = (2 + 1)
106 2p1e3 11353 . . . . . 6 (2 + 1) = 3
107105, 106eqtri 2793 . . . . 5 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘0) = 3
108 df-s4 13804 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
10932, 108eqtri 2793 . . . . 5 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
11041, 8, 43, 47, 107, 30, 80, 81, 93, 94, 109vdegp1ai 26667 . . . 4 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘0) = 3
111 df-s5 13805 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11222, 111eqtri 2793 . . . 4 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11331, 8, 33, 37, 110, 20, 80, 81, 93, 94, 112vdegp1ai 26667 . . 3 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘0) = 3
114 df-s6 13806 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ++ ⟨“{2, 3}”⟩)
1159, 114eqtri 2793 . . 3 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ++ ⟨“{2, 3}”⟩)
11621, 8, 23, 27, 113, 4, 93, 94, 101, 102, 115vdegp1ai 26667 . 2 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)‘0) = 3
117 konigsberg.v . . 3 𝑉 = (0...3)
118 konigsberg.e . . 3 𝐸 = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
119 konigsberg.g . . 3 𝐺 = ⟨𝑉, 𝐸
120117, 118, 119konigsbergvtx 27426 . 2 (Vtx‘𝐺) = (0...3)
121117, 118, 119konigsbergiedg 27427 . . 3 (iEdg‘𝐺) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
122121, 12eqtri 2793 . 2 (iEdg‘𝐺) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ++ ⟨“{2, 3}”⟩)
1235, 8, 10, 17, 116, 120, 93, 94, 101, 102, 122vdegp1ai 26667 1 ((VtxDeg‘𝐺)‘0) = 3
Colors of variables: wff setvar class
Syntax hints:   = wceq 1631  wcel 2145  {crab 3065  Vcvv 3351  cdif 3720  c0 4063  𝒫 cpw 4297  {csn 4316  {cpr 4318  cop 4322   class class class wbr 4786  cfv 6031  (class class class)co 6793  0cc0 10138  1c1 10139   + caddc 10141  cle 10277  2c2 11272  3c3 11273  0cn0 11494  ...cfz 12533  chash 13321  Word cword 13487   ++ cconcat 13489  ⟨“cs1 13490  ⟨“cs2 13795  ⟨“cs3 13796  ⟨“cs4 13797  ⟨“cs5 13798  ⟨“cs6 13799  ⟨“cs7 13800  Vtxcvtx 26095  iEdgciedg 26096  VtxDegcvtxdg 26596
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4904  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7096  ax-cnex 10194  ax-resscn 10195  ax-1cn 10196  ax-icn 10197  ax-addcl 10198  ax-addrcl 10199  ax-mulcl 10200  ax-mulrcl 10201  ax-mulcom 10202  ax-addass 10203  ax-mulass 10204  ax-distr 10205  ax-i2m1 10206  ax-1ne0 10207  ax-1rid 10208  ax-rnegex 10209  ax-rrecex 10210  ax-cnre 10211  ax-pre-lttri 10212  ax-pre-lttrn 10213  ax-pre-ltadd 10214  ax-pre-mulgt0 10215
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4226  df-pw 4299  df-sn 4317  df-pr 4319  df-tp 4321  df-op 4323  df-uni 4575  df-int 4612  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-tr 4887  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-riota 6754  df-ov 6796  df-oprab 6797  df-mpt2 6798  df-om 7213  df-1st 7315  df-2nd 7316  df-wrecs 7559  df-recs 7621  df-rdg 7659  df-1o 7713  df-oadd 7717  df-er 7896  df-en 8110  df-dom 8111  df-sdom 8112  df-fin 8113  df-card 8965  df-cda 9192  df-pnf 10278  df-mnf 10279  df-xr 10280  df-ltxr 10281  df-le 10282  df-sub 10470  df-neg 10471  df-nn 11223  df-2 11281  df-3 11282  df-n0 11495  df-xnn0 11566  df-z 11580  df-uz 11889  df-xadd 12152  df-fz 12534  df-fzo 12674  df-hash 13322  df-word 13495  df-concat 13497  df-s1 13498  df-s2 13802  df-s3 13803  df-s4 13804  df-s5 13805  df-s6 13806  df-s7 13807  df-vtx 26097  df-iedg 26098  df-vtxdg 26597
This theorem is referenced by:  konigsberglem4  27435
  Copyright terms: Public domain W3C validator