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

Theorem konigsberglem1 28041
Description: Lemma 1 for konigsberg 28046: 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 7172 . . . 4 (0...3) ∈ V
2 s6cli 14241 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V
32elexi 3463 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ V
41, 3opvtxfvi 26806 . . 3 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (0...3)
54eqcomi 2810 . 2 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)
6 3nn0 11907 . . 3 3 ∈ ℕ0
7 0elfz 13003 . . 3 (3 ∈ ℕ0 → 0 ∈ (0...3))
86, 7ax-mp 5 . 2 0 ∈ (0...3)
91, 3opiedgfvi 26807 . . 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 2810 . 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 13954 . . 3 ⟨“{2, 3}”⟩ ∈ Word V
12 df-s7 14210 . . 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 2801 . . . 4 (0...3) = (0...3)
14 eqid 2801 . . . 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 2801 . . . 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 28039 . . 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 1458 . 2 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
18 s5cli 14240 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V
1918elexi 3463 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ V
201, 19opvtxfvi 26806 . . . 4 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (0...3)
2120eqcomi 2810 . . 3 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
221, 19opiedgfvi 26807 . . . 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 2810 . . 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 14237 . . . 4 ⟨“{2, 3} {2, 3}”⟩ ∈ Word V
25 s5s2 14292 . . . 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 28039 . . . 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 1458 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
28 s4cli 14239 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V
2928elexi 3463 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ V
301, 29opvtxfvi 26806 . . . . 5 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (0...3)
3130eqcomi 2810 . . . 4 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
321, 29opiedgfvi 26807 . . . . 5 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩
3332eqcomi 2810 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
34 s3cli 14238 . . . . 5 ⟨“{1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
35 s4s3 14288 . . . . 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 28039 . . . . 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 1458 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
38 s3cli 14238 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V
3938elexi 3463 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ V
401, 39opvtxfvi 26806 . . . . . 6 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (0...3)
4140eqcomi 2810 . . . . 5 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
421, 39opiedgfvi 26807 . . . . . 6 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3}”⟩
4342eqcomi 2810 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
44 s4cli 14239 . . . . . 6 ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
45 s3s4 14290 . . . . . 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 28039 . . . . . 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 1458 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
48 s2cli 14237 . . . . . . . . . 10 ⟨“{0, 1} {0, 2}”⟩ ∈ Word V
4948elexi 3463 . . . . . . . . 9 ⟨“{0, 1} {0, 2}”⟩ ∈ V
501, 49opvtxfvi 26806 . . . . . . . 8 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (0...3)
5150eqcomi 2810 . . . . . . 7 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
521, 49opiedgfvi 26807 . . . . . . . 8 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = ⟨“{0, 1} {0, 2}”⟩
5352eqcomi 2810 . . . . . . 7 ⟨“{0, 1} {0, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
54 s5cli 14240 . . . . . . . 8 ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
55 s2s5 14291 . . . . . . . 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 28039 . . . . . . . 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 1458 . . . . . . 7 ⟨“{0, 1} {0, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
58 s1cli 13954 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ ∈ Word V
5958elexi 3463 . . . . . . . . . . 11 ⟨“{0, 1}”⟩ ∈ V
601, 59opvtxfvi 26806 . . . . . . . . . 10 (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (0...3)
6160eqcomi 2810 . . . . . . . . 9 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
621, 59opiedgfvi 26807 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = ⟨“{0, 1}”⟩
6362eqcomi 2810 . . . . . . . . 9 ⟨“{0, 1}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
64 s6cli 14241 . . . . . . . . . 10 ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
65 s1s6 14284 . . . . . . . . . 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 28039 . . . . . . . . . 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 1458 . . . . . . . . 9 ⟨“{0, 1}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
68 0ex 5178 . . . . . . . . . . . . 13 ∅ ∈ V
691, 68opvtxfvi 26806 . . . . . . . . . . . 12 (Vtx‘⟨(0...3), ∅⟩) = (0...3)
7069eqcomi 2810 . . . . . . . . . . 11 (0...3) = (Vtx‘⟨(0...3), ∅⟩)
711, 68opiedgfvi 26807 . . . . . . . . . . . 12 (iEdg‘⟨(0...3), ∅⟩) = ∅
7271eqcomi 2810 . . . . . . . . . . 11 ∅ = (iEdg‘⟨(0...3), ∅⟩)
73 wrd0 13886 . . . . . . . . . . 11 ∅ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
74 eqid 2801 . . . . . . . . . . . 12 ∅ = ∅
7570, 72vtxdg0e 27268 . . . . . . . . . . . 12 ((0 ∈ (0...3) ∧ ∅ = ∅) → ((VtxDeg‘⟨(0...3), ∅⟩)‘0) = 0)
768, 74, 75mp2an 691 . . . . . . . . . . 11 ((VtxDeg‘⟨(0...3), ∅⟩)‘0) = 0
77 1nn0 11905 . . . . . . . . . . . 12 1 ∈ ℕ0
78 1le3 11841 . . . . . . . . . . . 12 1 ≤ 3
79 elfz2nn0 12997 . . . . . . . . . . . 12 (1 ∈ (0...3) ↔ (1 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 1 ≤ 3))
8077, 6, 78, 79mpbir3an 1338 . . . . . . . . . . 11 1 ∈ (0...3)
81 ax-1ne0 10599 . . . . . . . . . . 11 1 ≠ 0
82 s0s1 14279 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ = (∅ ++ ⟨“{0, 1}”⟩)
8362, 82eqtri 2824 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (∅ ++ ⟨“{0, 1}”⟩)
8470, 8, 72, 73, 76, 60, 80, 81, 83vdegp1bi 27331 . . . . . . . . . 10 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘0) = (0 + 1)
85 0p1e1 11751 . . . . . . . . . 10 (0 + 1) = 1
8684, 85eqtri 2824 . . . . . . . . 9 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘0) = 1
87 2nn0 11906 . . . . . . . . . 10 2 ∈ ℕ0
88 2re 11703 . . . . . . . . . . 11 2 ∈ ℝ
89 3re 11709 . . . . . . . . . . 11 3 ∈ ℝ
90 2lt3 11801 . . . . . . . . . . 11 2 < 3
9188, 89, 90ltleii 10756 . . . . . . . . . 10 2 ≤ 3
92 elfz2nn0 12997 . . . . . . . . . 10 (2 ∈ (0...3) ↔ (2 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 2 ≤ 3))
9387, 6, 91, 92mpbir3an 1338 . . . . . . . . 9 2 ∈ (0...3)
94 2ne0 11733 . . . . . . . . 9 2 ≠ 0
95 df-s2 14205 . . . . . . . . . 10 ⟨“{0, 1} {0, 2}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
9652, 95eqtri 2824 . . . . . . . . 9 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
9761, 8, 63, 67, 86, 50, 93, 94, 96vdegp1bi 27331 . . . . . . . 8 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘0) = (1 + 1)
98 1p1e2 11754 . . . . . . . 8 (1 + 1) = 2
9997, 98eqtri 2824 . . . . . . 7 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘0) = 2
100 nn0fz0 13004 . . . . . . . 8 (3 ∈ ℕ0 ↔ 3 ∈ (0...3))
1016, 100mpbi 233 . . . . . . 7 3 ∈ (0...3)
102 3ne0 11735 . . . . . . 7 3 ≠ 0
103 df-s3 14206 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10442, 103eqtri 2824 . . . . . . 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 27331 . . . . . 6 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘0) = (2 + 1)
106 2p1e3 11771 . . . . . 6 (2 + 1) = 3
107105, 106eqtri 2824 . . . . 5 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘0) = 3
108 df-s4 14207 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
10932, 108eqtri 2824 . . . . 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 27330 . . . 4 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘0) = 3
111 df-s5 14208 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11222, 111eqtri 2824 . . . 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 27330 . . 3 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘0) = 3
114 df-s6 14209 . . . 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 2824 . . 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 27330 . 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 28035 . 2 (Vtx‘𝐺) = (0...3)
121117, 118, 119konigsbergiedg 28036 . . 3 (iEdg‘𝐺) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
122121, 12eqtri 2824 . 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 27330 1 ((VtxDeg‘𝐺)‘0) = 3
Colors of variables: wff setvar class
Syntax hints:   = wceq 1538  wcel 2112  {crab 3113  Vcvv 3444  cdif 3881  c0 4246  𝒫 cpw 4500  {csn 4528  {cpr 4530  cop 4534   class class class wbr 5033  cfv 6328  (class class class)co 7139  0cc0 10530  1c1 10531   + caddc 10533  cle 10669  2c2 11684  3c3 11685  0cn0 11889  ...cfz 12889  chash 13690  Word cword 13861   ++ cconcat 13917  ⟨“cs1 13944  ⟨“cs2 14198  ⟨“cs3 14199  ⟨“cs4 14200  ⟨“cs5 14201  ⟨“cs6 14202  ⟨“cs7 14203  Vtxcvtx 26793  iEdgciedg 26794  VtxDegcvtxdg 27259
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-rep 5157  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298  ax-un 7445  ax-cnex 10586  ax-resscn 10587  ax-1cn 10588  ax-icn 10589  ax-addcl 10590  ax-addrcl 10591  ax-mulcl 10592  ax-mulrcl 10593  ax-mulcom 10594  ax-addass 10595  ax-mulass 10596  ax-distr 10597  ax-i2m1 10598  ax-1ne0 10599  ax-1rid 10600  ax-rnegex 10601  ax-rrecex 10602  ax-cnre 10603  ax-pre-lttri 10604  ax-pre-lttrn 10605  ax-pre-ltadd 10606  ax-pre-mulgt0 10607
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ne 2991  df-nel 3095  df-ral 3114  df-rex 3115  df-reu 3116  df-rab 3118  df-v 3446  df-sbc 3724  df-csb 3832  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-pss 3903  df-nul 4247  df-if 4429  df-pw 4502  df-sn 4529  df-pr 4531  df-tp 4533  df-op 4535  df-uni 4804  df-int 4842  df-iun 4886  df-br 5034  df-opab 5096  df-mpt 5114  df-tr 5140  df-id 5428  df-eprel 5433  df-po 5442  df-so 5443  df-fr 5482  df-we 5484  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-res 5535  df-ima 5536  df-pred 6120  df-ord 6166  df-on 6167  df-lim 6168  df-suc 6169  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-riota 7097  df-ov 7142  df-oprab 7143  df-mpo 7144  df-om 7565  df-1st 7675  df-2nd 7676  df-wrecs 7934  df-recs 7995  df-rdg 8033  df-1o 8089  df-oadd 8093  df-er 8276  df-en 8497  df-dom 8498  df-sdom 8499  df-fin 8500  df-dju 9318  df-card 9356  df-pnf 10670  df-mnf 10671  df-xr 10672  df-ltxr 10673  df-le 10674  df-sub 10865  df-neg 10866  df-nn 11630  df-2 11692  df-3 11693  df-n0 11890  df-xnn0 11960  df-z 11974  df-uz 12236  df-xadd 12500  df-fz 12890  df-fzo 13033  df-hash 13691  df-word 13862  df-concat 13918  df-s1 13945  df-s2 14205  df-s3 14206  df-s4 14207  df-s5 14208  df-s6 14209  df-s7 14210  df-vtx 26795  df-iedg 26796  df-vtxdg 27260
This theorem is referenced by:  konigsberglem4  28044
  Copyright terms: Public domain W3C validator