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

Theorem konigsberglem3 28597
Description: Lemma 3 for konigsberg 28600: 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 7301 . . . . 5 (0...3) ∈ V
2 s6cli 14578 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V
32elexi 3449 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ V
41, 3opvtxfvi 27360 . . . 4 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (0...3)
54eqcomi 2748 . . 3 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)
6 3nn0 12234 . . . 4 3 ∈ ℕ0
7 nn0fz0 13336 . . . 4 (3 ∈ ℕ0 ↔ 3 ∈ (0...3))
86, 7mpbi 229 . . 3 3 ∈ (0...3)
91, 3opiedgfvi 27361 . . . 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 2748 . . 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 14291 . . . 4 ⟨“{2, 3}”⟩ ∈ Word V
12 df-s7 14547 . . . 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 2739 . . . . 5 (0...3) = (0...3)
14 eqid 2739 . . . . 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 2739 . . . . 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 28593 . . . 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 1459 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
18 s5cli 14577 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V
1918elexi 3449 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ V
201, 19opvtxfvi 27360 . . . . . 6 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (0...3)
2120eqcomi 2748 . . . . 5 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
221, 19opiedgfvi 27361 . . . . . 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 2748 . . . . 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 14574 . . . . . 6 ⟨“{2, 3} {2, 3}”⟩ ∈ Word V
25 s5s2 14629 . . . . . 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 28593 . . . . . 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 1459 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
28 s4cli 14576 . . . . . . . . 9 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V
2928elexi 3449 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ V
301, 29opvtxfvi 27360 . . . . . . 7 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (0...3)
3130eqcomi 2748 . . . . . 6 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
321, 29opiedgfvi 27361 . . . . . . 7 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩
3332eqcomi 2748 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
34 s3cli 14575 . . . . . . 7 ⟨“{1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
35 s4s3 14625 . . . . . . 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 28593 . . . . . . 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 1459 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
38 s3cli 14575 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V
3938elexi 3449 . . . . . . . . 9 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ V
401, 39opvtxfvi 27360 . . . . . . . 8 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (0...3)
4140eqcomi 2748 . . . . . . 7 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
421, 39opiedgfvi 27361 . . . . . . . 8 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3}”⟩
4342eqcomi 2748 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
44 s4cli 14576 . . . . . . . 8 ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
45 s3s4 14627 . . . . . . . 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 28593 . . . . . . . 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 1459 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
48 s2cli 14574 . . . . . . . . . . . 12 ⟨“{0, 1} {0, 2}”⟩ ∈ Word V
4948elexi 3449 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2}”⟩ ∈ V
501, 49opvtxfvi 27360 . . . . . . . . . 10 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (0...3)
5150eqcomi 2748 . . . . . . . . 9 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
521, 49opiedgfvi 27361 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = ⟨“{0, 1} {0, 2}”⟩
5352eqcomi 2748 . . . . . . . . 9 ⟨“{0, 1} {0, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
54 s5cli 14577 . . . . . . . . . 10 ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
55 s2s5 14628 . . . . . . . . . 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 28593 . . . . . . . . . 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 1459 . . . . . . . . 9 ⟨“{0, 1} {0, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
58 s1cli 14291 . . . . . . . . . . . . 13 ⟨“{0, 1}”⟩ ∈ Word V
5958elexi 3449 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ ∈ V
601, 59opvtxfvi 27360 . . . . . . . . . . 11 (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (0...3)
6160eqcomi 2748 . . . . . . . . . 10 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
621, 59opiedgfvi 27361 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = ⟨“{0, 1}”⟩
6362eqcomi 2748 . . . . . . . . . 10 ⟨“{0, 1}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
64 s6cli 14578 . . . . . . . . . . 11 ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
65 s1s6 14621 . . . . . . . . . . 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 28593 . . . . . . . . . . 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 1459 . . . . . . . . . 10 ⟨“{0, 1}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
68 0ex 5234 . . . . . . . . . . . . 13 ∅ ∈ V
691, 68opvtxfvi 27360 . . . . . . . . . . . 12 (Vtx‘⟨(0...3), ∅⟩) = (0...3)
7069eqcomi 2748 . . . . . . . . . . 11 (0...3) = (Vtx‘⟨(0...3), ∅⟩)
711, 68opiedgfvi 27361 . . . . . . . . . . . 12 (iEdg‘⟨(0...3), ∅⟩) = ∅
7271eqcomi 2748 . . . . . . . . . . 11 ∅ = (iEdg‘⟨(0...3), ∅⟩)
73 wrd0 14223 . . . . . . . . . . 11 ∅ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
74 eqid 2739 . . . . . . . . . . . 12 ∅ = ∅
7570, 72vtxdg0e 27822 . . . . . . . . . . . 12 ((3 ∈ (0...3) ∧ ∅ = ∅) → ((VtxDeg‘⟨(0...3), ∅⟩)‘3) = 0)
768, 74, 75mp2an 688 . . . . . . . . . . 11 ((VtxDeg‘⟨(0...3), ∅⟩)‘3) = 0
77 0elfz 13335 . . . . . . . . . . . 12 (3 ∈ ℕ0 → 0 ∈ (0...3))
786, 77ax-mp 5 . . . . . . . . . . 11 0 ∈ (0...3)
79 3ne0 12062 . . . . . . . . . . . 12 3 ≠ 0
8079necomi 2999 . . . . . . . . . . 11 0 ≠ 3
81 1nn0 12232 . . . . . . . . . . . 12 1 ∈ ℕ0
82 1le3 12168 . . . . . . . . . . . 12 1 ≤ 3
83 elfz2nn0 13329 . . . . . . . . . . . 12 (1 ∈ (0...3) ↔ (1 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 1 ≤ 3))
8481, 6, 82, 83mpbir3an 1339 . . . . . . . . . . 11 1 ∈ (0...3)
85 1re 10959 . . . . . . . . . . . 12 1 ∈ ℝ
86 1lt3 12129 . . . . . . . . . . . 12 1 < 3
8785, 86ltneii 11071 . . . . . . . . . . 11 1 ≠ 3
88 s0s1 14616 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ = (∅ ++ ⟨“{0, 1}”⟩)
8962, 88eqtri 2767 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (∅ ++ ⟨“{0, 1}”⟩)
9070, 8, 72, 73, 76, 60, 78, 80, 84, 87, 89vdegp1ai 27884 . . . . . . . . . 10 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘3) = 0
91 2nn0 12233 . . . . . . . . . . 11 2 ∈ ℕ0
92 2re 12030 . . . . . . . . . . . 12 2 ∈ ℝ
93 3re 12036 . . . . . . . . . . . 12 3 ∈ ℝ
94 2lt3 12128 . . . . . . . . . . . 12 2 < 3
9592, 93, 94ltleii 11081 . . . . . . . . . . 11 2 ≤ 3
96 elfz2nn0 13329 . . . . . . . . . . 11 (2 ∈ (0...3) ↔ (2 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 2 ≤ 3))
9791, 6, 95, 96mpbir3an 1339 . . . . . . . . . 10 2 ∈ (0...3)
9892, 94ltneii 11071 . . . . . . . . . 10 2 ≠ 3
99 df-s2 14542 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
10052, 99eqtri 2767 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
10161, 8, 63, 67, 90, 50, 78, 80, 97, 98, 100vdegp1ai 27884 . . . . . . . . 9 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘3) = 0
102 df-s3 14543 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10342, 102eqtri 2767 . . . . . . . . 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 27886 . . . . . . . 8 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘3) = (0 + 1)
105 0p1e1 12078 . . . . . . . 8 (0 + 1) = 1
106104, 105eqtri 2767 . . . . . . 7 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘3) = 1
107 df-s4 14544 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
10832, 107eqtri 2767 . . . . . . 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 27884 . . . . . 6 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘3) = 1
110 df-s5 14545 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11122, 110eqtri 2767 . . . . . 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 27884 . . . . 5 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘3) = 1
113 df-s6 14546 . . . . . 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 2767 . . . . 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 27886 . . . 4 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)‘3) = (1 + 1)
116 1p1e2 12081 . . . 4 (1 + 1) = 2
117115, 116eqtri 2767 . . 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 28589 . . 3 (Vtx‘𝐺) = (0...3)
122118, 119, 120konigsbergiedg 28590 . . . 4 (iEdg‘𝐺) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
123122, 12eqtri 2767 . . 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 27886 . 2 ((VtxDeg‘𝐺)‘3) = (2 + 1)
125 2p1e3 12098 . 2 (2 + 1) = 3
126124, 125eqtri 2767 1 ((VtxDeg‘𝐺)‘3) = 3
Colors of variables: wff setvar class
Syntax hints:   = wceq 1541  wcel 2109  {crab 3069  Vcvv 3430  cdif 3888  c0 4261  𝒫 cpw 4538  {csn 4566  {cpr 4568  cop 4572   class class class wbr 5078  cfv 6430  (class class class)co 7268  0cc0 10855  1c1 10856   + caddc 10858  cle 10994  2c2 12011  3c3 12012  0cn0 12216  ...cfz 13221  chash 14025  Word cword 14198   ++ cconcat 14254  ⟨“cs1 14281  ⟨“cs2 14535  ⟨“cs3 14536  ⟨“cs4 14537  ⟨“cs5 14538  ⟨“cs6 14539  ⟨“cs7 14540  Vtxcvtx 27347  iEdgciedg 27348  VtxDegcvtxdg 27813
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579  ax-cnex 10911  ax-resscn 10912  ax-1cn 10913  ax-icn 10914  ax-addcl 10915  ax-addrcl 10916  ax-mulcl 10917  ax-mulrcl 10918  ax-mulcom 10919  ax-addass 10920  ax-mulass 10921  ax-distr 10922  ax-i2m1 10923  ax-1ne0 10924  ax-1rid 10925  ax-rnegex 10926  ax-rrecex 10927  ax-cnre 10928  ax-pre-lttri 10929  ax-pre-lttrn 10930  ax-pre-ltadd 10931  ax-pre-mulgt0 10932
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-pss 3910  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-int 4885  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-tr 5196  df-id 5488  df-eprel 5494  df-po 5502  df-so 5503  df-fr 5543  df-we 5545  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-pred 6199  df-ord 6266  df-on 6267  df-lim 6268  df-suc 6269  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-riota 7225  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7701  df-1st 7817  df-2nd 7818  df-frecs 8081  df-wrecs 8112  df-recs 8186  df-rdg 8225  df-1o 8281  df-oadd 8285  df-er 8472  df-en 8708  df-dom 8709  df-sdom 8710  df-fin 8711  df-dju 9643  df-card 9681  df-pnf 10995  df-mnf 10996  df-xr 10997  df-ltxr 10998  df-le 10999  df-sub 11190  df-neg 11191  df-nn 11957  df-2 12019  df-3 12020  df-n0 12217  df-xnn0 12289  df-z 12303  df-uz 12565  df-xadd 12831  df-fz 13222  df-fzo 13365  df-hash 14026  df-word 14199  df-concat 14255  df-s1 14282  df-s2 14542  df-s3 14543  df-s4 14544  df-s5 14545  df-s6 14546  df-s7 14547  df-vtx 27349  df-iedg 27350  df-vtxdg 27814
This theorem is referenced by:  konigsberglem4  28598
  Copyright terms: Public domain W3C validator