Proof of Theorem eupth2lem3lem3
Step | Hyp | Ref
| Expression |
1 | | trlsegvdeg.u |
. . . . 5
⊢ (𝜑 → 𝑈 ∈ 𝑉) |
2 | | fveq2 6103 |
. . . . . . . 8
⊢ (𝑥 = 𝑈 → ((VtxDeg‘𝑋)‘𝑥) = ((VtxDeg‘𝑋)‘𝑈)) |
3 | 2 | breq2d 4595 |
. . . . . . 7
⊢ (𝑥 = 𝑈 → (2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈))) |
4 | 3 | notbid 307 |
. . . . . 6
⊢ (𝑥 = 𝑈 → (¬ 2 ∥
((VtxDeg‘𝑋)‘𝑥) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈))) |
5 | 4 | elrab3 3332 |
. . . . 5
⊢ (𝑈 ∈ 𝑉 → (𝑈 ∈ {𝑥 ∈ 𝑉 ∣ ¬ 2 ∥
((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥
((VtxDeg‘𝑋)‘𝑈))) |
6 | 1, 5 | syl 17 |
. . . 4
⊢ (𝜑 → (𝑈 ∈ {𝑥 ∈ 𝑉 ∣ ¬ 2 ∥
((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥
((VtxDeg‘𝑋)‘𝑈))) |
7 | | eupth2lem3.o |
. . . . 5
⊢ (𝜑 → {𝑥 ∈ 𝑉 ∣ ¬ 2 ∥
((VtxDeg‘𝑋)‘𝑥)} = if((𝑃‘0) = (𝑃‘𝑁), ∅, {(𝑃‘0), (𝑃‘𝑁)})) |
8 | 7 | eleq2d 2673 |
. . . 4
⊢ (𝜑 → (𝑈 ∈ {𝑥 ∈ 𝑉 ∣ ¬ 2 ∥
((VtxDeg‘𝑋)‘𝑥)} ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘𝑁), ∅, {(𝑃‘0), (𝑃‘𝑁)}))) |
9 | 6, 8 | bitr3d 269 |
. . 3
⊢ (𝜑 → (¬ 2 ∥
((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘𝑁), ∅, {(𝑃‘0), (𝑃‘𝑁)}))) |
10 | 9 | adantr 480 |
. 2
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (¬ 2 ∥
((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘𝑁), ∅, {(𝑃‘0), (𝑃‘𝑁)}))) |
11 | | 2z 11286 |
. . . . . 6
⊢ 2 ∈
ℤ |
12 | 11 | a1i 11 |
. . . . 5
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → 2 ∈
ℤ) |
13 | | trlsegvdeg.v |
. . . . . . . 8
⊢ 𝑉 = (Vtx‘𝐺) |
14 | | trlsegvdeg.i |
. . . . . . . 8
⊢ 𝐼 = (iEdg‘𝐺) |
15 | | trlsegvdeg.f |
. . . . . . . 8
⊢ (𝜑 → Fun 𝐼) |
16 | | trlsegvdeg.n |
. . . . . . . 8
⊢ (𝜑 → 𝑁 ∈ (0..^(#‘𝐹))) |
17 | | trlsegvdeg.w |
. . . . . . . 8
⊢ (𝜑 → 𝐹(TrailS‘𝐺)𝑃) |
18 | | trlsegvdeg.vx |
. . . . . . . 8
⊢ (𝜑 → (Vtx‘𝑋) = 𝑉) |
19 | | trlsegvdeg.vy |
. . . . . . . 8
⊢ (𝜑 → (Vtx‘𝑌) = 𝑉) |
20 | | trlsegvdeg.vz |
. . . . . . . 8
⊢ (𝜑 → (Vtx‘𝑍) = 𝑉) |
21 | | trlsegvdeg.ix |
. . . . . . . 8
⊢ (𝜑 → (iEdg‘𝑋) = (𝐼 ↾ (𝐹 “ (0..^𝑁)))) |
22 | | trlsegvdeg.iy |
. . . . . . . 8
⊢ (𝜑 → (iEdg‘𝑌) = {〈(𝐹‘𝑁), (𝐼‘(𝐹‘𝑁))〉}) |
23 | | trlsegvdeg.iz |
. . . . . . . 8
⊢ (𝜑 → (iEdg‘𝑍) = (𝐼 ↾ (𝐹 “ (0...𝑁)))) |
24 | 13, 14, 15, 16, 1, 17, 18, 19, 20, 21, 22, 23 | eupth2lem3lem1 41396 |
. . . . . . 7
⊢ (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈
ℕ0) |
25 | 24 | nn0zd 11356 |
. . . . . 6
⊢ (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℤ) |
26 | 25 | adantr 480 |
. . . . 5
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → ((VtxDeg‘𝑋)‘𝑈) ∈ ℤ) |
27 | 13, 14, 15, 16, 1, 17, 18, 19, 20, 21, 22, 23 | eupth2lem3lem2 41397 |
. . . . . . 7
⊢ (𝜑 → ((VtxDeg‘𝑌)‘𝑈) ∈
ℕ0) |
28 | 27 | nn0zd 11356 |
. . . . . 6
⊢ (𝜑 → ((VtxDeg‘𝑌)‘𝑈) ∈ ℤ) |
29 | 28 | adantr 480 |
. . . . 5
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → ((VtxDeg‘𝑌)‘𝑈) ∈ ℤ) |
30 | | iddvds 14833 |
. . . . . . . 8
⊢ (2 ∈
ℤ → 2 ∥ 2) |
31 | 11, 30 | ax-mp 5 |
. . . . . . 7
⊢ 2 ∥
2 |
32 | 19 | ad2antrr 758 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → (Vtx‘𝑌) = 𝑉) |
33 | | fvex 6113 |
. . . . . . . . 9
⊢ (𝐹‘𝑁) ∈ V |
34 | 33 | a1i 11 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → (𝐹‘𝑁) ∈ V) |
35 | 1 | ad2antrr 758 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → 𝑈 ∈ 𝑉) |
36 | 22 | ad2antrr 758 |
. . . . . . . . 9
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → (iEdg‘𝑌) = {〈(𝐹‘𝑁), (𝐼‘(𝐹‘𝑁))〉}) |
37 | | eupth2lem3lem3.e |
. . . . . . . . . . . . . 14
⊢ (𝜑 → if-((𝑃‘𝑁) = (𝑃‘(𝑁 + 1)), (𝐼‘(𝐹‘𝑁)) = {(𝑃‘𝑁)}, {(𝑃‘𝑁), (𝑃‘(𝑁 + 1))} ⊆ (𝐼‘(𝐹‘𝑁)))) |
38 | 37 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → if-((𝑃‘𝑁) = (𝑃‘(𝑁 + 1)), (𝐼‘(𝐹‘𝑁)) = {(𝑃‘𝑁)}, {(𝑃‘𝑁), (𝑃‘(𝑁 + 1))} ⊆ (𝐼‘(𝐹‘𝑁)))) |
39 | | ifptru 1017 |
. . . . . . . . . . . . . 14
⊢ ((𝑃‘𝑁) = (𝑃‘(𝑁 + 1)) → (if-((𝑃‘𝑁) = (𝑃‘(𝑁 + 1)), (𝐼‘(𝐹‘𝑁)) = {(𝑃‘𝑁)}, {(𝑃‘𝑁), (𝑃‘(𝑁 + 1))} ⊆ (𝐼‘(𝐹‘𝑁))) ↔ (𝐼‘(𝐹‘𝑁)) = {(𝑃‘𝑁)})) |
40 | 39 | adantl 481 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (if-((𝑃‘𝑁) = (𝑃‘(𝑁 + 1)), (𝐼‘(𝐹‘𝑁)) = {(𝑃‘𝑁)}, {(𝑃‘𝑁), (𝑃‘(𝑁 + 1))} ⊆ (𝐼‘(𝐹‘𝑁))) ↔ (𝐼‘(𝐹‘𝑁)) = {(𝑃‘𝑁)})) |
41 | 38, 40 | mpbid 221 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (𝐼‘(𝐹‘𝑁)) = {(𝑃‘𝑁)}) |
42 | | sneq 4135 |
. . . . . . . . . . . . 13
⊢ ((𝑃‘𝑁) = 𝑈 → {(𝑃‘𝑁)} = {𝑈}) |
43 | 42 | eqcoms 2618 |
. . . . . . . . . . . 12
⊢ (𝑈 = (𝑃‘𝑁) → {(𝑃‘𝑁)} = {𝑈}) |
44 | 41, 43 | sylan9eq 2664 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → (𝐼‘(𝐹‘𝑁)) = {𝑈}) |
45 | 44 | opeq2d 4347 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → 〈(𝐹‘𝑁), (𝐼‘(𝐹‘𝑁))〉 = 〈(𝐹‘𝑁), {𝑈}〉) |
46 | 45 | sneqd 4137 |
. . . . . . . . 9
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → {〈(𝐹‘𝑁), (𝐼‘(𝐹‘𝑁))〉} = {〈(𝐹‘𝑁), {𝑈}〉}) |
47 | 36, 46 | eqtrd 2644 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → (iEdg‘𝑌) = {〈(𝐹‘𝑁), {𝑈}〉}) |
48 | 32, 34, 35, 47 | 1loopgrvd2 40718 |
. . . . . . 7
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → ((VtxDeg‘𝑌)‘𝑈) = 2) |
49 | 31, 48 | syl5breqr 4621 |
. . . . . 6
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 = (𝑃‘𝑁)) → 2 ∥ ((VtxDeg‘𝑌)‘𝑈)) |
50 | | dvds0 14835 |
. . . . . . . 8
⊢ (2 ∈
ℤ → 2 ∥ 0) |
51 | 11, 50 | ax-mp 5 |
. . . . . . 7
⊢ 2 ∥
0 |
52 | 19 | ad2antrr 758 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → (Vtx‘𝑌) = 𝑉) |
53 | 33 | a1i 11 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → (𝐹‘𝑁) ∈ V) |
54 | 13, 14, 15, 16, 1, 17 | trlsegvdeglem1 41388 |
. . . . . . . . . 10
⊢ (𝜑 → ((𝑃‘𝑁) ∈ 𝑉 ∧ (𝑃‘(𝑁 + 1)) ∈ 𝑉)) |
55 | 54 | simpld 474 |
. . . . . . . . 9
⊢ (𝜑 → (𝑃‘𝑁) ∈ 𝑉) |
56 | 55 | ad2antrr 758 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → (𝑃‘𝑁) ∈ 𝑉) |
57 | 22 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (iEdg‘𝑌) = {〈(𝐹‘𝑁), (𝐼‘(𝐹‘𝑁))〉}) |
58 | 41 | opeq2d 4347 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → 〈(𝐹‘𝑁), (𝐼‘(𝐹‘𝑁))〉 = 〈(𝐹‘𝑁), {(𝑃‘𝑁)}〉) |
59 | 58 | sneqd 4137 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → {〈(𝐹‘𝑁), (𝐼‘(𝐹‘𝑁))〉} = {〈(𝐹‘𝑁), {(𝑃‘𝑁)}〉}) |
60 | 57, 59 | eqtrd 2644 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (iEdg‘𝑌) = {〈(𝐹‘𝑁), {(𝑃‘𝑁)}〉}) |
61 | 60 | adantr 480 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → (iEdg‘𝑌) = {〈(𝐹‘𝑁), {(𝑃‘𝑁)}〉}) |
62 | 1 | adantr 480 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → 𝑈 ∈ 𝑉) |
63 | 62 | anim1i 590 |
. . . . . . . . 9
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → (𝑈 ∈ 𝑉 ∧ 𝑈 ≠ (𝑃‘𝑁))) |
64 | | eldifsn 4260 |
. . . . . . . . 9
⊢ (𝑈 ∈ (𝑉 ∖ {(𝑃‘𝑁)}) ↔ (𝑈 ∈ 𝑉 ∧ 𝑈 ≠ (𝑃‘𝑁))) |
65 | 63, 64 | sylibr 223 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → 𝑈 ∈ (𝑉 ∖ {(𝑃‘𝑁)})) |
66 | 52, 53, 56, 61, 65 | 1loopgrvd0 40719 |
. . . . . . 7
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → ((VtxDeg‘𝑌)‘𝑈) = 0) |
67 | 51, 66 | syl5breqr 4621 |
. . . . . 6
⊢ (((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) ∧ 𝑈 ≠ (𝑃‘𝑁)) → 2 ∥ ((VtxDeg‘𝑌)‘𝑈)) |
68 | 49, 67 | pm2.61dane 2869 |
. . . . 5
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → 2 ∥
((VtxDeg‘𝑌)‘𝑈)) |
69 | | dvdsadd2b 14866 |
. . . . 5
⊢ ((2
∈ ℤ ∧ ((VtxDeg‘𝑋)‘𝑈) ∈ ℤ ∧ (((VtxDeg‘𝑌)‘𝑈) ∈ ℤ ∧ 2 ∥
((VtxDeg‘𝑌)‘𝑈))) → (2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 2 ∥ (((VtxDeg‘𝑌)‘𝑈) + ((VtxDeg‘𝑋)‘𝑈)))) |
70 | 12, 26, 29, 68, 69 | syl112anc 1322 |
. . . 4
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (2 ∥
((VtxDeg‘𝑋)‘𝑈) ↔ 2 ∥ (((VtxDeg‘𝑌)‘𝑈) + ((VtxDeg‘𝑋)‘𝑈)))) |
71 | 27 | nn0cnd 11230 |
. . . . . . 7
⊢ (𝜑 → ((VtxDeg‘𝑌)‘𝑈) ∈ ℂ) |
72 | 24 | nn0cnd 11230 |
. . . . . . 7
⊢ (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℂ) |
73 | 71, 72 | addcomd 10117 |
. . . . . 6
⊢ (𝜑 → (((VtxDeg‘𝑌)‘𝑈) + ((VtxDeg‘𝑋)‘𝑈)) = (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈))) |
74 | 73 | breq2d 4595 |
. . . . 5
⊢ (𝜑 → (2 ∥
(((VtxDeg‘𝑌)‘𝑈) + ((VtxDeg‘𝑋)‘𝑈)) ↔ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)))) |
75 | 74 | adantr 480 |
. . . 4
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (2 ∥
(((VtxDeg‘𝑌)‘𝑈) + ((VtxDeg‘𝑋)‘𝑈)) ↔ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)))) |
76 | 70, 75 | bitrd 267 |
. . 3
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (2 ∥
((VtxDeg‘𝑋)‘𝑈) ↔ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)))) |
77 | 76 | notbid 307 |
. 2
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (¬ 2 ∥
((VtxDeg‘𝑋)‘𝑈) ↔ ¬ 2 ∥
(((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)))) |
78 | | simpr 476 |
. . . . 5
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) |
79 | 78 | eqeq2d 2620 |
. . . 4
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → ((𝑃‘0) = (𝑃‘𝑁) ↔ (𝑃‘0) = (𝑃‘(𝑁 + 1)))) |
80 | 78 | preq2d 4219 |
. . . 4
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → {(𝑃‘0), (𝑃‘𝑁)} = {(𝑃‘0), (𝑃‘(𝑁 + 1))}) |
81 | 79, 80 | ifbieq2d 4061 |
. . 3
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → if((𝑃‘0) = (𝑃‘𝑁), ∅, {(𝑃‘0), (𝑃‘𝑁)}) = if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})) |
82 | 81 | eleq2d 2673 |
. 2
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (𝑈 ∈ if((𝑃‘0) = (𝑃‘𝑁), ∅, {(𝑃‘0), (𝑃‘𝑁)}) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))}))) |
83 | 10, 77, 82 | 3bitr3d 297 |
1
⊢ ((𝜑 ∧ (𝑃‘𝑁) = (𝑃‘(𝑁 + 1))) → (¬ 2 ∥
(((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))}))) |