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

Theorem eupth2lems 27382
Description: Lemma for eupth2 27383 (induction step): The only vertices of odd degree in a graph with an Eulerian path are the endpoints, and then only if the endpoints are distinct, if the Eulerian path shortened by one edge has this property. Formerly part of proof for eupth2 27383. (Contributed by Mario Carneiro, 8-Apr-2015.) (Revised by AV, 26-Feb-2021.)
Hypotheses
Ref Expression
eupth2.v 𝑉 = (Vtx‘𝐺)
eupth2.i 𝐼 = (iEdg‘𝐺)
eupth2.g (𝜑𝐺 ∈ UPGraph)
eupth2.f (𝜑 → Fun 𝐼)
eupth2.p (𝜑𝐹(EulerPaths‘𝐺)𝑃)
Assertion
Ref Expression
eupth2lems ((𝜑𝑛 ∈ ℕ0) → ((𝑛 ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)})) → ((𝑛 + 1) ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}))))
Distinct variable groups:   𝜑,𝑥   𝑥,𝐹   𝑥,𝐼   𝑥,𝑉   𝑥,𝑛
Allowed substitution hints:   𝜑(𝑛)   𝑃(𝑥,𝑛)   𝐹(𝑛)   𝐺(𝑥,𝑛)   𝐼(𝑛)   𝑉(𝑛)

