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

Theorem eupth2lem3lem6 28018
Description: Formerly part of proof of eupth2lem3 28021: 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 1130 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (iEdg‘𝑌) = {⟨(𝐹𝑁), (𝐼‘(𝐹𝑁))⟩})
3 trlsegvdeg.vy . . . . . . . 8 (𝜑 → (Vtx‘𝑌) = 𝑉)
433ad2ant1 1130 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (Vtx‘𝑌) = 𝑉)
5 fvexd 6660 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐹𝑁) ∈ V)
6 trlsegvdeg.u . . . . . . . 8 (𝜑𝑈𝑉)
763ad2ant1 1130 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈𝑉)
8 fvexd 6660 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐼‘(𝐹𝑁)) ∈ V)
9 eupth2lem3.e . . . . . . . . 9 (𝜑 → (𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
10 simpl 486 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃𝑁))
1110adantl 485 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
12 simpr 488 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1312adantl 485 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1411, 13nelprd 4556 . . . . . . . . . . . 12 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
15 df-nel 3092 . . . . . . . . . . . 12 (𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))} ↔ ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
1614, 15sylibr 237 . . . . . . . . . . 11 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
17 neleq2 3097 . . . . . . . . . . 11 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (𝑈 ∉ (𝐼‘(𝐹𝑁)) ↔ 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))}))
1816, 17syl5ibr 249 . . . . . . . . . 10 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁))))
1918expd 419 . . . . . . . . 9 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
209, 19syl 17 . . . . . . . 8 (𝜑 → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
21203imp 1108 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))
222, 4, 5, 7, 8, 211hevtxdg0 27295 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ((VtxDeg‘𝑌)‘𝑈) = 0)
2322oveq2d 7151 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) = (((VtxDeg‘𝑋)‘𝑈) + 0))
24 trlsegvdeg.v . . . . . . . . 9 𝑉 = (Vtx‘𝐺)
25 trlsegvdeg.i . . . . . . . . 9 𝐼 = (iEdg‘𝐺)
26 trlsegvdeg.f . . . . . . . . 9 (𝜑 → Fun 𝐼)
27 trlsegvdeg.n . . . . . . . . 9 (𝜑𝑁 ∈ (0..^(♯‘𝐹)))
28 trlsegvdeg.w . . . . . . . . 9 (𝜑𝐹(Trails‘𝐺)𝑃)
29 trlsegvdeg.vx . . . . . . . . 9 (𝜑 → (Vtx‘𝑋) = 𝑉)
30 trlsegvdeg.vz . . . . . . . . 9 (𝜑 → (Vtx‘𝑍) = 𝑉)
31 trlsegvdeg.ix . . . . . . . . 9 (𝜑 → (iEdg‘𝑋) = (𝐼 ↾ (𝐹 “ (0..^𝑁))))
32 trlsegvdeg.iz . . . . . . . . 9 (𝜑 → (iEdg‘𝑍) = (𝐼 ↾ (𝐹 “ (0...𝑁))))
3324, 25, 26, 27, 6, 28, 29, 3, 30, 31, 1, 32eupth2lem3lem1 28013 . . . . . . . 8 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℕ0)
3433nn0cnd 11945 . . . . . . 7 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℂ)
3534addid1d 10829 . . . . . 6 (𝜑 → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
36353ad2ant1 1130 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
3723, 36eqtrd 2833 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) = ((VtxDeg‘𝑋)‘𝑈))
3837breq2d 5042 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
3938notbid 321 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
40 fveq2 6645 . . . . . . . 8 (𝑥 = 𝑈 → ((VtxDeg‘𝑋)‘𝑥) = ((VtxDeg‘𝑋)‘𝑈))
4140breq2d 5042 . . . . . . 7 (𝑥 = 𝑈 → (2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4241notbid 321 . . . . . 6 (𝑥 = 𝑈 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4342elrab3 3629 . . . . 5 (𝑈𝑉 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
446, 43syl 17 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
45 eupth2lem3.o . . . . 5 (𝜑 → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} = if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}))
4645eleq2d 2875 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
4744, 46bitr3d 284 . . 3 (𝜑 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
48473ad2ant1 1130 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
49103ad2ant3 1132 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
50123ad2ant3 1132 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
5149, 502thd 268 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))))
52 neeq1 3049 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃𝑁)))
53 neeq1 3049 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃‘(𝑁 + 1)) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1))))
5452, 53bibi12d 349 . . . . . 6 (𝑈 = (𝑃‘0) → ((𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5551, 54syl5ibcom 248 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) → ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5655pm5.32rd 581 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0))))
5749neneqd 2992 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃𝑁))
58 biorf 934 . . . . . . 7 𝑈 = (𝑃𝑁) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
5957, 58syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
60 orcom 867 . . . . . 6 ((𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))
6159, 60syl6bb 290 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))))
6261anbi2d 631 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
6350neneqd 2992 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃‘(𝑁 + 1)))
64 biorf 934 . . . . . . 7 𝑈 = (𝑃‘(𝑁 + 1)) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
6563, 64syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
66 orcom 867 . . . . . 6 ((𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))
6765, 66syl6bb 290 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1)))))
6867anbi2d 631 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
6956, 62, 683bitr3d 312 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
70 eupth2lem1 28003 . . . 4 (𝑈𝑉 → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
717, 70syl 17 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
72 eupth2lem1 28003 . . . 4 (𝑈𝑉 → (𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))}) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
737, 72syl 17 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))}) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
7469, 71, 733bitr4d 314 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
7539, 48, 743bitrd 308 1 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  wne 2987  wnel 3091  {crab 3110  Vcvv 3441  c0 4243  ifcif 4425  {csn 4525  {cpr 4527  cop 4531   class class class wbr 5030  cres 5521  cima 5522  Fun wfun 6318  cfv 6324  (class class class)co 7135  0cc0 10526  1c1 10527   + caddc 10529  2c2 11680  ...cfz 12885  ..^cfzo 13028  chash 13686  cdvds 15599  Vtxcvtx 26789  iEdgciedg 26790  VtxDegcvtxdg 27255  Trailsctrls 27480
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-ifp 1059  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-er 8272  df-map 8391  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496  df-card 9352  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-n0 11886  df-xnn0 11956  df-z 11970  df-uz 12232  df-xadd 12496  df-fz 12886  df-fzo 13029  df-hash 13687  df-word 13858  df-vtxdg 27256  df-wlks 27389  df-trls 27482
This theorem is referenced by:  eupth2lem3lem7  28019
  Copyright terms: Public domain W3C validator