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

Theorem konigsberglem2 27489
Description: Lemma 2 for konigsberg 27493: Vertex 1 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
konigsberglem2 ((VtxDeg‘𝐺)‘1) = 3

Proof of Theorem konigsberglem2
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ovex 6874 . . . 4 (0...3) ∈ V
2 s6cli 13915 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V
32elexi 3366 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ V
41, 3opvtxfvi 26178 . . 3 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (0...3)
54eqcomi 2774 . 2 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)
6 1nn0 11556 . . 3 1 ∈ ℕ0
7 3nn0 11558 . . 3 3 ∈ ℕ0
8 1le3 11490 . . 3 1 ≤ 3
9 elfz2nn0 12638 . . 3 (1 ∈ (0...3) ↔ (1 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 1 ≤ 3))
106, 7, 8, 9mpbir3an 1441 . 2 1 ∈ (0...3)
111, 3opiedgfvi 26179 . . 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}”⟩
1211eqcomi 2774 . 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}”⟩⟩)
13 s1cli 13576 . . 3 ⟨“{2, 3}”⟩ ∈ Word V
14 df-s7 13884 . . 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}”⟩)
15 eqid 2765 . . . 4 (0...3) = (0...3)
16 eqid 2765 . . . 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}”⟩
17 eqid 2765 . . . 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}”⟩⟩
1815, 16, 17konigsbergssiedgw 27486 . . 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})
192, 13, 14, 18mp3an 1585 . 2 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
20 s5cli 13914 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V
2120elexi 3366 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ V
221, 21opvtxfvi 26178 . . . 4 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (0...3)
2322eqcomi 2774 . . 3 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
241, 21opiedgfvi 26179 . . . 4 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩
2524eqcomi 2774 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
26 s2cli 13911 . . . 4 ⟨“{2, 3} {2, 3}”⟩ ∈ Word V
27 s5s2 13966 . . . 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}”⟩)
2815, 16, 17konigsbergssiedgw 27486 . . . 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})
2920, 26, 27, 28mp3an 1585 . . 3 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
30 s4cli 13913 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V
3130elexi 3366 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ V
321, 31opvtxfvi 26178 . . . . . 6 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (0...3)
3332eqcomi 2774 . . . . 5 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
341, 31opiedgfvi 26179 . . . . . 6 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩
3534eqcomi 2774 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
36 s3cli 13912 . . . . . 6 ⟨“{1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
37 s4s3 13962 . . . . . 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}”⟩)
3815, 16, 17konigsbergssiedgw 27486 . . . . . 6 ((⟨“{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})
3930, 36, 37, 38mp3an 1585 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
40 s3cli 13912 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V
4140elexi 3366 . . . . . . . . 9 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ V
421, 41opvtxfvi 26178 . . . . . . . 8 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (0...3)
4342eqcomi 2774 . . . . . . 7 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
441, 41opiedgfvi 26179 . . . . . . . 8 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3}”⟩
4544eqcomi 2774 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
46 s4cli 13913 . . . . . . . 8 ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
47 s3s4 13964 . . . . . . . 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}”⟩)
4815, 16, 17konigsbergssiedgw 27486 . . . . . . . 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})
4940, 46, 47, 48mp3an 1585 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
50 s2cli 13911 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2}”⟩ ∈ Word V
5150elexi 3366 . . . . . . . . . 10 ⟨“{0, 1} {0, 2}”⟩ ∈ V
521, 51opvtxfvi 26178 . . . . . . . . 9 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (0...3)
5352eqcomi 2774 . . . . . . . 8 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
541, 51opiedgfvi 26179 . . . . . . . . 9 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = ⟨“{0, 1} {0, 2}”⟩
5554eqcomi 2774 . . . . . . . 8 ⟨“{0, 1} {0, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
56 s5cli 13914 . . . . . . . . 9 ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
57 s2s5 13965 . . . . . . . . 9 ⟨“{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}”⟩)
5815, 16, 17konigsbergssiedgw 27486 . . . . . . . . 9 ((⟨“{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})
5950, 56, 57, 58mp3an 1585 . . . . . . . 8 ⟨“{0, 1} {0, 2}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
60 s1cli 13576 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ ∈ Word V
6160elexi 3366 . . . . . . . . . . 11 ⟨“{0, 1}”⟩ ∈ V
621, 61opvtxfvi 26178 . . . . . . . . . 10 (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (0...3)
6362eqcomi 2774 . . . . . . . . 9 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
641, 61opiedgfvi 26179 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = ⟨“{0, 1}”⟩
6564eqcomi 2774 . . . . . . . . 9 ⟨“{0, 1}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
66 s6cli 13915 . . . . . . . . . 10 ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V
67 s1s6 13958 . . . . . . . . . 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}”⟩)
6815, 16, 17konigsbergssiedgw 27486 . . . . . . . . . 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})
6960, 66, 67, 68mp3an 1585 . . . . . . . . 9 ⟨“{0, 1}”⟩ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
70 0ex 4950 . . . . . . . . . . . . 13 ∅ ∈ V
711, 70opvtxfvi 26178 . . . . . . . . . . . 12 (Vtx‘⟨(0...3), ∅⟩) = (0...3)
7271eqcomi 2774 . . . . . . . . . . 11 (0...3) = (Vtx‘⟨(0...3), ∅⟩)
731, 70opiedgfvi 26179 . . . . . . . . . . . 12 (iEdg‘⟨(0...3), ∅⟩) = ∅
7473eqcomi 2774 . . . . . . . . . . 11 ∅ = (iEdg‘⟨(0...3), ∅⟩)
75 wrd0 13511 . . . . . . . . . . 11 ∅ ∈ Word {𝑥 ∈ (𝒫 (0...3) ∖ {∅}) ∣ (♯‘𝑥) ≤ 2}
76 eqid 2765 . . . . . . . . . . . 12 ∅ = ∅
7772, 74vtxdg0e 26661 . . . . . . . . . . . 12 ((1 ∈ (0...3) ∧ ∅ = ∅) → ((VtxDeg‘⟨(0...3), ∅⟩)‘1) = 0)
7810, 76, 77mp2an 683 . . . . . . . . . . 11 ((VtxDeg‘⟨(0...3), ∅⟩)‘1) = 0
79 0elfz 12644 . . . . . . . . . . . 12 (3 ∈ ℕ0 → 0 ∈ (0...3))
807, 79ax-mp 5 . . . . . . . . . . 11 0 ∈ (0...3)
81 0ne1 11343 . . . . . . . . . . 11 0 ≠ 1
82 s0s1 13953 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ = (∅ ++ ⟨“{0, 1}”⟩)
8364, 82eqtri 2787 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (∅ ++ ⟨“{0, 1}”⟩)
8472, 10, 74, 75, 78, 62, 80, 81, 83vdegp1ci 26725 . . . . . . . . . 10 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘1) = (0 + 1)
85 0p1e1 11401 . . . . . . . . . 10 (0 + 1) = 1
8684, 85eqtri 2787 . . . . . . . . 9 ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘1) = 1
87 2nn0 11557 . . . . . . . . . 10 2 ∈ ℕ0
88 2re 11346 . . . . . . . . . . 11 2 ∈ ℝ
89 3re 11352 . . . . . . . . . . 11 3 ∈ ℝ
90 2lt3 11450 . . . . . . . . . . 11 2 < 3
9188, 89, 90ltleii 10414 . . . . . . . . . 10 2 ≤ 3
92 elfz2nn0 12638 . . . . . . . . . 10 (2 ∈ (0...3) ↔ (2 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 2 ≤ 3))
9387, 7, 91, 92mpbir3an 1441 . . . . . . . . 9 2 ∈ (0...3)
94 1ne2 11486 . . . . . . . . . 10 1 ≠ 2
9594necomi 2991 . . . . . . . . 9 2 ≠ 1
96 df-s2 13879 . . . . . . . . . 10 ⟨“{0, 1} {0, 2}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
9754, 96eqtri 2787 . . . . . . . . 9 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
9863, 10, 65, 69, 86, 52, 80, 81, 93, 95, 97vdegp1ai 26723 . . . . . . . 8 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘1) = 1
99 nn0fz0 12645 . . . . . . . . 9 (3 ∈ ℕ0 ↔ 3 ∈ (0...3))
1007, 99mpbi 221 . . . . . . . 8 3 ∈ (0...3)
101 1re 10293 . . . . . . . . 9 1 ∈ ℝ
102 1lt3 11451 . . . . . . . . 9 1 < 3
103101, 102gtneii 10403 . . . . . . . 8 3 ≠ 1
104 df-s3 13880 . . . . . . . . 9 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10544, 104eqtri 2787 . . . . . . . 8 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
10653, 10, 55, 59, 98, 42, 80, 81, 100, 103, 105vdegp1ai 26723 . . . . . . 7 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘1) = 1
107 df-s4 13881 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
10834, 107eqtri 2787 . . . . . . 7 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
10943, 10, 45, 49, 106, 32, 93, 95, 108vdegp1bi 26724 . . . . . 6 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘1) = (1 + 1)
110 1p1e2 11404 . . . . . 6 (1 + 1) = 2
111109, 110eqtri 2787 . . . . 5 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘1) = 2
112 df-s5 13882 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11324, 112eqtri 2787 . . . . 5 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
11433, 10, 35, 39, 111, 22, 93, 95, 113vdegp1bi 26724 . . . 4 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘1) = (2 + 1)
115 2p1e3 11421 . . . 4 (2 + 1) = 3
116114, 115eqtri 2787 . . 3 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘1) = 3
117 df-s6 13883 . . . 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}”⟩)
11811, 117eqtri 2787 . . 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}”⟩)
11923, 10, 25, 29, 116, 4, 93, 95, 100, 103, 118vdegp1ai 26723 . 2 ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)‘1) = 3
120 konigsberg.v . . 3 𝑉 = (0...3)
121 konigsberg.e . . 3 𝐸 = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
122 konigsberg.g . . 3 𝐺 = ⟨𝑉, 𝐸
123120, 121, 122konigsbergvtx 27482 . 2 (Vtx‘𝐺) = (0...3)
124120, 121, 122konigsbergiedg 27483 . . 3 (iEdg‘𝐺) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
125124, 14eqtri 2787 . 2 (iEdg‘𝐺) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ++ ⟨“{2, 3}”⟩)
1265, 10, 12, 19, 119, 123, 93, 95, 100, 103, 125vdegp1ai 26723 1 ((VtxDeg‘𝐺)‘1) = 3
Colors of variables: wff setvar class
Syntax hints:   = wceq 1652  wcel 2155  {crab 3059  Vcvv 3350  cdif 3729  c0 4079  𝒫 cpw 4315  {csn 4334  {cpr 4336  cop 4340   class class class wbr 4809  cfv 6068  (class class class)co 6842  0cc0 10189  1c1 10190   + caddc 10192  cle 10329  2c2 11327  3c3 11328  0cn0 11538  ...cfz 12533  chash 13321  Word cword 13486   ++ cconcat 13541  ⟨“cs1 13566  ⟨“cs2 13872  ⟨“cs3 13873  ⟨“cs4 13874  ⟨“cs5 13875  ⟨“cs6 13876  ⟨“cs7 13877  Vtxcvtx 26165  iEdgciedg 26166  VtxDegcvtxdg 26652
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2069  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-rep 4930  ax-sep 4941  ax-nul 4949  ax-pow 5001  ax-pr 5062  ax-un 7147  ax-cnex 10245  ax-resscn 10246  ax-1cn 10247  ax-icn 10248  ax-addcl 10249  ax-addrcl 10250  ax-mulcl 10251  ax-mulrcl 10252  ax-mulcom 10253  ax-addass 10254  ax-mulass 10255  ax-distr 10256  ax-i2m1 10257  ax-1ne0 10258  ax-1rid 10259  ax-rnegex 10260  ax-rrecex 10261  ax-cnre 10262  ax-pre-lttri 10263  ax-pre-lttrn 10264  ax-pre-ltadd 10265  ax-pre-mulgt0 10266
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3or 1108  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2062  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-nel 3041  df-ral 3060  df-rex 3061  df-reu 3062  df-rmo 3063  df-rab 3064  df-v 3352  df-sbc 3597  df-csb 3692  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-pss 3748  df-nul 4080  df-if 4244  df-pw 4317  df-sn 4335  df-pr 4337  df-tp 4339  df-op 4341  df-uni 4595  df-int 4634  df-iun 4678  df-br 4810  df-opab 4872  df-mpt 4889  df-tr 4912  df-id 5185  df-eprel 5190  df-po 5198  df-so 5199  df-fr 5236  df-we 5238  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-rn 5288  df-res 5289  df-ima 5290  df-pred 5865  df-ord 5911  df-on 5912  df-lim 5913  df-suc 5914  df-iota 6031  df-fun 6070  df-fn 6071  df-f 6072  df-f1 6073  df-fo 6074  df-f1o 6075  df-fv 6076  df-riota 6803  df-ov 6845  df-oprab 6846  df-mpt2 6847  df-om 7264  df-1st 7366  df-2nd 7367  df-wrecs 7610  df-recs 7672  df-rdg 7710  df-1o 7764  df-oadd 7768  df-er 7947  df-en 8161  df-dom 8162  df-sdom 8163  df-fin 8164  df-card 9016  df-cda 9243  df-pnf 10330  df-mnf 10331  df-xr 10332  df-ltxr 10333  df-le 10334  df-sub 10522  df-neg 10523  df-nn 11275  df-2 11335  df-3 11336  df-n0 11539  df-xnn0 11611  df-z 11625  df-uz 11887  df-xadd 12147  df-fz 12534  df-fzo 12674  df-hash 13322  df-word 13487  df-concat 13542  df-s1 13567  df-s2 13879  df-s3 13880  df-s4 13881  df-s5 13882  df-s6 13883  df-s7 13884  df-vtx 26167  df-iedg 26168  df-vtxdg 26653
This theorem is referenced by:  konigsberglem4  27491
  Copyright terms: Public domain W3C validator