Proof of Theorem eupth2lems
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 nn0re 11485 . . . . . 6 (𝑛 ∈ ℕ0𝑛 ∈ ℝ)
21adantl 473 . . . . 5 ((𝜑𝑛 ∈ ℕ0) → 𝑛 ∈ ℝ)
32lep1d 11139 . . . 4 ((𝜑𝑛 ∈ ℕ0) → 𝑛 ≤ (𝑛 + 1))
4 peano2re 10393 . . . . . 6 (𝑛 ∈ ℝ → (𝑛 + 1) ∈ ℝ)
52, 4syl 17 . . . . 5 ((𝜑𝑛 ∈ ℕ0) → (𝑛 + 1) ∈ ℝ)
6 eupth2.p . . . . . . . 8 (𝜑𝐹(EulerPaths‘𝐺)𝑃)
7 eupthiswlk 27356 . . . . . . . 8 (𝐹(EulerPaths‘𝐺)𝑃𝐹(Walks‘𝐺)𝑃)
8 wlkcl 26713 . . . . . . . 8 (𝐹(Walks‘𝐺)𝑃 → (♯‘𝐹) ∈ ℕ0)
96, 7, 83syl 18 . . . . . . 7 (𝜑 → (♯‘𝐹) ∈ ℕ0)
109nn0red 11536 . . . . . 6 (𝜑 → (♯‘𝐹) ∈ ℝ)
1110adantr 472 . . . . 5 ((𝜑𝑛 ∈ ℕ0) → (♯‘𝐹) ∈ ℝ)
12 letr 10315 . . . . 5 ((𝑛 ∈ ℝ ∧ (𝑛 + 1) ∈ ℝ ∧ (♯‘𝐹) ∈ ℝ) → ((𝑛 ≤ (𝑛 + 1) ∧ (𝑛 + 1) ≤ (♯‘𝐹)) → 𝑛 ≤ (♯‘𝐹)))
132, 5, 11, 12syl3anc 1473 . . . 4 ((𝜑𝑛 ∈ ℕ0) → ((𝑛 ≤ (𝑛 + 1) ∧ (𝑛 + 1) ≤ (♯‘𝐹)) → 𝑛 ≤ (♯‘𝐹)))
143, 13mpand 713 . . 3 ((𝜑𝑛 ∈ ℕ0) → ((𝑛 + 1) ≤ (♯‘𝐹) → 𝑛 ≤ (♯‘𝐹)))
1514imim1d 82 . 2 ((𝜑𝑛 ∈ ℕ0) → ((𝑛 ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)})) → ((𝑛 + 1) ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))))
16 fveq2 6344 . . . . . . . . 9 (𝑥 = 𝑦 → ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥) = ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑦))
1716breq2d 4808 . . . . . . . 8 (𝑥 = 𝑦 → (2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥) ↔ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑦)))
1817notbid 307 . . . . . . 7 (𝑥 = 𝑦 → (¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥) ↔ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑦)))
1918elrab 3496 . . . . . 6 (𝑦 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥)} ↔ (𝑦𝑉 ∧ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑦)))
20 eupth2.v . . . . . . . . 9 𝑉 = (Vtx‘𝐺)
21 eupth2.i . . . . . . . . 9 𝐼 = (iEdg‘𝐺)
22 eupth2.g . . . . . . . . . 10 (𝜑𝐺 ∈ UPGraph)
2322ad3antrrr 768 . . . . . . . . 9 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → 𝐺 ∈ UPGraph)
24 eupth2.f . . . . . . . . . 10 (𝜑 → Fun 𝐼)
2524ad3antrrr 768 . . . . . . . . 9 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → Fun 𝐼)
266ad3antrrr 768 . . . . . . . . 9 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → 𝐹(EulerPaths‘𝐺)𝑃)
27 eqid 2752 . . . . . . . . 9 𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩ = ⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩
28 eqid 2752 . . . . . . . . 9 𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩ = ⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩
29 simpr 479 . . . . . . . . . 10 ((𝜑𝑛 ∈ ℕ0) → 𝑛 ∈ ℕ0)
3029ad2antrr 764 . . . . . . . . 9 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → 𝑛 ∈ ℕ0)
31 simprl 811 . . . . . . . . . 10 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑛 + 1) ≤ (♯‘𝐹))
3231adantr 472 . . . . . . . . 9 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → (𝑛 + 1) ≤ (♯‘𝐹))
33 simpr 479 . . . . . . . . 9 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → 𝑦𝑉)
34 simplrr 820 . . . . . . . . 9 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))
3520, 21, 23, 25, 26, 27, 28, 30, 32, 33, 34eupth2lem3 27380 . . . . . . . 8 ((((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) ∧ 𝑦𝑉) → (¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑦) ↔ 𝑦 ∈ if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))})))
3635pm5.32da 676 . . . . . . 7 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → ((𝑦𝑉 ∧ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑦)) ↔ (𝑦𝑉𝑦 ∈ if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}))))
37 0elpw 4975 . . . . . . . . . . 11 ∅ ∈ 𝒫 𝑉
3820wlkepvtx 26758 . . . . . . . . . . . . . . . 16 (𝐹(Walks‘𝐺)𝑃 → ((𝑃‘0) ∈ 𝑉 ∧ (𝑃‘(♯‘𝐹)) ∈ 𝑉))
3938simpld 477 . . . . . . . . . . . . . . 15 (𝐹(Walks‘𝐺)𝑃 → (𝑃‘0) ∈ 𝑉)
406, 7, 393syl 18 . . . . . . . . . . . . . 14 (𝜑 → (𝑃‘0) ∈ 𝑉)
4140ad2antrr 764 . . . . . . . . . . . . 13 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑃‘0) ∈ 𝑉)
4220wlkp 26714 . . . . . . . . . . . . . . . 16 (𝐹(Walks‘𝐺)𝑃𝑃:(0...(♯‘𝐹))⟶𝑉)
436, 7, 423syl 18 . . . . . . . . . . . . . . 15 (𝜑𝑃:(0...(♯‘𝐹))⟶𝑉)
4443ad2antrr 764 . . . . . . . . . . . . . 14 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → 𝑃:(0...(♯‘𝐹))⟶𝑉)
45 peano2nn0 11517 . . . . . . . . . . . . . . . . . . 19 (𝑛 ∈ ℕ0 → (𝑛 + 1) ∈ ℕ0)
4645adantl 473 . . . . . . . . . . . . . . . . . 18 ((𝜑𝑛 ∈ ℕ0) → (𝑛 + 1) ∈ ℕ0)
4746adantr 472 . . . . . . . . . . . . . . . . 17 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑛 + 1) ∈ ℕ0)
48 nn0uz 11907 . . . . . . . . . . . . . . . . 17 0 = (ℤ‘0)
4947, 48syl6eleq 2841 . . . . . . . . . . . . . . . 16 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑛 + 1) ∈ (ℤ‘0))
509ad2antrr 764 . . . . . . . . . . . . . . . . 17 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (♯‘𝐹) ∈ ℕ0)
5150nn0zd 11664 . . . . . . . . . . . . . . . 16 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (♯‘𝐹) ∈ ℤ)
52 elfz5 12519 . . . . . . . . . . . . . . . 16 (((𝑛 + 1) ∈ (ℤ‘0) ∧ (♯‘𝐹) ∈ ℤ) → ((𝑛 + 1) ∈ (0...(♯‘𝐹)) ↔ (𝑛 + 1) ≤ (♯‘𝐹)))
5349, 51, 52syl2anc 696 . . . . . . . . . . . . . . 15 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → ((𝑛 + 1) ∈ (0...(♯‘𝐹)) ↔ (𝑛 + 1) ≤ (♯‘𝐹)))
5431, 53mpbird 247 . . . . . . . . . . . . . 14 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑛 + 1) ∈ (0...(♯‘𝐹)))
5544, 54ffvelrnd 6515 . . . . . . . . . . . . 13 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑃‘(𝑛 + 1)) ∈ 𝑉)
5641, 55prssd 4491 . . . . . . . . . . . 12 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → {(𝑃‘0), (𝑃‘(𝑛 + 1))} ⊆ 𝑉)
57 prex 5050 . . . . . . . . . . . . 13 {(𝑃‘0), (𝑃‘(𝑛 + 1))} ∈ V
5857elpw 4300 . . . . . . . . . . . 12 ({(𝑃‘0), (𝑃‘(𝑛 + 1))} ∈ 𝒫 𝑉 ↔ {(𝑃‘0), (𝑃‘(𝑛 + 1))} ⊆ 𝑉)
5956, 58sylibr 224 . . . . . . . . . . 11 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → {(𝑃‘0), (𝑃‘(𝑛 + 1))} ∈ 𝒫 𝑉)
60 ifcl 4266 . . . . . . . . . . 11 ((∅ ∈ 𝒫 𝑉 ∧ {(𝑃‘0), (𝑃‘(𝑛 + 1))} ∈ 𝒫 𝑉) → if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}) ∈ 𝒫 𝑉)
6137, 59, 60sylancr 698 . . . . . . . . . 10 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}) ∈ 𝒫 𝑉)
6261elpwid 4306 . . . . . . . . 9 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}) ⊆ 𝑉)
6362sseld 3735 . . . . . . . 8 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑦 ∈ if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}) → 𝑦𝑉))
6463pm4.71rd 670 . . . . . . 7 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑦 ∈ if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}) ↔ (𝑦𝑉𝑦 ∈ if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}))))
6536, 64bitr4d 271 . . . . . 6 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → ((𝑦𝑉 ∧ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑦)) ↔ 𝑦 ∈ if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))})))
6619, 65syl5bb 272 . . . . 5 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → (𝑦 ∈ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥)} ↔ 𝑦 ∈ if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))})))
6766eqrdv 2750 . . . 4 (((𝜑𝑛 ∈ ℕ0) ∧ ((𝑛 + 1) ≤ (♯‘𝐹) ∧ {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}))) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}))
6867exp32 632 . . 3 ((𝜑𝑛 ∈ ℕ0) → ((𝑛 + 1) ≤ (♯‘𝐹) → ({𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)}) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}))))
6968a2d 29 . 2 ((𝜑𝑛 ∈ ℕ0) → (((𝑛 + 1) ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)})) → ((𝑛 + 1) ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}))))
7015, 69syld 47 1 ((𝜑𝑛 ∈ ℕ0) → ((𝑛 ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^𝑛)))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃𝑛), ∅, {(𝑃‘0), (𝑃𝑛)})) → ((𝑛 + 1) ≤ (♯‘𝐹) → {𝑥𝑉 ∣ ¬ 2 ∥ ((VtxDeg‘⟨𝑉, (𝐼 ↾ (𝐹 “ (0..^(𝑛 + 1))))⟩)‘𝑥)} = if((𝑃‘0) = (𝑃‘(𝑛 + 1)), ∅, {(𝑃‘0), (𝑃‘(𝑛 + 1))}))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 383   = wceq 1624  wcel 2131  {crab 3046  wss 3707  c0 4050  ifcif 4222  𝒫 cpw 4294  {cpr 4315  cop 4319   class class class wbr 4796  cres 5260  cima 5261  Fun wfun 6035  wf 6037  cfv 6041  (class class class)co 6805  cr 10119  0cc0 10120  1c1 10121   + caddc 10123  cle 10259  2c2 11254  0cn0 11476  cz 11561  cuz 11871  ...cfz 12511  ..^cfzo 12651  chash 13303  cdvds 15174  Vtxcvtx 26065  iEdgciedg 26066  UPGraphcupgr 26166  VtxDegcvtxdg 26563  Walkscwlks 26694  EulerPathsceupth 27341
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1863  ax-4 1878  ax-5 1980  ax-6 2046  ax-7 2082  ax-8 2133  ax-9 2140  ax-10 2160  ax-11 2175  ax-12 2188  ax-13 2383  ax-ext 2732  ax-rep 4915  ax-sep 4925  ax-nul 4933  ax-pow 4984  ax-pr 5047  ax-un 7106  ax-cnex 10176  ax-resscn 10177  ax-1cn 10178  ax-icn 10179  ax-addcl 10180  ax-addrcl 10181  ax-mulcl 10182  ax-mulrcl 10183  ax-mulcom 10184  ax-addass 10185  ax-mulass 10186  ax-distr 10187  ax-i2m1 10188  ax-1ne0 10189  ax-1rid 10190  ax-rnegex 10191  ax-rrecex 10192  ax-cnre 10193  ax-pre-lttri 10194  ax-pre-lttrn 10195  ax-pre-ltadd 10196  ax-pre-mulgt0 10197  ax-pre-sup 10198
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-ifp 1051  df-3or 1073  df-3an 1074  df-tru 1627  df-ex 1846  df-nf 1851  df-sb 2039  df-eu 2603  df-mo 2604  df-clab 2739  df-cleq 2745  df-clel 2748  df-nfc 2883  df-ne 2925  df-nel 3028  df-ral 3047  df-rex 3048  df-reu 3049  df-rmo 3050  df-rab 3051  df-v 3334  df-sbc 3569  df-csb 3667  df-dif 3710  df-un 3712  df-in 3714  df-ss 3721  df-pss 3723  df-nul 4051  df-if 4223  df-pw 4296  df-sn 4314  df-pr 4316  df-tp 4318  df-op 4320  df-uni 4581  df-int 4620  df-iun 4666  df-br 4797  df-opab 4857  df-mpt 4874  df-tr 4897  df-id 5166  df-eprel 5171  df-po 5179  df-so 5180  df-fr 5217  df-we 5219  df-xp 5264  df-rel 5265  df-cnv 5266  df-co 5267  df-dm 5268  df-rn 5269  df-res 5270  df-ima 5271  df-pred 5833  df-ord 5879  df-on 5880  df-lim 5881  df-suc 5882  df-iota 6004  df-fun 6043  df-fn 6044  df-f 6045  df-f1 6046  df-fo 6047  df-f1o 6048  df-fv 6049  df-riota 6766  df-ov 6808  df-oprab 6809  df-mpt2 6810  df-om 7223  df-1st 7325  df-2nd 7326  df-wrecs 7568  df-recs 7629  df-rdg 7667  df-1o 7721  df-2o 7722  df-oadd 7725  df-er 7903  df-map 8017  df-pm 8018  df-en 8114  df-dom 8115  df-sdom 8116  df-fin 8117  df-sup 8505  df-inf 8506  df-card 8947  df-cda 9174  df-pnf 10260  df-mnf 10261  df-xr 10262  df-ltxr 10263  df-le 10264  df-sub 10452  df-neg 10453  df-div 10869  df-nn 11205  df-2 11263  df-3 11264  df-n0 11477  df-xnn0 11548  df-z 11562  df-uz 11872  df-rp 12018  df-xadd 12132  df-fz 12512  df-fzo 12652  df-seq 12988  df-exp 13047  df-hash 13304  df-word 13477  df-cj 14030  df-re 14031  df-im 14032  df-sqrt 14166  df-abs 14167  df-dvds 15175  df-vtx 26067  df-iedg 26068  df-edg 26131  df-uhgr 26144  df-ushgr 26145  df-upgr 26168  df-uspgr 26236  df-vtxdg 26564  df-wlks 26697  df-trls 26791  df-eupth 27342
This theorem is referenced by:  eupth2  27383
  Copyright terms: Public domain W3C validator