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

Theorem konigsberglem3 27016
 Description: Lemma 3 for konigsberg 27019: Vertex 3 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
konigsberglem3 ((VtxDeg‘𝐺)‘3) = 3

Proof of Theorem konigsberglem3
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ovex 6643 . . . . 5 (0...3) ∈ V
2 s6cli 13581 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V
32elexi 3203 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ V
41, 3opvtxfvi 25823 . . . 4 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (0...3)
54eqcomi 2630 . . 3 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)
6 3nn0 11270 . . . 4 3 ∈ ℕ0
7 nn0fz0 12394 . . . 4 (3 ∈ ℕ0 ↔ 3 ∈ (0...3))
86, 7mpbi 220 . . 3 3 ∈ (0...3)
91, 3opiedgfvi 25824 . . . 4 (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 2630 . . 3 ⟨“{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 13339 . . . 4 ⟨“{2, 3}”⟩ ∈ Word V
12 df-s7 13551 . . . 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}”⟩)
13 eqid 2621 . . . . 5 (0...3) = (0...3)
14 eqid 2621 . . . . 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}”⟩
15 eqid 2621 . . . . 5 ⟨(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 27011 . . . 4 ((⟨“{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 1421 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}
18 s5cli 13580 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V
1918elexi 3203 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ V
201, 19opvtxfvi 25823 . . . . . 6 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (0...3)
2120eqcomi 2630 . . . . 5 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
221, 19opiedgfvi 25824 . . . . . 6 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩
2322eqcomi 2630 . . . . 5 ⟨“{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 13577 . . . . . 6 ⟨“{2, 3} {2, 3}”⟩ ∈ Word V
25 s5s2 13632 . . . . . 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}”⟩)
2613, 14, 15konigsbergssiedgw 27011 . . . . . 6 ((⟨“{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 1421 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}
28 s4cli 13579 . . . . . . . . 9 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V
2928elexi 3203 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ V
301, 29opvtxfvi 25823 . . . . . . 7 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (0...3)
3130eqcomi 2630 . . . . . 6 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
321, 29opiedgfvi 25824 . . . . . . 7 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩
3332eqcomi 2630 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
34 s3cli 13578 . . . . . . 7 ⟨“{1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
35 s4s3 13628 . . . . . . 7 ⟨“{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 27011 . . . . . . 7 ((⟨“{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 1421 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}
38 s3cli 13578 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V
3938elexi 3203 . . . . . . . . 9 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ V
401, 39opvtxfvi 25823 . . . . . . . 8 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (0...3)
4140eqcomi 2630 . . . . . . 7 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
421, 39opiedgfvi 25824 . . . . . . . 8 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3}”⟩
4342eqcomi 2630 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
44 s4cli 13579 . . . . . . . 8 ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
45 s3s4 13630 . . . . . . . 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}”⟩)
4613, 14, 15konigsbergssiedgw 27011 . . . . . . . 8 ((⟨“{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 1421 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}
48 s2cli 13577 . . . . . . . . . . . 12 ⟨“{0, 1} {0, 2}”⟩ ∈ Word V
4948elexi 3203 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2}”⟩ ∈ V
501, 49opvtxfvi 25823 . . . . . . . . . 10 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (0...3)
5150eqcomi 2630 . . . . . . . . 9 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
521, 49opiedgfvi 25824 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = ⟨“{0, 1} {0, 2}”⟩
5352eqcomi 2630 . . . . . . . . 9 ⟨“{0, 1} {0, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
54 s5cli 13580 . . . . . . . . . 10 ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
55 s2s5 13631 . . . . . . . . . 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}”⟩)
5613, 14, 15konigsbergssiedgw 27011 . . . . . . . . . 10 ((⟨“{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 1421 . . . . . . . . 9 ⟨“{0, 1} {0, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}
58 s1cli 13339 . . . . . . . . . . . . 13 ⟨“{0, 1}”⟩ ∈ Word V
5958elexi 3203 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ ∈ V
601, 59opvtxfvi 25823 . . . . . . . . . . 11 (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (0...3)
6160eqcomi 2630 . . . . . . . . . 10 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
621, 59opiedgfvi 25824 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = ⟨“{0, 1}”⟩
6362eqcomi 2630 . . . . . . . . . 10 ⟨“{0, 1}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
64 s6cli 13581 . . . . . . . . . . 11 ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
65 s1s6 13624 . . . . . . . . . . 11 ⟨“{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 27011 . . . . . . . . . . 11 ((⟨“{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 1421 . . . . . . . . . 10 ⟨“{0, 1}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}
68 0ex 4760 . . . . . . . . . . . . 13 ∅ ∈ V
691, 68opvtxfvi 25823 . . . . . . . . . . . 12 (Vtx‘⟨(0...3), ∅⟩) = (0...3)
7069eqcomi 2630 . . . . . . . . . . 11 (0...3) = (Vtx‘⟨(0...3), ∅⟩)
711, 68opiedgfvi 25824 . . . . . . . . . . . 12 (iEdg‘⟨(0...3), ∅⟩) = ∅
7271eqcomi 2630 . . . . . . . . . . 11 ∅ = (iEdg‘⟨(0...3), ∅⟩)
73 wrd0 13285 . . . . . . . . . . 11 ∅ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}
74 eqid 2621 . . . . . . . . . . . 12 ∅ = ∅
7570, 72vtxdg0e 26290 . . . . . . . . . . . 12 ((3 ∈ (0...3) ∧ ∅ = ∅) → ((VtxDeg‘⟨(0...3), ∅⟩)‘3) = 0)
768, 74, 75mp2an 707 . . . . . . . . . . 11 ((VtxDeg‘⟨(0...3), ∅⟩)‘3) = 0
77 0elfz 12393 . . . . . . . . . . . 12 (3 ∈ ℕ0 → 0 ∈ (0...3))
786, 77ax-mp 5 . . . . . . . . . . 11 0 ∈ (0...3)
79 3ne0 11075 . . . . . . . . . . . 12 3 ≠ 0
8079necomi 2844 . . . . . . . . . . 11 0 ≠ 3
81 1nn0 11268 . . . . . . . . . . . 12 1 ∈ ℕ0
82 1le3 11204 . . . . . . . . . . . 12 1 ≤ 3
83 elfz2nn0 12388 . . . . . . . . . . . 12 (1 ∈ (0...3) ↔ (1 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 1 ≤ 3))
8481, 6, 82, 83mpbir3an 1242 . . . . . . . . . . 11 1 ∈ (0...3)
85 1re 9999 . . . . . . . . . . . 12 1 ∈ ℝ
86 1lt3 11156 . . . . . . . . . . . 12 1 < 3
8785, 86ltneii 10110 . . . . . . . . . . 11 1 ≠ 3
88 s0s1 13619 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ = (∅ ++ ⟨“{0, 1}”⟩)
8962, 88eqtri 2643 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (∅ ++ ⟨“{0, 1}”⟩)
9070, 8, 72, 73, 76, 60, 78, 80, 84, 87, 89vdegp1ai 26352 . . . . . . . . . 10 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘3) = 0
91 2nn0 11269 . . . . . . . . . . 11 2 ∈ ℕ0
92 2re 11050 . . . . . . . . . . . 12 2 ∈ ℝ
93 3re 11054 . . . . . . . . . . . 12 3 ∈ ℝ
94 2lt3 11155 . . . . . . . . . . . 12 2 < 3
9592, 93, 94ltleii 10120 . . . . . . . . . . 11 2 ≤ 3
96 elfz2nn0 12388 . . . . . . . . . . 11 (2 ∈ (0...3) ↔ (2 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 2 ≤ 3))
9791, 6, 95, 96mpbir3an 1242 . . . . . . . . . 10 2 ∈ (0...3)
9892, 94ltneii 10110 . . . . . . . . . 10 2 ≠ 3
99 df-s2 13546 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
10052, 99eqtri 2643 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
10161, 8, 63, 67, 90, 50, 78, 80, 97, 98, 100vdegp1ai 26352 . . . . . . . . 9 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘3) = 0
102 df-s3 13547 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10342, 102eqtri 2643 . . . . . . . . 9 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10451, 8, 53, 57, 101, 40, 78, 80, 103vdegp1ci 26354 . . . . . . . 8 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘3) = (0 + 1)
105 0p1e1 11092 . . . . . . . 8 (0 + 1) = 1
106104, 105eqtri 2643 . . . . . . 7 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘3) = 1
107 df-s4 13548 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
10832, 107eqtri 2643 . . . . . . 7 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
10941, 8, 43, 47, 106, 30, 84, 87, 97, 98, 108vdegp1ai 26352 . . . . . 6 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘3) = 1
110 df-s5 13549 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11122, 110eqtri 2643 . . . . . 6 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11231, 8, 33, 37, 109, 20, 84, 87, 97, 98, 111vdegp1ai 26352 . . . . 5 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘3) = 1
113 df-s6 13550 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ++ ⟨“{2, 3}”⟩)
1149, 113eqtri 2643 . . . . 5 (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}”⟩)
11521, 8, 23, 27, 112, 4, 97, 98, 114vdegp1ci 26354 . . . 4 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)‘3) = (1 + 1)
116 1p1e2 11094 . . . 4 (1 + 1) = 2
117115, 116eqtri 2643 . . 3 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)‘3) = 2
118 konigsberg.v . . . 4 𝑉 = (0...3)
119 konigsberg.e . . . 4 𝐸 = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
120 konigsberg.g . . . 4 𝐺 = ⟨𝑉, 𝐸
121118, 119, 120konigsbergvtx 27006 . . 3 (Vtx‘𝐺) = (0...3)
122118, 119, 120konigsbergiedg 27007 . . . 4 (iEdg‘𝐺) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
123122, 12eqtri 2643 . . 3 (iEdg‘𝐺) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ++ ⟨“{2, 3}”⟩)
1245, 8, 10, 17, 117, 121, 97, 98, 123vdegp1ci 26354 . 2 ((VtxDeg‘𝐺)‘3) = (2 + 1)
125 2p1e3 11111 . 2 (2 + 1) = 3
126124, 125eqtri 2643 1 ((VtxDeg‘𝐺)‘3) = 3
 Colors of variables: wff setvar class Syntax hints:   = wceq 1480   ∈ wcel 1987  {crab 2912  Vcvv 3190   ∖ cdif 3557  ∅c0 3897  𝒫 cpw 4136  {csn 4155  {cpr 4157  ⟨cop 4161   class class class wbr 4623  ‘cfv 5857  (class class class)co 6615  0cc0 9896  1c1 9897   + caddc 9899   ≤ cle 10035  2c2 11030  3c3 11031  ℕ0cn0 11252  ...cfz 12284  #chash 13073  Word cword 13246   ++ cconcat 13248  ⟨“cs1 13249  ⟨“cs2 13539  ⟨“cs3 13540  ⟨“cs4 13541  ⟨“cs5 13542  ⟨“cs6 13543  ⟨“cs7 13544  Vtxcvtx 25808  iEdgciedg 25809  VtxDegcvtxdg 26282 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4741  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914  ax-cnex 9952  ax-resscn 9953  ax-1cn 9954  ax-icn 9955  ax-addcl 9956  ax-addrcl 9957  ax-mulcl 9958  ax-mulrcl 9959  ax-mulcom 9960  ax-addass 9961  ax-mulass 9962  ax-distr 9963  ax-i2m1 9964  ax-1ne0 9965  ax-1rid 9966  ax-rnegex 9967  ax-rrecex 9968  ax-cnre 9969  ax-pre-lttri 9970  ax-pre-lttrn 9971  ax-pre-ltadd 9972  ax-pre-mulgt0 9973 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2913  df-rex 2914  df-reu 2915  df-rmo 2916  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3898  df-if 4065  df-pw 4138  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-int 4448  df-iun 4494  df-br 4624  df-opab 4684  df-mpt 4685  df-tr 4723  df-eprel 4995  df-id 4999  df-po 5005  df-so 5006  df-fr 5043  df-we 5045  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-pred 5649  df-ord 5695  df-on 5696  df-lim 5697  df-suc 5698  df-iota 5820  df-fun 5859  df-fn 5860  df-f 5861  df-f1 5862  df-fo 5863  df-f1o 5864  df-fv 5865  df-riota 6576  df-ov 6618  df-oprab 6619  df-mpt2 6620  df-om 7028  df-1st 7128  df-2nd 7129  df-wrecs 7367  df-recs 7428  df-rdg 7466  df-1o 7520  df-oadd 7524  df-er 7702  df-en 7916  df-dom 7917  df-sdom 7918  df-fin 7919  df-card 8725  df-cda 8950  df-pnf 10036  df-mnf 10037  df-xr 10038  df-ltxr 10039  df-le 10040  df-sub 10228  df-neg 10229  df-nn 10981  df-2 11039  df-3 11040  df-n0 11253  df-xnn0 11324  df-z 11338  df-uz 11648  df-xadd 11907  df-fz 12285  df-fzo 12423  df-hash 13074  df-word 13254  df-concat 13256  df-s1 13257  df-s2 13546  df-s3 13547  df-s4 13548  df-s5 13549  df-s6 13550  df-s7 13551  df-vtx 25810  df-iedg 25811  df-vtxdg 26283 This theorem is referenced by:  konigsberglem4  27017
 Copyright terms: Public domain W3C validator