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

Theorem eupth2lem3lem6 27939
Description: Formerly part of proof of eupth2lem3 27942: 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 1125 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (iEdg‘𝑌) = {⟨(𝐹𝑁), (𝐼‘(𝐹𝑁))⟩})
3 trlsegvdeg.vy . . . . . . . 8 (𝜑 → (Vtx‘𝑌) = 𝑉)
433ad2ant1 1125 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (Vtx‘𝑌) = 𝑉)
5 fvexd 6678 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐹𝑁) ∈ V)
6 trlsegvdeg.u . . . . . . . 8 (𝜑𝑈𝑉)
763ad2ant1 1125 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈𝑉)
8 fvexd 6678 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝐼‘(𝐹𝑁)) ∈ V)
9 eupth2lem3.e . . . . . . . . 9 (𝜑 → (𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
10 simpl 483 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃𝑁))
1110adantl 482 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
12 simpr 485 . . . . . . . . . . . . . 14 ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1312adantl 482 . . . . . . . . . . . . 13 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
1411, 13nelprd 4586 . . . . . . . . . . . 12 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
15 df-nel 3121 . . . . . . . . . . . 12 (𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))} ↔ ¬ 𝑈 ∈ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
1614, 15sylibr 235 . . . . . . . . . . 11 (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))})
17 neleq2 3126 . . . . . . . . . . 11 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (𝑈 ∉ (𝐼‘(𝐹𝑁)) ↔ 𝑈 ∉ {(𝑃𝑁), (𝑃‘(𝑁 + 1))}))
1816, 17syl5ibr 247 . . . . . . . . . 10 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → (((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁))))
1918expd 416 . . . . . . . . 9 ((𝐼‘(𝐹𝑁)) = {(𝑃𝑁), (𝑃‘(𝑁 + 1))} → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
209, 19syl 17 . . . . . . . 8 (𝜑 → ((𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) → ((𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))))
21203imp 1103 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ∉ (𝐼‘(𝐹𝑁)))
222, 4, 5, 7, 8, 211hevtxdg0 27214 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ((VtxDeg‘𝑌)‘𝑈) = 0)
2322oveq2d 7161 . . . . 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 27934 . . . . . . . 8 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℕ0)
3433nn0cnd 11945 . . . . . . 7 (𝜑 → ((VtxDeg‘𝑋)‘𝑈) ∈ ℂ)
3534addid1d 10828 . . . . . 6 (𝜑 → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
36353ad2ant1 1125 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + 0) = ((VtxDeg‘𝑋)‘𝑈))
3723, 36eqtrd 2853 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) = ((VtxDeg‘𝑋)‘𝑈))
3837breq2d 5069 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
3938notbid 319 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
40 fveq2 6663 . . . . . . . 8 (𝑥 = 𝑈 → ((VtxDeg‘𝑋)‘𝑥) = ((VtxDeg‘𝑋)‘𝑈))
4140breq2d 5069 . . . . . . 7 (𝑥 = 𝑈 → (2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4241notbid 319 . . . . . 6 (𝑥 = 𝑈 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥) ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
4342elrab3 3678 . . . . 5 (𝑈𝑉 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
446, 43syl 17 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈)))
45 eupth2lem3.o . . . . 5 (𝜑 → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} = if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}))
4645eleq2d 2895 . . . 4 (𝜑 → (𝑈 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑥)} ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
4744, 46bitr3d 282 . . 3 (𝜑 → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
48473ad2ant1 1125 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ ((VtxDeg‘𝑋)‘𝑈) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)})))
49103ad2ant3 1127 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃𝑁))
50123ad2ant3 1127 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → 𝑈 ≠ (𝑃‘(𝑁 + 1)))
5149, 502thd 266 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))))
52 neeq1 3075 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃𝑁)))
53 neeq1 3075 . . . . . . 7 (𝑈 = (𝑃‘0) → (𝑈 ≠ (𝑃‘(𝑁 + 1)) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1))))
5452, 53bibi12d 347 . . . . . 6 (𝑈 = (𝑃‘0) → ((𝑈 ≠ (𝑃𝑁) ↔ 𝑈 ≠ (𝑃‘(𝑁 + 1))) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5551, 54syl5ibcom 246 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) → ((𝑃‘0) ≠ (𝑃𝑁) ↔ (𝑃‘0) ≠ (𝑃‘(𝑁 + 1)))))
5655pm5.32rd 578 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0))))
5749neneqd 3018 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃𝑁))
58 biorf 930 . . . . . . 7 𝑈 = (𝑃𝑁) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
5957, 58syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0))))
60 orcom 864 . . . . . 6 ((𝑈 = (𝑃𝑁) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))
6159, 60syl6bb 288 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))))
6261anbi2d 628 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
6350neneqd 3018 . . . . . . 7 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → ¬ 𝑈 = (𝑃‘(𝑁 + 1)))
64 biorf 930 . . . . . . 7 𝑈 = (𝑃‘(𝑁 + 1)) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
6563, 64syl 17 . . . . . 6 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0))))
66 orcom 864 . . . . . 6 ((𝑈 = (𝑃‘(𝑁 + 1)) ∨ 𝑈 = (𝑃‘0)) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))
6765, 66syl6bb 288 . . . . 5 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 = (𝑃‘0) ↔ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1)))))
6867anbi2d 628 . . . 4 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ 𝑈 = (𝑃‘0)) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
6956, 62, 683bitr3d 310 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁))) ↔ ((𝑃‘0) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃‘(𝑁 + 1))))))
70 eupth2lem1 27924 . . . 4 (𝑈𝑉 → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
717, 70syl 17 . . 3 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ ((𝑃‘0) ≠ (𝑃𝑁) ∧ (𝑈 = (𝑃‘0) ∨ 𝑈 = (𝑃𝑁)))))
72 eupth2lem1 27924 . . . 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 312 . 2 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (𝑈 ∈ if((𝑃‘0) = (𝑃𝑁), ∅, {(𝑃‘0), (𝑃𝑁)}) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
7539, 48, 743bitrd 306 1 ((𝜑 ∧ (𝑃𝑁) ≠ (𝑃‘(𝑁 + 1)) ∧ (𝑈 ≠ (𝑃𝑁) ∧ 𝑈 ≠ (𝑃‘(𝑁 + 1)))) → (¬ 2 ∥ (((VtxDeg‘𝑋)‘𝑈) + ((VtxDeg‘𝑌)‘𝑈)) ↔ 𝑈 ∈ if((𝑃‘0) = (𝑃‘(𝑁 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑁 + 1))})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wo 841  w3a 1079   = wceq 1528  wcel 2105  wne 3013  wnel 3120  {crab 3139  Vcvv 3492  c0 4288  ifcif 4463  {csn 4557  {cpr 4559  cop 4563   class class class wbr 5057  cres 5550  cima 5551  Fun wfun 6342  cfv 6348  (class class class)co 7145  0cc0 10525  1c1 10526   + caddc 10528  2c2 11680  ...cfz 12880  ..^cfzo 13021  chash 13678  cdvds 15595  Vtxcvtx 26708  iEdgciedg 26709  VtxDegcvtxdg 27174  Trailsctrls 27399
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450  ax-cnex 10581  ax-resscn 10582  ax-1cn 10583  ax-icn 10584  ax-addcl 10585  ax-addrcl 10586  ax-mulcl 10587  ax-mulrcl 10588  ax-mulcom 10589  ax-addass 10590  ax-mulass 10591  ax-distr 10592  ax-i2m1 10593  ax-1ne0 10594  ax-1rid 10595  ax-rnegex 10596  ax-rrecex 10597  ax-cnre 10598  ax-pre-lttri 10599  ax-pre-lttrn 10600  ax-pre-ltadd 10601  ax-pre-mulgt0 10602
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-ifp 1055  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-nel 3121  df-ral 3140  df-rex 3141  df-reu 3142  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-pss 3951  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-tp 4562  df-op 4564  df-uni 4831  df-int 4868  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-tr 5164  df-id 5453  df-eprel 5458  df-po 5467  df-so 5468  df-fr 5507  df-we 5509  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-ord 6187  df-on 6188  df-lim 6189  df-suc 6190  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-riota 7103  df-ov 7148  df-oprab 7149  df-mpo 7150  df-om 7570  df-1st 7678  df-2nd 7679  df-wrecs 7936  df-recs 7997  df-rdg 8035  df-1o 8091  df-er 8278  df-map 8397  df-en 8498  df-dom 8499  df-sdom 8500  df-fin 8501  df-card 9356  df-pnf 10665  df-mnf 10666  df-xr 10667  df-ltxr 10668  df-le 10669  df-sub 10860  df-neg 10861  df-nn 11627  df-n0 11886  df-xnn0 11956  df-z 11970  df-uz 12232  df-xadd 12496  df-fz 12881  df-fzo 13022  df-hash 13679  df-word 13850  df-vtxdg 27175  df-wlks 27308  df-trls 27401
This theorem is referenced by:  eupth2lem3lem7  27940
  Copyright terms: Public domain W3C validator