Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eupth2lem3lem6 Structured version   Visualization version   GIF version

Theorem eupth2lem3lem6 41401
Description: Formerly part of proof of eupath2lem3 26506: If an edge (not a loop) is added to a trail, the degree of vertices not being end vertices of this edge remains odd if it was odd before (regarding the subgraphs induced by the involved trails). Remark: This seems to be not valid for hyperedges joining more vertices than (𝑃‘0) and (𝑃𝑁): if there is a third vertex in the edge, and this vertex is already contained in the trail, then the degree of this vertex could be affected by this edge! (Contributed by Mario Carneiro, 8-Apr-2015.) (Revised by AV, 25-Feb-2021.)
Hypotheses
Ref Expression
trlsegvdeg.v 𝑉 = (Vtx‘𝐺)
trlsegvdeg.i 𝐼 = (iEdg‘𝐺)
trlsegvdeg.f (𝜑 → Fun 𝐼)
trlsegvdeg.n (𝜑𝑁 ∈ (0..^(#‘𝐹)))
trlsegvdeg.u (𝜑𝑈𝑉)
trlsegvdeg.w (𝜑𝐹(TrailS‘𝐺)𝑃)
trlsegvdeg.vx (𝜑 → (Vtx‘𝑋) = 𝑉)
trlsegvdeg.vy (𝜑 → (Vtx‘𝑌) = 𝑉)
trlsegvdeg.vz (𝜑 → (Vtx‘𝑍) = 𝑉)
trlsegvdeg.ix (𝜑 → (iEdg‘𝑋) = (𝐼 ↾ (𝐹 “ (0..^𝑁))))
trlsegvdeg.iy (𝜑 → (iEdg‘𝑌) = {⟨(𝐹𝑁), (𝐼‘(𝐹𝑁))⟩})
trlsegvdeg.iz (𝜑 → (iEdg‘𝑍) = (𝐼 ↾ (𝐹 “ (0...𝑁))))
eupth2lem3.o (𝜑 → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} = if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}))
eupth2lem3.e (𝜑 → (𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
Assertion
Ref Expression
eupth2lem3lem6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
Distinct variable groups:   𝑥,𝑈   𝑥,𝑉   𝑥,𝑋
Allowed substitution hints:   𝜑(𝑥)   𝑃(𝑥)   𝐹(𝑥)   𝐺(𝑥)   𝐼(𝑥)   𝑁(𝑥)   𝑌(𝑥)   𝑍(𝑥)

Proof of Theorem eupth2lem3lem6
StepHypRef Expression
1 trlsegvdeg.iy . . . . . . . 8 (𝜑 → (iEdg‘𝑌) = {⟨(𝐹𝑁), (𝐼‘(𝐹𝑁))⟩})
213ad2ant1 1075 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (iEdg‘𝑌) = {⟨(𝐹𝑁), (𝐼‘(𝐹𝑁))⟩})
3 trlsegvdeg.vy . . . . . . . 8 (𝜑 → (Vtx‘𝑌) = 𝑉)
433ad2ant1 1075 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (Vtx‘𝑌) = 𝑉)
5 fvex 6113 . . . . . . . 8 (𝐹𝑁) ∈ V
65a1i 11 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐹𝑁) ∈ V)
7 trlsegvdeg.u . . . . . . . 8 (𝜑𝑈𝑉)
873ad2ant1 1075 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈𝑉)
9 fvex 6113 . . . . . . . 8 (𝐼‘(𝐹𝑁)) ∈ V
109a1i 11 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐼‘(𝐹𝑁)) ∈ V)
11 eupth2lem3.e . . . . . . . . 9 (𝜑 → (𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
12 simpl 472 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃𝑁))
1312adantl 481 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
14 simpr 476 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1514adantl 481 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1613, 15nelprd 4151 . . . . . . . . . . . 12 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
17 df-nel 2783 . . . . . . . . . . . 12 (𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))} ↔ ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
1816, 17sylibr 223 . . . . . . . . . . 11 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
19 neleq2 2889 . . . . . . . . . . 11 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (𝑈 ∉ (𝐼‘(𝐹𝑁)) ↔ 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))}))
2018, 19syl5ibr 235 . . . . . . . . . 10 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁))))
2120expd 451 . . . . . . . . 9 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
2211, 21syl 17 . . . . . . . 8 (𝜑 → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
23223imp 1249 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))
242, 4, 6, 8, 10, 231hevtxdg0 40720 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ((VtxDeg‘𝑌)‘𝑈) = 0)
2524oveq2d 6565 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) = (((VtxDeg‘𝑋)‘𝑈) + 0))
26 trlsegvdeg.v . . . . . . . . 9 𝑉 = (Vtx‘𝐺)
27 trlsegvdeg.i . . . . . . . . 9 𝐼 = (iEdg‘𝐺)
28 trlsegvdeg.f . . . . . . . . 9 (𝜑 → Fun 𝐼)
29 trlsegvdeg.n . . . . . . . . 9 (𝜑𝑁 ∈ (0..^(#‘𝐹)))
30 trlsegvdeg.w . . . . . . . . 9 (𝜑𝐹(TrailS‘𝐺)𝑃)
31 trlsegvdeg.vx . . . . . . . . 9 (𝜑 → (Vtx‘𝑋) = 𝑉)
32 trlsegvdeg.vz . . . . . . . . 9 (𝜑 → (Vtx‘𝑍) = 𝑉)
33 trlsegvdeg.ix . . . . . . . . 9 (𝜑 → (iEdg‘𝑋) = (𝐼 ↾ (𝐹 “ (0..^𝑁))))
34 trlsegvdeg.iz . . . . . . . . 9 (𝜑 → (iEdg‘𝑍) = (𝐼 ↾ (𝐹 “ (0...𝑁))))
3526, 27, 28, 29, 7, 30, 31, 3, 32, 33, 1, 34eupth2lem3lem1 41396 . . . . . . . 8 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℕ0)
3635nn0cnd 11230 . . . . . . 7 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℂ)
3736addid1d 10115 . . . . . 6 (𝜑 → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
38373ad2ant1 1075 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
3925, 38eqtrd 2644 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) = ((VtxDeg‘𝑋)‘𝑈))
4039breq2d 4595 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4140notbid 307 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
42 fveq2 6103 . . . . . . . 8 (𝑥 = 𝑈 → ((VtxDeg‘𝑋)‘𝑥) = ((VtxDeg‘𝑋)‘𝑈))
4342breq2d 4595 . . . . . . 7 (𝑥 = 𝑈 → (2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4443notbid 307 . . . . . 6 (𝑥 = 𝑈 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4544elrab3 3332 . . . . 5 (𝑈𝑉 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
467, 45syl 17 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
47 eupth2lem3.o . . . . 5 (𝜑 → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} = if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}))
4847eleq2d 2673 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
4946, 48bitr3d 269 . . 3 (𝜑 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
50493ad2ant1 1075 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
51123ad2ant3 1077 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
52143ad2ant3 1077 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
5351, 522thd 254 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))))
54 neeq1 2844 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃𝑁)))
55 neeq1 2844 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃‘(𝑁 + 1)) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1))))
5654, 55bibi12d 334 . . . . . 6 (𝑈 = (𝑃‘0) → ((𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5753, 56syl5ibcom 234 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) → ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5857pm5.32rd 670 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0))))
5951neneqd 2787 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃𝑁))
60 biorf 419 . . . . . . 7 𝑈 = (𝑃𝑁) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
6159, 60syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
62 orcom 401 . . . . . 6 ((𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))
6361, 62syl6bb 275 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))))
6463anbi2d 736 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
6552neneqd 2787 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃‘(𝑁 + 1)))
66 biorf 419 . . . . . . 7 𝑈 = (𝑃‘(𝑁 + 1)) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
6765, 66syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
68 orcom 401 . . . . . 6 ((𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))
6967, 68syl6bb 275 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1)))))
7069anbi2d 736 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
7158, 64, 703bitr3d 297 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
72 eupath2lem1 26504 . . . 4 (𝑈𝑉 → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
738, 72syl 17 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
74 eupath2lem1 26504 . . . 4 (𝑈𝑉 → (𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))}) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
758, 74syl 17 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))}) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
7671, 73, 753bitr4d 299 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
7741, 50, 763bitrd 293 1 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wo 382  wa 383  w3a 1031   = wceq 1475  wcel 1977  wne 2780  wnel 2781  {crab 2900  Vcvv 3173  c0 3874  ifcif 4036  {csn 4125  {cpr 4127  cop 4131   class class class wbr 4583  cres 5040  cima 5041  Fun wfun 5798  cfv 5804  (class class class)co 6549  0cc0 9815  1c1 9816   + caddc 9818  2c2 10947  ...cfz 12197  ..^cfzo 12334  #chash 12979  cdvds 14821  Vtxcvtx 25673  iEdgciedg 25674  VtxDegcvtxdg 40681  TrailSctrls 40899
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-cnex 9871  ax-resscn 9872  ax-1cn 9873  ax-icn 9874  ax-addcl 9875  ax-addrcl 9876  ax-mulcl 9877  ax-mulrcl 9878  ax-mulcom 9879  ax-addass 9880  ax-mulass 9881  ax-distr 9882  ax-i2m1 9883  ax-1ne0 9884  ax-1rid 9885  ax-rnegex 9886  ax-rrecex 9887  ax-cnre 9888  ax-pre-lttri 9889  ax-pre-lttrn 9890  ax-pre-ltadd 9891  ax-pre-mulgt0 9892
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-ifp 1007  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-riota 6511  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-1st 7059  df-2nd 7060  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-er 7629  df-map 7746  df-pm 7747  df-en 7842  df-dom 7843  df-sdom 7844  df-fin 7845  df-card 8648  df-pnf 9955  df-mnf 9956  df-xr 9957  df-ltxr 9958  df-le 9959  df-sub 10147  df-neg 10148  df-nn 10898  df-n0 11170  df-xnn0 11241  df-z 11255  df-uz 11564  df-xadd 11823  df-fz 12198  df-fzo 12335  df-hash 12980  df-word 13154  df-vtxdg 40682  df-1wlks 40800  df-trls 40901
This theorem is referenced by:  eupth2lem3lem7  41402
  Copyright terms: Public domain W3C validator