ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  konigsberglem2 GIF version

Theorem konigsberglem2 16413
Description: Lemma 2 for konigsberg 16417: 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 0z 9534 . . . . . . 7 0 ∈ ℤ
2 3z 9552 . . . . . . 7 3 ∈ ℤ
3 fzfig 10738 . . . . . . 7 ((0 ∈ ℤ ∧ 3 ∈ ℤ) → (0...3) ∈ Fin)
41, 2, 3mp2an 426 . . . . . 6 (0...3) ∈ Fin
54elexi 2816 . . . . 5 (0...3) ∈ V
6 0nn0 9459 . . . . . . . . . 10 0 ∈ ℕ0
7 1nn0 9460 . . . . . . . . . 10 1 ∈ ℕ0
8 prexg 4307 . . . . . . . . . 10 ((0 ∈ ℕ0 ∧ 1 ∈ ℕ0) → {0, 1} ∈ V)
96, 7, 8mp2an 426 . . . . . . . . 9 {0, 1} ∈ V
109a1i 9 . . . . . . . 8 (⊤ → {0, 1} ∈ V)
11 2nn0 9461 . . . . . . . . . 10 2 ∈ ℕ0
12 prexg 4307 . . . . . . . . . 10 ((0 ∈ ℕ0 ∧ 2 ∈ ℕ0) → {0, 2} ∈ V)
136, 11, 12mp2an 426 . . . . . . . . 9 {0, 2} ∈ V
1413a1i 9 . . . . . . . 8 (⊤ → {0, 2} ∈ V)
15 3nn0 9462 . . . . . . . . . 10 3 ∈ ℕ0
16 prexg 4307 . . . . . . . . . 10 ((0 ∈ ℕ0 ∧ 3 ∈ ℕ0) → {0, 3} ∈ V)
176, 15, 16mp2an 426 . . . . . . . . 9 {0, 3} ∈ V
1817a1i 9 . . . . . . . 8 (⊤ → {0, 3} ∈ V)
19 prexg 4307 . . . . . . . . . 10 ((1 ∈ ℕ0 ∧ 2 ∈ ℕ0) → {1, 2} ∈ V)
207, 11, 19mp2an 426 . . . . . . . . 9 {1, 2} ∈ V
2120a1i 9 . . . . . . . 8 (⊤ → {1, 2} ∈ V)
22 prexg 4307 . . . . . . . . . 10 ((2 ∈ ℕ0 ∧ 3 ∈ ℕ0) → {2, 3} ∈ V)
2311, 15, 22mp2an 426 . . . . . . . . 9 {2, 3} ∈ V
2423a1i 9 . . . . . . . 8 (⊤ → {2, 3} ∈ V)
2510, 14, 18, 21, 21, 24s6cld 11412 . . . . . . 7 (⊤ → ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V)
2625mptru 1407 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word V
2726elexi 2816 . . . . 5 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ V
285, 27opvtxfvi 15951 . . . 4 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (0...3)
2928eqcomi 2235 . . 3 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)
30 1le3 9397 . . . . 5 1 ≤ 3
31 elfz2nn0 10392 . . . . 5 (1 ∈ (0...3) ↔ (1 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 1 ≤ 3))
327, 15, 30, 31mpbir3an 1206 . . . 4 1 ∈ (0...3)
3332a1i 9 . . 3 (⊤ → 1 ∈ (0...3))
345, 27opiedgfvi 15952 . . . 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}”⟩
3534eqcomi 2235 . . 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}”⟩⟩)
3624s1cld 11248 . . . . . 6 (⊤ → ⟨“{2, 3}”⟩ ∈ Word V)
3736mptru 1407 . . . . 5 ⟨“{2, 3}”⟩ ∈ Word V
38 df-s7 11391 . . . . 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}”⟩)
39 eqid 2231 . . . . . 6 (0...3) = (0...3)
40 eqid 2231 . . . . . 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}”⟩
41 eqid 2231 . . . . . 6 ⟨(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}”⟩⟩
4239, 40, 41konigsbergssiedgwen 16410 . . . . 5 ((⟨“{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) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
4326, 37, 38, 42mp3an 1374 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)}
4443a1i 9 . . 3 (⊤ → ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
4510, 14, 18, 21, 21s5cld 11411 . . . . . . . 8 (⊤ → ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V)
4645mptru 1407 . . . . . . 7 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word V
4746elexi 2816 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ V
485, 47opvtxfvi 15951 . . . . 5 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (0...3)
4948eqcomi 2235 . . . 4 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
505, 47opiedgfvi 15952 . . . . 5 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩
5150eqcomi 2235 . . . 4 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)
5224, 24s2cld 11408 . . . . 5 (⊤ → ⟨“{2, 3} {2, 3}”⟩ ∈ Word V)
5310, 14, 18, 21, 21, 24, 24s5s2d 11435 . . . . 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}”⟩))
5439, 40, 41konigsbergssiedgwen 16410 . . . . 5 ((⟨“{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) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
5545, 52, 53, 54syl3anc 1274 . . . 4 (⊤ → ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
5610, 14, 18, 21s4cld 11410 . . . . . . . . . 10 (⊤ → ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V)
5756mptru 1407 . . . . . . . . 9 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word V
5857elexi 2816 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ V
595, 58opvtxfvi 15951 . . . . . . 7 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (0...3)
6059eqcomi 2235 . . . . . 6 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
615, 58opiedgfvi 15952 . . . . . . 7 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩
6261eqcomi 2235 . . . . . 6 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)
6321, 24, 24s3cld 11409 . . . . . . 7 (⊤ → ⟨“{1, 2} {2, 3} {2, 3}”⟩ ∈ Word V)
6410, 14, 18, 21, 21, 24, 24s4s3d 11432 . . . . . . 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}”⟩))
6539, 40, 41konigsbergssiedgwen 16410 . . . . . . 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) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
6656, 63, 64, 65syl3anc 1274 . . . . . 6 (⊤ → ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
6710, 14, 18s3cld 11409 . . . . . . . . . . . 12 (⊤ → ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V)
6867mptru 1407 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word V
6968elexi 2816 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ V
705, 69opvtxfvi 15951 . . . . . . . . 9 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (0...3)
7170eqcomi 2235 . . . . . . . 8 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
725, 69opiedgfvi 15952 . . . . . . . . 9 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = ⟨“{0, 1} {0, 2} {0, 3}”⟩
7372eqcomi 2235 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)
7421, 21, 24, 24s4cld 11410 . . . . . . . . 9 (⊤ → ⟨“{1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V)
7510, 14, 18, 21, 21, 24, 24s3s4d 11433 . . . . . . . . 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}”⟩))
7639, 40, 41konigsbergssiedgwen 16410 . . . . . . . . 9 ((⟨“{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) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
7767, 74, 75, 76syl3anc 1274 . . . . . . . 8 (⊤ → ⟨“{0, 1} {0, 2} {0, 3}”⟩ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
7810, 14s2cld 11408 . . . . . . . . . . . . 13 (⊤ → ⟨“{0, 1} {0, 2}”⟩ ∈ Word V)
7978mptru 1407 . . . . . . . . . . . 12 ⟨“{0, 1} {0, 2}”⟩ ∈ Word V
8079elexi 2816 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2}”⟩ ∈ V
815, 80opvtxfvi 15951 . . . . . . . . . 10 (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (0...3)
8281eqcomi 2235 . . . . . . . . 9 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
835, 80opiedgfvi 15952 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = ⟨“{0, 1} {0, 2}”⟩
8483eqcomi 2235 . . . . . . . . 9 ⟨“{0, 1} {0, 2}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)
8518, 21, 21, 24, 24s5cld 11411 . . . . . . . . . 10 (⊤ → ⟨“{0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V)
8610, 14, 18, 21, 21, 24, 24s2s5d 11434 . . . . . . . . . 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}”⟩))
8739, 40, 41konigsbergssiedgwen 16410 . . . . . . . . . 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) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
8878, 85, 86, 87syl3anc 1274 . . . . . . . . 9 (⊤ → ⟨“{0, 1} {0, 2}”⟩ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
8910s1cld 11248 . . . . . . . . . . . . . 14 (⊤ → ⟨“{0, 1}”⟩ ∈ Word V)
9089mptru 1407 . . . . . . . . . . . . 13 ⟨“{0, 1}”⟩ ∈ Word V
9190elexi 2816 . . . . . . . . . . . 12 ⟨“{0, 1}”⟩ ∈ V
925, 91opvtxfvi 15951 . . . . . . . . . . 11 (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (0...3)
9392eqcomi 2235 . . . . . . . . . 10 (0...3) = (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
945, 91opiedgfvi 15952 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = ⟨“{0, 1}”⟩
9594eqcomi 2235 . . . . . . . . . 10 ⟨“{0, 1}”⟩ = (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)
9614, 18, 21, 21, 24, 24s6cld 11412 . . . . . . . . . . 11 (⊤ → ⟨“{0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩ ∈ Word V)
9710, 14, 18, 21, 21, 24, 24s1s6d 11428 . . . . . . . . . . 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}”⟩))
9839, 40, 41konigsbergssiedgwen 16410 . . . . . . . . . . 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) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
9989, 96, 97, 98syl3anc 1274 . . . . . . . . . 10 (⊤ → ⟨“{0, 1}”⟩ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
100 0ex 4221 . . . . . . . . . . . . . 14 ∅ ∈ V
1015, 100opvtxfvi 15951 . . . . . . . . . . . . 13 (Vtx‘⟨(0...3), ∅⟩) = (0...3)
102101eqcomi 2235 . . . . . . . . . . . 12 (0...3) = (Vtx‘⟨(0...3), ∅⟩)
1035, 100opiedgfvi 15952 . . . . . . . . . . . . 13 (iEdg‘⟨(0...3), ∅⟩) = ∅
104103eqcomi 2235 . . . . . . . . . . . 12 ∅ = (iEdg‘⟨(0...3), ∅⟩)
105 wrd0 11187 . . . . . . . . . . . . 13 ∅ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)}
106105a1i 9 . . . . . . . . . . . 12 (⊤ → ∅ ∈ Word {𝑥 ∈ 𝒫 (0...3) ∣ (𝑥 ≈ 1o𝑥 ≈ 2o)})
107 eqidd 2232 . . . . . . . . . . . . 13 (⊤ → ∅ = ∅)
1084a1i 9 . . . . . . . . . . . . 13 (⊤ → (0...3) ∈ Fin)
109 upgr0eop 16046 . . . . . . . . . . . . . 14 ((0...3) ∈ Fin → ⟨(0...3), ∅⟩ ∈ UPGraph)
1104, 109mp1i 10 . . . . . . . . . . . . 13 (⊤ → ⟨(0...3), ∅⟩ ∈ UPGraph)
111102, 104, 33, 107, 108, 110vtxdgfi0e 16219 . . . . . . . . . . . 12 (⊤ → ((VtxDeg‘⟨(0...3), ∅⟩)‘1) = 0)
11292a1i 9 . . . . . . . . . . . 12 (⊤ → (Vtx‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (0...3))
113 0elfz 10398 . . . . . . . . . . . . 13 (3 ∈ ℕ0 → 0 ∈ (0...3))
11415, 113mp1i 10 . . . . . . . . . . . 12 (⊤ → 0 ∈ (0...3))
115 0ne1 9252 . . . . . . . . . . . . 13 0 ≠ 1
116115a1i 9 . . . . . . . . . . . 12 (⊤ → 0 ≠ 1)
117 s1cl 11247 . . . . . . . . . . . . . . 15 ({0, 1} ∈ V → ⟨“{0, 1}”⟩ ∈ Word V)
118 ccatlid 11232 . . . . . . . . . . . . . . 15 (⟨“{0, 1}”⟩ ∈ Word V → (∅ ++ ⟨“{0, 1}”⟩) = ⟨“{0, 1}”⟩)
1199, 117, 118mp2b 8 . . . . . . . . . . . . . 14 (∅ ++ ⟨“{0, 1}”⟩) = ⟨“{0, 1}”⟩
12094, 119eqtr4i 2255 . . . . . . . . . . . . 13 (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (∅ ++ ⟨“{0, 1}”⟩)
121120a1i 9 . . . . . . . . . . . 12 (⊤ → (iEdg‘⟨(0...3), ⟨“{0, 1}”⟩⟩) = (∅ ++ ⟨“{0, 1}”⟩))
122102, 33, 104, 106, 111, 112, 108, 114, 116, 121vdegp1cid 16240 . . . . . . . . . . 11 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘1) = (0 + 1))
123 0p1e1 9299 . . . . . . . . . . 11 (0 + 1) = 1
124122, 123eqtrdi 2280 . . . . . . . . . 10 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1}”⟩⟩)‘1) = 1)
12581a1i 9 . . . . . . . . . 10 (⊤ → (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (0...3))
126 2re 9255 . . . . . . . . . . . . 13 2 ∈ ℝ
127 3re 9259 . . . . . . . . . . . . 13 3 ∈ ℝ
128 2lt3 9356 . . . . . . . . . . . . 13 2 < 3
129126, 127, 128ltleii 8324 . . . . . . . . . . . 12 2 ≤ 3
130 elfz2nn0 10392 . . . . . . . . . . . 12 (2 ∈ (0...3) ↔ (2 ∈ ℕ0 ∧ 3 ∈ ℕ0 ∧ 2 ≤ 3))
13111, 15, 129, 130mpbir3an 1206 . . . . . . . . . . 11 2 ∈ (0...3)
132131a1i 9 . . . . . . . . . 10 (⊤ → 2 ∈ (0...3))
133 1ne2 9392 . . . . . . . . . . . 12 1 ≠ 2
134133necomi 2488 . . . . . . . . . . 11 2 ≠ 1
135134a1i 9 . . . . . . . . . 10 (⊤ → 2 ≠ 1)
136 0ne2 9391 . . . . . . . . . . 11 0 ≠ 2
137136a1i 9 . . . . . . . . . 10 (⊤ → 0 ≠ 2)
138 df-s2 11386 . . . . . . . . . . . 12 ⟨“{0, 1} {0, 2}”⟩ = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
13983, 138eqtri 2252 . . . . . . . . . . 11 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩)
140139a1i 9 . . . . . . . . . 10 (⊤ → (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩) = (⟨“{0, 1}”⟩ ++ ⟨“{0, 2}”⟩))
14193, 33, 95, 99, 124, 125, 108, 114, 116, 132, 135, 137, 140vdegp1aid 16238 . . . . . . . . 9 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2}”⟩⟩)‘1) = 1)
14270a1i 9 . . . . . . . . 9 (⊤ → (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (0...3))
143 nn0fz0 10399 . . . . . . . . . . 11 (3 ∈ ℕ0 ↔ 3 ∈ (0...3))
14415, 143mpbi 145 . . . . . . . . . 10 3 ∈ (0...3)
145144a1i 9 . . . . . . . . 9 (⊤ → 3 ∈ (0...3))
146 1re 8221 . . . . . . . . . . 11 1 ∈ ℝ
147 1lt3 9357 . . . . . . . . . . 11 1 < 3
148146, 147gtneii 8317 . . . . . . . . . 10 3 ≠ 1
149148a1i 9 . . . . . . . . 9 (⊤ → 3 ≠ 1)
150 3ne0 9280 . . . . . . . . . . 11 3 ≠ 0
151150necomi 2488 . . . . . . . . . 10 0 ≠ 3
152151a1i 9 . . . . . . . . 9 (⊤ → 0 ≠ 3)
153 df-s3 11387 . . . . . . . . . . 11 ⟨“{0, 1} {0, 2} {0, 3}”⟩ = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
15472, 153eqtri 2252 . . . . . . . . . 10 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩)
155154a1i 9 . . . . . . . . 9 (⊤ → (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩) = (⟨“{0, 1} {0, 2}”⟩ ++ ⟨“{0, 3}”⟩))
15682, 33, 84, 88, 141, 142, 108, 114, 116, 145, 149, 152, 155vdegp1aid 16238 . . . . . . . 8 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3}”⟩⟩)‘1) = 1)
15759a1i 9 . . . . . . . 8 (⊤ → (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (0...3))
158 df-s4 11388 . . . . . . . . . 10 ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
15961, 158eqtri 2252 . . . . . . . . 9 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩)
160159a1i 9 . . . . . . . 8 (⊤ → (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3}”⟩ ++ ⟨“{1, 2}”⟩))
16171, 33, 73, 77, 156, 157, 108, 132, 135, 160vdegp1bid 16239 . . . . . . 7 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘1) = (1 + 1))
162 1p1e2 9302 . . . . . . 7 (1 + 1) = 2
163161, 162eqtrdi 2280 . . . . . 6 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩⟩)‘1) = 2)
16448a1i 9 . . . . . 6 (⊤ → (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (0...3))
165 df-s5 11389 . . . . . . . 8 ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩ = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
16650, 165eqtri 2252 . . . . . . 7 (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩)
167166a1i 9 . . . . . 6 (⊤ → (iEdg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2}”⟩ ++ ⟨“{1, 2}”⟩))
16860, 33, 62, 66, 163, 164, 108, 132, 135, 167vdegp1bid 16239 . . . . 5 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘1) = (2 + 1))
169 2p1e3 9319 . . . . 5 (2 + 1) = 3
170168, 169eqtrdi 2280 . . . 4 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2}”⟩⟩)‘1) = 3)
17128a1i 9 . . . 4 (⊤ → (Vtx‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩) = (0...3))
172126, 128ltneii 8318 . . . . 5 2 ≠ 3
173172a1i 9 . . . 4 (⊤ → 2 ≠ 3)
174 df-s6 11390 . . . . . 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}”⟩)
17534, 174eqtri 2252 . . . . 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}”⟩)
176175a1i 9 . . . 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}”⟩))
17749, 33, 51, 55, 170, 171, 108, 132, 135, 145, 149, 173, 176vdegp1aid 16238 . . 3 (⊤ → ((VtxDeg‘⟨(0...3), ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩⟩)‘1) = 3)
178 konigsberg.v . . . . 5 𝑉 = (0...3)
179 konigsberg.e . . . . 5 𝐸 = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
180 konigsberg.g . . . . 5 𝐺 = ⟨𝑉, 𝐸
181178, 179, 180konigsbergvtx 16406 . . . 4 (Vtx‘𝐺) = (0...3)
182181a1i 9 . . 3 (⊤ → (Vtx‘𝐺) = (0...3))
183178, 179, 180konigsbergiedg 16407 . . . . 5 (iEdg‘𝐺) = ⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3} {2, 3}”⟩
184183, 38eqtri 2252 . . . 4 (iEdg‘𝐺) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ++ ⟨“{2, 3}”⟩)
185184a1i 9 . . 3 (⊤ → (iEdg‘𝐺) = (⟨“{0, 1} {0, 2} {0, 3} {1, 2} {1, 2} {2, 3}”⟩ ++ ⟨“{2, 3}”⟩))
18629, 33, 35, 44, 177, 182, 108, 132, 135, 145, 149, 173, 185vdegp1aid 16238 . 2 (⊤ → ((VtxDeg‘𝐺)‘1) = 3)
187186mptru 1407 1 ((VtxDeg‘𝐺)‘1) = 3
Colors of variables: wff set class
Syntax hints:  wo 716   = wceq 1398  wtru 1399  wcel 2202  wne 2403  {crab 2515  Vcvv 2803  c0 3496  𝒫 cpw 3656  {cpr 3674  cop 3676   class class class wbr 4093  cfv 5333  (class class class)co 6028  1oc1o 6618  2oc2o 6619  cen 6950  Fincfn 6952  0cc0 8075  1c1 8076   + caddc 8078  cle 8257  2c2 9236  3c3 9237  0cn0 9444  cz 9523  ...cfz 10288  Word cword 11162   ++ cconcat 11216  ⟨“cs1 11241  ⟨“cs2 11379  ⟨“cs3 11380  ⟨“cs4 11381  ⟨“cs5 11382  ⟨“cs6 11383  ⟨“cs7 11384  Vtxcvtx 15936  iEdgciedg 15937  UPGraphcupgr 16015  VtxDegcvtxdg 16210
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2204  ax-14 2205  ax-ext 2213  ax-coll 4209  ax-sep 4212  ax-nul 4220  ax-pow 4270  ax-pr 4305  ax-un 4536  ax-setind 4641  ax-iinf 4692  ax-cnex 8166  ax-resscn 8167  ax-1cn 8168  ax-1re 8169  ax-icn 8170  ax-addcl 8171  ax-addrcl 8172  ax-mulcl 8173  ax-addcom 8175  ax-mulcom 8176  ax-addass 8177  ax-mulass 8178  ax-distr 8179  ax-i2m1 8180  ax-0lt1 8181  ax-1rid 8182  ax-0id 8183  ax-rnegex 8184  ax-cnre 8186  ax-pre-ltirr 8187  ax-pre-ltwlin 8188  ax-pre-lttrn 8189  ax-pre-apti 8190  ax-pre-ltadd 8191
This theorem depends on definitions:  df-bi 117  df-dc 843  df-3or 1006  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1811  df-eu 2082  df-mo 2083  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2364  df-ne 2404  df-nel 2499  df-ral 2516  df-rex 2517  df-reu 2518  df-rab 2520  df-v 2805  df-sbc 3033  df-csb 3129  df-dif 3203  df-un 3205  df-in 3207  df-ss 3214  df-nul 3497  df-if 3608  df-pw 3658  df-sn 3679  df-pr 3680  df-op 3682  df-uni 3899  df-int 3934  df-iun 3977  df-br 4094  df-opab 4156  df-mpt 4157  df-tr 4193  df-id 4396  df-iord 4469  df-on 4471  df-ilim 4472  df-suc 4474  df-iom 4695  df-xp 4737  df-rel 4738  df-cnv 4739  df-co 4740  df-dm 4741  df-rn 4742  df-res 4743  df-ima 4744  df-iota 5293  df-fun 5335  df-fn 5336  df-f 5337  df-f1 5338  df-fo 5339  df-f1o 5340  df-fv 5341  df-riota 5981  df-ov 6031  df-oprab 6032  df-mpo 6033  df-1st 6312  df-2nd 6313  df-recs 6514  df-irdg 6579  df-frec 6600  df-1o 6625  df-2o 6626  df-oadd 6629  df-er 6745  df-en 6953  df-dom 6954  df-fin 6955  df-pnf 8258  df-mnf 8259  df-xr 8260  df-ltxr 8261  df-le 8262  df-sub 8394  df-neg 8395  df-inn 9186  df-2 9244  df-3 9245  df-4 9246  df-5 9247  df-6 9248  df-7 9249  df-8 9250  df-9 9251  df-n0 9445  df-z 9524  df-dec 9656  df-uz 9800  df-xadd 10052  df-fz 10289  df-fzo 10423  df-ihash 11084  df-word 11163  df-concat 11217  df-s1 11242  df-s2 11386  df-s3 11387  df-s4 11388  df-s5 11389  df-s6 11390  df-s7 11391  df-ndx 13148  df-slot 13149  df-base 13151  df-edgf 15929  df-vtx 15938  df-iedg 15939  df-upgren 16017  df-umgren 16018  df-vtxdg 16211
This theorem is referenced by:  konigsberglem4  16415
  Copyright terms: Public domain W3C validator