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

Theorem eupth2lem3lem6 28015
Description: Formerly part of proof of eupth2lem3 28018: 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 1129 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (iEdg‘𝑌) = {⟨(𝐹𝑁), (𝐼‘(𝐹𝑁))⟩})
3 trlsegvdeg.vy . . . . . . . 8 (𝜑 → (Vtx‘𝑌) = 𝑉)
433ad2ant1 1129 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (Vtx‘𝑌) = 𝑉)
5 fvexd 6688 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐹𝑁) ∈ V)
6 trlsegvdeg.u . . . . . . . 8 (𝜑𝑈𝑉)
763ad2ant1 1129 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈𝑉)
8 fvexd 6688 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐼‘(𝐹𝑁)) ∈ V)
9 eupth2lem3.e . . . . . . . . 9 (𝜑 → (𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
10 simpl 485 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃𝑁))
1110adantl 484 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
12 simpr 487 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1312adantl 484 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1411, 13nelprd 4599 . . . . . . . . . . . 12 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
15 df-nel 3127 . . . . . . . . . . . 12 (𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))} ↔ ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
1614, 15sylibr 236 . . . . . . . . . . 11 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
17 neleq2 3132 . . . . . . . . . . 11 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (𝑈 ∉ (𝐼‘(𝐹𝑁)) ↔ 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))}))
1816, 17syl5ibr 248 . . . . . . . . . 10 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁))))
1918expd 418 . . . . . . . . 9 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
209, 19syl 17 . . . . . . . 8 (𝜑 → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
21203imp 1107 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))
222, 4, 5, 7, 8, 211hevtxdg0 27290 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ((VtxDeg‘𝑌)‘𝑈) = 0)
2322oveq2d 7175 . . . . 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 28010 . . . . . . . 8 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℕ0)
3433nn0cnd 11960 . . . . . . 7 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℂ)
3534addid1d 10843 . . . . . 6 (𝜑 → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
36353ad2ant1 1129 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
3723, 36eqtrd 2859 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) = ((VtxDeg‘𝑋)‘𝑈))
3837breq2d 5081 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
3938notbid 320 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
40 fveq2 6673 . . . . . . . 8 (𝑥 = 𝑈 → ((VtxDeg‘𝑋)‘𝑥) = ((VtxDeg‘𝑋)‘𝑈))
4140breq2d 5081 . . . . . . 7 (𝑥 = 𝑈 → (2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4241notbid 320 . . . . . 6 (𝑥 = 𝑈 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4342elrab3 3684 . . . . 5 (𝑈𝑉 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
446, 43syl 17 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
45 eupth2lem3.o . . . . 5 (𝜑 → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} = if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}))
4645eleq2d 2901 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
4744, 46bitr3d 283 . . 3 (𝜑 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
48473ad2ant1 1129 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
49103ad2ant3 1131 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
50123ad2ant3 1131 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
5149, 502thd 267 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))))
52 neeq1 3081 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃𝑁)))
53 neeq1 3081 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃‘(𝑁 + 1)) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1))))
5452, 53bibi12d 348 . . . . . 6 (𝑈 = (𝑃‘0) → ((𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5551, 54syl5ibcom 247 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) → ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5655pm5.32rd 580 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0))))
5749neneqd 3024 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃𝑁))
58 biorf 933 . . . . . . 7 𝑈 = (𝑃𝑁) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
5957, 58syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
60 orcom 866 . . . . . 6 ((𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))
6159, 60syl6bb 289 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))))
6261anbi2d 630 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
6350neneqd 3024 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃‘(𝑁 + 1)))
64 biorf 933 . . . . . . 7 𝑈 = (𝑃‘(𝑁 + 1)) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
6563, 64syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
66 orcom 866 . . . . . 6 ((𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))
6765, 66syl6bb 289 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1)))))
6867anbi2d 630 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
6956, 62, 683bitr3d 311 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
70 eupth2lem1 28000 . . . 4 (𝑈𝑉 → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
717, 70syl 17 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
72 eupth2lem1 28000 . . . 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 313 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
7539, 48, 743bitrd 307 1 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  w3a 1083   = wceq 1536  wcel 2113  wne 3019  wnel 3126  {crab 3145  Vcvv 3497  c0 4294  ifcif 4470  {csn 4570  {cpr 4572  cop 4576   class class class wbr 5069  cres 5560  cima 5561  Fun wfun 6352  cfv 6358  (class class class)co 7159  0cc0 10540  1c1 10541   + caddc 10543  2c2 11695  ...cfz 12895  ..^cfzo 13036  chash 13693  cdvds 15610  Vtxcvtx 26784  iEdgciedg 26785  VtxDegcvtxdg 27250  Trailsctrls 27475
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-rep 5193  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464  ax-cnex 10596  ax-resscn 10597  ax-1cn 10598  ax-icn 10599  ax-addcl 10600  ax-addrcl 10601  ax-mulcl 10602  ax-mulrcl 10603  ax-mulcom 10604  ax-addass 10605  ax-mulass 10606  ax-distr 10607  ax-i2m1 10608  ax-1ne0 10609  ax-1rid 10610  ax-rnegex 10611  ax-rrecex 10612  ax-cnre 10613  ax-pre-lttri 10614  ax-pre-lttrn 10615  ax-pre-ltadd 10616  ax-pre-mulgt0 10617
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ifp 1058  df-3or 1084  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-nel 3127  df-ral 3146  df-rex 3147  df-reu 3148  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-pss 3957  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-tp 4575  df-op 4577  df-uni 4842  df-int 4880  df-iun 4924  df-br 5070  df-opab 5132  df-mpt 5150  df-tr 5176  df-id 5463  df-eprel 5468  df-po 5477  df-so 5478  df-fr 5517  df-we 5519  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-pred 6151  df-ord 6197  df-on 6198  df-lim 6199  df-suc 6200  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7117  df-ov 7162  df-oprab 7163  df-mpo 7164  df-om 7584  df-1st 7692  df-2nd 7693  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-1o 8105  df-er 8292  df-map 8411  df-en 8513  df-dom 8514  df-sdom 8515  df-fin 8516  df-card 9371  df-pnf 10680  df-mnf 10681  df-xr 10682  df-ltxr 10683  df-le 10684  df-sub 10875  df-neg 10876  df-nn 11642  df-n0 11901  df-xnn0 11971  df-z 11985  df-uz 12247  df-xadd 12511  df-fz 12896  df-fzo 13037  df-hash 13694  df-word 13865  df-vtxdg 27251  df-wlks 27384  df-trls 27477
This theorem is referenced by:  eupth2lem3lem7  28016
  Copyright terms: Public domain W3C validator